(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,559751,e=>{"use strict";let t=(0,e.i(429332).default)(()=>e.A(445626).then(e=>e.NotFoundSuggestions),{loadableGenerated:{modules:[934234]}});e.s(["NotFoundSuggestions",0,t])},167581,697993,e=>{"use strict";var t=e.i(659350),o=e.i(663456),n=e.i(960773),r=e.i(463686),i=e.i(16043),s=e.i(131269);let l={Model:"model",Author:"author",Provider:"provider",App:"app",Collection:"collection",Compare:"compare",Tool:"tool",Other:"other",Unmatched:"unmatched"},u={provider:l.Provider,apps:l.App,collections:l.Collection,compare:l.Compare,tool:l.Tool},a="/apps/url/[url]";function c(e){let t=(0,s.a)(e)??e;return t.startsWith("/apps/url/")?a:t.slice(0,64)}function d(e,t){let o=((0,s.a)(t)??t).split("/").filter(Boolean);switch(e){case"root":case"catch_all":return l.Unmatched;case"maker_entity":return 1===o.length?l.Author:l.Model;case"locale":return u[o[0]??""]??l.Other;default:return e}}e.s(["y",0,a,"V",0,l,"R",0,{Strong:"strong",Family:"family",Weak:"weak",Default:"default"},"S",0,d,"x",0,c],697993);let h=(0,i.createContext)(null);function m(){return(0,i.useContext)(h)}e.s(["NotFoundAnalyticsProvider",0,function(e){let s,l,u,a,m,p,f,g,k,v=(0,o.c)(27),{boundary:S,shouldDeferPageShown:_,children:y}=e,j=void 0!==_&&_,P=(0,n.Q)(),b=(0,r.usePathname)()??"/",F=(0,i.useRef)(null),w=(0,i.useRef)(!1);v[0]!==S||v[1]!==b?(s=d(S,b),v[0]=S,v[1]=b,v[2]=s):s=v[2];let A=s;v[3]!==b?(l=c(b),v[3]=b,v[4]=l):l=v[4];let C=l;v[5]!==C||v[6]!==b||v[7]!==P||v[8]!==A?(u=()=>{F.current!==b&&(F.current=b,P.capture("not_found_page_shown",{route_family:A,path:C,suggestions_shown:!1}))},v[5]=C,v[6]=b,v[7]=P,v[8]=A,v[9]=u):u=v[9],v[10]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{w.current=!0},v[10]=a):a=v[10],v[11]!==C||v[12]!==P||v[13]!==A?(m=e=>{let{rank:t,tier:o}=e;P.capture("not_found_suggestion_clicked",{route_family:A,path:C,suggestions_shown:w.current,rank:t,tier:o})},v[11]=C,v[12]=P,v[13]=A,v[14]=m):m=v[14],v[15]!==C||v[16]!==A||v[17]!==u||v[18]!==m?(p={routeFamily:A,path:C,capturePageShown:u,markSuggestionsShown:a,captureSuggestionClick:m},v[15]=C,v[16]=A,v[17]=u,v[18]=m,v[19]=p):p=v[19];let x=p;return v[20]!==j||v[21]!==x?(f=()=>{j||x.capturePageShown()},g=[j,x],v[20]=j,v[21]=x,v[22]=f,v[23]=g):(f=v[22],g=v[23]),(0,i.useEffect)(f,g),v[24]!==y||v[25]!==x?(k=(0,t.jsx)(h.Provider,{value:x,children:y}),v[24]=y,v[25]=x,v[26]=k):k=v[26],k},"useConfirmNotFoundPageShown",0,function(e){let t,n,r=(0,o.c)(4),s=m();r[0]!==s||r[1]!==e?(t=()=>{e&&s?.capturePageShown()},n=[s,e],r[0]=s,r[1]=e,r[2]=t,r[3]=n):(t=r[2],n=r[3]),(0,i.useEffect)(t,n)},"useNotFoundAnalytics",0,m],167581)},743016,e=>{"use strict";var t=e.i(659350),o=e.i(663456);e.i(707060);var n=e.i(196991),r=e.i(153746),i=e.i(697993),s=e.i(167581);e.s(["NotFoundHeadline",0,function(){let e,l,u=(0,o.c)(5),a=(0,s.useNotFoundAnalytics)()?.path??"/";u[0]!==a?(e=a===i.y?"":a.replace(/^\//,""),u[0]=a,u[1]=e):e=u[1];let c=e;if(0===c.length){let e;return u[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("h1",{children:(0,t.jsx)(n.T,{children:"Page not found"})}),u[2]=e):e=u[2],e}return u[3]!==c?(l=(0,t.jsx)("h1",{className:"ph-no-capture break-words","data-dd-privacy":"hidden",children:(0,t.jsxs)(n.T,{children:["We couldn’t find “",(0,t.jsx)(r.d,{children:c}),"”"]})}),u[3]=c,u[4]=l):l=u[4],l}])},225141,e=>{"use strict";var t=e.i(659350),o=e.i(663456);e.i(406201);var n=e.i(967605),r=e.i(167581);e.s(["NotFoundSuggestionLink",0,function(e){let i,s,l,u,a,c,d=(0,o.c)(13);d[0]!==e?({rank:l,tier:u,onClick:s,...i}=e,d[0]=e,d[1]=i,d[2]=s,d[3]=l,d[4]=u):(i=d[1],s=d[2],l=d[3],u=d[4]);let h=(0,r.useNotFoundAnalytics)();return d[5]!==h||d[6]!==s||d[7]!==l||d[8]!==u?(a=e=>{s?.(e),h?.captureSuggestionClick({rank:l,tier:u})},d[5]=h,d[6]=s,d[7]=l,d[8]=u,d[9]=a):a=d[9],d[10]!==i||d[11]!==a?(c=(0,t.jsx)(n.Link,{...i,onClick:a}),d[10]=i,d[11]=a,d[12]=c):c=d[12],c}])},445626,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zc03f5m4v2hf.js","static/immutable/chunks/0zq5z8fle-6hy.js","static/immutable/chunks/0oh6x8si17qp-.js"].map(t=>e.l(t))).then(()=>t(934234)))},827819,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d26_kqsj-o-5.js","static/immutable/chunks/2o-hujrzmkut-.js"].map(t=>e.l(t))).then(()=>t(388291)))},406201,e=>{"use strict";e.i(967605),e.s([])},704871,e=>{"use strict";let t=(0,e.i(429332).default)(()=>e.A(827819).then(e=>e.Footer),{loadableGenerated:{modules:[388291]}});e.s(["NotFoundFooter",0,t])}]); //# sourceMappingURL=0_sqy9e6scvfi.js.map