;!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]="5e411bb2-4813-0c08-78eb-f1ba79ea9cf8")}catch(e){}}(); (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,378810,e=>{"use strict";var t=e.i(908464),n=e.i(472361);let r=null,i=new Map,a=0;function l(){return null==r&&(r=new ResizeObserver(o)),r}function o(e){let t=new Map,n=new Map;for(let r of e)t.set(r.target,r.contentRect),n.set(r.target,r);for(let[e,r]of t){let t=i.get(e);if(null!=t)for(let[,i]of t)try{i(r,e,n)}catch{}}}e.s(["useResizeObserver",0,function(e){let r,o,s,c=(0,t.c)(4),u=(0,n.useRef)(null),d=(0,n.useRef)(e);return c[0]!==e?(r=()=>{d.current=e},o=[e],c[0]=e,c[1]=r,c[2]=o):(r=c[1],o=c[2]),(0,n.useEffect)(r,o),c[3]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{var t,n;let r,o,s=null==e?null:(t=e,n=(e,t,n)=>d.current(e,t,n),r=a++,(o=i.get(t)??new Map).set(r,n),i.set(t,o),l().observe(t),()=>{let e=i.get(t);null!=e&&(e.delete(r),0===e.size&&(l().unobserve(t),i.delete(t)))});u.current?.(),u.current=s},c[3]=s):s=c[3],s}])},511136,e=>{"use strict";function t(e){if(!e)return null;try{let t=new URL(e);return"https:"===t.protocol||"http:"===t.protocol?t:null}catch{return null}}function n(e){return null!=t(e)}e.s(["isHttpUrl",0,n,"toNormalizedHttpUrl",0,function(e){return t(e)?.toString()??null},"toSafeHttpUrl",0,function(e){return n(e)?e:null}])},91877,e=>{"use strict";var t=e.i(178414),n=e.i(740406);function r(e){return e.startsWith("ecto1-usercontent-")&&e.endsWith("-ecto-1.vercel.app")}function i(e,i){if(null==e)return!1;if((0,n.isArtifactShareHref)(e))return!0;try{let a=new URL(e,i);if(a.origin===new URL(i).origin)return!1;if(a.hostname.endsWith(".fbsbx.com"))return!0;if((0,n.isArtifactContentHostname)(a.hostname,".a.metaaiusercontent.com")||"preview"===t.default.env.NEXT_PUBLIC_VERCEL_ENV&&r(a.hostname))return!0;return!1}catch{return!1}}e.s(["isAllowedArtifactMessageOrigin",0,function(e,a,l){if("null"===e)return null!=a&&!i(a,l);try{let i=new URL(e);if(null!=a){let e=new URL(a,l);if(i.origin===e.origin)return!0}if("https:"===i.protocol&&(0,n.isArtifactContentHostname)(i.hostname,".a.metaaiusercontent.com")||"preview"===t.default.env.NEXT_PUBLIC_VERCEL_ENV&&"https:"===i.protocol&&r(i.hostname)||"https:"===i.protocol&&i.hostname.endsWith(".fbsbx.com"))return!0;return!1}catch{return!1}},"shouldAllowSameOrigin",0,i])},728567,725471,e=>{"use strict";e.i(178414);var t=e.i(733783),n=e.i(908464),r=e.i(472361),i=e.i(267989),a=e.i(591733),l=e.i(321013),o=e.i(516305),s=e.i(740406),c=e.i(511136);let u="ecto:artifact-inline-edit-cancel",d="ecto:artifact-inline-edit-save-request",f=new Set(["text","markdown","docx","xlsx"]),m=new Set(["Normal","Title","Subtitle","Heading1","Heading2","Heading3"]),h=new Set(["left","center","right"]);function p(e){var t;return!("object"!=typeof e||null==e||Array.isArray(e))&&"ecto:artifact-inline-edit-save"===e.type&&"string"==typeof(t=e.format)&&f.has(t)&&"string"==typeof e.text&&(null==e.contentBase64||"string"==typeof e.contentBase64)&&(null==e.docxParagraphEdits||Array.isArray(e.docxParagraphEdits)&&e.docxParagraphEdits.every(g))&&(null==e.docxParagraphFormatEdits||Array.isArray(e.docxParagraphFormatEdits)&&e.docxParagraphFormatEdits.every(g))&&(null==e.xlsxCellEdits||Array.isArray(e.xlsxCellEdits)&&e.xlsxCellEdits.every(y))}function g(e){return!("object"!=typeof e||null==e||Array.isArray(e))&&"number"==typeof e.index&&Number.isInteger(e.index)&&e.index>=0&&"number"==typeof e.occurrence&&Number.isInteger(e.occurrence)&&e.occurrence>=0&&"string"==typeof e.oldText&&"string"==typeof e.text&&(null==e.paragraphStyle||"string"==typeof e.paragraphStyle&&m.has(e.paragraphStyle))&&(null==e.alignment||"string"==typeof e.alignment&&h.has(e.alignment))&&(null==e.formattedRuns||Array.isArray(e.formattedRuns)&&e.formattedRuns.every(w))}function w(e){return!("object"!=typeof e||null==e||Array.isArray(e))&&"string"==typeof e.text&&"boolean"==typeof e.bold&&"boolean"==typeof e.italic&&"boolean"==typeof e.underline}function y(e){return!("object"!=typeof e||null==e||Array.isArray(e))&&"number"==typeof e.sheetIndex&&Number.isInteger(e.sheetIndex)&&e.sheetIndex>=0&&"number"==typeof e.rowIndex&&Number.isInteger(e.rowIndex)&&e.rowIndex>=0&&"number"==typeof e.columnIndex&&Number.isInteger(e.columnIndex)&&e.columnIndex>=0&&"string"==typeof e.value}function v(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&"type"in e&&e.type===u}function x(e){return A(e,"ecto:artifact-inline-edit-ready")}function N(e){return A(e,"ecto:artifact-inline-edit-error")}function _(e){return!("object"!=typeof e||null==e||Array.isArray(e))&&"ecto:artifact-inline-edit-telemetry"===e.type&&("action"===e.kind||"impression"===e.kind)&&"string"==typeof e.action&&e.action.length>0&&e.action.length<=64&&(null==e.value||"string"==typeof e.value&&e.value.length<=64)}function A(e,t){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&"type"in e&&e.type===t}e.s(["ARTIFACT_INLINE_EDIT_CANCEL_MESSAGE_TYPE",0,u,"ARTIFACT_INLINE_EDIT_ENABLED_VALUE",0,"1","ARTIFACT_INLINE_EDIT_QUERY_PARAM",0,"artifact_edit_mode","ARTIFACT_INLINE_EDIT_SAVE_REQUEST_MESSAGE_TYPE",0,d,"isArtifactInlineEditCancelMessage",0,v,"isArtifactInlineEditErrorMessage",0,N,"isArtifactInlineEditReadyMessage",0,x,"isArtifactInlineEditSaveMessage",0,p,"isArtifactInlineEditSaveRequestMessage",0,function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&"type"in e&&e.type===d},"isArtifactInlineEditTelemetryMessage",0,_],725471);var b=e.i(91877),E=e.i(425280),I=e.i(925261);let S="ecto:usercontent-link-click",j="clippy:inline-media-resolve";function L(e,...t){for(let n of t){let t=e[n];if("string"==typeof t)return t}}function R(e){return{...e,slot_id:e.slotId,media_kind:e.mediaKind,...void 0!==e.videoUrl?{video_url:e.videoUrl}:{},...void 0!==e.imageUrl?{image_url:e.imageUrl}:{},...void 0!==e.posterUrl?{poster_url:e.posterUrl}:{}}}e.s(["ArtifactSandbox",0,function(e){let u,d,f,m,h,g,w,y,A,T,C,k,M,U,z,O,H,P,D,B,Y,W,$,F,V,G,K,q,J,Q,X,Z,ee,et,en,er=(0,n.c)(67),{ref:ei,title:ea,src:el,srcDoc:eo,className:es,style:ec,scrolling:eu,tabIndex:ed,allowParentLinkNavigation:ef,onParentLinkNavigation:em,onArtifactInlineEditCancel:eh,onArtifactInlineEditSave:ep,onArtifactInlineEditReady:eg,onArtifactInlineEditError:ew,onArtifactInlineEditTelemetry:ey,onInlineMediaResolve:ev,onLoad:ex,onError:eN,perfSurface:e_}=e,eA=void 0!==ef&&ef,{url:eb}=(0,a.useInitialUrl)(),{theme:eE}=(0,r.useContext)(l.ThemeProviderContext),{isLoading:eI,linkShimInfo:eS}=(0,o.useLinkShimInfo)(),ej=(0,r.useRef)(null);er[0]!==el||er[1]!==eE?(u=null!=el?function(e,t){if(!function(e){if((0,s.isArtifactShareHref)(e))return!0;try{let t=new URL(e);return"https:"===t.protocol&&(0,s.isArtifactContentHostname)(t.hostname,".a.metaaiusercontent.com")}catch{return!1}}(e))return e;try{let n=new URL(e,"https://artifact-sandbox.invalid/");if(n.searchParams.set("theme",t),e.startsWith("/"))return`${n.pathname}${n.search}${n.hash}`;return n.toString()}catch{return e}}(el,eE):void 0,er[0]=el,er[1]=eE,er[2]=u):u=er[2];let eL=u,{markNavigationStart:eR,onLoad:eT,onError:eC}=(q=(0,n.c)(19),J=(0,r.useContext)(E.default),Q=(0,r.useRef)(null),q[0]!==J?(B=e=>{null!=Q.current&&(J.cancelInteraction(Q.current,void 0,!0,e),Q.current=null)},q[0]=J,q[1]=B):B=q[1],X=B,q[2]!==X||q[3]!==J||q[4]!==e_?(Y=()=>{if(null==e_)return;X("superseded");let e=J.startInteraction(I.EctoInteractionTracePolicy.ARTIFACT_IFRAME_LOAD);J.setAnnotation(e,"surface",e_),Q.current=e},q[2]=X,q[3]=J,q[4]=e_,q[5]=Y):Y=q[5],Z=Y,q[6]!==J?(W=()=>{null!=Q.current&&(J.completeInteraction(Q.current,0),Q.current=null)},q[6]=J,q[7]=W):W=q[7],ee=W,q[8]!==J?($=()=>{null!=Q.current&&(J.failInteraction(Q.current,void 0,0),Q.current=null)},q[8]=J,q[9]=$):$=q[9],et=$,q[10]!==X?(F=()=>X("component_unmount"),q[10]=X,q[11]=F):F=q[11],en=(0,r.useEffectEvent)(F),q[12]!==en?(V=()=>()=>en(),q[12]=en,q[13]=V):V=q[13],q[14]===Symbol.for("react.memo_cache_sentinel")?(G=[],q[14]=G):G=q[14],(0,r.useEffect)(V,G),q[15]!==Z||q[16]!==et||q[17]!==ee?(K={markNavigationStart:Z,onLoad:ee,onError:et},q[15]=Z,q[16]=et,q[17]=ee,q[18]=K):K=q[18],K);er[3]!==eI||er[4]!==eS?(d=e=>{let t=(0,c.toNormalizedHttpUrl)(e);return null==t?null:(0,o.isAllowedDomain)(t)?t:null!=eS?(0,o.wrapWithLinkshim)(t,eS,{useInterstitialHash:!1}):eI&&null==eS?null:t},er[3]=eI,er[4]=eS,er[5]=d):d=er[5];let ek=d;er[6]!==em||er[7]!==ek?(f=e=>{if(null!=em)return void em(e);let t=ek(e);null!=t&&window.open(t,"_blank","noopener,noreferrer")},er[6]=em,er[7]=ek,er[8]=f):f=er[8];let eM=(0,r.useEffectEvent)(f);er[9]!==ep?(m=e=>{ep?.(e)},er[9]=ep,er[10]=m):m=er[10];let eU=(0,r.useEffectEvent)(m);er[11]!==eh?(h=()=>{eh?.()},er[11]=eh,er[12]=h):h=er[12];let ez=(0,r.useEffectEvent)(h);er[13]!==eg?(g=()=>{eg?.()},er[13]=eg,er[14]=g):g=er[14];let eO=(0,r.useEffectEvent)(g);er[15]!==ew?(w=()=>{ew?.()},er[15]=ew,er[16]=w):w=er[16];let eH=(0,r.useEffectEvent)(w);er[17]!==ey?(y=e=>{ey?.(e)},er[17]=ey,er[18]=y):y=er[18];let eP=(0,r.useEffectEvent)(y);er[19]===Symbol.for("react.memo_cache_sentinel")?(A=i.fbs._("This media can't be played here. It may be private, deleted, or unavailable.",null,{hk:"3v5n93"}),er[19]=A):A=er[19];let eD=String(A);er[20]!==ev?(T=async(e,t,n)=>{if(null==ev)return;let r=await ev(e).catch(()=>e.map(e=>({slotId:e.slotId,mediaKind:e.mediaKind??"video",error:eD})));t.postMessage({type:"clippy:inline-media-resolved",slots:r.map(R)},n)},er[20]=ev,er[21]=T):T=er[21];let eB=(0,r.useEffectEvent)(T),eY=null!=ep||null!=eh||null!=eg||null!=ew||null!=ey,eW=null!=ev;er[22]!==eA||er[23]!==ez||er[24]!==eH||er[25]!==eO||er[26]!==eU||er[27]!==eb||er[28]!==eY||er[29]!==eW||er[30]!==eP||er[31]!==eM||er[32]!==eB||er[33]!==eL?(C=()=>{if(!eA&&!eY&&!eW)return;let e=e=>{var t;let n=ej.current?.contentWindow;if(null==n||e.source!==n)return;if(eA&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&t.type===S&&"href"in t&&"string"==typeof t.href)return void eM(e.data.href);let r=eW?function(e){if("object"!=typeof e||null===e||!("type"in e)||e.type!==j)return null;let t=Array.isArray(e.slots)?e.slots:null!=e.slot?[e.slot]:[e],n=[];for(let e of t){let t=function(e){if("object"!=typeof e||null===e)return null;let t=L(e,"slotId","slot_id","id");if(null==t)return null;let n=L(e,"mediaKind","media_kind","kind"),r=L(e,"dataUrl","data_url","url","href","src"),i=L(e,"mediaId","media_id"),a=L(e,"postId","post_id");return{slotId:t,...null!=n?{mediaKind:n}:{},...null!=r?{dataUrl:r}:{},...null!=i?{mediaId:i}:{},...null!=a?{postId:a}:{}}}(e);if(null==t)return null;n.push(t)}return{type:j,slots:n}}(e.data):null;if(null!=r){if(!(0,b.isAllowedArtifactMessageOrigin)(e.origin,eL,eb))return;let t="null"===e.origin?"*":e.origin;eB(r.slots,n,t);return}let i=p(e.data),a=v(e.data),l=x(e.data),o=N(e.data),s=_(e.data);if(!i&&!a&&!l&&!o&&!s||(0,b.isAllowedArtifactMessageOrigin)(e.origin,eL,eb)){if(i)return void eU(e.data);if(a)return void ez();if(l)return void eO();if(o)return void eH();s&&eP(e.data)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},er[22]=eA,er[23]=ez,er[24]=eH,er[25]=eO,er[26]=eU,er[27]=eb,er[28]=eY,er[29]=eW,er[30]=eP,er[31]=eM,er[32]=eB,er[33]=eL,er[34]=C):C=er[34],er[35]!==eA||er[36]!==eb||er[37]!==eY||er[38]!==eW||er[39]!==eL?(k=[eA,eb,eY,eW,eL],er[35]=eA,er[36]=eb,er[37]=eY,er[38]=eW,er[39]=eL,er[40]=k):k=er[40],(0,r.useEffect)(C,k),er[41]!==eR||er[42]!==eL?(M=()=>{let e=ej.current;null!=e&&(null!=eL?e.getAttribute("src")!==eL&&(eR(),e.src=eL):e.hasAttribute("src")&&e.removeAttribute("src"))},U=[eL,eR],er[41]=eR,er[42]=eL,er[43]=M,er[44]=U):(M=er[43],U=er[44]),(0,r.useEffect)(M,U),er[45]!==ei?(z=e=>{ej.current=e,"function"==typeof ei?ei(e):null!=ei&&(ei.current=e)},er[45]=ei,er[46]=z):z=er[46];let e$=z,eF=(0,b.shouldAllowSameOrigin)(el,eb)?"allow-scripts allow-forms allow-same-origin allow-downloads":"allow-scripts allow-forms allow-downloads";er[47]!==ex||er[48]!==eT?(O=()=>{eT(),ex?.()},er[47]=ex,er[48]=eT,er[49]=O):O=er[49];let eV=O;er[50]!==eN||er[51]!==eC?(H=()=>{eC(),eN?.()},er[50]=eN,er[51]=eC,er[52]=H):H=er[52];let eG=H,eK=l.THEME_COLORS[eE];return er[53]!==ec||er[54]!==eK?(P={backgroundColor:eK,...ec},er[53]=ec,er[54]=eK,er[55]=P):P=er[55],er[56]!==eF||er[57]!==es||er[58]!==e$||er[59]!==eG||er[60]!==eV||er[61]!==eu||er[62]!==eo||er[63]!==P||er[64]!==ed||er[65]!==ea?(D=(0,t.jsx)("iframe",{ref:e$,srcDoc:eo,allow:"autoplay; fullscreen",sandbox:eF,className:es,style:P,scrolling:eu,tabIndex:ed,title:ea,onLoad:eV,onError:eG}),er[56]=eF,er[57]=es,er[58]=e$,er[59]=eG,er[60]=eV,er[61]=eu,er[62]=eo,er[63]=P,er[64]=ed,er[65]=ea,er[66]=D):D=er[66],D},"PARENT_LINK_NAVIGATION_MESSAGE_TYPE",0,S],728567)},403606,e=>{"use strict";var t=e.i(733783),n=e.i(908464);function r(e){let r,i,a,l,o,s=(0,n.c)(10);s[0]!==e?({size:i,...r}=e,s[0]=e,s[1]=r,s[2]=i):(r=s[1],i=s[2]);let c=void 0===i?32:i;return s[3]!==r.title?(a=null!=r.title&&(0,t.jsx)("title",{children:r.title}),s[3]=r.title,s[4]=a):a=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 5.125c6.006 0 10.875 4.869 10.875 10.875 0 5.949-4.777 10.779-10.704 10.87a3.02 3.02 0 0 1-.343 0C9.901 26.778 5.125 21.95 5.125 16 5.125 9.994 9.994 5.125 16 5.125zm-3.607 11.75c.094 2.31.554 4.35 1.223 5.838.779 1.73 1.675 2.393 2.356 2.411l.028.001h.027c.68-.018 1.578-.68 2.357-2.412.67-1.488 1.129-3.529 1.222-5.838h-7.213zm-5.475 0a9.128 9.128 0 0 0 5.632 7.572 9.775 9.775 0 0 1-.53-1.016c-.785-1.746-1.283-4.04-1.377-6.556H6.918zm14.44 0c-.095 2.515-.593 4.81-1.379 6.556a9.79 9.79 0 0 1-.53 1.016 9.128 9.128 0 0 0 5.633-7.572h-3.725zM12.55 7.551a9.13 9.13 0 0 0-5.632 7.574h3.724c.095-2.514.593-4.808 1.378-6.554.16-.353.335-.696.53-1.02zM16 6.876c-.684 0-1.594.658-2.384 2.413-.67 1.487-1.129 3.527-1.223 5.836h7.213c-.094-2.309-.553-4.349-1.222-5.836-.79-1.755-1.7-2.413-2.384-2.413zm3.45.675c.194.324.37.667.53 1.02.785 1.746 1.283 4.04 1.377 6.554h3.725a9.13 9.13 0 0 0-5.633-7.574z",fill:"currentColor"}),s[5]=l):l=s[5],s[6]!==r||s[7]!==c||s[8]!==a?(o=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:c,height:c,...r,children:[a,l]}),s[6]=r,s[7]=c,s[8]=a,s[9]=o):o=s[9],o}r._isSVG=!0,e.s(["default",0,r])},680540,e=>{"use strict";var t=e.i(733783),n=e.i(908464),r=e.i(472361);let i={codeBlock:{showLanguage:!0,showCopyButton:!0,showLineNumbers:!1},table:{stickyHeader:!0,striped:!1,minColumnWidth:140},markdown:{syntaxHighlighting:!0}},a=(0,r.createContext)(null);function l(){let e=(0,n.c)(4),t=(0,r.useContext)(a);if(!t){let t,n,r,a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={},n={},e[0]=t,e[1]=n):(t=e[0],n=e[1]),e[2]===Symbol.for("react.memo_cache_sentinel")?(r={},e[2]=r):r=e[2],e[3]===Symbol.for("react.memo_cache_sentinel")?(a={primitives:t,layouts:n,config:i,classNames:r,isStreaming:!1,strings:{}},e[3]=a):a=e[3],a}return t}e.s(["URProvider",0,function(e){let r,l,o,s,c,u,d,f,m,h,p,g,w=(0,n.c)(38),{children:y,primitives:v,layouts:x,config:N,classNames:_,isStreaming:A,renderImage:b,renderLink:E,strings:I,isMobile:S,isDark:j,lightbox:L}=e;w[0]!==v?(r=void 0===v?{}:v,w[0]=v,w[1]=r):r=w[1];let R=r;w[2]!==x?(l=void 0===x?{}:x,w[2]=x,w[3]=l):l=w[3];let T=l;w[4]!==N?(o=void 0===N?{}:N,w[4]=N,w[5]=o):o=w[5];let C=o;w[6]!==_?(s=void 0===_?{}:_,w[6]=_,w[7]=s):s=w[7];let k=s,M=void 0!==A&&A;w[8]!==I?(c=void 0===I?{}:I,w[8]=I,w[9]=c):c=w[9];let U=c;w[10]!==C.codeBlock?(u={...i.codeBlock,...C.codeBlock},w[10]=C.codeBlock,w[11]=u):u=w[11],w[12]!==C.table?(d={...i.table,...C.table},w[12]=C.table,w[13]=d):d=w[13],w[14]!==C.markdown?(f={...i.markdown,...C.markdown},w[14]=C.markdown,w[15]=f):f=w[15],w[16]!==u||w[17]!==d||w[18]!==f?(m={codeBlock:u,table:d,markdown:f},w[16]=u,w[17]=d,w[18]=f,w[19]=m):m=w[19],w[20]!==k||w[21]!==j||w[22]!==S||w[23]!==M||w[24]!==T||w[25]!==L||w[26]!==R||w[27]!==b||w[28]!==E||w[29]!==U||w[30]!==m?(h={primitives:R,layouts:T,config:m,classNames:k,isStreaming:M,renderImage:b,renderLink:E,strings:U,isMobile:S,isDark:j,lightbox:L},w[20]=k,w[21]=j,w[22]=S,w[23]=M,w[24]=T,w[25]=L,w[26]=R,w[27]=b,w[28]=E,w[29]=U,w[30]=m,w[31]=h):h=w[31];let z=h,O=k.root??"ur-root";return w[32]!==y||w[33]!==O?(p=(0,t.jsx)("div",{className:O,children:y}),w[32]=y,w[33]=O,w[34]=p):p=w[34],w[35]!==p||w[36]!==z?(g=(0,t.jsx)(a.Provider,{value:z,children:p}),w[35]=p,w[36]=z,w[37]=g):g=w[37],g},"useURClassName",0,function(e,t){let{classNames:n}=l(),r=n[e];return r&&t?`${t} ${r}`:r??t??""},"useURContext",0,l,"useURIsMobile",0,function(){let{isMobile:e}=l();return e},"useURLayout",0,function(e,t){let{layouts:n}=l();return n[e]??t},"useURLightboxConfig",0,function(){let{lightbox:e}=l();return e},"useURPrimitive",0,function(e,t){let{primitives:n}=l();return n[e]??t},"useURStreaming",0,function(){let{isStreaming:e}=l();return e}])},827003,e=>{"use strict";var t=e.i(733783),n=e.i(908464),r=e.i(945347),i=e.i(571621),a=e.i(8038),l=e.i(403606),o=e.i(161712),s=e.i(672595);e.s(["ChainIcon",0,function(e){let r,i=(0,n.c)(3),{size:a,className:l}=e,s=void 0===a?10:a;return i[0]!==l||i[1]!==s?(r=(0,t.jsx)(o.default,{size:s,className:l}),i[0]=l,i[1]=s,i[2]=r):r=i[2],r},"ChevronLeftIcon",0,function(e){let r,a=(0,n.c)(3),{size:l,className:o}=e,s=void 0===l?16:l;return a[0]!==o||a[1]!==s?(r=(0,t.jsx)(i.default,{size:s,className:o}),a[0]=o,a[1]=s,a[2]=r):r=a[2],r},"ChevronRightIcon",0,function(e){let r,i=(0,n.c)(3),{size:l,className:o}=e,s=void 0===l?16:l;return i[0]!==o||i[1]!==s?(r=(0,t.jsx)(a.default,{size:s,className:o}),i[0]=o,i[1]=s,i[2]=r):r=i[2],r},"CitationVerifiedBadge",0,function(e){let r,i,a=(0,n.c)(4),{size:l,className:o}=e,s=void 0===l?12:l;return a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M22.5 12.5c0-1.58-.875-2.95-2.148-3.6.154-.435.238-.905.238-1.4 0-2.21-1.71-3.998-3.818-3.998-.47 0-.92.084-1.336.25C14.818 2.415 13.51 1.5 12 1.5s-2.816.917-3.437 2.25c-.415-.165-.866-.25-1.336-.25-2.11 0-3.818 1.79-3.818 4 0 .494.083.964.237 1.4-1.272.65-2.147 2.018-2.147 3.6 0 1.495.782 2.798 1.942 3.486-.02.17-.032.34-.032.514 0 2.21 1.708 4 3.818 4 .47 0 .92-.086 1.335-.25.62 1.334 1.926 2.25 3.437 2.25 1.512 0 2.818-.916 3.437-2.25.415.163.865.248 1.336.248 2.11 0 3.818-1.79 3.818-4 0-.174-.012-.344-.033-.513 1.158-.687 1.943-1.99 1.943-3.484zm-6.616-3.334l-4.334 6.5c-.145.217-.382.334-.625.334-.143 0-.288-.04-.416-.126l-.115-.094-2.415-2.415c-.293-.293-.293-.768 0-1.06s.768-.294 1.06 0l1.77 1.767 3.825-5.74c.23-.345.696-.436 1.04-.207.346.23.44.696.21 1.04z"}),a[0]=r):r=a[0],a[1]!==o||a[2]!==s?(i=(0,t.jsx)("svg",{viewBox:"0 0 24 24",width:s,height:s,fill:"currentColor",className:o,children:r}),a[1]=o,a[2]=s,a[3]=i):i=a[3],i},"CommentBubbleIcon",0,function(e){let r,i=(0,n.c)(3),{size:a,className:l}=e,o=void 0===a?16:a;return i[0]!==l||i[1]!==o?(r=(0,t.jsx)(s.default,{size:o,className:l}),i[0]=l,i[1]=o,i[2]=r):r=i[2],r},"GlobeIcon",0,function(e){let r,i=(0,n.c)(3),{size:a,className:o}=e,s=void 0===a?10:a;return i[0]!==o||i[1]!==s?(r=(0,t.jsx)(l.default,{size:s,className:o}),i[0]=o,i[1]=s,i[2]=r):r=i[2],r},"GroupIcon",0,function(e){let r,i,a,l=(0,n.c)(6),{size:o,className:s}=e,c=void 0===s?"h-6 w-6":s;return l[0]!==o?(r=null!=o?{width:o,height:o}:{},l[0]=o,l[1]=r):r=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z"}),l[2]=i):i=l[2],l[3]!==c||l[4]!==r?(a=(0,t.jsx)("svg",{className:c,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,...r,children:i}),l[3]=c,l[4]=r,l[5]=a):a=l[5],a},"HeartIcon",0,function(e){let i,a=(0,n.c)(3),{size:l,className:o}=e,s=void 0===l?16:l;return a[0]!==o||a[1]!==s?(i=(0,t.jsx)(r.default,{size:s,className:o}),a[0]=o,a[1]=s,a[2]=i):i=a[2],i},"PageIcon",0,function(e){let r,i,a,l=(0,n.c)(6),{size:o,className:s}=e,c=void 0===s?"h-6 w-6":s;return l[0]!==o?(r=null!=o?{width:o,height:o}:{},l[0]=o,l[1]=r):r=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 21V3h18v18H3zm6-12h6m-6 4h6"}),l[2]=i):i=l[2],l[3]!==c||l[4]!==r?(a=(0,t.jsx)("svg",{className:c,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,...r,children:i}),l[3]=c,l[4]=r,l[5]=a):a=l[5],a}])},55125,550694,e=>{"use strict";var t=e.i(733783),n=e.i(908464),r=e.i(472361),i=e.i(899272),a=e.i(267989);let l=new Map;function o(e,t){l.set(e,t)}function s(e){l.delete(e)}e.s(["registerShareLinkToastResolver",0,o,"resolveShareLinkToast",0,function(e){l.get(e)?.()},"unregisterShareLinkToastResolver",0,s],550694),e.s(["ShareLinkToast",0,function(e){let l,c,u,d,f,m,h,p,g=(0,n.c)(12),{toastId:w,initialSuccess:y}=e,[v,x]=(0,r.useState)(void 0!==y&&y);g[0]!==v||g[1]!==w?(l=function(){if(!v)return o(w,()=>x(!0)),()=>{s(w)}},c=[w,v],g[0]=v,g[1]=w,g[2]=l,g[3]=c):(l=g[2],c=g[3]),(0,r.useEffect)(l,c);let N=v&&"share-link-toast-success";return g[4]!==N?(u=(0,i.cn)("flex items-center gap-2",N),g[4]=N,g[5]=u):u=g[5],g[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("svg",{className:"share-link-toast-spinner",viewBox:"0 0 20 20",children:(0,t.jsx)("circle",{cx:"10",cy:"10",r:"7"})}),g[6]=d):d=g[6],g[7]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)("div",{className:"relative flex h-5 w-5 flex-shrink-0 items-center justify-center",children:[d,(0,t.jsx)("svg",{className:"share-link-toast-checkmark",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{d:"M5 10.5l3.5 3.5 6.5-7"})})]}),g[7]=f):f=g[7],g[8]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("span",{className:"share-link-toast-text-loading",children:a.fbs._("Creating link...",null,{hk:"1Oryj3"})}),g[8]=m):m=g[8],g[9]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsxs)("div",{className:"share-link-toast-text",children:[m,(0,t.jsx)("span",{className:"share-link-toast-text-success",children:a.fbs._("Link copied to clipboard",null,{hk:"2aLrKK"})})]}),g[9]=h):h=g[9],g[10]!==u?(p=(0,t.jsxs)("div",{className:u,children:[f,h]}),g[10]=u,g[11]=p):p=g[11],p}],55125)},600802,e=>{"use strict";var t=e.i(733783),n=e.i(908464);function r(e){let r,a,l,o,s,c,u,d,f,m,h,p,g=(0,n.c)(29),{data:w}=e;return g[0]!==w.location?(r=(0,t.jsx)("span",{className:"ur-widget-weather-city",children:w.location}),g[0]=w.location,g[1]=r):r=g[1],g[2]!==w.temperature?(a=(0,t.jsx)("span",{className:"ur-widget-weather-temp",children:w.temperature}),g[2]=w.temperature,g[3]=a):a=g[3],g[4]!==r||g[5]!==a?(l=(0,t.jsxs)("div",{className:"ur-widget-weather-current-main",children:[r,a]}),g[4]=r,g[5]=a,g[6]=l):l=g[6],g[7]!==w.icon?(o=(0,t.jsx)("span",{className:"ur-widget-weather-icon",children:w.icon}),g[7]=w.icon,g[8]=o):o=g[8],g[9]!==w.condition?(s=w.condition?(0,t.jsx)("span",{className:"ur-widget-weather-condition",children:w.condition}):null,g[9]=w.condition,g[10]=s):s=g[10],g[11]!==w.highLow?(c=w.highLow?(0,t.jsx)("span",{className:"ur-widget-weather-hilo",children:w.highLow}):null,g[11]=w.highLow,g[12]=c):c=g[12],g[13]!==s||g[14]!==c?(u=(0,t.jsxs)("div",{className:"ur-widget-weather-condition-block",children:[s,c]}),g[13]=s,g[14]=c,g[15]=u):u=g[15],g[16]!==o||g[17]!==u?(d=(0,t.jsxs)("div",{className:"ur-widget-weather-current-aside",children:[o,u]}),g[16]=o,g[17]=u,g[18]=d):d=g[18],g[19]!==l||g[20]!==d?(f=(0,t.jsxs)("div",{className:"ur-widget-weather-header",children:[l,d]}),g[19]=l,g[20]=d,g[21]=f):f=g[21],g[22]!==w.forecast?(m=w.forecast.map(i),g[22]=w.forecast,g[23]=m):m=g[23],g[24]!==m?(h=(0,t.jsx)("div",{className:"ur-widget-weather-hourly",children:m}),g[24]=m,g[25]=h):h=g[25],g[26]!==h||g[27]!==f?(p=(0,t.jsxs)("div",{className:"ur-widget-weather-current",children:[f,h]}),g[26]=h,g[27]=f,g[28]=p):p=g[28],p}function i(e,n){return(0,t.jsxs)("div",{className:"ur-widget-weather-hour",children:[(0,t.jsx)("span",{className:"ur-widget-weather-hour-time",children:e.label}),(0,t.jsx)("span",{className:"ur-widget-weather-hour-icon",children:e.icon}),(0,t.jsx)("span",{className:"ur-widget-weather-hour-temp",children:e.value})]},n)}function a(e){let r,i,a,o,s,c,u=(0,n.c)(14),{data:d}=e;return u[0]!==d.dateRange?(r=(0,t.jsx)("span",{className:"ur-widget-weather-date-range",children:d.dateRange}),u[0]=d.dateRange,u[1]=r):r=u[1],u[2]!==d.location?(i=(0,t.jsx)("span",{className:"ur-widget-weather-location-name",children:d.location}),u[2]=d.location,u[3]=i):i=u[3],u[4]!==r||u[5]!==i?(a=(0,t.jsxs)("div",{className:"ur-widget-weather-extended-header",children:[r,i]}),u[4]=r,u[5]=i,u[6]=a):a=u[6],u[7]!==d.days?(o=d.days.map(l),u[7]=d.days,u[8]=o):o=u[8],u[9]!==o?(s=(0,t.jsx)("div",{className:"ur-widget-weather-daily",children:o}),u[9]=o,u[10]=s):s=u[10],u[11]!==a||u[12]!==s?(c=(0,t.jsxs)("div",{className:"ur-widget-weather-extended",children:[a,s]}),u[11]=a,u[12]=s,u[13]=c):c=u[13],c}function l(e,n){return(0,t.jsxs)("div",{className:"ur-widget-weather-day",children:[(0,t.jsx)("span",{className:"ur-widget-weather-day-name",children:e.name}),(0,t.jsx)("span",{className:"ur-widget-weather-day-icon",children:e.icon}),(0,t.jsxs)("div",{className:"ur-widget-weather-day-desc",children:[(0,t.jsx)("span",{children:e.description}),e.precipitation?(0,t.jsx)("span",{className:"ur-widget-weather-precip",children:e.precipitation}):null]}),(0,t.jsx)("span",{className:"ur-widget-weather-day-hilo",children:e.highLow})]},n)}let o={now:"Now",sunset:"Sunset",today:"Today"},s=(e,t)=>`H: ${e}\xb0 L: ${t}\xb0`;function c(e){return({SUNNY:"☀️",CLEAR:"☀️",MOSTLY_SUNNY:"🌤️",PARTLY_CLOUDY:"⛅",MOSTLY_CLOUDY:"🌥️",CLOUDY:"☁️",OVERCAST:"☁️",RAIN:"🌧️",SHOWERS:"🌧️",LIGHT_RAIN:"🌦️",DRIZZLE:"🌦️",THUNDERSTORMS:"⛈️",SNOW:"❄️",SLEET:"🌨️",HAIL:"🌨️",FOG:"🌫️",MIST:"🌫️",WINDY:"💨",GUSTY:"💨",NT_CLEAR:"🌙",NT_MOSTLY_CLEAR:"🌙",NT_PARTLY_CLOUDY:"🌙",NT_MOSTLY_CLOUDY:"🌙"})[e]||"🌡️"}function u(e){if(!e)return[];try{return JSON.parse(e)}catch{return[]}}e.s(["WeatherWidget",0,function(e){let i,l,o,s=(0,n.c)(7),{data:c,className:u}=e,d=`ur-widget ur-widget-weather ${u||""}`;return s[0]!==d?(i=d.trim(),s[0]=d,s[1]=i):i=s[1],s[2]!==c?(l="extended"===c.mode?(0,t.jsx)("div",{className:"ur-widget-card",children:(0,t.jsx)(a,{data:c})}):(0,t.jsx)(r,{data:c}),s[2]=c,s[3]=l):l=s[3],s[4]!==i||s[5]!==l?(o=(0,t.jsx)("div",{className:i,children:l}),s[4]=i,s[5]=l,s[6]=o):o=s[6],o},"parseWeatherWidgetData",0,function(e,t={}){var n,r,i,a,l,d;let f,m,h,p,g,w,y,v,x,N,_;try{f=JSON.parse(e.data)}catch{return null}let A=t.locale??"en-US",b={...o,...t.labels},E=t.formatHighLow??s,I=(m=(n=f.location).split(","),m[0]?.trim()||n),S=u(f.daily_forecast),j=f.timeframe?.toLowerCase()||"now";return"now"!==j&&"today"!==j&&"current"!==j?function(e,t,n,r,i){let a=t[0],l=t[t.length-1],o="";if(a&&l){let e=new Date(1e3*a.timestamp),t=new Date(1e3*l.timestamp);o=new Intl.DateTimeFormat(n,{month:"long",day:"numeric"}).formatRange(e,t)}return{mode:"extended",location:e,dateRange:o,days:t.slice(0,7).map((e,t)=>({name:0===t?r.today:new Date(1e3*e.timestamp).toLocaleDateString(n,{weekday:"short"}),icon:c(e.conditionCode),description:e.description,precipitation:e.precipitation>20?`${Math.round(e.precipitation)}%`:void 0,highLow:i(Math.round(e.highTemperature),Math.round(e.lowTemperature))}))}}(I,S,A,b,E):(r=f,i=I,a=S,l=b,d=E,w=parseInt(r.temperature,10),y=a[0],v=y?.highTemperature??w+5,x=y?.lowTemperature??w-10,N=u(r.hourly_forecast).slice(0,7).map((e,t)=>{let n;return{label:0===t?l.now:(n=new Date(1e3*e.timestamp).getHours(),`${n%12||12}${n>=12?"PM":"AM"}`),icon:c(e.conditionCode),value:`${Math.round(e.temperature)}\xb0`}}),(_=y?.sunset?(p=(h=new Date(y.sunset)).getHours(),g=h.getMinutes(),`${p%12||12}:${g.toString().padStart(2,"0")}${p>=12?"PM":"AM"}`):null)&&N.push({label:_,icon:"🌅",value:l.sunset}),{mode:"current",location:i,temperature:`${w}\xb0`,condition:r.condition,icon:c(r.condition_code),highLow:d(Math.round(v),Math.round(x)),forecast:N})}])}]); //# debugId=5e411bb2-4813-0c08-78eb-f1ba79ea9cf8