PageSourceSearch

https://www.writeprint.ai/_next/static/chunks/7033-59aa6cdf226b84d6.js

js writeprint.ai collected 2026-10-05 13:19:29 UTC 11,513 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7033],{97033:function(e,a,t){t.r(a),t.d(a,{default:function(){return g}});var l=t(57437),s=t(30370),r=t(2265),n=t(11923),i=t(89030),o=t(95560),c=t(99876),d=t(46939),h=t(27838),p=t(56995),f=t(27700),m=t(57268),u=t(32867),x=t(2208),v=t(48403);let j="pk_live_51OyhXOFM9x4789gr3uC9PllibRmiirwYvh2rl1GQNKRs0W6JFMedLpiPGUvQQgGsOIzA9TVBbs0IAQgfUMTHTSTI00W7qtxe3R";if(!j)throw Error("Missing NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY environment variable. Did you forget to add it to your .env file?");let y=(0,s.J)(j);function g(e){let{clientSecret:a,onClose:t}=e;return(0,l.jsx)(N,{onClose:t,children:(0,l.jsx)(n.EmbeddedCheckoutProvider,{stripe:y,options:{clientSecret:a},children:(0,l.jsx)(n.EmbeddedCheckout,{className:"EmbeddedCheckoutClassName"})})},a)}function N(e){let{onClose:a,children:t}=e,[s,n]=(0,r.useState)(!0),j=h.Z.stripe.displayMode,y=j===d.M.Popup,g=j===d.M.Overlay,N=(0,i.Z)({"bg-white p-4 max-h-[98vh] overflow-y-auto shadow-transparent border border-gray-200 dark:border-dark-700":y,"bg-background !flex flex-col flex-1 fixed top-0 !max-h-full !max-w-full left-0 w-screen h-screen border-transparent shadow-transparent py-4 px-8":g}),P=()=>{n(!1),a&&a()};return(0,l.jsx)(p.Vq,{defaultOpen:!0,open:s,onOpenChange:e=>{!e&&a&&a(),n(e)},children:(0,l.jsxs)(p.cZ,{className:N,onOpenAutoFocus:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,l.jsx)(m.Z,{condition:g,children:(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)(u.Z,{}),(0,l.jsx)(x.default,{onClick:P,variant:"outline",children:(0,l.jsx)(v.Z,{i18nKey:"common:cancel"})})]})})}),(0,l.jsx)(m.Z,{condition:y,children:(0,l.jsx)(c.x8,{asChild:!0,children:(0,l.jsxs)(f.Z,{className:"absolute top-2 right-4 flex items-center",label:"Close Checkout",onClick:P,children:[(0,l.jsx)(o.Z,{className:"h-6 text-gray-900"}),(0,l.jsx)("span",{className:"sr-only",children:(0,l.jsx)(v.Z,{i18nKey:"common:cancel"})})]})})}),(0,l.jsx)("div",{className:(0,i.Z)({"p-8 rounded-xl bg-white flex-1":g}),children:t})]})})}},56995:function(e,a,t){t.d(a,{$N:function(){return p},Vq:function(){return i},cZ:function(){return h},hg:function(){return o}});var l=t(57437),s=t(2265),r=t(99876),n=t(89030);let i=r.fC,o=r.xz,c=e=>(0,l.jsx)(r.h_,{...e});c.displayName=r.h_.displayName;let d=s.forwardRef((e,a)=>{let{className:t,children:s,...i}=e;return(0,l.jsx)(r.aV,{className:(0,n.Z)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:a})});d.displayName=r.aV.displayName;let h=s.forwardRef((e,a)=>{let{className:t,children:s,...i}=e;return(0,l.jsxs)(c,{children:[(0,l.jsx)(d,{}),(0,l.jsx)(r.VY,{ref:a,className:(0,n.Z)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full dark:shadow-primary/30 dark:shadow-2xl",t),...i,children:s})]})});h.displayName=r.VY.displayName;let p=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)(r.Dx,{ref:a,className:(0,n.Z)("text-lg font-semibold",t),...s})});p.displayName=r.Dx.displayName,s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)(r.dk,{ref:a,className:(0,n.Z)("text-sm text-primary dark:text-primary/90",t),...s})}).displayName=r.dk.displayName},32867:function(e,a,t){var l=t(57437),s=t(89030);a.Z=e=>{let{className:a}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,viewBox:"0 0 711 189",className:(0,s.Z)("w-[140px] sm:w-[200px]",a),children:[(0,l.jsxs)("defs",{children:[(0,l.jsx)("clipPath",{id:"a",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-557.995 602.519h1200v-1200h-1200Z"})}),(0,l.jsx)("clipPath",{id:"b",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M0 1200h1200V0H0Z"})}),(0,l.jsx)("clipPath",{id:"c",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-622.847 629.349h1200v-1200h-1200Z"})}),(0,l.jsx)("clipPath",{id:"d",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-653.088 602.167h1200v-1200h-1200Z"})}),(0,l.jsx)("clipPath",{id:"e",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-705.763 631.013h1200v-1200h-1200Z"})}),(0,l.jsx)("clipPath",{id:"f",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-747.822 602.519h1200v-1200h-1200Z"})}),(0,l.jsx)("clipPath",{id:"g",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M0 1200h1200V0H0Z"})}),(0,l.jsx)("clipPath",{id:"h",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-814.791 592.714h1200v-1200h-1200Z"})}),(0,l.jsx)("clipPath",{id:"i",clipPathUnits:"userSpaceOnUse",children:(0,l.jsx)("path",{d:"M-863.599 629.349h1200v-1200h-1200Z"})}),(0,l.jsxs)("linearGradient",{id:"j",x1:0,x2:1,y1:0,y2:0,gradientTransform:"matrix(0 140.48524 140.48524 0 381.508 527.537)",gradientUnits:"userSpaceOnUse",spreadMethod:"pad",children:[(0,l.jsx)("stop",{offset:0,style:{stopOpacity:1,stopColor:"#0095dd"}}),(0,l.jsx)("stop",{offset:1,style:{stopOpacity:1,stopColor:"#0ee091"}})]})]}),(0,l.jsx)("path",{d:"M0 0h10.868l15.159 44.691L41.097 0h10.958l19.014 60.198H59.063L46.18 17.089 31.987 60.198h-11.92L5.785 17.089-7.099 60.198h-12.005z",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 182.359 146.895)"}),(0,l.jsx)("path",{d:"M0 0v8.751h-10.685v-45.299H0v22.87C0-5.083 6.482.702 16.212.702v9.102C8.763 9.8
104 2.892 6.039 0 0",clipPath:"url(#a)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 299.555 98.165)"}),(0,l.jsx)("path",{d:"M579.913 560.934h10.681v45.299h-10.681zm5.43 52.148c3.325 0 6.042 2.888 6.042 6.127 0 3.24-2.717 6.042-6.042 6.042-3.414 0-6.132-2.802-6.132-6.042s2.718-6.127 6.132-6.127",clipPath:"url(#b)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 -444.437 894.807)"}),(0,l.jsx)("path",{d:"M0 0c-.963-.963-2.627-1.664-4.468-1.664-2.541 0-4.47 2.19-4.47 5.258v23.147H1.317v8.841H-8.938v12.446h-10.42V35.582h-6.572v-8.841h6.572V2.28c0-7.62 5.254-13.051 12.786-13.051 3.419 0 7.098 1.404 9.639 3.59z",clipPath:"url(#c)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 386.025 133.938)"}),(0,l.jsx)("path",{d:"M0 0c6.396 0 10.252-4.039 11.479-9.741h-23.833C-10.774-3.773-5.956 0 0 0m.09-28.495c-6.486 0-11.215 4.385-12.532 10.614h34.173c0 16.738-8.15 27.334-22.168 27.334-12.879 0-23.045-9.979-23.045-23.568 0-13.944 10.692-23.837 23.657-23.837 6.572 0 14.458 2.803 18.403 7.005l-6.748 7.012c-2.541-2.63-7.534-4.56-11.74-4.56",clipPath:"url(#d)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 426.347 97.696)"}),(0,l.jsx)("path",{d:"M0 0c-7.543 0-12.802 6.135-12.802 14.641S-7.543 29.196 0 29.196c7.628 0 13.062-6.05 13.062-14.555C13.062 6.135 7.628 0 0 0m2.892 38.298c-6.751 0-12.185-3.064-15.784-8.229v7.177h-10.68v-60.374h10.68V-.877c3.599-5.165 9.033-8.229 15.784-8.229 12.01 0 20.765 9.807 20.765 23.743 0 13.857-8.755 23.661-20.765 23.661",clipPath:"url(#e)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 496.58 136.157)"}),(0,l.jsx)("path",{d:"M0 0v8.751h-10.681v-45.299H0v22.87C0-5.083 6.486.702 16.216.702v9.102C8.767 9.804 2.893 6.039 0 0",clipPath:"url(#f)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 552.66 98.165)"}),(0,l.jsx)("path",{d:"M769.745 560.934h10.681v45.299h-10.681zm5.43 52.148c3.325 0 6.042 2.888 6.042 6.127 0 3.24-2.717 6.042-6.042 6.042-3.414 0-6.131-2.802-6.131-6.042s2.717-6.127 6.131-6.127",clipPath:"url(#g)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 -444.437 894.807)"}),(0,l.jsx)("path",{d:"M0 0c-5.964 0-11.227-2.889-14.033-7.091v6.038h-10.681v-45.299h10.681v28.658c.702 4.822 5.352 8.592 10.962 8.592 5.613 0 9.557-4.386 9.557-10.518v-26.732h10.33v28.834C16.816-7.266 9.901 0 0 0",clipPath:"url(#h)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 641.95 85.093)"}),(0,l.jsx)("path",{d:"M0 0c-.963-.963-2.631-1.664-4.471-1.664-2.542 0-4.467 2.19-4.467 5.258v23.147H1.314v8.841H-8.938v12.446h-10.419V35.582h-6.573v-8.841h6.573V2.28c0-7.62 5.251-13.051 12.785-13.051 3.415 0 7.098 1.404 9.64 3.59z",clipPath:"url(#i)",className:"fill-foreground",style:{fillOpacity:1,fillRule:"nonzero",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 707.027 133.938)"}),(0,l.jsx)("path",{d:"m358.33 667.109-4.246-7.356c8.307 3.965 17.604 6.187 27.42 6.187 9.792 0 19.069-2.211 27.361-6.159l-4.234 7.343a68.8 68.8 0 0 1-23.127 3.981 68.8 68.8 0 0 1-23.174-3.996m-9.341-16.18-7.651-13.25c9.835 11.101 24.187 18.102 40.166 18.102 15.888 0 30.175-6.927 39.997-17.919l-7.561 13.117a58.32 58.32 0 0 1-32.436 9.796 58.33 58.33 0 0 1-32.515-9.846m-15.661-42.899 4.825-8.365q-.07 1.228-.07 2.479c0 23.965 19.455 43.421 43.421 43.421 4.685 0 9.199-.746 13.432-2.121a2.555 2.555 0 0 1 1.579 4.857 48.4 48.4 0 0 1-15.011 2.37c-24.792 0-45.265-18.629-48.176-42.641m68.964 35.195a2.555 2.555 0 0 1 .936-3.488c12.964-7.516 21.693-21.541 21.693-37.593q0-1.31-.075-2.6l4.842 8.389c-1.844 15.486-10.997 28.748-23.907 36.228a2.5 2.5 0 0 1-1.275.345c-.882 0-1.741-.46-2.214-1.281m-59.102-41.081v-11.219l5.11-8.861v20.08c0 18.325 14.875 33.204 33.204 33.204 12.286 0 23.022-6.689 28.764-16.622a2.555 2.555 0 0 1 4.424 2.558c-6.628 11.456-19.015 19.17-33.188 19.17-21.148 0-38.314-17.167-38.314-38.31m18.442 19.852a2.553 2.553 0 0 1 0-3.612 2.555 2.555 0 0 1 3.609 0l.072.072-.072-.069s.881.877.159.156a22.92 22.92 0 0 0 16.104 6.588c12.684 0 22.987-10.299 22.987-22.987v-37.858l5.105 8.848v29.01c0 15.506-12.586 28.094-28.092 28.094-7.761 0-14.785-3.15-19.872-8.242m14.352-2.845c-7.172-2.327-12.361-9.066-12.361-17.007v-46.66l5.111-8.86v43.03a18 18 0 0 1 5.106-3.652v-48.239l5.106-8.86v60.739c-5.82 1.186-10.201 6.34-10.201 12.506l-.011-.027v.023c0 5.671 3.707 10.486 8.829 12.15a2.55 2.55 0 0 1 1.637 3.216 2.55 2.55 0 0 1-2.427 1.767q-.394.002-.789-.126m7.831-1.641a2.555 2.555 0 0 1 1.637-3.22c5.118-1.664 8.817-6.475 8.822-12.142 0-6.171-4.394-11.324-10.217-12.509v-60.743l5.106 8.848v48.254a18 18 0 0 1 5.111 3.644v-43.05l5.105 8.846v46.706c0 7.936-5.184 14.673-12.348 17.004a2.552 2.552 0 0 1-3.216-1.638m-18.415 1.033-.087-.087zm-9.768-5.426a28 28 0 0 1-2.225-10.973v-28.938l5.11-8.861v37.799c0 3.184.647 6.217 1.82 8.977a2.557 2.557 0 0 1-1.352 3.349 2.562 2.562 0 0 1-3.353-1.353m59.96.137a2.56 2.56 0 0 1-1.859-3.1c.635-2.565.974-5.25.974-8.01v-20.161l5.107 8.845v11.316c0 3.189-.391 6.287-1.127 9.246a2.557 2.557 0 0 1-3.095 1.864",style:{fill:"url(#j)",stroke:"none"},transform:"matrix(1.33333 0 0 -1.33333 -444.437 894.807)"})]})}}}]);

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.