PageSourceSearch

https://www.piratinviaggio.it/hp-app/js/legal-6cb722c5.js

js piratinviaggio.it collected 2026-09-28 11:07:26 UTC 11,761 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhummingbird=self.webpackChunkhummingbird||[]).push([[4462],{91984(n,t,e){e.d(t,{A:()=>b});e(44114),e(72712),e(94490),e(33110),e(98992),e(3949),e(62953);var r=e(73516),o=e(28063),i=e(78100),l=e(28749),c=(e(81454),e(96540)),a=e(98469),s=e(93243),u=e(98359),d=e(88597),h=e(31924),f=e(87227),p=e(50890);const m={List:d.Ay.ul.withConfig({componentId:"hp__sc-1omh8xm-0"})(n=>{let t=n.withMargin;return"\n    display: flex;\n    list-style: none;\n    margin: ".concat(t?"0 0 5px":0,";\n    padding: 1rem 0 0;\n    text-align: left;\n    white-space: nowrap;\n  ")}),Item:d.Ay.li.withConfig({componentId:"hp__sc-1omh8xm-1"})(["font-size:",";line-height:1.6;&:last-child{margin-right:0;}"],h.nJ),Link:(0,d.Ay)(p.A).withConfig({componentId:"hp__sc-1omh8xm-2"})(n=>{let t=n.fontColor;return"\n    color: ".concat(t||a.xq,";\n    text-transform: capitalize;\n    white-space: nowrap;\n  ")}),IconWrapper:d.Ay.span.withConfig({componentId:"hp__sc-1omh8xm-3"})(["align-self:center;padding:0 9px;"]),Current:d.Ay.span.withConfig({componentId:"hp__sc-1omh8xm-4"})(["color:",";display:inline-block;font-family:",";font-weight:bold;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],a.xJ,f.Kh)};var g=e(74848);const w=n=>{let t=n.parents,e=void 0===t?[]:t,r=n.current,o=void 0===r?null:r,i=n.margin,l=void 0!==i&&i,d=n.fontColor,h=void 0===d?null:d;return(0,g.jsxs)(m.List,{withMargin:l,children:[e.map((n,t)=>(0,g.jsxs)(c.Fragment,{children:[(0,g.jsx)(m.Item,{children:(0,g.jsx)(m.Link,{href:n.url,fontColor:h||"",children:n.label})}),t<e.length&&(0,g.jsx)(m.IconWrapper,{children:(0,g.jsx)(u.A,{iconUrl:"".concat(s.Cm,"app/chevron-right.svg"),mainColor:h||a.xq,w:14,h:14})})]},"breadcrumb-".concat(n.label))),o&&(0,g.jsx)(m.Current,{title:o,children:o})]})},b=n=>{let t=n.paths,e=n.title,c=void 0===e?"":e,a=n.margin,s=void 0!==a&&a,u=n.fontColor,d=void 0===u?null:u;const h=(0,o.UK)().hosted;let f=null,p=[{label:(0,i.B)().breadcrumb.home,url:h}];const m=[];if(t){const n=t.breadcrumb,e=t.parents;if(f=n,e){const n=[...e];for(;n&&n.length;){const t=n.reduce((n,t)=>"".concat(n,"/").concat(t.slug),""),e=n.pop();if(e){const n=e.breadcrumb;m.push({label:n,url:"".concat(h).concat(t)})}}m.reverse(),p=p.concat(m)}}return(0,l.ar)("Render breadcrumb"),(0,g.jsxs)(g.Fragment,{children:[m&&(0,g.jsx)(r.mg,{encodeSpecialCharacters:!0,children:(0,g.jsx)("script",{type:"application/ld+json",children:JSON.stringify((()=>{const n=[];return p.forEach((t,e)=>{n.push({"@type":"ListItem",position:e+1,item:{"@id":t.url,name:t.label}})}),{"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:n}})())})}),(0,g.jsx)(w,{parents:p,current:c||f,margin:s,fontColor:d})]})}},15023(n,t,e){e.r(t),e.d(t,{default:()=>f});var r=e(91984),o=e(41935),i=e(44302),l=e(28706),c=e(31924),a=e(11767),s=e(2653),u=e(82891),d=e(96276),h=e(74848);const f=()=>{const n=(0,l._)();if(!n)return null;const t=n.intro,e=n.mainContent,f=n.paths,p=n.title;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.A,{page:n}),(0,h.jsxs)(u.wn,{children:[(0,h.jsx)(a.A,{content:e}),(0,h.jsx)(r.A,{paths:f,title:p,margin:!0}),(0,h.jsx)(d._,{children:p}),(0,h.jsx)(u.co,{children:(0,h.jsx)(s.A,{document:t&&t.json})})]}),(0,h.jsx)(o.A,{containerMaxWidth:c.ID,content:e})]})}},11767(n,t,e){e.d(t,{A:()=>k});e(89463),e(16280),e(44114),e(27495),e(98992),e(81454),e(62953);var r=e(96540),o=e(2541),i=e(93619),l=e(73700);function c(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,l,c=[],a=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;a=!1}else for(;!(a=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);a=!0);}catch(n){s=!0,o=n}finally{try{if(!a&&null!=e.return&&(l=e.return(),Object(l)!==l))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return a(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(n,t):void 0}}
1(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function s(n){const t=c((0,r.useState)({element:void 0,window:void 0}),2),e=t[0],o=t[1];return(0,r.useEffect)(()=>{let t=!0;const e=()=>{t&&o((()=>{if("undefined"!=typeof window)return{element:((n||{current:null}).current||document.documentElement).clientWidth,window:window.innerWidth};return{element:void 0,window:void 0}})())},r=(0,l.n)(200,e);return window.addEventListener("resize",r,{passive:!0}),e(),()=>{t=!1,window.removeEventListener("resize",r)}},[]),e}var u=e(2024),d=e(88597),h=e(98469),f=e(31924),p=e(87227);const m=(n,t)=>{const e="left"===t?t:"right",r=n||h.UE;return"linear-gradient(to ".concat(e,", ").concat(r," 50%, transparent)")},g=d.Ay.button.withConfig({componentId:"hp__sc-kkph67-0"})(n=>{let t=n.shown;return"\n  align-items: center;\n  border: 0;\n  cursor: pointer;\n  display: ".concat(t?"flex":"none",";\n  height: 58px;\n  outline: 0;\n  padding: 0;\n  position: absolute;\n  top: 0;\n  user-select: none;\n  width: 60px;\n  z-index: 2;\n  -webkit-tap-highlight-color: transparent;\n\n  &:hover > span {\n    filter: brightness(1.5);\n  }\n")}),w={ButtonLeft:(0,d.Ay)(g).withConfig({componentId:"hp__sc-kkph67-1"})(n=>{let t=n.backgroundColor;return"\n    background: ".concat(m(t),";\n    justify-content: flex-start;\n    left: 0;\n  ")}),ButtonRight:(0,d.Ay)(g).withConfig({componentId:"hp__sc-kkph67-2"})(n=>{let t=n.backgroundColor;return"\n    background: ".concat(m(t,"left"),";\n    justify-content: flex-end;\n    right: 0;\n  ")}),Container:d.Ay.div.withConfig({componentId:"hp__sc-kkph67-3"})(n=>{let t=n.slider;return"\n    position: relative;\n    height: ".concat(t?"58px":"auto",";\n    overflow: hidden;\n    margin-bottom: 0.7rem;\n\n    @media ").concat(o.J.phone," {\n      margin-bottom: 2rem;\n    }\n  ")}),Nav:d.Ay.nav.withConfig({componentId:"hp__sc-kkph67-4"})(n=>{let t=n.slider;return"\n    display: flex;\n    flex-wrap: ".concat(t?"nowrap":"wrap",";\n    font-family: ").concat(p.Kh,";\n    font-weight: bold;\n    font-size: ").concat(f.$s,";\n    overflow-x: auto;\n    padding: 1rem 0px 2.3rem;\n  ")}),Link:d.Ay.a.withConfig({componentId:"hp__sc-kkph67-5"})(n=>{let t=n.hover;return"\n    color: ".concat(h.Oj,";\n    cursor: pointer;\n    display: block;\n    margin-bottom: .5rem;\n    margin-right: 30px;\n    padding-bottom: .5rem;\n    position: relative;\n    user-select: none;\n    white-space: nowrap;\n    -webkit-tap-highlight-color: transparent;\n\n    &:after {\n      background-color: ").concat(h.Kq,";\n      border-radius: 3px;\n      bottom: 0;\n      content: '';\n      display: block;\n      height: 3px;\n      left: 50%;\n      opacity: 0;\n      position: absolute;\n      transform: translateX(-50%);\n      transition: opacity .2s ease-in-out, width .2s ease-in-out;\n      width: 0;\n    }\n\n    &:hover {\n      color: ").concat(h.Oj,";\n      &:after {\n        opacity: 1;\n        width: 100%;\n      }\n    }\n\n    ").concat(t?"":"\n      &:first-of-type:after {\n        opacity: 1;\n        width: 100%;\n      }\n    ","\n  ")})};var b=e(74848);function y(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,l,c=[],a=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;a=!1}else for(;!(a=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);a=!0);}catch(n){s=!0,o=n}finally{try{if(!a&&null!=e.return&&(l=e.return(),Object(l)!==l))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return v(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?v(n,t):void 0}}
1(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const x=n=>{let t=n.backgroundColor,e=n.children,o=n.container,i=n.slider,c=n.ref;const a=y((0,r.useState)(!1),2),s=a[0],d=a[1],h=y((0,r.useState)(!1),2),f=h[0],p=h[1],m=(n,t)=>n&&n.current?n.current[t||"clientWidth"]:0,g=()=>{const n=(c||{current:null}).current;if(n){const t=n.scrollLeft,e=m(o),r=m(c,"scrollWidth");d(0!==t),p(t+e<r-1)}},v=(0,l.n)(200,g),x=(0,l.s)(200,g),j=n=>{if(!n||["left","right"].indexOf(n)<0)return null;const t=(c||{current:null}).current;let e=null==t?void 0:t.scrollLeft;const r=m(o)/2;return"left"===n&&(e-=r),"right"===n&&(e+=r),t?t.scroll({top:0,left:e,behavior:"smooth"}):null};return(0,r.useEffect)(()=>{const n=(c||{current:null}).current;return n&&(g(),n.addEventListener("scroll",v),window.addEventListener("resize",x)),()=>{n&&(n.removeEventListener("scroll",v),window.removeEventListener("resize",x))}},[o,c,i]),i?(0,b.jsxs)(w.Nav,{ref:c,slider:!0,children:[(0,b.jsx)(w.ButtonLeft,{"aria-label":"scroll left",backgroundColor:t,onClick:()=>j("left"),shown:s,children:(0,b.jsx)(u.A,{iconName:"app/arrow-left-circle",w:18,h:18})}),e,(0,b.jsx)(w.ButtonRight,{"aria-label":"scroll right",backgroundColor:t,onClick:()=>j("right"),shown:f,children:(0,b.jsx)(u.A,{iconName:"app/arrow-right-circle",w:18,h:18})})]}):(0,b.jsx)(w.Nav,{children:e})};x.displayName="Scrollable";const j=x;function A(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,l,c=[],a=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;a=!1}else for(;!(a=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);a=!0);}catch(n){s=!0,o=n}finally{try{if(!a&&null!=e.return&&(l=e.return(),Object(l)!==l))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return C(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?C(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const k=n=>{let t=n.backgroundColor,e=void 0===t?null:t,l=n.content,c=void 0===l?[]:l;if(!c||0===c.length)return null;const a=A((0,r.useState)(!1),2),u=a[0],d=a[1],h=(0,r.useRef)(null),f=(0,r.useRef)(null),p=s().window<o.F.tablet;return(0,b.jsx)(w.Container,{ref:h,slider:p,children:(0,b.jsx)(j,{backgroundColor:e,container:h,ref:f,slider:p,children:c.map(n=>{let t=n.title,e=n.anchor;return(0,b.jsx)(w.Link,{onClick:()=>(0,i.A)('section[id="'.concat(encodeURIComponent(e),'"]')),onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),hover:u,children:t},e)})})})}},93619(n,t,e){e.d(t,{A:()=>r});const r=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(document&&window){const e=document.querySelector(n);if(e&&"function"==typeof window.scroll){const n=window.pageYOffset||window.scrollY,r=e.getBoundingClientRect(),o=r&&r.top||0;window.scroll({top:o+n-t,left:0,behavior:"smooth"})}}}}}]);

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.