PageSourceSearch

https://russwinn.blog/_next/static/chunks/3bogpctp5i5f5.js?dpl=dpl_68smVTahBgMGao5t9mtGPqsjq56w

js russwinn.blog collected 2026-10-10 00:46:35 UTC 32,238 bytes, 36 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="42c4eec2-a1fb-9ca3-c78a-91b4e806c32b")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,109114,e=>{"use strict";let t;var r=e.i(82350),a=e.i(129955);try{t=a.isBrowser&&!!globalThis.localStorage}catch{t=!1}let n=t?(e,t)=>(0,r.useStorageValue)(localStorage,e,t):(e,t)=>({value:void 0,set:a.noop,remove:a.noop,fetch:a.noop});e.s(["useLocalStorageValue",0,n])},269558,e=>{"use strict";var t=e.i(769792);e.s(["useHasMounted",0,function(){let[e,r]=t.useState(!1);return t.useEffect(()=>{r(!0)},[]),e}])},158756,e=>{"use strict";var t=e.i(769792),r=e.i(599973),a=e.i(889747),n=e.i(279743),i=e.i(204039),s=class extends n.Subscribable{#e;#t=void 0;#r;#a;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,i.shallowEqualObjects)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,i.hashKey)(t.mutationKey)!==(0,i.hashKey)(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(e){this.#n(),this.#i(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#n(),this.#i()}mutate(e,t){return this.#a=t,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#n(){let e=this.#r?.state??(0,r.getDefaultState)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#i(e){a.notifyManager.batch(()=>{if(this.#a&&this.hasListeners()){let t=this.#t.variables,r=this.#t.context,a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#a.onSuccess?.(e.data,t,r,a),this.#a.onSettled?.(e.data,null,t,r,a)):e?.type==="error"&&(this.#a.onError?.(e.error,t,r,a),this.#a.onSettled?.(void 0,e.error,t,r,a))}this.listeners.forEach(e=>{e(this.#t)})})}},o=e.i(663387);e.s(["useMutation",0,function(e,r){let n=(0,o.useQueryClient)(r),[l]=t.useState(()=>new s(n,e));t.useEffect(()=>{l.setOptions(e)},[l,e]);let c=t.useSyncExternalStore(t.useCallback(e=>l.subscribe(a.notifyManager.batchCalls(e)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),u=t.useCallback((e,t)=>{l.mutate(e,t).catch(i.noop)},[l]);if(c.error&&(0,i.shouldThrowError)(l.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:u,mutateAsync:c.mutate}}],158756)},82443,e=>{"use strict";var t=e.i(367991),r=e.i(269558);e.s(["FormattedDate",0,function(e){if(!(0,r.useHasMounted)())return"";let a=new Date(e.date);return(0,t.jsx)(t.Fragment,{children:a.toLocaleDateString(navigator.language)})}])},744803,959080,e=>{"use strict";var t=e.i(367991),r=e.i(7284),a=e.i(82443);function n(e){return(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M4 12H20M20 12L14 6M20 12L14 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}var i=e.i(133310),s=e.i(887191),o=e.i(793155),l=e.i(732736),c=e.i(722933);function u(e){let r=(0,i.useAtomValue)(c.pathPrefixAtom),a=(0,i.useAtomValue)(o.designAtom);return(0,t.jsx)(l.default,{className:e.className,href:`${r}${e.href}`,"aria-label":e["aria-label"],prefetch:!a.enabled&&null,children:e.children})}e.s(["PostLink",0,u],959080),e.s(["PostCard",0,function({post:e,className:l,...c}){let d=(0,s.useTranslations)("Blog.PostCard"),h=(0,i.useAtomValue)(o.defaultAuthorAtom);return(0,t.jsxs)(u,{href:`/post/${e.slug}_${e.id}`,className:(0,r.default)("group block",l),"aria-label":c["aria-label"],children:[(0,t.jsxs)("div",{className:"relative aspect-4/3 overflow-hidden rounded-lg",children:[(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 top-0 transition-all group-hover:scale-105",style:{backgroundImage:`url(${e.coverImage})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"50% 50%"}}),(0,t.jsxs)("div",{className:"absolute bottom-0 end-0 start-0 flex justify-between rounded-b-lg border-t border-white/80 bg-primary/30 bg-linear-to-b from-black/0 to-black/40 p-4 text-white backdrop-blur-[24px] dark:border-white/30 sm:p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-semibold",children:h.name}),(0,t.jsx)("p",{className:"text-sm",children:(0,t.jsx)(a.FormattedDate,{date:e.publishedAt})})]}),e.tags[0]&&(0,t.jsx)("p",{className:"h-6.5 rounded-2xl border-[1.5px] border-white px-2.5 py-1 text-sm font-medium leading-none",children:e.tags[0]})]})]}),(0,t.jsx)("h3",{className:"line-clamp-2 wrap-break-word pb-2 pt-5 text-display-xs font-semibold leading-[2.2rem] text-primary",children:e.title}),(0,t.jsx)("p",{className:"line-clamp-1 text-md text-tertiary",children:e.excerpt}),(0,t.jsxs)("p",{className:"flex items-center gap-2 pt-6 text-md font-semibold text-brand-secondary",children:[d("ReadPost"),(0,t.jsx)(n,{className:"size-5 transition-transform group-hover:translate-x-1"})]})]})}],744803)},665707,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let a=e.r(779320);function n({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new a.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},909590,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let a=e.r(367991),n=e.r(952294),i=e.r(130244),s=e.r(281496),o=e.r(804001);function l({moduleIds:e}){if("u">typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let a=t.reactLoadableManifest;for(let t of e){if(!a[t])continue;let e=a[t].files;r.push(...e)}}if(0===r.length)return null;let c=(0,o.getAssetTokenQuery)();return(0,a.jsx)(a.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,s.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,n.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},188972,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let a=e.r(367991),n=e.r(769792),i=e.r(665707),s=e.r(909590);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...l,...e},r=(0,n.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,a.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,u=l?n.Suspense:n.Fragment,d=t.ssr?(0,a.jsxs)(a.Fragment,{children:["u"<typeof window?(0,a.jsx)(s.PreloadChunks,{moduleIds:t.modules}):null,(0,a.jsx)(r,{...e})]}):(0,a.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,a.jsx)(r,{...e})});return(0,a.jsx)(u,{...l?{fallback:o}:{},children:d})}return u.displayName="LoadableComponent",u}},580348,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}});let a=e.r(481258)._(e.r(188972));function n(e,t){let r={};"function"==typeof e&&(r.loader=e);let n={...r,...t};return(0,a.default)({...n,modules:n.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)},952414,e=>{"use strict";var t={};!function e(t,r,a,n){var i,s,o,l,c,u,d,h,f,m,C,p=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),M="function"==typeof Path2D&&"function"==typeof DOMMatrix;function b(){}function g(e){var a=r.exports.Promise,n=void 0!==a?a:t.Promise;return"function"==typeof n?new n(e):(e(b,b),null)}var x=(i=function(){if(!t.OffscreenCanvas)return!1;try{var e=new OffscreenCanvas(1,1),r=e.getContext("2d");r.fillRect(0,0,1,1);var a=e.transferToImageBitmap();r.createPattern(a,"no-repeat")}catch(e){return!1}return!0}(),s=new Map,{transform:function(e){if(i)return e;if(s.has(e))return s.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),s.set(e,t),t},clear:function(){s.clear()}}),y=(c=Math.floor(1e3/60),u={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(o=function(e){var t=Math.random();return u[t]=requestAnimationFrame(function r(a){d===a||d+c-1<a?(d=a,delete u[t],e()):u[t]=requestAnimationFrame(r)}),t},l=function(e){u[e]&&cancelAnimationFrame(u[e])}):(o=function(e){return setTimeout(e,c)},l=function(e){return clearTimeout(e)}),{frame:o,cancel:l}),v=(m={},function(){if(h)return h;if(!a&&p){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {\n  if (msg.data.options) {\n    CONFETTI(msg.data.options).then(function () {\n      if (msg.data.callback) {\n        postMessage({ callback: msg.data.callback });\n      }\n    });\n  } else if (msg.data.reset) {\n    CONFETTI && CONFETTI.reset();\n  } else if (msg.data.resize) {\n    SIZE.width = msg.data.resize.width;\n    SIZE.height = msg.data.resize.height;\n  } else if (msg.data.canvas) {\n    SIZE.width = msg.data.canvas.width;\n    SIZE.height = msg.data.canvas.height;\n    CONFETTI = module.exports.create(msg.data.canvas);\n  }\n}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return"u">typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}var r=h;function n(e,t){r.postMessage({options:e||{},callback:t})}r.init=function(e){var t=e.transferControlToOffscreen();r.postMessage({canvas:t},[t])},r.fire=function(e,t,a){if(f)return n(e,null),f;var i=Math.random().toString(36).slice(2);return f=g(function(t){function s(e){e.data.callback===i&&(delete m[i],r.removeEventListener("message",s),f=null,x.clear(),a(),t())}r.addEventListener("message",s),n(e,i),m[i]=s.bind(null,{data:{callback:i}})})},r.reset=function(){for(var e in r.postMessage({reset:!0}),m)m[e](),delete m[e]}}return h}),w={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function j(e,t,r){var a;return a=e&&null!=e[t]?e[t]:w[t],r?r(a):a}function O(e){return e<0?0:Math.floor(e)}function k(e){return parseInt(e,16)}function S(e){return e.map(P)}function P(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:k(t.substring(0,2)),g:k(t.substring(2,4)),b:k(t.substring(4,6))}}function E(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function N(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function T(e,r){var i,s=!e,o=!!j(r||{},"resize"),l=!1,c=j(r,"disableForReducedMotion",Boolean),u=p&&j(r||{},"useWorker")?v():null,d=s?E:N,h=!!e&&!!u&&!!e.__confetti_initialized,f="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function m(r){var m,C=c||j(r,"disableForReducedMotion",Boolean),p=j(r,"zIndex",Number);if(C&&f)return g(function(e){e()});s&&i?e=i.canvas:s&&!e&&((m=document.createElement("canvas")).style.position="fixed",m.style.top="0px",m.style.left="0px",m.style.pointerEvents="none",m.style.zIndex=p,e=m,document.body.appendChild(e)),o&&!h&&d(e);var b={width:e.width,height:e.height};function v(){if(u){var t={getBoundingClientRect:function(){if(!s)return e.getBoundingClientRect()}};d(t),u.postMessage({resize:{width:t.width,height:t.height}});return}b.width=b.height=null}function w(){i=null,o&&(l=!1,t.removeEventListener("resize",v)),s&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,h=!1)}return(u&&!h&&u.init(e),h=!0,u&&(e.__confetti_initialized=!0),o&&!l&&(l=!0,t.addEventListener("resize",v,!1)),u)?u.fire(r,b,w):function(t,r,s){for(var o,l,c,u,h,f,m,C=j(t,"particleCount",O),p=j(t,"angle",Number),b=j(t,"spread",Number),v=j(t,"startVelocity",Number),w=j(t,"decay",Number),k=j(t,"gravity",Number),P=j(t,"drift",Number),E=j(t,"colors",S),N=j(t,"ticks",Number),T=j(t,"shapes"),R=j(t,"scalar"),I=!!j(t,"flat"),A=((o=j(t,"origin",Object)).x=j(o,"x",Number),o.y=j(o,"y",Number),o),_=C,B=[],F=e.width*A.x,L=e.he
2ight*A.y;_--;)B.push(function(e){var t=e.angle*(Math.PI/180),r=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*r-Math.random()*r),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}({x:F,y:L,angle:p,spread:b,startVelocity:v,color:E[_%E.length],shape:T[Math.floor(Math.random()*(T.length-0))+0],ticks:N,decay:w,gravity:k,drift:P,scalar:R,flat:I}));return i?i.addFettis(B):(l=e,h=B.slice(),f=l.getContext("2d"),m=g(function(e){function t(){c=u=null,f.clearRect(0,0,r.width,r.height),x.clear(),s(),e()}c=y.frame(function e(){a&&(r.width!==n.width||r.height!==n.height)&&(r.width=l.width=n.width,r.height=l.height=n.height),r.width||r.height||(d(l),r.width=l.width,r.height=l.height),f.clearRect(0,0,r.width,r.height),(h=h.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var r,a,n,i,s,o,l,c,u,d,h,f,m,C,p,b,g=t.tick++/t.totalTicks,y=t.x+t.random*t.tiltCos,v=t.y+t.random*t.tiltSin,w=t.wobbleX+t.random*t.tiltCos,j=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-g)+")",e.beginPath(),M&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix)){e.fill((r=t.shape.path,a=t.shape.matrix,n=t.x,i=t.y,s=.1*Math.abs(w-y),o=.1*Math.abs(j-v),l=Math.PI/10*t.wobble,c=new Path2D(r),(u=new Path2D).addPath(c,new DOMMatrix(a)),(d=new Path2D).addPath(u,new DOMMatrix([Math.cos(l)*s,Math.sin(l)*s,-Math.sin(l)*o,Math.cos(l)*o,n,i])),d))}else if("bitmap"===t.shape.type){var O=Math.PI/10*t.wobble,k=.1*Math.abs(w-y),S=.1*Math.abs(j-v),P=t.shape.bitmap.width*t.scalar,E=t.shape.bitmap.height*t.scalar,N=new DOMMatrix([Math.cos(O)*k,Math.sin(O)*k,-Math.sin(O)*S,Math.cos(O)*S,t.x,t.y]);N.multiplySelf(new DOMMatrix(t.shape.matrix));var T=e.createPattern(x.transform(t.shape.bitmap),"no-repeat");T.setTransform(N),e.globalAlpha=1-g,e.fillStyle=T,e.fillRect(t.x-P/2,t.y-E/2,P,E),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(w-y)*t.ovalScalar,Math.abs(j-v)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(h=t.x,f=t.y,m=Math.abs(w-y)*t.ovalScalar,C=Math.abs(j-v)*t.ovalScalar,p=Math.PI/10*t.wobble,b=2*Math.PI,e.save(),e.translate(h,f),e.rotate(p),e.scale(m,C),e.arc(0,0,1,0,b,void 0),e.restore());else if("star"===t.shape)for(var R=Math.PI/2*3,I=4*t.scalar,A=8*t.scalar,_=t.x,B=t.y,F=5,L=Math.PI/5;F--;)_=t.x+Math.cos(R)*A,B=t.y+Math.sin(R)*A,e.lineTo(_,B),R+=L,_=t.x+Math.cos(R)*I,B=t.y+Math.sin(R)*I,e.lineTo(_,B),R+=L;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(v)),e.lineTo(Math.floor(w),Math.floor(j)),e.lineTo(Math.floor(y),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})).length?c=y.frame(e):t()}),u=t}),(i={addFettis:function(e){return h=h.concat(e),m},canvas:l,promise:m,reset:function(){c&&y.cancel(c),u&&u()}}).promise)}(r,b,w)}return m.reset=function(){u&&u.reset(),i&&i.reset()},m}function R(){return C||(C=T(null,{useWorker:!0,resize:!0})),C}r.exports=function(){return R().apply(this,arguments)},r.exports.reset=function(){R().reset()},r.exports.create=T,r.exports.shapeFromPath=function(e){if(!M)throw Error("path confetti are not supported in this browser");"string"==typeof e?a=e:(a=e.path,n=e.matrix);var t=new Path2D(a),r=document.createElement("canvas").getContext("2d");if(!n){for(var a,n,i,s,o=1e3,l=1e3,c=0,u=0,d=0;d<1e3;d+=2)for(var h=0;h<1e3;h+=2)r.isPointInPath(t,d,h,"nonzero")&&(o=Math.min(o,d),l=Math.min(l,h),c=Math.max(c,d),u=Math.max(u,h));i=c-o;var f=Math.min(10/i,10/(s=u-l));n=[f,0,0,f,-Math.round(i/2+o)*f,-Math.round(s/2+l)*f]}return{type:"path",path:a,matrix:n}},r.exports.shapeFromText=function(e){var t,r=1,a="#000000",n='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,r="scalar"in e?e.scalar:r,n="fontFamily"in e?e.fontFamily:n,a="color"in e?e.color:a);var i=10*r,s=""+i+"px "+n,o=new OffscreenCanvas(i,i),l=o.getContext("2d");l.font=s;var c=l.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),d=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),h=c.actualBoundingBoxLeft+2,f=c.actualBoundingBoxAscent+2;u+=4,d+=4,(l=(o=new OffscreenCanvas(u,d)).getContext("2d")).font=s,l.fillStyle=a,l.fillText(t,h,f);var m=1/r;return{type:"bitmap",bitmap:o.transferToImageBitmap(),matrix:[m,0,0,m,-u*m/2,-d*m/2]}}}(function(){return"u">typeof window?window:"u">typeof self?self:this||{}}(),t,!1);let r=t.exports;t.exports.create,e.s(["default",0,r])},538117,e=>{"use strict";var t=e.i(367991),r=e.i(769792),a=e.i(396092);
2e.i(916120);var n=e.i(489420);let i=r.default.memo(({className:e})=>{let r=["M-380 -189C-380 -189 -312 216 152 343C616 470 684 875 684 875","M-373 -197C-373 -197 -305 208 159 335C623 462 691 867 691 867","M-366 -205C-366 -205 -298 200 166 327C630 454 698 859 698 859","M-359 -213C-359 -213 -291 192 173 319C637 446 705 851 705 851","M-352 -221C-352 -221 -284 184 180 311C644 438 712 843 712 843","M-345 -229C-345 -229 -277 176 187 303C651 430 719 835 719 835","M-338 -237C-338 -237 -270 168 194 295C658 422 726 827 726 827","M-331 -245C-331 -245 -263 160 201 287C665 414 733 819 733 819","M-324 -253C-324 -253 -256 152 208 279C672 406 740 811 740 811","M-317 -261C-317 -261 -249 144 215 271C679 398 747 803 747 803","M-310 -269C-310 -269 -242 136 222 263C686 390 754 795 754 795","M-303 -277C-303 -277 -235 128 229 255C693 382 761 787 761 787","M-296 -285C-296 -285 -228 120 236 247C700 374 768 779 768 779","M-289 -293C-289 -293 -221 112 243 239C707 366 775 771 775 771","M-282 -301C-282 -301 -214 104 250 231C714 358 782 763 782 763","M-275 -309C-275 -309 -207 96 257 223C721 350 789 755 789 755","M-268 -317C-268 -317 -200 88 264 215C728 342 796 747 796 747","M-261 -325C-261 -325 -193 80 271 207C735 334 803 739 803 739","M-254 -333C-254 -333 -186 72 278 199C742 326 810 731 810 731","M-247 -341C-247 -341 -179 64 285 191C749 318 817 723 817 723","M-240 -349C-240 -349 -172 56 292 183C756 310 824 715 824 715","M-233 -357C-233 -357 -165 48 299 175C763 302 831 707 831 707","M-226 -365C-226 -365 -158 40 306 167C770 294 838 699 838 699","M-219 -373C-219 -373 -151 32 313 159C777 286 845 691 845 691","M-212 -381C-212 -381 -144 24 320 151C784 278 852 683 852 683","M-205 -389C-205 -389 -137 16 327 143C791 270 859 675 859 675","M-198 -397C-198 -397 -130 8 334 135C798 262 866 667 866 667","M-191 -405C-191 -405 -123 0 341 127C805 254 873 659 873 659","M-184 -413C-184 -413 -116 -8 348 119C812 246 880 651 880 651","M-177 -421C-177 -421 -109 -16 355 111C819 238 887 643 887 643","M-170 -429C-170 -429 -102 -24 362 103C826 230 894 635 894 635","M-163 -437C-163 -437 -95 -32 369 95C833 222 901 627 901 627","M-156 -445C-156 -445 -88 -40 376 87C840 214 908 619 908 619","M-149 -453C-149 -453 -81 -48 383 79C847 206 915 611 915 611","M-142 -461C-142 -461 -74 -56 390 71C854 198 922 603 922 603","M-135 -469C-135 -469 -67 -64 397 63C861 190 929 595 929 595","M-128 -477C-128 -477 -60 -72 404 55C868 182 936 587 936 587","M-121 -485C-121 -485 -53 -80 411 47C875 174 943 579 943 579","M-114 -493C-114 -493 -46 -88 418 39C882 166 950 571 950 571","M-107 -501C-107 -501 -39 -96 425 31C889 158 957 563 957 563","M-100 -509C-100 -509 -32 -104 432 23C896 150 964 555 964 555","M-93 -517C-93 -517 -25 -112 439 15C903 142 971 547 971 547","M-86 -525C-86 -525 -18 -120 446 7C910 134 978 539 978 539","M-79 -533C-79 -533 -11 -128 453 -1C917 126 985 531 985 531","M-72 -541C-72 -541 -4 -136 460 -9C924 118 992 523 992 523","M-65 -549C-65 -549 3 -144 467 -17C931 110 999 515 999 515","M-58 -557C-58 -557 10 -152 474 -25C938 102 1006 507 1006 507","M-51 -565C-51 -565 17 -160 481 -33C945 94 1013 499 1013 499","M-44 -573C-44 -573 24 -168 488 -41C952 86 1020 491 1020 491","M-37 -581C-37 -581 31 -176 495 -49C959 78 1027 483 1027 483"];return(0,t.jsx)("div",{className:(0,n.cn)("absolute inset-0 flex h-full w-full items-center justify-center mask-no-repeat mask-size-[40px]",e),children:(0,t.jsxs)("svg",{className:"pointer-events-none absolute z-0 h-full w-full",width:"100%",height:"100%",viewBox:"0 0 696 316",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M-380 -189C-380 -189 -312 216 152 343C616 470 684 875 684 875M-373 -197C-373 -197 -305 208 159 335C623 462 691 867 691 867M-366 -205C-366 -205 -298 200 166 327C630 454 698 859 698 859M-359 -213C-359 -213 -291 192 173 319C637 446 705 851 705 851M-352 -221C-352 -221 -284 184 180 311C644 438 712 843 712 843M-345 -229C-345 -229 -277 176 187 303C651 430 719 835 719 835M-338 -237C-338 -237 -270 168 194 295C658 422 726 827 726 827M-331 -245C-331 -245 -263 160 201 287C665 414 733 819 733 819M-324 -253C-324 -253 -256 152 208 279C672 406 740 811 740 811M-317 -261C-317 -261 -249 144 215 271C679 398 747 803 747 803M-310 -269C-310 -269 -242 136 222 263C686 390 754 795 754 795M-303 -277C-303 -277 -235 128 229 255C693 382 761 787 761 787M-296 -285C-296 -285 -228 120 236 247C700 374 768 779 768 779M-289 -293C-289 -293 -221 112 243 239C707 366 775 771 775 771M-282 -301C-282 -301 -214 104 250 231C714 358 782 763 782 763M-275 -309C-275 -309 -207 96 257 223C721 350 789 755 789 755M-268 -317C-268 -317 -200 88 264 215C728 342 796 747 796 747M-261 -325C-261 -325 -193 80 271 207C735 334 803 739 803 739M-254 -333C-254 -333 -186 72 278 199
2C742 326 810 731 810 731M-247 -341C-247 -341 -179 64 285 191C749 318 817 723 817 723M-240 -349C-240 -349 -172 56 292 183C756 310 824 715 824 715M-233 -357C-233 -357 -165 48 299 175C763 302 831 707 831 707M-226 -365C-226 -365 -158 40 306 167C770 294 838 699 838 699M-219 -373C-219 -373 -151 32 313 159C777 286 845 691 845 691M-212 -381C-212 -381 -144 24 320 151C784 278 852 683 852 683M-205 -389C-205 -389 -137 16 327 143C791 270 859 675 859 675M-198 -397C-198 -397 -130 8 334 135C798 262 866 667 866 667M-191 -405C-191 -405 -123 0 341 127C805 254 873 659 873 659M-184 -413C-184 -413 -116 -8 348 119C812 246 880 651 880 651M-177 -421C-177 -421 -109 -16 355 111C819 238 887 643 887 643M-170 -429C-170 -429 -102 -24 362 103C826 230 894 635 894 635M-163 -437C-163 -437 -95 -32 369 95C833 222 901 627 901 627M-156 -445C-156 -445 -88 -40 376 87C840 214 908 619 908 619M-149 -453C-149 -453 -81 -48 383 79C847 206 915 611 915 611M-142 -461C-142 -461 -74 -56 390 71C854 198 922 603 922 603M-135 -469C-135 -469 -67 -64 397 63C861 190 929 595 929 595M-128 -477C-128 -477 -60 -72 404 55C868 182 936 587 936 587M-121 -485C-121 -485 -53 -80 411 47C875 174 943 579 943 579M-114 -493C-114 -493 -46 -88 418 39C882 166 950 571 950 571M-107 -501C-107 -501 -39 -96 425 31C889 158 957 563 957 563M-100 -509C-100 -509 -32 -104 432 23C896 150 964 555 964 555M-93 -517C-93 -517 -25 -112 439 15C903 142 971 547 971 547M-86 -525C-86 -525 -18 -120 446 7C910 134 978 539 978 539M-79 -533C-79 -533 -11 -128 453 -1C917 126 985 531 985 531M-72 -541C-72 -541 -4 -136 460 -9C924 118 992 523 992 523M-65 -549C-65 -549 3 -144 467 -17C931 110 999 515 999 515M-58 -557C-58 -557 10 -152 474 -25C938 102 1006 507 1006 507M-51 -565C-51 -565 17 -160 481 -33C945 94 1013 499 1013 499M-44 -573C-44 -573 24 -168 488 -41C952 86 1020 491 1020 491M-37 -581C-37 -581 31 -176 495 -49C959 78 1027 483 1027 483M-30 -589C-30 -589 38 -184 502 -57C966 70 1034 475 1034 475M-23 -597C-23 -597 45 -192 509 -65C973 62 1041 467 1041 467M-16 -605C-16 -605 52 -200 516 -73C980 54 1048 459 1048 459M-9 -613C-9 -613 59 -208 523 -81C987 46 1055 451 1055 451M-2 -621C-2 -621 66 -216 530 -89C994 38 1062 443 1062 443M5 -629C5 -629 73 -224 537 -97C1001 30 1069 435 1069 435M12 -637C12 -637 80 -232 544 -105C1008 22 1076 427 1076 427M19 -645C19 -645 87 -240 551 -113C1015 14 1083 419 1083 419",stroke:"url(#paint0_radial_242_278)",strokeOpacity:"0.05",strokeWidth:"0.5"}),r.map((e,r)=>(0,t.jsx)(a.motion.path,{d:e,stroke:`url(#linearGradient-${r})`,strokeOpacity:"0.4",strokeWidth:"0.5"},"path-"+e)),(0,t.jsxs)("defs",{children:[r.map((e,r)=>(0,t.jsxs)(a.motion.linearGradient,{id:`linearGradient-${r}`,initial:{x1:"0%",x2:"0%",y1:"0%",y2:"0%"},animate:{x1:["0%","100%"],x2:["0%","95%"],y1:["0%","100%"],y2:["0%",`${93+8*Math.random()}%`]},transition:{duration:10*Math.random()+10,ease:"easeInOut",repeat:1/0,delay:10*Math.random()},children:[(0,t.jsx)("stop",{stopColor:"#18CCFC",stopOpacity:"0"}),(0,t.jsx)("stop",{stopColor:"#18CCFC"}),(0,t.jsx)("stop",{offset:"32.5%",stopColor:"#6344F5"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#AE48FF",stopOpacity:"0"})]},`gradient-${e}`)),(0,t.jsxs)("radialGradient",{id:"paint0_radial_242_278",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(352 34) rotate(90) scale(555 1560.62)",children:[(0,t.jsx)("stop",{offset:"0.0666667",stopColor:"var(--neutral-300)"}),(0,t.jsx)("stop",{offset:"0.243243",stopColor:"var(--neutral-300)"}),(0,t.jsx)("stop",{offset:"0.43594",stopColor:"white",stopOpacity:"0"})]})]})]})})});i.displayName="BackgroundBeams",e.s(["BackgroundBeams",0,i])},817667,e=>{"use strict";var t=e.i(367991),r=e.i(158756),a=e.i(952414),n=e.i(538117),i=e.i(333546),s=e.i(887191),o=e.i(598504);e.i(916120);var l=e.i(981831),c=e.i(489420),u=e.i(291361),d=e.i(433421),h=e.i(183144),f=e.i(516266),m=e.i(387046),C=e.i(502823);e.i(541536);var p=e.i(624349);function M({size:e="default",siteId:n}){let b=(0,s.useTranslations)("Blog.Newsletter"),g=p.z.object({email:p.z.string().email(b("InvalidEmail"))}),x=(0,m.useForm)({resolver:(0,C.zodResolver)(g),defaultValues:{email:""}}),{mutate:y,isPending:v}=(0,r.useMutation)(o.api.blog.subscribe.mutationOptions({onSuccess:e=>{"error"in e?"duplicated"===e.error?(f.toast.success(b("AlreadySubscribed")),(0,a.default)({particleCount:100,spread:70,origin:{y:.6}}),x.reset()):f.toast.error(b("Error")):(f.toast.success(b("Success")),(0,a.default)({particleCount:100,spread:70,origin:{y:.6}}),x.reset())},onError:e=>{f.toast.error(e.message||b("Error"))}}));return(0,t.jsx)(d.Form,{...x,children:(0,t.jsxs)("form",{onSubmit:x.handleSubmit(function(e){y({email:e.email,siteId:n})}
2),className:(0,c.cn)("flex w-full flex-col gap-4 sm:max-w-md sm:flex-row sm:items-start"),children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(d.FormField,{control:x.control,name:"email",render:({field:r})=>(0,t.jsxs)(d.FormItem,{children:[(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(h.Input,{placeholder:"Email",inputSize:e,...r})}),(0,t.jsx)(d.FormMessage,{})]})}),(0,t.jsx)("p",{className:"text-sm text-tertiary",children:b.rich("PrivacyPolicy",{link:e=>(0,t.jsx)(u.FocusableLink,{className:"underline",href:"https://quotion.co/privacy-policy",target:"_blank",children:e})})})]}),(0,t.jsxs)(l.Button,{size:e,type:"submit",className:"w-full sm:w-auto",disabled:v,children:[v&&(0,t.jsx)(i.IconLoading02,{className:"animate-spin",height:20,width:20}),b("Button")]})]})})}e.s(["NewsletterForm",0,function({siteId:e,siteName:r,title:a,description:i,className:o}){let l=(0,s.useTranslations)("Blog.Newsletter");return(0,t.jsx)("section",{className:o,children:(0,t.jsxs)("div",{className:"relative flex flex-col items-center gap-4 roun
2ded-2xl border px-4 py-16 shadow-xs",children:[(0,t.jsxs)("div",{className:"z-1 pb-8",children:[(0,t.jsx)("h2",{className:"bg-linear-to-b from-[rgb(var(--text-primary))] to-[rgb(var(--border-primary))] bg-clip-text pb-5 text-center text-display-sm font-bold text-transparent sm:text-display-md",children:a||l.rich("Title",{siteName:()=>(0,t.jsx)("span",{className:"capitalize",children:r.replace(/_/g," ")})})}),(0,t.jsx)("p",{className:"max-w-3xl text-balance text-center text-lg text-tertiary sm:text-xl",children:i||l("Description")})]}),(0,t.jsx)("div",{className:"z-1",children:(0,t.jsx)(M,{siteId:e,size:"lg"})}),(0,t.jsx)(n.BackgroundBeams,{})]})})}])},257e3,e=>{"use strict";var t=e.i(580348);let r=(0,t.default)(()=>e.A(902713).then(e=>e.RealtimeHomeMode),{loadableGenerated:{modules:[425954]},ssr:!1}),a=(0,t.default)(()=>e.A(902713).then(e=>e.RealtimePostMode),{loadableGenerated:{modules:[425954]},ssr:!1});e.s(["LazyRealtimeHomeMode",0,r,"LazyRealtimePostMode",0,a])},447995,e=>{"use strict";var t=e.i(367991);e.i(916120);var r=e.i(432245);e.s(["PostAvatar",0,function({name:e,avatar:a,className:n}){let i=/[\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/.test(e);return(0,t.jsxs)(r.Avatar,{className:n,children:[(0,t.jsx)(r.AvatarImage,{alt:e,src:a}),(0,t.jsx)(r.AvatarFallback,{children:i?e.charAt(0):e.slice(0,2).toUpperCase()})]})}])},666042,e=>{"use strict";var t=e.i(367991),r=e.i(580348),a=e.i(793155),n=e.i(133310);let i=`
3code {
4  counter-reset: line;
5}
6
7code > [data-line]::before {
8  counter-increment: line;
9  content: counter(line);
10
11  display: inline-block;
12  width: 1rem;
13  margin-right: 2rem;
14  text-align: right;
15  color: gray;
16}
17
18code[data-line-numbers-max-digits='2'] > [data-line]::before {
19  width: 2rem;
20}
21
22code[data-line-numbers-max-digits='3'] > [data-line]::before {
23  width: 3rem;
24}
25`,s=`
26.prose [data-cover=true]{
27  display: none;
28}
29`,o=(0,r.default)(()=>
29e.A(88233),{loadableGenerated:{modules:[296114]}});e.s(["CODE_LINE_NUMBER_STYLE",0,i,"DynamicStyles",0,function({katex:e}){let r=(0,n.useAtomValue)(a.showCodeLineNumberAtom),l=(0,n.useAtomValue)(a.extractCoverImageAtom);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{precedence:"dynamic",href:"post-dynamic",children:`
30        ${r?i:""}
31
32        ${l?s:""}
33      `}),e&&(0,t.jsx)(o,{})]})},"HIDE_COVER_STYLE",0,s])},702930,e=>{"use strict";var t=e.i(769792),r=e.i(304751);e.s(["useDebouncedCallback",0,function(e,a,n,i=0){let s=(0,t.useRef)(void 0),o=(0,t.useRef)(void 0),l=(0,t.useRef)(e),c=(0,t.useRef)(void 0),u=()=>{s.current&&(clearTimeout(s.current),s.current=void 0),o.current&&(clearTimeout(o.current),o.current=void 0)};return(0,r.useUnmountEffect)(u),(0,t.useEffect)(()=>{l.current=e},a),(0,t.useMemo)(()=>{let t=()=>{if(u(),!c.current)return;let e=c.current;c.current=void 0,l.current.apply(e.this,e.args)},r=function(...e){s.current&&clearTimeout(s.current),c.current={args:e,this:this},s.current=setTimeout(t,n),i>0&&!o.current&&(o.current=setTimeout(t,i))};return Object.defineProperties(r,{length:{value:e.length},name:{value:`${e.name||"anonymous"}__debounced__${n}`}}),r},[n,i,...a])}])}]);
34
35//# debugId=42c4eec2-a1fb-9ca3-c78a-91b4e806c32b
36//# sourceMappingURL=21_lkz29q8xg9.js.map

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.