1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2627,(e,t,r)=>{"use strict";r.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},n=(t||{}).decode||a,i=0;i<e.length;){var o=e.indexOf("=",i);if(-1===o)break;var l=e.indexOf(";",i);if(-1===l)l=e.length;else if(l<o){i=e.lastIndexOf(";",o-1)+1;continue}var s=e.slice(i,o).trim();if(void 0===r[s]){var c=e.slice(o+1,l).trim();34===c.charCodeAt(0)&&(c=c.slice(1,-1)),r[s]=function(e,t){try{return t(e)}catch(t){return e}}(c,n)}i=l+1}return r},r.serialize=function(e,t,r){var a=r||{},l=a.encode||o;if("function"!=typeof l)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=l(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var c=e+"="+s;if(null!=a.maxAge){var d=a.maxAge-0;if(isNaN(d)||!isFinite(d))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(d)}if(a.domain){if(!i.test(a.domain))throw TypeError("option domain is invalid");c+="; Domain="+a.domain}if(a.path){if(!i.test(a.path))throw TypeError("option path is invalid");c+="; Path="+a.path}if(a.expires){var u,f=a.expires;if(u=f,"[object Date]"!==n.call(u)&&!(u instanceof Date)||isNaN(f.valueOf()))throw TypeError("option expires is invali
1d");c+="; Expires="+f.toUTCString()}if(a.httpOnly&&(c+="; HttpOnly"),a.secure&&(c+="; Secure"),a.partitioned&&(c+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var n=Object.prototype.toString,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function o(e){return encodeURIComponent(e)}},7387,(e,t,r)=>{"use strict";var n=e.e&&e.e.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(r,"__esModule",{value:!0}),r.hasCookie=r.deleteCookie=r.setCookie=r.getCookie=r.getCookies=void 0;var a=e.r(2627),o=function(){return"u">typeof window},l=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},s=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&l(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&l(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&l(e.cookies())},c=function(e){var t={};return e.getAll().forEach(function(e){var r=e.name,n=e.value;t[r]=n}),t},d=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};r.getCookies=function(e){if(s(e)){if(null==e?void 0:e.req)return c(e.req.cookies);if(null==e?void 0:e.cookies)return c(e.cookies())}if(e&&(t=e.req),!o())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,a.parse)(t.headers.cookie):{};for(var t,r={},n=document.cookie?document.cookie.split("; "):[],i=0,l=n.length;i<l;i++){var d=n[i].split("="),u=d.slice(1).join("=");r[d[0]]=u}return r},r.getCookie=function(e,t){var n=(0,r.getCookies)(t)[e];if(void 0!==n)return n?n.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):n},r.setCookie=function(e,t,r){if(s(r)){var l,c,u,f=r.req,p=r.res,m=r.cookies,h=i(r,["req","res","cookies"]),g=n({name:e,value:d(t)},h);f&&f.cookies.set(g),p&&p.cookies.set(g),m&&m().set(g);return}if(r){var f=r.req,p=r.res,b=i(r,["req","res"]);c=f,u=p,l=b}var v=(0,a.serialize)(e,d(t),n({path:"/"},l));if(o())document.cookie=v;else if(u&&c){var y=u.getHeader("Set-Cookie");if(Array.isArray(y)||(y=y?[String(y)]:[]),u.setHeader("Set-Cookie",y.concat(v)),c&&c.cookies){var x=c.cookies;""===t?delete x[e]:x[e]=d(t)}if(c&&c.headers&&c.headers.cookie){var x=(0,a.parse)(c.headers.cookie);""===t?delete x[e]:x[e]=d(t),c.headers.cookie=Object.entries(x).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},r.deleteCookie=function(e,t){return(0,r.setCookie)(e,"",n(n({},t),{maxAge:-1}))},r.hasCookie=function(e,t){return!!e&&(0,r.getCookies)(t).hasOwnProperty(e)}},25101,(e,t,r)=>{"use strict";e.i(61043),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return w}});let n=e.r(36437),i=e.r(56421),a=e.r(12460),o=i._(e.r(73949)),l=n._(e.r(9087)),s=n._(e.r(99684)),c=e.r(53068),d=e.r(96687),u=e.r(15676),f=e.r(94888),p=n._(e.r(51625)),m=e.r(72420),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,a,o){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function b(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v="u"<typeof window?o.useEffect:o.useLayoutEffect,y=(0,o.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:l,className:s,style:c,fetchPriority:d,placeholder:u,loading:f,unoptimized:p,fill:h,onLoadRef:y,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:j,sizesInput:k,onLoad:_,onError:C,...E},O)=>{let S=(0,o.useRef)(!1),P=(0,o.useRef)(null);v(()=>{let{current:e}=S,{current:t}=P;e||null===t||(C&&(t.src=t.src),t.complete&&g(t,u,y,x,w,p,k),S.current=!0)},[e,u,y,x,C,p,k]);let N=(0,m.useMergedRef)(O,P);return(0,a.jsx)("img",{...E,...b(d),loading:f,width:i,height:n,decoding:l,"data-nimg":h?"fill":"1",className:s,style:c,sizes:r,srcSet:t,src:e,ref:N,onLoad:e=>{g(e.currentTarget,u,y,x,w,p,k)},onError:e=>{j(!0),"empty"!==u&&w(!0),C&&C(e)}})});function x({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...b(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,r),null):(0,a.jsx)(s.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(f.RouterContext),n=(0,o.useContext)(u.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=h||n||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:l,onLoadingComplete:s}=e,m=(0,o.useRef)(l);(0,o.useEffect)(()=>{m.current=l},[l]);let g=(0,o.useRef)(s);(0,o.useEffect)(()=>{g.current=s},[s]);let[b,v]=(0,o.useState)(!1),[w,j]=(0,o.useState)(!1),{props:k,meta:_}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{...k,unoptimized:_.unoptimized,placeholder:_.placeholder,fill:_.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),_.preload?(0,a.jsx)(x,{isAppRouter:!r,imgAttributes:k}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99684,(e,t,r)=>{"use strict";e.i(61043),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return h},defaultHead:function(){return u}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(36437),o=e.r(56421),l=e.r(12460),s=o._(e.r(73949)),c=a._(e.r(51762)),d=e.r(44028);function u(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,r,n,i;return e.reduce(f,[]).reverse().concat(u().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let a=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?a=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?a=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;("name"!==r||!o)&&n.has(t)?a=!1:(n.add(t),i[r]=n)}}}return a})).reverse().map((e,t)=>{let r=e.key||t;return s.default.cloneElement(e,{key:r})})}let h=function({children:e}){let t=(0,s.useContext)(d.HeadManagerContext);return(0,l.jsx)(c.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59609,(e,t,r)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}){let l=r?40*r:e,s=i?40*i:t,c=l&&s?`viewBox='0 0 ${l} ${s}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${c}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${c?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},96687,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},53068,(e,t,r)=>{"use strict";e.i(61043),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return c}});let n=e.r(50629),i=e.r(59609),a=e.r(96687),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c({src:e,sizes:t,unoptimized:r=!1,priority:d=!1,preload:u=!1,loading:f,className:p,quality:m,width:h,height:g,fill:b=!1,style:v,overrideSrc:y,onLoad:x,onLoadingComplete:w,placeholder:j="empty",blurDataURL:k,fetchPriority:_,decoding:C="async",layout:E,objectFit:O,objectPosition:S,lazyBoundary:P,lazyRoot:N,...R},T){var A;let I,L,M,{imgConf:z,showAltText:D,blurComplete:$,defaultLoader:q}=T,H=z||a.imageConfigDefault;if("allSizes"in H)I=H;else{let e=[...H.deviceSizes,...H.imageSizes].sort((e,t)=>
1e-t),t=H.deviceSizes.sort((e,t)=>e-t),r=H.qualities?.sort((e,t)=>e-t);I={...H,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===q)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let F=R.loader||q;delete R.loader,delete R.srcSet;let U="__next_img_default"in F;if(U){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=F;F=t=>{let{config:r,...n}=t;return e(n)}}if(E){"fill"===E&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(v={...v,...e});let r={responsive:"100vw",fill:"100vw"}[E];r&&!t&&(t=r)}let B="",W=s(h),G=s(g);if((A=e)&&"object"==typeof A&&(l(A)||void 0!==A.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(L=t.blurWidth,M=t.blurHeight,k=k||t.blurDataURL,B=t.src,!b)if(W||G){if(W&&!G){let e=W/t.width;G=Math.round(t.height*e)}else if(!W&&G){let e=G/t.height;W=Math.round(t.width*e)}}else W=t.width,G=t.height}let X=!d&&!u&&("lazy"===f||void 0===f);(!(e="string"==typeof e?e:B)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,X=!1),I.unoptimized&&(r=!0),U&&!I.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let V=s(m),Q=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:S}:{},D?{}:{color:"transparent"},v),Y=$||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:W,heightInt:G,blurWidth:L,blurHeight:M,blurDataURL:k||"",objectFit:Q.objectFit})}")`:`url("${j}")`,J=o.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit,K=Y?{backgroundSize:J,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Z=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:o,loader:l}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())e=void 0;else if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:s,kind:c}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,o),d=s.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:s.map((r,n)=>`${l({config:e,src:t,quality:a,width:r})} ${"w"===c?r:n+1}${c}`).join(", "),src:l({config:e,src:t,quality:a,width:s[d]})}}({config:I,src:e,unoptimized:r,width:W,quality:V,sizes:t,loader:F}),ee=X?"lazy":f;return{props:{...R,loading:ee,fetchPriority:_,width:W,height:G,decoding:C,className:p,style:{...Q,...K},sizes:Z.sizes,srcSet:Z.srcSet,src:y||Z.src},meta:{unoptimized:r,preload:u||d,placeholder:j,fill:b}}}},15676,(e,t,r)=>{"use strict";e.i(61043),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=e.r(36437)._(e.r(73949)),i=e.r(96687),a=n.default.createContext(i.imageConfigDefault)},94888,(e,t,r)=>{"use strict";
2e.i(61043),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(36437)._(e.r(73949)).default.createContext(null)},59902,(e,t,r)=>{"use strict";function n(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},51625,(e,t,r)=>{"use strict";e.i(61043),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let n=e.r(59902),i=e.r(50629);function a({config:e,src:t,width:r,quality:o}){let l=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())l=void 0;else{let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){l=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let s=(0,n.findClosestQuality)(o,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${s}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}a.__next_img_default=!0;let o=a},46588,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let n=e.r(12460),i=e.r(73949),a=e.r(71279),o=e.r(95633);function l(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},r=(0,i.lazy)(()=>t.loader().then(l)),c=t.loading;function d(e){let l=c?(0,n.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,d=s?i.Suspense:i.Fragment,u=t.ssr?(0,n.jsxs)(n.Fragment,{children:["u"<typeof window?(0,n.jsx)(o.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(d,{...s?{fallback:l}:{},children:u})}return d.displayName="LoadableComponent",d}},18932,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let n=e.r(36437)._(e.r(46588));function i(e,t){let r={};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,n.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},51762,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let n=e.r(73949),i="u"<typeof window,a=i?()=>{}:n.useLayoutEffect,o=i?()=>{}:n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),l()),a(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),a(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},42418,e=>{"use strict";var t=e.i(12460);e.s(["default",0,function({children:e,sidebarExtra:r}){return(0,t.jsxs)("div",{className:"h-full flex flex-col overflow-y-auto scroll-smooth bg-white",children:[r&&(0,t.jsx)("div",{className:"border-b border-studio-line overflow-x-auto scrollbar-thin shrink-0",children:(0,t.jsx)("div",{className:"min-w-max px-4 py-2",children:r})}),e]})}])},87748,49235,e=>{"use strict";var t=e.i(12460),r=e.i(49021);function n(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let i=n(0,r.useTranslations);n(0,r.useFormatter),e.s(["useTranslations",0,i],49235);var a=e.i(79148),o=e.i(40441),l=e.i(36265);let s=[{country:"English",code:"en"}];var c=e.i(7387),d=e.i(43582);function u({className:e="w-3.5 h-3.5"}
3){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}let f=[{href:"#how",label:"How it works"},{href:"#styles",label:"Text card styles"},{href:"#customise",label:"Customise & share"},{href:"#sizes",label:"Sizes"},{href:"#export",label:"Export"},{href:"#faq",label:"FAQ"}],p=[{href:"#favicon-studio",label:"Favicon maker"},{href:"#what",label:"Favicon files"},{href:"#dark-mode",label:"Dark mode"},{href:"#how",label:"How it works"},{href:"#installation-code",label:"Installation"},{href:"#faq",label:"FAQ"}],m=[{href:"favicon-generator",label:"Favicon generator"},{href:"text-card-editor",label:"Text Card Editor"},{href:"templates",label:"Card templates"},{href:"blog/markdown-to-image",label:"Markdown to image"},{href:"blog",label:"Blog"}],h=[{href:"about",label:"About"},{href:"contact",label:"Contact"},{href:"privacy-policy",label:"Privacy"},{href:"terms",label:"Terms"}],g="text-[12px] font-medium tracking-[0.01em] text-ink",b="inline-flex min-h-9 items-center rounded-[6px] py-1 text-[13px] text-ink-3 outline-none transition-colors hover:text-ink focus-visible:ring-2 focus-visible:ring-brand sm:min-h-0";e.s(["default",0,function({locale:e}){let r=i("Footer"),n=new Date().getFullYear(),v=(0,o.usePathname)(),y=v.split("/")[1]||"en",x=v===(0,l.getLinkHref)(e,""),w=v===(0,l.getLinkHref)(e,"favicon-generator");return(0,t.jsx)("footer",{className:"w-full border-t border-studio-line bg-white text-ink-3",children:(0,t.jsx)("div",{className:`${d.SHELL} py-10 sm:py-12 lg:py-14`,children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-9 sm:gap-x-10 sm:gap-y-10 lg:grid-cols-[minmax(240px,1.5fr)_minmax(130px,0.7fr)_minmax(130px,0.7fr)_minmax(130px,0.7fr)]",children:[(0,t.jsxs)("div",{className:"col-span-2 max-w-[46ch] lg:col-span-1",children:[(0,t.jsxs)(a.default,{href:(0,l.getLinkHref)(e,""),className:"inline-flex min-h-9 items-center gap-2 rounded-[8px] outline-none focus-visible:ring-2 focus-visible:ring-brand sm:min-h-0",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"h-5 w-5 shrink-0 bg-[url(/logo.png)] bg-contain bg-center bg-no-repeat"}),(0,t.jsx)("span",{className:"text-[15px] font-medium text-ink",children:"TextCard.net"})]}),(0,t.jsx)("p",{className:"mt-4 text-[13px] leading-6 text-ink-3",children:"A free text card maker. Paste any text â a chat answer, notes, a quote, a whole article â and download a set of image cards sized for wherever you post. Everything runs in your browser: no account, no upload, no watermark."}),(0,t.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-2",children:[(0,t.jsxs)("a",{href:"https://x.com/TextCardNet",target:"_blank",rel:"noopener noreferrer",title:"TextCard.net on X",className:"inline-flex h-8 w-8 items-center justify-center rounded-full bg-studio-chip text-ink-2 outline-none transition-colors hover:bg-[#E8EAED] focus-visible:ring-2 focus-visible:ring-brand",children:[(0,t.jsx)(u,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{className:"sr-only",children:"TextCard.net on X"})]}),s.length>1&&s.map(e=>(0,t.jsx)(a.default,{href:(0,l.getLinkHref)(e.code,""),onClick:()=>{var t;let r;return t=e.code,void((r=new Date).setDate(r.getDate()+365),(0,c.setCookie)("userSelectedLocale",t,{expires:r}))},prefetch:!1,className:`rounded-full px-2.5 py-1 text-[12px] transition-colors ${y===e.code?"bg-brand-soft font-medium text-brand-on-soft":"text-ink-3 hover:bg-studio-chip hover:text-ink"}`,children:e.country},e.code))]}),(0,t.jsxs)("p",{className:"mt-6 text-[12px] leading-5 text-ink-3",children:["© ",n," TextCard.net. ",r("allRightsReserved"),(0,t.jsx)("span",{"aria-hidden":!0,className:"px-1.5 text-studio-line",children:"/"}),(0,t.jsx)("a",{rel:"noopener noreferrer",href:"https://www.apiyi.com/register/?aff_co
3de=EcZk",target:"_blank",className:"transition-colors hover:text-ink",children:"API support â APIYI"})]})]}),(0,t.jsxs)("nav",{"aria-label":"On this page",children:[(0,t.jsx)("h3",{className:g,children:"On this page"}),(0,t.jsx)("ul",{className:"mt-3 sm:mt-4 sm:space-y-1",children:(w?p:f).map(r=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:w||x?r.href:`${(0,l.getLinkHref)(e,"")}${r.href}`,className:b,children:r.label})},r.label))})]}),(0,t.jsxs)("nav",{"aria-label":"More",children:[(0,t.jsx)("h3",{className:g,children:"More"}),(0,t.jsx)("ul",{className:"mt-3 sm:mt-4 sm:space-y-1",children:m.map(r=>(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:(0,l.getLinkHref)(e,r.href),className:b,children:r.label})},r.label))})]}),(0,t.jsxs)("nav",{"aria-label":"Legal and contact",className:"col-span-2 lg:col-span-1",children:[(0,t.jsx)("h3",{className:g,children:"Company"}),(0,t.jsx)("ul",{className:"mt-3 flex flex-wrap gap-x-6 sm:mt-4 sm:space-y-1 lg:block",children:h.map(r=>(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:(0,l.getLinkHref)(e,r.href),className:b,children:r.label})},r.label))})]})]})})})}],87748)},46334,e=>{"use strict";var t=e.i(12460),r=e.i(73949);let n=(0,e.i(74450).default)("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]),i=` 4(function () { 5 var sel = window.getSelection(); 6 if (!sel || sel.isCollapsed) { 7 alert('Select the text you want to turn into cards, then click this bookmark again.'); 8 return; 9 } 10 11 var frag = sel.getRangeAt(0).cloneContents(); 12 13 // renderInline å¤çãå个èç¹ï¼å«å®èªèº«çæ ç¾ãï¼inline å¤çãä¸ä¸ªèç¹çææåèç¹ãã 14 // 两è å¿ é¡»åå¼ï¼<li> çç´æ¥åèç¹é妿æ <code>/<strong>ï¼ 15 // åªèµ° inline ä¼ä¸¢æå®ä»¬èªèº«çæ è®°ã 16 function renderInline(n) { 17 if (n.nodeType === 3) return n.nodeValue.replace(/\\s+/g, ' '); 18 if (n.nodeType !== 1) return ''; 19 var tag = n.tagName.toLowerCase(); 20 if (tag === 'br') return '\\n'; 21 var inner = inline(n); 22 if (!inner.trim()) return ''; 23 if (tag === 'strong' || tag === 'b') return '**' + inner + '**'; 24 if (tag === 'em' || tag === 'i') return '*' + inner + '*'; 25 if (tag === 'del' || tag === 's') return '~~' + inner + '~~'; 26 if (tag === 'code') return '\\u0060' + inner + '\\u0060'; 27 if (tag === 'a') { 28 var href = n.getAttribute('href') || ''; 29 return href ? '[' + inner + '](' + href + ')' : inner; 30 } 31 return inner; 32 } 33 34 function inline(node) { 35 var out = ''; 36 node.childNodes.forEach(function (n) { out += renderInline(n); }); 37 return out; 38 } 39 40 // å表åç¬æå½æ°ï¼åµå¥å表è¦è½ç´æ¥å¯¹ <ul>/<ol> æ¬èº«éå½ï¼ 41 // è block() çè¯ä¹æ¯ãéåæèç¹çåèç¹ãï¼ä¸¤è ä¸è½æ··ç¨ã 42 function renderList(listEl, depth, lines) { 43 var ordered = listEl.tagName.toLowerCase() === 'ol'; 44 var i = 0; 45 listEl.childNodes.forEach(function (li) { 46 if (li.nodeType !== 1 || li.tagName.toLowerCase() !== 'li') return; 47 i++; 48 var pad = new Array(depth * 2 + 1).join(' '); 49 var marker = ordered ? i + '. ' : '- '; 50 var own = ''; 51 var nested = []; 52 li.childNodes.forEach(function (c) { 53 if (c.nodeType === 1 && /^(ul|ol)$/.test(c.tagName.toLowerCase())) { nested.push(c); return; } 54 own += renderInline(c); 55 }); 56 own = own.trim(); 57 if (own) lines.push(pad + marker + own); 58 nested.forEach(function (c) { renderList(c, depth + 1, lines); }); 59 }); 60 lines.push(''); 61 } 62 63 function block(node, depth, lines) { 64 node.childNodes.forEach(function (n) { 65 if (n.nodeType === 3) { 66 var t = n.nodeValue.replace(/\\s+/g, ' ').trim(); 67 if (t) lines.push(t, ''); 68 return; 69 } 70 if (n.nodeType !== 1) return; 71 var tag = n.tagName.toLowerCase(); 72 73 if (/^h[1-6]$/.test(tag)) { 74 var lvl = Math.min(3, parseInt(tag[1], 10)); 75 lines.push(new Array(lvl + 1).join('#') + ' ' + inline(n).trim(), ''); 76 } else if (tag === 'p') { 77 var p = inline(n).trim(); 78 if (p) lines.push(p, ''); 79 } else if (tag === 'ul' || tag === 'ol') { 80 renderList(n, depth, lines); 81 } else if (tag === 'blockquote') { 82 var q = []; 83 block(n, depth, q);
84 q.filter(Boolean).forEach(function (l) { lines.push('> ' + l); }); 85 lines.push(''); 86 } else if (tag === 'pre') { 87 var fence = '\\u0060\\u0060\\u0060'; 88 lines.push(fence, n.textContent.replace(/\\s+$/, ''), fence, ''); 89 } else if (tag === 'hr') { 90 lines.push('---', ''); 91 } else if (tag === 'br') { 92 lines.push(''); 93 } else if (tag === 'table' || tag === 'figure' || tag === 'svg' || tag === 'img') { 94 // å¡çæç䏿¯æï¼è·³è¿ 95 } else { 96 block(n, depth, lines); 97 } 98 }); 99 return lines; 100 } 101 102 var lines = block(frag, 0, []); 103 var md = lines.join('\\n').replace(/\\n{3,}/g, '\\n\\n').trim(); 104 if (!md) { alert('Nothing usable was found in that selection.'); return; } 105 106 var bytes = new TextEncoder().encode(md); 107 var bin = ''; 108 for (var i = 0; i < bytes.length; i++) bin += String.fromCharCode(bytes[i]); 109 var payload = btoa(bin).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, ''); 110 111 window.open('__SITE_URL__/#md=' + payload, '_blank', 'noopener'); 112})(); 113`;e.s(["default",0,function(){let e=(0,r.useRef)(null),[a,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{e.current?.setAttribute("href","javascript:"+encodeURIComponent(i.replace(/^\s*\/\/.*$/gm,"").replace(/\n\s*/g," ").replace(/\s{2,}/g," ").replace("__SITE_URL__","https://www.textcard.net".replace(/\/$/,"")).trim())),o(!0)},[]),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsxs)("a",{ref:e,onClick:e=>e.preventDefault(),draggable:!0,className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-brand text-white text-sm font-medium shadow-sm cursor-grab active:cursor-grabbing select-none no-underline",children:[(0,t.jsx)(n,{className:"w-4 h-4"}),"Send to TextCard"]}),(0,t.jsx)("span",{className:"text-xs text-ink-3",children:a?"Drag this button to your bookmarks bar":"Preparingâ¦"})]})}],46334)},36218,e=>{"use strict";var t=e.i(12460);let r=(0,e.i(18932).default)(()=>e.A(59940),{loadableGenerated:{modules:[38539]}});e.s(["default",0,function({heading:e}){return(0,t.jsx)(r,{heading: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.