PageSourceSearch

https://touchnote.com/_next/static/chunks/999-bcc46f2556574f76.js

js touchnote.com collected 2026-09-24 09:34:07 UTC 11,641 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f04e96f8-b260-4153-b13f-de2d2ebed602",e._sentryDebugIdIdentifier="sentry-dbid-f04e96f8-b260-4153-b13f-de2d2ebed602")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[999],{2414:(e,t,d)=>{"use strict";d.d(t,{B:()=>r,I:()=>n});let n={3:"/assets/credits/credit-3.png",5:"/assets/credits/credit-5.png",6:"/assets/credits/credit-6.png",10:"/assets/credits/credit-10.png",20:"/assets/credits/credit-bag-sm.png",40:"/assets/credits/credit-bag-lg.png",90:"/assets/credits/credit-goldbars.png"},r={6:"/assets/credits/credits-saving-sub-low.png",12:"/assets/credits/credits-saving-low.png",26:"/assets/credits/credits-saving-mid.png",56:"/assets/credits/credits-saving-high.png",130:"/assets/credits/credits-saving-very-high.png"}},3425:(e,t,d)=>{"use strict";d.d(t,{$O:()=>g,Ge:()=>h,Su:()=>b});var n=d(37876),r=d(26404),i=d(95726),s=d(43715),a=d(37581),l=d(11079),c=d(2414),o=d(8902),u=d.n(o);let h=e=>{var t;let d=e.bundlePrice-(null!=(t=e.bundleTax)?t:0),n=e.bundlePrice+e.totalMonetarySaving,r=Math.round(e.totalMonetarySaving/n*100);return{bundleId:e.bundleId,offeredCredits:e.offeredCredits,savingPercent:r,bundlePriceWithoutTax:d,pricePerCreditWithoutTax:Math.round(d/e.offeredCredits),freeCredits:e.freeCredits||0}},g=e=>({bundleId:e.bundle.bundleId,offeredCredits:e.bundle.offeredCredits,savingPercent:e.savingPercent,bundlePriceWithoutTax:e.bundlePriceWithoutTax,pricePerCreditWithoutTax:e.pricePerCreditWithoutTax,freeCredits:e.bundle.freeCredits}),b=e=>{var t,d,o,h;let{payload:g,isSelected:b,isIntroOffer:f,hideSavingsPill:m,onClick:_}=e,{data:v}=(0,i.IM)(),{currencyCode:p}=(0,s.Y)(),w=null!=(t=null==v?void 0:v.currencyCode)?t:p,C=(0,a.AZ)(null!=(d=g.bundlePriceWithoutTax)?d:0,w),y=(0,a.AZ)(null!=(o=g.pricePerCreditWithoutTax)?o:0,w),x=c.I[g.offeredCredits],{data:P}=(0,r.Q2)(),I=!!P&&(0,r.tJ)(P);return(0,n.jsxs)("button",{type:"button",className:(0,l.lM)(u().bundleSelector,b&&u().isSelected,f&&u().isIntroOffer),onClick:_,"data-sentry-component":"BundleSelector","data-sentry-source-file":"bundle-selector.tsx",children:[(0,n.jsx)("div",{className:(0,l.lM)(u().saleTag,m&&u().saleTagHidden),children:"Save ".concat(null!=(h=g.savingPercent)?h:0,"%")}),x&&(0,n.jsx)("img",{src:x,alt:"credits",width:110,height:76,className:u().creditImage}),(0,n.jsxs)("div",{className:u().centerSection,children:[(0,n.jsx)("div",{className:u().bundleName,children:"".concat(g.offeredCredits," ").concat(g.offeredCredits>1?I?"cards":"credits":I?"card":"credit")}),(0,n.jsxs)("div",{className:u().creditPrice,children:[y," each"]})]}),(0,n.jsx)("div",{className:u().bundlePrice,children:C})]})}},8902:e=>{e.exports={bundleSelector:"bundle-selector_bundleSelector__9HM1P",isSelected:"bundle-selector_isSelected__KLGaV",creditImage:"bundle-selector_creditImage__nwwUA",centerSection:"bundle-selector_centerSection__y7Q6Z",bundleName:"bundle-selector_bundleName__M_dPF",creditPrice:"bundle-selector_creditPrice__Dfgqx",bundlePrice:"bundle-selector_bundlePrice__I2ckq",saleTag:"bundle-selector_saleTag__9FDqR",saleTagHidden:"bundle-selector_saleTagHidden___MdHG",isIntroOffer:"bundle-selector_isIntroOffer__FJxLx"}},14965:(e,t,d)=>{"use strict";d.d(t,{$D:()=>a,Uw:()=>c,h9:()=>s});var n=d(19596),r=d(86189),i=d(65534);let s=24,a=(e,t)=>(0,i.Em)(e,{path:"content/themes",method:"GET",apiVersion:"v1",query:t}),l=function(e,t){let d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,n=e.themes.length;if(0!==n&&n%d==0)return t+1},c=e=>{let{isEnabled:t,tags:d,startPage:i}=e,{ctx:c}=(0,r._8)();return t=t&&!!c,(0,n.q)({queryKey:["themes",d,c],queryFn:e=>{let{pageParam:t}=e;return a(c,{tags:d,limit:s,offset:(t-1)*s,ignorePagination:!1,searchCondition:"AND"})},getNextPageParam:(e,t,d)=>l(e,d),enabled:t,initialPageParam:i})}},16616:(e,t,d)=>{"use strict";d.d(t,{Z:()=>u});var n=d(37876),r=d(95726),i=d(43715),s=d(37581),a=d(11079),l=d(2414),c=d(74567),o=d.n(c);let u=e=>{var t,d,c,u;let{payload:h,isSelected:g,isIntroOffer:b,onClick:f}=e,{data:m}=(0,r.IM)(),{currencyCode:_}=(0,i.Y)(),v=(0,s.AZ)(null!=(t=h.bundlePriceWithoutTax)?t:0,null!=(d=null==m?void 0:m.currencyCode)?d:_),p=(0,s.AZ)(null!=(c=h.pricePerCreditWithoutTax)?c:0,null!=(u=null==m?void 0:m.currencyCode)?u:_),w=l.B[h.offeredCredits],C=h.freeCredits?h.offeredCredits-h.freeCredits:h.offeredCredits;return(0,n.jsxs)("button",{type:"button",className:(0,a.lM)(o().bundleSelector,g&&o().isSelected,b&&o().isIntroOffer),onClick:f,"data-sentry-component":"CreditSaleBundlesSelector","data-sentry-source-file":"credit-sale-bundle-selector.tsx",children:[w&&(0,n.jsx)("img",{src:w,alt:"credits",width:116,height:116,className:o().creditImage}),(0,n.jsxs)("div",{className:o().centerSection,children:[(0,n.jsxs)("div",{className:o().bundleName,children:["".concat(C," ").concat(C>1?"credits":"credit")," +"," ",(0,n.jsxs)("span",{className:o().freeCreditsInfo,children:[h.freeCredits," free"]})]}),(0,n.jsxs)("div",{className:o().creditPrice,children:[p," each"]})]}),(0,n.jsx)("div",{className:o().bundlePrice,children:v})]})}},44763:(e,t,d)=>{"use strict";d.d(t,{n:()=>l});var n=d(37876),r=d(14232),i=d(8201),s=d(60527),a=d.n(s);let l=e=>{let{defaultState:t,button:d,onExpand:s,children:l,iconSrc:c="/assets/icons/chevron-down.svg",additionalClassNames:o}=e,[u,h]=(0,r.useState)(null!=t&&t);return(0,n.jsxs)("div",{className:(0,i.l)(u&&a().showExpandedContent),"data-sentry-component":"Accordion","data-sentry-source-file":"accordion.tsx",children:[(0,n.jsxs)("button",{type:"button",className:(0,i.l)(a().button,null==o?void 0:o.accordionButton),onClick:()=>{h(e=>!e),u||null==s||s()},children:[(0,n.jsx)("span",{className:(0,i.l)(null==o?void 0:o.innerContent),children:d}),(0,n.jsx)("img",{className:(0,i.l)(null==o?void 0:o.expandIcon),src:c,width:24,height:24,alt:"Expand content"})]}),(0,n.jsx)("div",{className:(0,i.l)(a().expandedContent,null==o?void 0:o.expandedContent),children:l})]})}},49234:(e,t,d)=>{"use strict";d.d(t,{fN:()=>l});var n=d(74359),r=d(86189),i=d(65534),s=d(26404),a=d(95726);let l=e=>{let{ctx:t}=(0,r._8)(),{data:d}=(0,s.Q2)(),{data:l}=(0,a.IM)(),o=(null==d?void 0:d.isMember)?2:+(null!=l&&!!l.hasLedgerActivity),{feature:u}=null!=e?e:{};return(0,n.I)({queryKey:["bundle",t,u],queryFn:()=>((e,t)=>(0,i.Em)(e,{apiVersion:"v1",method:"GET",path:"/bundle".concat(t?"?feature=".concat(t):"")}))(t,u),enabled:!!t,select:e=>u?e.bundles:c(e.bundles,o)})},c=(e,t)=>{if(void 0!==t){let d;switch(t){case 0:d=[3,6,20,40,90];break;case 1:case 2:d=[5,10,20,40,90]}return e.filter(e=>d.includes(e.offeredCredits))}return e}},60527:e=>{e.exports={button:"accordion_button__j4AYy",container:"accordion_container__LKy_k",showExpandedContent:"accordion_showExpandedContent__rg24n",expandedContent:"accordion_expandedContent__2Ylem"}},74567:e=>{e.exports={bundleSelector:"credit-sale-bundle-selector_bundleSelector__57uhS",isSelected:"credit-sale-bundle-selector_isSelected__DNBjI",creditImage:"credit-sale-bundle-selector_creditImage__ukb_N",centerSection:"credit-sale-bundle-selector_centerSection__Y6006",bundleName:"credit-sale-bundle-selector_bundleName__eWKaO",freeCreditsInfo:"credit-sale-bundle-selector_freeCreditsInfo__ualpy",creditPrice:"credit-sale-bundle-selector_creditPrice__86Zge",bundlePrice:"credit-sale-bundle-selector_bundlePrice__ieIaf",saleTag:"credit-sale-bundle-selector_saleTag__UB74g",isIntroOffer:"credit-sale-bundle-selector_isIntroOffer__fOOKG"}},75708:(e,t,d)=>{"use strict";d.d(t,{V:()=>l,k:()=>c});var n=d(49234),r=d(14308),i=d(43715),s=d(54773),a=d(83750);let l=(e,t)=>
1{var d;let n=t.monetaryCost/t.creditCost,r=e.bundlePrice-(null!=(d=e.bundleTax)?d:0),i=r/e.offeredCredits;return{bundle:e,savingPercent:Math.round((n-i)/n*100),bundlePriceWithoutTax:r,pricePerCreditWithoutTax:Math.round(i)}},c=(e,t)=>{let{data:d=[],isLoading:c}=(0,n.fN)({feature:t}),{locale:o}=(0,i.Y)(),{data:u}=(0,r.Jd)(),h=s.t;return(()=>{var n,r;let i=u&&null!=(r=null==(n=a.eq.find(e=>e.id===u.countryId))?void 0:n.region)?r:o;if(t)return{bundles:d.map(t=>l(t,h[e][i])).toSorted((e,t)=>e.bundle.bundlePrice-t.bundle.bundlePrice),offerBundles:[],isLoadingBundles:c};let s=d.map(t=>l(t,h[e][i])).filter(e=>e.savingPercent>0).sort((e,t)=>e.bundle.bundlePrice-t.bundle.bundlePrice).reduce((e,t)=>e.some(e=>e.bundle.offeredCredits===t.bundle.offeredCredits)?e:[...e,t],[]),g=s.filter(e=>[3,6].includes(e.bundle.offeredCredits)),b=s.filter(e=>!g.some(t=>t.bundle.offeredCredits===e.bundle.offeredCredits));return{offerBundles:g,bundles:b,isLoadingBundles:c}})()}},80133:(e,t,d)=>{"use strict";d.d(t,{P4:()=>r,PY:()=>s,_Q:()=>n,zv:()=>i});let n="downloadAppTapped",r="heroBannerCTAClicked",i="addNewAddressTapped",s="addNewReminderTapped"},96227:(e,t,d)=>{"use strict";d.d(t,{Pl:()=>r,V2:()=>u,Xe:()=>i,b_:()=>c,gz:()=>s,jR:()=>o,tF:()=>a,yh:()=>l});var n=d(91423);let r=e=>e.startsWith("http"),i=e=>new Promise((t,d)=>{let n=new Image;r(e)&&(n.crossOrigin="anonymous"),n.addEventListener("load",()=>t(n)),n.addEventListener("error",d),n.src=e}),s=async e=>{let t=(await d.e(9313).then(d.bind(d,89313))).default,r=(0,n.A)(),i=document.createElement("div");return i.style.display="none",i.id=r,document.body.append(i),{stage:new t.Stage({...e,container:r}),cleanupContainer:()=>{document.body.removeChild(i)}}},a=async(e,t)=>new Promise((d,n)=>{let r=document.createElement("canvas"),i=r.getContext("2d"),s=new Image;s.crossOrigin="anonymous",s.addEventListener("load",()=>{i&&(90===t||270===t?(r.width=s.height,r.height=s.width):(r.width=s.width,r.height=s.height),i.translate(r.width/2,r.height/2),i.rotate(t*Math.PI/180),i.drawImage(s,-s.width/2,-s.height/2),d(r.toDataURL("image/jpeg",1)))}),s.addEventListener("error",n),s.src=e}),l=(e,t,d)=>new Promise((n,r)=>{let i=new Image;i.crossOrigin="anonymous",i.addEventListener("load",()=>{let e,s,a=document.createElement("canvas");a.width=t,a.height=d;let l=a.getContext("2d");if(!l)return void r(Error("Canvas context not available"));let c=i.width/i.height;c>t/d?(e=a.height*c,s=a.height):(e=a.width,s=a.width/c);let o=-((e-a.width)/2),u=-((s-a.height)/2);l.drawImage(i,o,u,e,s),n(a.toDataURL("image/jpeg",1))}),i.addEventListener("error",r),i.src=e}),c=function(e,t){let d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;return new Promise((n,r)=>{let i=new Image;i.crossOrigin="anonymous",i.addEventListener("load",()=>{let e,s,a=document.createElement("canvas"),l=i.width/i.height;i.width<=t&&i.height<=t?(e=i.width,s=i.height):i.width>i.height?s=(e=t)/l:e=(s=t)*l,a.width=e,a.height=s;let c=a.getContext("2d");if(!c)return void r(Error("Canvas context not available"));c.drawImage(i,0,0,e,s),n(a.toDataURL("image/jpeg",d))}),i.addEventListener("error",r),i.src=e})},o=async e=>{let t=await i(e),n=(await d.e(9313).then(d.bind(d,89313))).default,{stage:r,cleanupContainer:a}=await s({width:t.width,height:t.height}),l=new n.Layer,c=new n.Rect({width:t.width,height:t.height,fill:"white"}),o=new n.Image({image:t,cornerRadius:100,width:t.width,height:t.height});l.add(c),l.add(o),r.add(l),l.draw();let u=r.toDataURL({mimeType:"image/jpeg",quality:1});return a(),u},u=function(e,t,d){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"auto";if(!/^https?:\/\/(dev-)?cdn\.touchnotes\.com\b/.test(e)||e.includes("/cdn-cgi/image/"))return e;let r=[null!=t&&"width=".concat(t),null!=d&&"quality=".concat(d),"format=".concat(n)].filter(Boolean);return"https://cdn.touchnotes.com/cdn-cgi/image/".concat(r.join(","),"/").concat(e)}}}]);

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.