PageSourceSearch

https://www.capri.net/_next/static/chunks/app/%5Blocale%5D/(default)/error-e7d2b3d9ba575f38.js

js capri.net collected 2026-10-02 07:44:31 UTC 13,470 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2191],{6494:function(e,t,r){Promise.resolve().then(r.bind(r,65602))},65602:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var n=r(8296),l=r(54994),a=r(62486),i=r(922),o=r(10123),u=r(62340),s=r(30961);function c(e){var t;let{error:r,reset:c}=e,d=(0,a.bU)(),f=(0,i.T_)("Error"),{generateUrl:h}=(0,u.v)();return(0,l.useEffect)(()=>{console.error(r)},[r]),(0,n.jsxs)(s.xO.fC,{type:"error",children:[(0,n.jsx)(s.xO.VY,{children:(0,n.jsx)(s.xO.Dx,{children:f("genericMessage")})}),(0,n.jsx)(s.xO.eX,{children:(null===(t=r.cause)||void 0===t?void 0:t.action)?(0,n.jsx)(s.BC,{as:o.rU,href:r.cause.action,size:"lg",color:"primary",full:!0,children:f("goBackButtonLabel")}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.BC,{onClick:()=>c(),size:"lg",color:"primary",full:!0,children:f("tryAgainButtonLabel")}),(0,n.jsx)(s.BC,{as:o.rU,href:h({locale:d,href:"/"}),size:"lg",color:"white",full:!0,children:f("goToHomeButtonLabel")})]})}),(0,n.jsx)(s.xO.M4,{children:f.rich("contactUs",{mailto:e=>{var t;return(0,n.jsx)("a",{href:"mailto:[email protected]?subject=".concat(f("errorCode",{code:null!==(t=r.digest)&&void 0!==t?t:""})),children:e})}})})]})}},57047:function(e,t,r){"use strict";r.d(t,{oj:function(){return i},DI:function(){return o},IM:function(){return u}});var n={locales:["en","it"],defaultLocale:"en",localePrefix:"always",localeDetection:!1,localeCookie:!1,alternateLinks:!1},l={"/hotels":"/hotels","/restaurants":{en:"/restaurants",it:"/ristoranti"},"/suggestions":{en:"/suggestions",it:"/suggerimenti"},"/experiences":{en:"/experiences",it:"/experience"},"/sights":{en:"/sights",it:"/localita"},"/boat-tours":{en:"/boat-tours",it:"/tour-in-barca"},"/activities":{en:"/activities",it:"/attivita"},"/transfers":{en:"/private-transfers",it:"/transfer-privati"},"/boat-rentals":{en:"/boat-rentals",it:"/noleggio-barche"}},a={"www.capri.com":{"/portals/www.capri.com/":"/","/ferry-schedule":"/ferry-schedule","/capri-bus-schedule":{en:"/bus-schedule",it:"/orari-autobus"}},"www.positano.com":{"/portals/www.positano.com":"/","/ferry-schedule":"/ferry-schedule","/bus-schedule":{en:"/bus-schedule",it:"/orari-autobus"},"/bus-schedule-marozzi":{en:"/rome-to-positano-and-amalfi-bus-schedule",it:"/orari-autobus-roma-positano-amalfi"},"/train-schedule":{en:"/naples-to-sorrento-train-schedule",it:"/circumvesuviana-napoli-sorrento"},"/train-schedule-campania-express":{en:"/campania-express-train-schedule",it:"/orari-campania-express"}},"www.sorrentoinsider.com":{"/portals/www.sorrentoinsider.com":"/","/ferry-schedule":"/ferry-schedule","/bus-schedule":{en:"/sorrento-to-positano-bus-schedule",it:"/orari-autobus-sorrento-positano"},"/bus-schedule-marozzi":{en:"/rome-to-sorrento-bus-schedule",it:"/orari-autobus-roma-sorrento"},"/bus-schedule-curreri":{en:"/naples-airport-to-sorrento",it:"/orari-autobus-curreri"},"/train-schedule":{en:"/naples-to-sorrento-train-schedule",it:"/orari-vesuviana-napoli-sorrento"},"/train-schedule-campania-express":{en:"/campania-express-train-schedule",it:"/orari-campania-express"}},"www.naplesinsider.com":{"/portals/www.naplesinsider.com":"/","/train-schedule":{en:"/naples-to-sorrento-train-schedule",it:"/orari-vesuviana-napoli-sorrento"},"/train-schedule-campania-express":{en:"/campania-express-train-schedule",it:"/orari-campania-express"}},"www.ischiainsider.com":{"/portals/www.ischiainsider.com":"/","/ferry-schedule":"/ferry-schedule","/bus-schedule":{en:"/bus-schedule",it:"/orari-autobus"}},"www.procidainsider.com":{"/portals/www.procidainsider.com":"/","/ferry-schedule":"/ferry-schedule"},"www.visitpompeiivesuvius.com":{"/portals/www.visitpompeiivesuvius.com":"/","/bus-schedule":{en:"/bus-schedule",it:"/orari-autobus"},"/train-schedule":{en:"/naples-to-sorrento-train-schedule",it:"/orari-vesuviana-napoli-sorrento"},"/train-schedule-campania-express":{en:"/campania-express-train-schedule",it:"/orari-campania-express"}},"www.capritourism.com":{"/portals/www.capritourism.com":"/","/ferry-schedule":"/ferry-schedule","/capri-bus-schedule":"/bus-schedule"},"www.capri.net":{"/portals/www.capri.net":"/","/ferry-schedule":"/ferry-schedule","/capri-bus-schedule":"/bus-schedule"}};let i={"www.capri.com":[{domain:"www.capri.com",defaultLocale:"en",locales:["en"]},{domain:"www.capri.it",defaultLocale:"it",locales:["it"]}]},o=e=>{var t,r;return{...n,domains:null!==(t=null==i?void 0:i[e])&&void 0!==t?t:[],pathnames:{...l,...null!==(r=null==a?void 0:a[e])&&void 0!==r?r:{}}}},u=()=>({...n,domains:[],pathnames:l})},10123:function(e,t,r){"use strict";r.d(t,{jD:function(){return o},rU:function(){return a},tv:function(){return u}});
1var n=r(33670),l=r(90605);let{Link:a,redirect:i,usePathname:o,useRouter:u,getPathname:s}=(0,n.Z)((0,l.w)())},19915:function(e,t,r){"use strict";r.d(t,{J:function(){return i}});var n=r(33670),l=r(90605),a=r(3009);let i=()=>{let e=(0,a.y6)(),t=(0,l.E)(e);return(0,n.Z)(t)}},90605:function(e,t,r){"use strict";r.d(t,{E:function(){return a},w:function(){return i}});var n=r(81741),l=r(57047);let a=e=>(0,n.Z)((0,l.DI)(e)),i=()=>(0,n.Z)((0,l.IM)())},85670:function(e,t,r){"use strict";r.d(t,{Fe:function(){return o},IP:function(){return a},Nm:function(){return u},TL:function(){return c},pZ:function(){return s},sY:function(){return i}});var n=r(90605),l=r(57047);let a=e=>(0,n.E)(e).locales,i=(e,t)=>{var r;let l=(0,n.E)(e),a=l.domains.find(e=>e.domain===t);return null!==(r=null==a?void 0:a.defaultLocale)&&void 0!==r?r:l.defaultLocale},o=(e,t)=>{var r,l;let a=null===(r=(0,n.E)(e).domains)||void 0===r?void 0:r.find(e=>{var r;return null===(r=e.locales)||void 0===r?void 0:r.includes(t)});return null!==(l=null==a?void 0:a.domain)&&void 0!==l?l:null},u=(e,t)=>{var r;let n=l.oj[e];if(!n)return null;let a=null==n?void 0:n.find(e=>{var r;return null===(r=e.locales)||void 0===r?void 0:r.includes(t)});return null!==(r=null==a?void 0:a.domain)&&void 0!==r?r:null},s=e=>(0,n.E)(e).domains.length>0,c=e=>void 0!==l.oj[e]},3009:function(e,t,r){"use strict";r.d(t,{Ej:function(){return u},LB:function(){return s},PortalProvider:function(){return i},vi:function(){return o},y6:function(){return c}});var n=r(8296),l=r(54994);let a=(0,l.createContext)(),i=e=>{let{children:t,value:r}=e;return(0,n.jsx)(a.Provider,{value:r,children:t})},o=()=>(0,l.useContext)(a).portalId,u=()=>(0,l.useContext)(a).portalData,s=()=>(0,l.useContext)(a).requestHost,c=()=>(0,l.useContext)(a).portalHost},62340:function(e,t,r){"use strict";r.d(t,{v:function(){return h}});var n=r(3009),l=r(19915),a=r(85670);let i=e=>t=>{if(!t.locale||!t.href)return"";let r=e();return u()+s(r,t.locale,null==t?void 0:t.host)+c(r,t)},o=e=>t=>{if(!t.locale||!t.href)return"";let r=e();return u()+s(r,t.locale,null==t?void 0:t.host)+t.href},u=()=>"https://",s=function(e,t){var r,n;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return l?null!==(r=(0,a.Nm)(l,t))&&void 0!==r?r:l:null!==(n=(0,a.Fe)(e.portalHost,t))&&void 0!==n?n:e.requestHost},c=(e,t)=>"/"===t.href&&d(e,t.locale,null==t?void 0:t.host)?"/":(t.href&&(t.href=f(t.href)),(0,e.getPathnameFn)(t)),d=(e,t,r)=>t===(0,a.sY)(e.portalHost,r)||(r?(0,a.TL)(r):(0,a.pZ)(e.portalHost)),f=e=>{if("object"==typeof e&&e.query){let t={...e};return t.query={...e.query},Object.keys(t.query).forEach(e=>{void 0===t.query[e]&&delete t.query[e]}),0===Object.keys(t.query).length&&delete t.query,t}return e},h=()=>{let e=(0,n.y6)(),t=(0,n.LB)(),{getPathname:r}=(0,l.J)();return{generateUrl:i(()=>({portalHost:e,requestHost:t,getPathnameFn:r})),generateAssetUrl:o(()=>({portalHost:e,requestHost:t,getPathnameFn:r}))}}},93110:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("filled","alert-octagon-filled","AlertOctagonFilled",[["path",{d:"M14.897 1a4 4 0 0 1 2.664 1.016l.165 .156l4.1 4.1a4 4 0 0 1 1.168 2.605l.006 .227v5.794a4 4 0 0 1 -1.016 2.664l-.156 .165l-4.1 4.1a4 4 0 0 1 -2.603 1.168l-.227 .006h-5.795a3.999 3.999 0 0 1 -2.664 -1.017l-.165 -.156l-4.1 -4.1a4 4 0 0 1 -1.168 -2.604l-.006 -.227v-5.794a4 4 0 0 1 1.016 -2.664l.156 -.165l4.1 -4.1a4 4 0 0 1 2.605 -1.168l.227 -.006h5.793zm-2.887 14l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z",key:"svg-0"}]])},2967:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("outline","alert-square-rounded","AlertSquareRounded",[["path",{d:"M12 3c7.2 0 9 1.8 9 9c0 7.2 -1.8 9 -9 9c-7.2 0 -9 -1.8 -9 -9c0 -7.2 1.8 -9 9 -9",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]])},37081:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("outline","alert-triangle","AlertTriangle",[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]])},92081:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("filled","alert-triangle-filled","AlertTriangleFilled",[["path",{d:"M12 1.67c.955 0 1.845 .467 2.39 1.247l.105 .16l8.114 13.548a2.914 2.914 0 0 1 -2.307 4.363l-.195 .008h-16.225a2.914 2.914 0 0 1 -2.582 -4.2l.099 -.185l8.11 -13.538a2.914 2.914 0 0 1 2.491 -1.403zm.01 13.33l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -7a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z",key:"svg-0"}]])},65352:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("outline","checks","Checks",[["path",{d:"M7 12l5 5l10 -10",key:"svg-0"}],["path",{d:"M2 12l5 5m5 -5l5 -5",key:"svg-1"}]])},15997:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("outline","chevron-right","ChevronRight",[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]])},54736:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("filled","info-circle-filled","InfoCircleFilled",[["path",{d:"M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm0 9h-1l-.117 .007a1 1 0 0 0 0 1.986l.117 .007v3l.007 .117a1 1 0 0 0 .876 .876l.117 .007h1l.117 -.007a1 1 0 0 0 .876 -.876l.007 -.117l-.007 -.117a1 1 0 0 0 -.764 -.857l-.112 -.02l-.117 -.006v-3l-.007 -.117a1 1 0 0 0 -.876 -.876l-.117 -.007zm.01 -3l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z",key:"svg-0"}]])},4109:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(74347).Z)("outline","sparkles","Sparkles",[["path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6",key:"svg-0"}]])},33670:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(49287),l=r(54994),a=r.t(l,2),i=r(62486),o=a["use".trim()],u=r(55700),s=r(79734),c=r(39892),d=r(8296),f=r(24489);function h(e){let{Link:t,config:r,getPathname:a,...h}=function(e,t){var r,a,i;let f={...r=t||{},localePrefix:"object"==typeof(i=r.localePrefix)?i:{mode:i||"always"}
1,localeCookie:!!((a=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof a&&a},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},h=f.pathnames,p=(0,l.forwardRef)(function({href:t,locale:r,...n},l){let a,i;"object"==typeof t?(a=t.pathname,i=t.params):a=t;let c=(0,u.t3)(t),p=e(),v=(0,u.tI)(p)?o(p):p,w=c?m({locale:r||v,href:null==h?a:{pathname:a,params:i}},null!=r||void 0):a;return(0,d.jsx)(s.default,{ref:l,href:"object"==typeof t?{...t,pathname:w}:w,locale:r,localeCookie:f.localeCookie,...n})});function m(e,t){let r;let{href:n,locale:l}=e;return null==h?"object"==typeof n?(r=n.pathname,n.query&&(r+=(0,c.Ci)(n.query))):r=n:r=(0,c.cT)({locale:l,...(0,c.hm)(n),pathnames:f.pathnames}),(0,c.r6)(r,l,f,t)}function v(e){return function(t,...r){return e(m(t),...r)}}return{config:f,Link:p,redirect:v(n.redirect),permanentRedirect:v(n.permanentRedirect),getPathname:m}}(i.bU,e);return{...h,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,i.bU)();return(0,l.useMemo)(()=>{if(!t)return t;let n=t,l=(0,u.Af)(r,e.localePrefix);if((0,u.Tp)(l,t))n=(0,u.vz)(t,l);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,u.Sk)(r);(0,u.Tp)(e,t)&&(n=(0,u.vz)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,i.bU)();return(0,l.useMemo)(()=>e&&r.pathnames?(0,c.Bv)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,i.bU)(),o=(0,n.usePathname)();return(0,l.useMemo)(()=>{function n(e){return function(n,l){let{locale:i,...u}=l||{},s=[a({href:n,locale:i||t})];Object.keys(u).length>0&&s.push(u),e(...s),(0,f.Z)(r.localeCookie,o,t,i)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,o,e])},getPathname:a}}},922:function(e,t,r){"use strict";r.d(t,{Gb:function(){return i},T_:function(){return a}});var n=r(62486);function l(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let a=l(0,n.T_),i=l(0,n.Gb)},81741:function(e,t,r){"use strict";function n(e){return e}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[8798,2486,7988,9734,2612,961,1310,2149,1744],function(){return e(e.s=6494)}),_N_E=e.O()}]);

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.