PageSourceSearch

https://www.myposter.de/_nuxt/DEg5QrAF.js

js myposter.de collected 2026-09-24 09:59:36 UTC 3,915 bytes, 1 lines download raw bytes

1import{bR as A,d as D,Y as S,aM as R,c as N,o as F,h as i,I as h,g as s,K as r,t as l,k as t,l as m,X as w,f as b,U as C,a4 as f,C as E,b5 as p,bS as V,_ as Y}from"./Cdma0c0o.js";import{g as G,A as H,b as y,a as g,c as P,d as I,e as v,f as B}from"./BX5MpZXm.js";import"./DkDkP1wG.js";import"./DY8YOfS1.js";import"./D5B1-F8b.js";import"./CdBxpRen.js";import"./CK94_uCC.js";import"./l1OykVI3.js";import"./hDMYBjhG.js";import"./D5n05oMU.js";import"./C_OorAHm.js";import"./CpLp46z1.js";import"./Cm00delk.js";import"./I-9_TdlR.js";import"./CbrFAXTm.js";import"./uMSCLa-o.js";import"./Ccf9vHAt.js";import"./BklzeQM-.js";import"./DiXHFfeS.js";import"./BdV0ukCs.js";const M=1500,$=()=>{const{copy:e,copied:u}=A({legacy:!0,copiedDuring:M});return{copy:e,copied:u}},j={class:"ai-picture-book-upsell"},z={class:"ai-picture-book-upsell__confirmation"},X={class:"ai-picture-book-upsell__confirmation-badge","aria-hidden":"true"},q={class:"ai-picture-book-upsell__body"},J={class:"ai-picture-book-upsell__headline"},Q={class:"ai-picture-book-upsell__discount"},W={class:"ai-picture-book-upsell__discount-highlight"},Z=["aria-label"],ee={class:"ai-picture-book-upsell__voucher-value"},te={class:"ai-picture-book-upsell__voucher-status",role:"status","aria-live":"polite"},oe={class:"ai-picture-book-upsell__actions"},c=D({__name:"AiPictureBookUpsellDialog",props:{upsell:{},designUrl:{},cartUrl:{}},emits:["design","cart"],setup(e,{emit:u}){const d=u,{t:o}=S(),{copy:U,copied:_}=$(),{trackFSEvent:K}=R(),n=a=>{K(a,{productKey:e.upsell.productKey,voucherCode:e.upsell.voucherCode})},x=()=>{U(e.upsell.voucherCode),n(p.AI_PICTURE_BOOK_UPSELL_CODE_COPIED)},O=()=>{d("design"),n(p.AI_PICTURE_BOOK_UPSELL_DESIGN_CLICKED)},L=()=>{d("cart"),n(p.AI_PICTURE_BOOK_UPSELL_TO_CART_CLICKED)},k=m(()=>e.upsell.title??(Object.hasOwn(V,e.upsell.productKey)?o(`aiPictureBook/storyTitle.${e.upsell.productKey}`):e.upsell.productKey)),T=m(()=>{const a=G(e.upsell.productKey)?.headlineKey;return a?o(a):o(H,{product:k.value})});return(a,ie)=>(F(),N("div",j,[i("p",z,[i("span",X,[s(r,{class:"ai-picture-book-upsell__confirmation-icon",name:"check-icon"})]),h(" "+l(t(o)("aiPictureBook/upsell.confirmation")),1)]),i("div",q,[i("h2",J,l(t(T)),1),s(w,{class:"ai-picture-book-upsell__image",src:e.upsell.imageUrl,alt:t(k),sizes:"xxs:150px md:180px"},null,8,["src","alt"]),i("p",Q,[h(l(t(o)("aiPictureBook/upsell.discount"))+" ",1),i("strong",W,l(t(o)("aiPictureBook/upsell.discountHighlight")),1)]),i("button",{type:"button",class:"ai-picture-book-upsell__voucher","aria-label":t(o)("aiPictureBook/upsell.copyCode",{code:e.upsell.voucherCode}),"data-testid":"ai-picture-book-upsell-voucher",onClick:x},[s(r,{class:"ai-picture-book-upsell__voucher-icon",name:"sale-icon","aria-hidden":"true"}),i("span",ee,l(e.upsell.voucherCode),1),s(r,{class:"ai-picture-book-upsell__voucher-icon",name:t(_)?"check-icon":"duplicate","aria-hidden":"true"},null,8,["name"])],8,Z),i("span",te,l(t(_)?t(o)("aiPictureBook/upsell.codeCopied"):""),1),i("div",oe,[s(E,{external:"",target:t(f).SELF,class:"ai-picture-book-upsell__action","data-testid":"ai-picture-book-upsell-design",to:e.designUrl,onClick:O},{default:b(()=>[s(C,{"button-style":"primary",icon:"sparkles","is-full-width":"",tabindex:"-1",text:t(o)("aiPictureBook/upsell.ctaDesign")},null,8,["text"])]),_:1},8,["target","to"]),s(E,{external:"",target:t(f).SELF,class:"ai-picture-book-upsell__action","data-testid":"ai-picture-book-upsell-to-cart",to:e.cartUrl,onClick:L},{default:b(()=>[s(C,{"button-style":"secondary",icon:"cart-icon","is-ghost":"","is-full-width":"",tabindex:"-1",text:t(o)("aiPictureBook/upsell.ctaToCart")},null,8,["text"])]),_:1},8,["target","to"])])])]))}});typeof y=="function"&&y(c);typeof g=="function"&&g(c);typeof P=="function"&&P(c);typeof I=="function"&&I(c);typeof v=="function"&&v(c);typeof B=="function"&&B(c);const Ie=Y(c,[["__scopeId","data-v-73c2fdb9"]]);export{Ie 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.