PageSourceSearch

https://annetyler.com/_nuxt/CShf2Z2Q.js

js annetyler.com collected 2026-10-02 10:18:51 UTC 7,374 bytes, 1 lines download raw bytes

1import{u as U}from"./vsr-mS5a.js";import{o as j,cl as F,a9 as f,a6 as d,bp as s,cI as m,aj as N,a8 as r,a7 as c,ce as g,cH as y,bq as W,a3 as a,c9 as q,cw as G,bQ as K,bz as i,ai as Q,c8 as M,aR as J}from"./BPlt5jNJ.js";import{t as X}from"./ByBHOlDa.js";import v from"./D0rIMvHL.js";import Y from"./CI4xBK7j.js";import Z from"./DaS4BzlR.js";import _ from"./1O2Ij95w.js";import"./CizZK2US.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},b=new e.Error().stack;b&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[b]="91b2b010-6684-4da3-b55a-6ac0ece61557",e._sentryDebugIdIdentifier="sentry-dbid-91b2b010-6684-4da3-b55a-6ac0ece61557")}catch{}{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:splash-application":!0})}const ee={class:"module_inner"},te=["data-editable-title","innerHTML"],ne={class:"relative"},oe=["id"],le=["innerHTML"],ae=["innerHTML"],de={class:"sr-only"},ie={__name:"Prize",props:{module:{type:Object,default:()=>{}},editable:{type:Boolean,default:!1},theme:{type:Object,default:()=>{}},headingOffset:{type:Number,default:0}},emits:["show-panel","tracking"],setup(e,{emit:b}){const t=e,S=b,V=a(()=>t.module.content?.header?.meta?.display===!0),L=a(()=>t.module.content?.subheading?.meta?.display===!0),{h1LevelTag:C,h1LevelStyleClass:H,h2LevelTag:E,h2LevelStyleClass:B}=U(q(t,"headingOffset"),V,L),$=G(),{t:p}=F(),T=a(()=>{const o=t.module.content.text[t.module.content.text.meta.descriptionType];return X(o,{TruncateBy:"words",TruncateLength:t.module.content.text.meta.truncateLength,StripHTML:!1,Strict:!1,Suffix:"..."})}),w=a(()=>{const o=t.module.content.text[t.module.content.text.meta.descriptionType];return T.value.length<o.length}),x=a(()=>!t.module.content.text.meta.truncateActive||t.module.content.text.meta.showMore===!0),P=a(()=>h.value?p("read-less"):p("read-more")+"..."),h=a(()=>w.value&&x.value),z=a(()=>t.module.content.alignment.y==="center"&&(!h.value||h.value&&!t.module.content.text.meta.showMore)),D=a(()=>({[`pt-${t.module.content.padding.t}`]:!0,[`pb-${t.module.content.padding.b}`]:!0,[`@sm:px-8 @md:px-${t.module.content.padding.x}`]:!!(t.module.content.padding.x&&t.module.content.margin===!0),[`@sm:px-14 @md:px-${t.module.content.padding.x+8}`]:!!(t.module.content.padding.x&&t.module.content.margin===!1),[`border-solid border-${t.module.content.border?.width}`]:!!t.module.content.border?.width})),k=a(()=>$.getters.isPublic),I=a(()=>{const o=t.module.content.prizeTag?.style,n=t.theme.meta.prizeTag,u=o?.fontFamily||n.fontFamily,l=o?.fontWeight||n.fontWeight,A=o?.textTransform??n.textTransform;return{[u]:!0,["font-weight-"+l]:!0,uppercase:A}}),O=a(()=>{const o=t.module.content.prizeTag?.style,n=t.theme.meta.prizeTag;return{"--module-border-color":t.module.content.border?.color,"--module-text-color":t.module.content.text?.color,"--tag-color":o?.color||n.color,"--tag-background":o?.background||n.background,"--tag-font-size":o?.fontSize?o?.fontSize+"px":n?.fontSize+"px"}}),R=()=>{if(k.value&&(t.module.content.text.meta.showMore=!t.module.content.text.meta.showMore,t.module.content.text.meta.showMore&&t.module.content.analyticsMeta)){const o=t.module.content.analyticsMeta,n={event_type:"read_book_description",...J(o)};S("tracking",n)}};return(o,n)=>{const u=K("panel");return i(),f("div",{key:e.module.content.isbn,class:s(["module px-4 py-8",D.value]),style:W([e.module.content.background.style,O.value]),"data-test":"prize-module"},[d("div",ee,[d("div",{class:s(["flex",{"flex-col @sm:flex-row":e.module.content.layout==="SplitHorizontalLeft","flex-col @sm:flex-row-reverse":e.module.content.layout==="SplitHorizontalRight"}]),"data-test":"prize-layout-classes"},[d("div",{class:s(["book-wrapper mb-2 @sm:mb-0",{[e.module.content.image.size]:e.module.content.image.size,"@sm:mr-8":e.module.content.layout==="SplitHorizontalLeft","@sm:ml-8":e.module.content.layout==="SplitHorizontalRight","flex items-center":z.value}])},[m(N(Z,{modelValue:e.module.content.image,"onUpdate:modelValue":n[0]||(n[0]=l=>e.module.content.image=l),class:"w-full relative h-auto mx-auto z-10 mb-4",editable:e.editable,"component-name":e.module.component},null,8,["modelValue","editable","component-name"]),[[u,{component:"CoverArtSettings"}]])],2),d("div",{class:s(["inline flex-grow flex-1",{"flex flex-col justify-center":z.value}])},[e.module.content.prizeTag.meta.display?m((i(),f("div",{key:0,class:s(["py-1 px-2 mt-0 mb-3 w-max theme-tag",[I.value,{editable:e.editable}]]),"data-test":"prize-tag","data-editable-title":e.editable?"":null,innerHTML:e.module.content.prizeTag.html},null,10,te)),[[u,{component:"PrizeTag"}]]):r("",!0),e.module.content.header.meta.display?m((i(),c(v,{key:1,modelValue:e.module.content.header.html,"onUpdate:modelValue":n[1]||(n[1]=l=>e.module.content.header.html=l),editable:e.editable,tag:g(C),class:s(["w-full mt-0 mb-2 prize",g(H)]),"theme-variable":"h1_prize","data-test":"module-header"},null,8,["modelValue","editable","tag","class"])),[[u]]):r("",!0),e.module.content.subheading.meta.display?m((i(),c(v,{key:2,modelValue:e.module.content.subheading.html,"onUpdate:modelValue":n[2]||(n[2]=l=>e.module.content.subheading.html=l),editable:e.editable,tag:g(E),class:s(["w-full mt-0 mb-6",g(B)]),"data-test":"module-subheading"},null,8,["modelValue","editable","tag","class"])),[[u]]):r("",!0),d("div",ne,[e.module.content.text.meta.display?(i(),f("div",{key:0,id:`expand-text-${e.module.id}`,class:"w-full mt-0 pb-1","aria-live":"polite"},[x.value?m((i(),c(v,{key:0,modelValue:e.module.content.text[e.module.content.text.meta.descriptionType],"onUpdate:modelValue":n[3]||(n[3]=l=>e.module.content.text[e.module.content.text.meta.descriptionType]=l),editable:e.editable,tag:"div"},null,8,["modelValue","editable"])),[[u]]):(i(),f("div",{key:1,innerHTML:T.value},null,8,le))],8,oe)):r("",!0),!k.value&&e.module.content.text.meta.truncateActive?(i(),c(_,{key:1,module:e.module,"close-button":!0,onShowPanel:n[4]||(n[4]=l=>o.$emit("show-panel",l))},{header:y(()=>[...n[6]||(n[6]=[d("h1",{style:{"font-size":"18px"}}," Read-Only Mode Enabled: turn off in Content Settings. ",-1)])]),body:y(()=>[...n[7]||(n[7]=[d("span",{class:"block h-0"}," ",-1)])]),buttonText:y(()=>[...n[8]||(n[8]=[Q(" Open settings ",-1)])]),_:1},8,["module"])):r("",!0)]),e.module.content.text.meta.truncateActive&&w.value&&e.module.content.text.meta.display?m((i(),c(Y,{key:3,modelValue:e.module.content.button,"onUpdate:modelValue":n[5]||(n[5]=l=>e.module.content.button=l),type:"link","data-test":"module-read-more","aria-expanded":x.value,"aria-controls":`expand-text-${e.module.id}`,editable:e.editable,theme:{meta:{button:e.module.content.button}},onEditableButtonClick:R},{default:y(()=>[d("span",{innerHTML:P.value},null,8,ae),d("span",de,M(o.$t("about"))+" "+M(e.module.content?.preview?.title||"prize description"),1)]),_:1},8,["modelValue","aria-expanded","aria-controls","editable","theme"])),[[u,{component:"ButtonStyle",context:"ReadMore",title:"Edit “Read more…” Link Style"}
1]]):r("",!0)],2)],2)])],6)}}},ye=j(ie,[["__scopeId","data-v-3aaf3258"]]);export{ye as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.