<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunkcom_ampifire_user_interface=self.webpackChunkcom_ampifire_user_interface||[]).push([[2153],{53818:function(t,e,i){i.d(e,{Lq:function(){return g},nY:function(){return m},ZJ:function(){return _},kW:function(){return L}});var s=i(1231),n=i(48122),r=i(22369),a=i(31635),o=i(36599),l=i(85471);let u=class AmpPageMixin extends l.default{get input(){return[this.inputs,this.inputPadding,"py-0","elevated-input"].join(" ")}get inputs(){return"white"}get inputPadding(){return this.$vuetify.breakpoint.smAndDown?"pa-4":"pa-6"}get firstInput(){return[this.inputs,this.inputPadding,"pb-0","elevated-input-first"].join(" ")}get lastInput(){return[this.inputs,this.inputPadding,"pt-0",this.$vuetify.breakpoint.smAndDown?"elevated-input":"elevated-input-last"].join(" ")}get columnLeft(){return"py-0"}get columnRight(){return"py-0"}get firstColumnLeft(){return"pb-0"}get lastColumnLeft(){return this.$vuetify.breakpoint.smAndDown?"py-0":"pt-0"}get firstColumnRight(){return this.$vuetify.breakpoint.smAndDown?"py-0":""}get lastColumnRight(){return this.$vuetify.breakpoint.smAndDown?"pt-0":"py-0"}get validation(){return this.$vuetify.breakpoint.smAndDown?"white px-4 py-0 elevated-input":"py-0 px-0"}get firstValidation(){return this.$vuetify.breakpoint.smAndDown?"white px-4 py-0 elevated-input":"pt-6 pb-0 px-0"}get lastValidation(){return this.$vuetify.breakpoint.smAndDown?"white px-4 pt-0 elevated-input-last":"py-0 px-0"}};u=(0,a.Cg)([o.Ay],u);var d=u;let p=class AmpRow extends((0,o.vE)(d)){};p=(0,a.Cg)([o.Ay],p);var c=p,h=i(14486),g=(0,h.A)(c,(function render(){var t=this,e=t._self._c;t._self._setupProxy;return e(r.A,[e(s.A,{class:t.columnLeft,attrs:{cols:"12",md:"8"}},[e(n.A,{class:t.input},[t._t("input")],2)],1),e(s.A,{class:t.columnRight,attrs:{cols:"12",md:"4"}},[e(n.A,{class:t.validation},[t._t("validation")],2)],1)],1)}),[],!1,null,null,null).exports;let f=class AmpRowFirst extends((0,o.vE)(d)){};f=(0,a.Cg)([o.Ay],f);var b=f,m=(0,h.A)(b,(function render(){var t=this,e=t._self._c;t._self._setupProxy;return e(r.A,[e(s.A,{class:t.firstColumnLeft,attrs:{cols:"12",md:"8"}},[e(n.A,{class:t.firstInput},[t._t("input")],2)],1),e(s.A,{class:t.firstColumnRight,attrs:{cols:"12",md:"4"}},[e(n.A,{class:t.firstValidation},[t._t("validation")],2)],1)],1)}),[],!1,null,null,null).exports;let y=class AmpRowLast extends((0,o.vE)(d)){};y=(0,a.Cg)([o.Ay],y);var v=y,_=(0,h.A)(v,(function render(){var t=this,e=t._self._c;t._self._setupProxy;return e(r.A,[e(s.A,{class:t.lastColumnLeft,attrs:{cols:"12",md:"8"}},[e(n.A,{class:t.lastInput},[t._t("input")],2)],1),e(s.A,{class:t.lastColumnRight,attrs:{cols:"12",md:"4"}},[e(n.A,{class:t.lastValidation},[t._t("validation")],2)],1)],1)}),[],!1,null,null,null).exports,k=i(88582),x=i(5609);const A=l.default.extend({name:"AmpValidation",props:{input:{type:Object,default(){return null}},parse:{type:Boolean,default(){return!1}},limit:{type:[String,Number],default(){return 0}},loading:{type:Boolean,default(){return!1}}}});let w=class AmpValidation extends A{get errors(){const t=this.input?.$refs?.provider?.errors;if(t){const e=this.parse?t.flatMap((t=&gt;JSON.parse(t))):t;return this.limitBy?e.slice(0,this.limitBy):e}return[]}get limitBy(){return Number(this.limit)}onInputUpdated(){const t=this.input;t?.$refs.provider&amp;&amp;t.$refs.provider.validate()}};(0,a.Cg)([(0,k.o)("input")],w.prototype,"onInputUpdated",null),w=(0,a.Cg)([(0,o.Ay)({components:{AAlert:x.a}})],w);var C=w,L=(0,h.A)(C,(function render(){var t=this,e=t._self._c;t._self._setupProxy;return t.loading?t._e():e(n.A,{staticClass:"pa-0"},[t._l(t.errors,(function(t,i){return e("a-alert",{key:i,attrs:{message:t}})})),t.errors.length?t._e():t._t("default")],2)}),[],!1,null,null,null).exports},50695:function(t,e,i){i.d(e,{P:function(){return c}});var s=i(22045),n=i(97585),r=i(31635),a=i(85471),o=i(36599),l=i(8158);const u=a.default.extend({props:{status:{type:String,default(){return""}},large:{type:Boolean,default(){return!1}},dense:{type:Boolean,default(){return!1}},tooltip:{type:String,default(){return""}},label:{type:String,default(){return""}},color:{type:String,default(){return""}},textColor:{type:String,default(){return""}},iconOnly:{type:Boolean,default(){return!1}}}});let d=class StatusChip extends u{get rootClass(){return["status-chip",(0,l.LW)(this.status).replace(/\W/g,""),this.$slots.icon&amp;&amp;this.iconOnly?"pa-1":this.dense?"pa-2":null,this.color||this.textColor?"custom-colored":null,this.$vnode?.data?.staticClass].filter(Boolean).join(" ")}get displayLabel(){return this.label||(this.iconOnly?null:this.status)}get displayTooltip(){return this.tooltip||this.status}get shouldDisplayTooltip(){return this.label&amp;&amp;this.label!==this.status||this.$slots.icon||this.$slots.label||this.tooltip}};d=(0,r.Cg)([o.Ay],d);var p=d,c=(0,i(14486).A)(p,(function render(){var t=this,e=t._self._c;t._self._setupProxy;return t.shouldDisplayTooltip?e(n.A,{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:n}){return[e(s.A,t._g(t._b({class:t.rootClass,attrs:{small:!t.large,color:t.color,"text-color":t.textColor}},"v-chip",n,!1),i),[t.displayLabel?e("span",[t._t("label",(function(){return[t._v(t._s(t.displayLabel))]})),t._t("icon")],2):t._t("icon")],2)]}}],null,!0)},[e("span",{domProps:{innerHTML:t._s(t.displayTooltip)}})]):e(s.A,{class:t.rootClass,attrs:{small:!t.large,color:t.color,"text-color":t.textColor}},[t.displayLabel?e("span",[t._t("label",(function(){return[t._v(t._s(t.displayLabel))]})),t._t("icon")],2):t._t("icon")],2)}),[],!1,null,"28569e74",null).exports},62153:function(t,e,i){i.r(e),i.d(e,{default:function(){return _}});var s,n=i(48122),r=i(58897),a=i(73393),o=i(65423),l=i(31635),u=i(36599),d=i(95353),p=i(74365),c=i(85007),h=i(88582),g=i(53818),f=i(5609),b=i(50695);!function(t){t[t.Draft=0]="Draft",t[t.Pending=1]="Pending",t[t.Live=2]="Live",t[t.Rejected=3]="Rejected",t[t.Editorial=4]="Editorial"}(s||(s={}));var m=i(8950);let y=class BlogPost extends((0,u.vE)(p.yI)){isClient;modules;onModulesChanged(){this.onMounted()}blogpost={};isMsn=!1;endpoint="/blog_posts/review";get link(){return[{type:"primary",label:"Edit",to:this.editLink,warn:this.isClient&amp;&amp;this.isMsn}]}get moduleId(){return this.modules?.blog_post_id}get announcementId(){return this.$route.params.announcementId}get sourceUrl(){return[this.endpoint,this.moduleId].join("/")}get editLink(){return`/announcements/edit/${this.announcementId}/blog-post`}get isEditable(){return this.blogpost.is_editable}get status(){return this.blogpost.status_string}get isLive(){return this.blogpost.is_live}get isRejected(){return this.blogpost.status===s.Rejected}get rejectionReason(){return this.blogpost.approval_message?`Reason: ${this.blogpost.approval_message}`:null}get featuredMedia(){const t=this.blogpost.media_resources?.find((t=&gt;t.featured));return t?t.media_file.original_url||t.media_file.relative_filename||t.media_file.thumbnail_filename:""}onMounted(){this.moduleId?this.load():this.edit()}onData(t){this.blogpost=t.blogPost,this.setVideoPlaceholders(),this.isMsn=t.isMsn||!1,this.emitLinks()}setVideoPlaceholders(){const t=this.blogpost.content;if(void 0===t)return;t.includes("{video_pr:link}")&amp;&amp;(this.blogpost.content=t.replace(/{video_pr:link}/gi,`&lt;img src="${m}" alt="{video_pr:link}" title="Video will appear at this section after distribution"&gt;`))}emitLinks(){this.$emit("links",this.isEditable?this.link:[])}edit(){return this.$router.push(this.editLink)}};(0,l.Cg)([(0,c.X)({from:"modules",default(){return null}})],y.prototype,"modules",void 0),(0,l.Cg)([(0,h.o)("modules")],y.prototype,"onModulesChanged",null),y=(0,l.Cg)([(0,u.Ay)({components:{AmpRow:g.Lq,AmpRowFirst:g.nY,AmpRowLast:g.ZJ,StatusChip:b.P,AAlert:f.a},computed:{...(0,d.L8)("user",["isClient"])}})],y);var v=y,_=(0,i(14486).A)(v,(function render(){var t=this,e=t._self._c;t._self._setupProxy;return e(n.A,{staticClass:"amp-module-page"},[e("amp-row-first",{scopedSlots:t._u([{key:"input",fn:function(){return[t.blogpost.id&amp;&amp;!t.isEditable?e("status-chip",{staticClass:"mb-3",class:{"amp-module-element-hoisted":t.$vuetify.breakpoint.mdAndUp},attrs:{large:t.$vuetify.breakpoint.mdAndUp,status:t.status}}):t._e(),t.isLoading?e(o.A,{staticClass:"pt-2 pb-1",attrs:{loading:"",type:"heading"}}):e("span",[t.isRejected?e("a-alert",[t._v(" Your AMP has been declined for distribution to MSN. Please enhance the quality of your blog post or modify your distribution publishing settings to exclude MSN, and then resubmit. "+t._s(t.rejectionReason)+" ")]):t._e(),e("h2",{staticClass:"font-weight-medium text-justify"},[t._v(" "+t._s(t.blogpost.headline||"\xa0")+" ")])],1),e(r.A,{staticClass:"my-4"})]},proxy:!0}])}),e("amp-row",{scopedSlots:t._u([{key:"input",fn:function(){return[t.isLoading?e(o.A,{staticClass:"mx-n4",attrs:{loading:"",type:"list-item-three-line"}}):e("h3",{staticClass:"font-weight-regular text-justify",domProps:{innerHTML:t._s(t.blogpost.summary||"&amp;#160;")}})]},proxy:!0}])}),e("amp-row",{scopedSlots:t._u([{key:"input",fn:function(){return[t.isLoading?e(o.A,{attrs:{type:"image"}}):e("div",{staticClass:"py-8"},[e(a.A,{attrs:{src:t.featuredMedia,contain:"","max-height":"60vh",position:"left center"}})],1)]},proxy:!0}])}),e("amp-row-last",{scopedSlots:t._u([{key:"input",fn:function(){return[t.isLoading?e(o.A,{staticClass:"py-2",attrs:{loading:"",type:"paragraph@3"}}):e("h3",{staticClass:"font-weight-regular text-justify",domProps:{innerHTML:t._s(t.blogpost.content||"&amp;#160;")}})]},proxy:!0}])})],1)}),[],!1,null,null,null).exports},65423:function(t,e,i){i.d(e,{A:function(){return l}});var s=i(43446),n=i(64724),r=i(81582),a=i(72006),o=i(69463),l=(0,a.A)(s.A,n.A,r.A).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},tile:Boolean,transition:String,type:String,types:{type:Object,default:()=&gt;({})}},computed:{attrs(){return this.isLoading?{"aria-busy":!this.boilerplate||void 0,"aria-live":this.boilerplate?void 0:"polite","aria-label":this.boilerplate?void 0:this.$vuetify.lang.t(this.loadingText),role:this.boilerplate?void 0:"alert",...this.$attrs}:this.$attrs},classes(){return{"v-skeleton-loader--boilerplate":this.boilerplate,"v-skeleton-loader--is-loading":this.isLoading,"v-skeleton-loader--tile":this.tile,...this.themeClasses,...this.elevationClasses}},isLoading(){return!("default"in this.$scopedSlots)||this.loading},rootTypes(){return{actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, card-heading","card-avatar":"image, list-item-avatar","card-heading":"heading",chip:"chip","date-picker":"list-item, card-heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",paragraph:"text@3",sentences:"text@2",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"heading, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"table-cell@6","table-cell":"text","table-tfoot":"text@2, avatar@2",text:"text",...this.types}}},methods:{genBone(t,e){return this.$createElement("div",{staticClass:`v-skeleton-loader__${t} v-skeleton-loader__bone`},e)},genBones(t){const[e,i]=t.split("@");return Array.from({length:i}).map((()=&gt;this.genStructure(e)))},genStructure(t){let e=[];t=t||this.type||"";const i=this.rootTypes[t]||"";if(t===i);else{if(t.indexOf(",")&gt;-1)return this.mapBones(t);if(t.indexOf("@")&gt;-1)return this.genBones(t);i.indexOf(",")&gt;-1?e=this.mapBones(i):i.indexOf("@")&gt;-1?e=this.genBones(i):i&amp;&amp;e.push(this.genStructure(i))}return[this.genBone(t,e)]},genSkeleton(){const t=[];return this.isLoading?t.push(this.genStructure()):t.push((0,o.$c)(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},t):t},mapBones(t){return t.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter(t){this.resetStyles(t),this.isLoading&amp;&amp;(t._initialStyle={display:t.style.display,transition:t.style.transition},t.style.setProperty("transition","none","important"))},onBeforeLeave(t){t.style.setProperty("display","none","important")},resetStyles(t){t._initialStyle&amp;&amp;(t.style.display=t._initialStyle.display||"",t.style.transition=t._initialStyle.transition,delete t._initialStyle)}},render(t){return t("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}})},8950:function(t){t.exports="data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8' standalone='no' %3f%3e %3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='350' height='200' viewBox='0 0 350 200' xml:space='preserve'%3e %3cg transform='matrix(1 0 0 1 175 100)' id='52cf0945-77de-4edd-951f-ed4f76df9845' %3e %3crect style='stroke: none%3b stroke-width: 1%3b stroke-dasharray: none%3b stroke-linecap: butt%3b stroke-dashoffset: 0%3b stroke-linejoin: miter%3b stroke-miterlimit: 4%3b fill: rgb(255%2c255%2c255)%3b fill-rule: nonzero%3b opacity: 1%3b visibility: hidden%3b' vector-effect='non-scaling-stroke' x='-175' y='-100' rx='0' ry='0' width='350' height='200' /%3e %3c/g%3e %3cg transform='matrix(5.46 0 0 3.03 175 100)' id='b050a532-bfcf-42bb-9adf-869b0fc57382' %3e %3crect style='stroke: rgb(0%2c0%2c0)%3b stroke-width: 0%3b stroke-dasharray: none%3b stroke-linecap: butt%3b stroke-dashoffset: 0%3b stroke-linejoin: miter%3b stroke-miterlimit: 4%3b fill: rgb(190%2c190%2c190)%3b fill-rule: nonzero%3b opacity: 1%3b' vector-effect='non-scaling-stroke' x='-33.0835' y='-33.0835' rx='0' ry='0' width='66.167' height='66.167' /%3e %3c/g%3e %3cg transform='matrix(1 0 0 1 175 100)' id='ec653901-8564-40bf-8eba-9be0ae324b4e' %3e %3ccircle style='stroke: rgb(0%2c0%2c0)%3b stroke-width: 0%3b stroke-dasharray: none%3b stroke-linecap: butt%3b stroke-dashoffset: 0%3b stroke-linejoin: miter%3b stroke-miterlimit: 4%3b fill: rgb(101%2c101%2c101)%3b fill-rule: nonzero%3b opacity: 1%3b' vector-effect='non-scaling-stroke' cx='0' cy='0' r='35' /%3e %3c/g%3e %3cg transform='matrix(0.43 0 0 0.43 179 100)' id='0d40e5b2-a342-4c83-a02f-98614add3b16' %3e %3cpolygon style='stroke: rgb(0%2c0%2c0)%3b stroke-width: 0%3b stroke-dasharray: none%3b stroke-linecap: butt%3b stroke-dashoffset: 0%3b stroke-linejoin: miter%3b stroke-miterlimit: 4%3b fill: rgb(190%2c190%2c190)%3b fill-rule: nonzero%3b opacity: 1%3b' vector-effect='non-scaling-stroke' points='-30.68%2c-37.41 30.68%2c0 -30.68%2c37.41 ' /%3e %3c/g%3e %3c/svg%3e"}}]);
//# sourceMappingURL=2153.53a570ae.js.map</pre></body></html>