1function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(d)}function _toConsumableArray(d){return _arrayWithoutHoles(d)||_iterableToArray(d)||_unsupportedIterableToArray(d)||_nonIterableSpread()} 2function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");} 3function _unsupportedIterableToArray(d,f){if(d){if("string"==typeof d)return _arrayLikeToArray(d,f);var h=Object.prototype.toString.call(d).slice(8,-1);return"Object"===h&&d.constructor&&(h=d.constructor.name),"Map"===h||"Set"===h?Array.from(d):"Arguments"===h||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?_arrayLikeToArray(d,f):void 0}}function _iterableToArray(d){if("undefined"!=typeof Symbol&&null!=d[Symbol.iterator]||null!=d["@@iterator"])return Array.from(d)} 4function _arrayWithoutHoles(d){if(Array.isArray(d))return _arrayLikeToArray(d)}function _arrayLikeToArray(d,f){(null==f||f>d.length)&&(f=d.length);for(var h=0,l=Array(f);h<f;h++)l[h]=d[h];return l} 5function _regeneratorRuntime(){function d(a,b,c){return Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}),a[b]}function f(a,b,c,m){b=Object.create((b&&b.prototype instanceof l?b:l).prototype);m=new L(m||[]);return b._invoke=function(e,p,g){var y="suspendedStart";return function(q,t){if("executing"===y)throw Error("Generator is already running");if("completed"===y){if("throw"===q)throw t;return M()}g.method=q;for(g.arg=t;;){if(q=g.delegate)if(q=z(q,g)){if(q===u)continue; 6return q}if("next"===g.method)g.sent=g._sent=g.arg;else if("throw"===g.method){if("suspendedStart"===y)throw y="completed",g.arg;g.dispatchException(g.arg)}else"return"===g.method&&g.abrupt("return",g.arg);y="executing";q=h(e,p,g);if("normal"===q.type){if(y=g.done?"completed":"suspendedYield",q.arg===u)continue;return{value:q.arg,done:g.done}}"throw"===q.type&&(y="completed",g.method="throw",g.arg=q.arg)}}}(a,c,m),b}function h(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(m){return{type:"throw", 7arg:m}}}function l(){}function r(){}function k(){}function w(a){["next","throw","return"].forEach(function(b){d(a,b,function(c){return this._invoke(b,c)})})}function n(a,b){var c;this._invoke=function(m,e){function p(){return new b(function(g,y){!function Q(t,N,F,P){t=h(a[t],a,N);if("throw"!==t.type){var R=t.arg;return(t=R.value)&&"object"==_typeof(t)&&E.call(t,"__await")?b.resolve(t.__await).then(function(J){Q("next",J,F,P)},function(J){Q("throw",J,F,P)}):b.resolve(t).then(function(J){R.value=J; 8F(R)},function(J){return Q("throw",J,F,P)})}P(t.arg)}(m,e,g,y)})}return c=c?c.then(p,p):p()}}function z(a,b){var c=a.iterator[b.method];if(void 0===c){if(b.delegate=null,"throw"===b.method){if(a.iterator.return&&(b.method="return",b.arg=void 0,z(a,b),"throw"===b.method))return u;b.method="throw";b.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}c=h(c,a.iterator,b.arg);return"throw"===c.type?(b.method="throw",b.arg=c.arg,b.delegate=null,u):(c=c.arg)?c.done?(b[a.resultName]= 9c.value,b.next=a.nextLoc,"return"!==b.method&&(b.method="next",b.arg=void 0),b.delegate=null,u):c:(b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,u)}function K(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]);2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]);this.tryEntries.push(b)}function O(a){var b=a.completion||{};b.type="normal";delete b.arg;a.completion=b}function L(a){this.tryEntries=[{tryLoc:"root"}];a.forEach(K,this);this.reset(!0)}function G(a){if(a){var b= 10a[v];if(b)return b.call(a);if("function"==typeof a.next)return a;
10if(!isNaN(a.length)){var c=-1;b=function e(){for(;++c<a.length;)if(E.call(a,c))return e.value=a[c],e.done=!1,e;return e.value=void 0,e.done=!0,e};return b.next=b}}return{next:M}}function M(){return{value:void 0,done:!0}}_regeneratorRuntime=function(){return A};var A={},H=Object.prototype,E=H.hasOwnProperty,x="function"==typeof Symbol?Symbol:{},v=x.iterator||"@@iterator",I=x.asyncIterator||"@@asyncIterator",B=x.toStringTag||"@@toStringTag"; 11try{d({},"")}catch(a){d=function(b,c,m){return b[c]=m}}A.wrap=f;var u={};x={};d(x,v,function(){return this});var C=Object.getPrototypeOf;(C=C&&C(C(G([]))))&&C!==H&&E.call(C,v)&&(x=C);var D=k.prototype=l.prototype=Object.create(x);return r.prototype=k,d(D,"constructor",k),d(k,"constructor",r),r.displayName=d(k,B,"GeneratorFunction"),A.isGeneratorFunction=function(a){a="function"==typeof a&&a.constructor;return!!a&&(a===r||"GeneratorFunction"===(a.displayName||a.name))},A.mark=function(a){return Object.setPrototypeOf? 12Object.setPrototypeOf(a,k):(a.__proto__=k,d(a,B,"GeneratorFunction")),a.prototype=Object.create(D),a},A.awrap=function(a){return{__await:a}},w(n.prototype),d(n.prototype,I,function(){return this}),A.AsyncIterator=n,A.async=function(a,b,c,m,e){void 0===e&&(e=Promise);var p=new n(f(a,b,c,m),e);return A.isGeneratorFunction(b)?p:p.next().then(function(g){return g.done?g.value:p.next()})},w(D),d(D,B,"Generator"),d(D,v,function(){return this}),d(D,"toString",function(){return"[object Generator]"}),A.keys= 13function(a){var b=[],c;for(c in a)b.push(c);return b.reverse(),function e(){for(;b.length;){var p=b.pop();if(p in a)return e.value=p,e.done=!1,e}return e.done=!0,e}},A.values=G,L.prototype={constructor:L,reset:function(a){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!a)for(var b in this)"t"===b.charAt(0)&&E.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=void 0)},stop:function(){this.done=!0;var a= 14this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(q,t){return p.type="throw",p.arg=a,c.next=q,t&&(c.method="next",c.arg=void 0),!!t}if(this.done)throw a;for(var c=this,m=this.tryEntries.length-1;0<=m;--m){var e=this.tryEntries[m],p=e.completion;if("root"===e.tryLoc)return b("end");if(e.tryLoc<=this.prev){var g=E.call(e,"catchLoc"),y=E.call(e,"finallyLoc");if(g&&y){if(this.prev<e.catchLoc)return b(e.catchLoc,!0);if(this.prev<e.finallyLoc)return b(e.finallyLoc)}else if(g){if(this.prev< 15e.catchLoc)return b(e.catchLoc,!0)}else{if(!y)throw Error("try statement without catch or finally");if(this.prev<e.finallyLoc)return b(e.finallyLoc)}}}},abrupt:function(a,b){for(var c=this.tryEntries.length-1;0<=c;--c){var m=this.tryEntries[c];if(m.tryLoc<=this.prev&&E.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var e=m;break}}e&&("break"===a||"continue"===a)&&e.tryLoc<=b&&b<=e.finallyLoc&&(e=null);c=e?e.completion:{};return c.type=a,c.arg=b,e?(this.method="next",this.next=e.finallyLoc,u):this.complete(c)}, 16complete:function(a,b){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&b&&(this.next=b),u},finish:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,c.afterLoc),O(c),u}},catch:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.tryLoc=== 17a){a=c.completion;if("throw"===a.type){var m=a.arg;O(c)}return m}}throw Error("illegal catch attempt");},delegateYield:function(a,b,c){return this.delegate={iterator:G(a),resultName:b,nextLoc:c},"next"===this.method&&(this.arg=void 0),u}},A}function asyncGeneratorStep(d,f,h,l,r,k,w){try{var n=d[k](w),z=n.value}catch(K){return void h(K)}
17n.done?f(z):Promise.resolve(z).then(l,r)} 18function _asyncToGenerator(d){return function(){var f=this,h=arguments;return new Promise(function(l,r){function k(z){asyncGeneratorStep(n,l,r,k,w,"next",z)}function w(z){asyncGeneratorStep(n,l,r,k,w,"throw",z)}var n=d.apply(f,h);k(void 0)})}} 19MiTur.itineraryMap={googleMap:null,markerAdjustZoom:function(){var d=this;return _asyncToGenerator(_regeneratorRuntime().mark(function h(){var l,r,k;return _regeneratorRuntime().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:l=[];window.mapItinerary.forEach(function(n){l.push(new google.maps.LatLng(n.location.lat,n.location.long))});r=new google.maps.LatLngBounds;for(k=0;k<l.length;k++)r.extend(l[k]);d.googleMap.fitBounds(r);case 5:case "end":return w.stop()}},h)}))()},generateWindowCard:function(d){var f= 20d.image,h=d.imageAltText,l=d.title,r=d.pageUrl,k=d.placeId,w=d.enabledBookmarks?'\x3cbutton class\x3d"button-like teaser-card__button-like position-relative" role\x3d"button" data-is-logged-in\x3d"true" data-callback-function\x3d"" data-initialized\x3d"true"\x3e\n \x3cspan class\x3d"button-like__icon icon-heart s-20x20"\x3e\x3c/span\x3e\n \x3cspan class\x3d"button-like__icon-active icon-full-heart s-20x20"\x3e\x3c/span\x3e\n \x3cspan class\x3d"visually-hidden"\x3elike\x3c/span\x3e\n \x3c/button\x3e': 21"",n="";return d.powered_by_google&&(n='\x3cdiv class\x3d"teaser-card__powered_by_google d-block"\x3e\n \x3cimg src\x3d"'.concat(window.commonProperties.resourcesPath,'/resources/images/powered_by_google_on_white_hdpi.png" alt\x3d"powered by google" loading\x3d"lazy"\x3e\n \x3c/div\x3e')),'\n \x3ca\n id\x3d"indo-window-'.concat(k,'"\n href\x3d"').concat(r,'"\n class\x3d"teaser-card"\n \x3e\n \x3cdiv class\x3d"teaser-card__background"\x3e\n \x3cpicture class\x3d"d-flex justify-content-end"\x3e\n \x3csource\n media\x3d"(min-width: 1200px)"\n srcset\x3d"\n ').concat(f, 22",\n ").concat(f,' 2x\n "\n /\x3e\n \x3csource\n media\x3d"(min-width: 992px)"\n srcset\x3d"\n ').concat(f,",\n ").concat(f,' 2x\n "\n /\x3e\n \x3csource\n media\x3d"(max-width: 991px)"\n srcset\x3d"\n ').concat(f,",\n ").concat(f,' 2x\n "\n /\x3e\n \x3cimg\n src\x3d"').concat(f,'"\n srcset\x3d"').concat(f,' 2x"\n alt\x3d"').concat(h, 23'"\n class\x3d"col-12 teaser-card__image"\n loading\x3d"lazy"\n /\x3e\n \x3c/picture\x3e\n \x3c/div\x3e\n\n \x3cdiv class\x3d"teaser-card__content"\x3e\n \x3cdiv class\x3d"teaser-card--head teaser-card--absolute"\x3e\n \x3cdiv\x3e\x3c/div\x3e\n ').concat(w,"\n \x3c/div\x3e\n \x3ch3\x3e\n ").concat(l,"\n \x3c/h3\x3e\n ").concat(n,"\n \x3c/div\x3e\n \x3c/a\x3e\n ")},init:function(){var d=this;return _asyncToGenerator(_regeneratorRuntime().mark(function h(){var l, 24r,k,w,n,z,K,O,L,G,M,A,H,E;return _regeneratorRuntime().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if("google"in window){x.next=3;break}return x.next=3,MiTur.googleMap.init();case 3:if("markerClusterer"in window){x.next=6;break}return x.next=6,MiTur.addScriptAsync("/etc.clientlibs/tdh/clientlibs/clientlib-resources/resources/scripts/markercluster.min.js");case 6:if(k={default:{icon:"".concat(window.commonProperties.resourcesPath,"/resources/images/icon-pin.svg")},google:{icon:"".concat(window.commonProperties.resourcesPath, 25"/resources/images/icon-google-pin.svg")},soggiorno:{icon:"".concat(window.commonProperties.resourcesPath,"/resources/images/icon-aggiungi-pin.svg")},hotel:{icon:"".concat(window.commonProperties.resourcesPath,"/resources/images/icon-bed-pin.svg")},teatro:{icon:"".concat(window.commonProperties.resourcesPath,"/resources/images/icon-theater-pin.svg")},ristorante:{icon:"".concat(window.commonProperties.resourcesPath,"/resources/images/icon-restaurant-pin.svg")},ticket:{icon:"".concat(window.commonProperties.resourcesPath, 26"/resources/images/icon-lucchetto-pin.svg")},center:{icon:"".concat(window.commonProperties.resourcesPath,"/resources/images/icon-center-pin.svg")}},w=new Set,n={},z={lat:41.8902102,lng:12.4922309},window.mapItinerary&&0<window.mapItinerary.length&&(K=window.mapItinerary[0].location,O=K.lat,L=K.long,z.lat=O,z.lng=L),G=null===(l=document.querySelector(".itinerary-map"))||void 0===l?void 0:l.getAttribute("data-map-zoom"),M={zoom:G?JSON.parse(G):10,center:z,styles:[{featureType:"poi",stylers:[{visibility:"off"}]}], 27clickableIcons:!1},(A=null===(r=document.querySelector(".itinerary-map"))||void 0===r?void 0:r.getAttribute("data-map-id"))&&(M.mapId=A),H=new google.maps.Map(document.querySelector(".itinerary-map"),M),d.googleMap=H,window.mapItinerary.forEac
27h(function(v,I){var B,u,C=v.location,D=v.place_id,a=v.photos,b=v.page_url,c=v.powered_by_google,m=v.title;v=C.lat;C=C.long;a=MiTur.itineraryMap.generateWindowCard({image:(null==a?void 0:null===(B=a[0])||void 0===B?void 0:B.url)||"".concat(window.commonProperties.resourcesPath, 28"/resources/images/map-placeholder-photo-large.jpg"),imageAltText:(null==a?void 0:null===(u=a[0])||void 0===u?void 0:u.alt)||"",title:m,pageUrl:b,placeId:D,enabledBookmarks:window.googleClient.enabledBookmarks,powered_by_google:c});var e=new google.maps.InfoWindow({content:a});B=new google.maps.LatLng(v,C);e.setPosition(B);I='\x3csvg width\x3d"30px" height\x3d"30px" viewBox\x3d"0 0 30 30" version\x3d"1.1" xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink"\x3e\n\x3ctitle\[email protected]\x3c/title\x3e\n\x3cg id\x3d"Design-System" stroke\x3d"none" stroke-width\x3d"1" fill\x3d"none" fill-rule\x3d"evenodd"\x3e\n\x3cg id\x3d"DS_Cross_01.07-Icone" transform\x3d"translate(-139.000000, -1209.000000)"\x3e\n\x3cg id\x3d"icone/lucchetto/aperto-copy-35" transform\x3d"translate(139.000000, 1209.000000)"\x3e\n\x3cg id\x3d"Group" transform\x3d"translate(4.000000, 1.000000)"\x3e\n\x3cpath d\x3d"M11,0.5 C13.9159721,0.5 16.5551112,1.65394666 18.4580956,3.5569311 C20.3396478,5.43848323 21.5,8.05145746 21.5,11 C21.5,14.505137 18.7694969,19.3476602 13.423334,25.5549668 C12.421345,26.4658818 11.5805454,26.7171245 10.7628947,26.6564439 C9.94524397,26.5957634 9.1507421,26.2231596 8.57335081,25.5531983 C3.23050377,19.3477071 0.5,14.5051527 0.5,11 C0.5,8.05145746 1.66035224,5.43848323 3.54190437,3.5569311 C5.44488881,1.65394666 8.08402789,0.5 11,0.5 Z" id\x3d"Oval" stroke-opacity\x3d"0.3" stroke\x3d"#000000" fill\x3d"#0058A5"\x3e\x3c/path\x3e\n\x3ctext id\x3d"5" y\x3d"16" font-family\x3d"Montserrat-Bold, Montserrat" font-size\x3d"12" font-weight\x3d"bold" letter-spacing\x3d"-0.225" fill\x3d"#FFFFFF" transform\x3d"translate(11)"\x3e\n\x3ctspan x\x3d"0" text-anchor\x3d"middle"\x3e{{ number }}\x3c/tspan\x3e\n\x3c/text\x3e\n\x3c/g\x3e\n\x3c/g\x3e\n\x3c/g\x3e\n\x3c/g\x3e\n\x3c/svg\x3e'.replace("{{ number }}", 29I+1);u=k.default.icon;1<window.mapItinerary.length?u={url:"data:image/svg+xml;charset\x3dUTF-8;base64,"+btoa(I)}:1===window.mapItinerary.length&&c&&(u=k.google.icon);var p=new google.maps.Marker({position:B,icon:u,map:H});w.add(p);c=function(){var g=_asyncToGenerator(_regeneratorRuntime().mark(function q(){var t,N;return _regeneratorRuntime().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,e.open({map:H,shouldFocus:!1});case 2:(t=document.querySelector(".itinerary-map").querySelector(".gm-style-iw.gm-style-iw-c"))&& 30t.classList.add("mitur-map-dialog"),p.setVisible(!1),n.marker&&n.infowindow&&n.marker!=p&&(n.infowindow.close(),n.marker.setVisible(!0)),n={infowindow:e,marker:p},N=document.querySelector("#indo-window-".concat(D)),992>window.innerWidth&&(null==N||!N.getAttribute("data-initialized"))&&(N.setAttribute("data-initialized",!0),document.querySelector("#indo-window-".concat(D)).addEventListener("touchstart",function(){window.location.href=b}));case 9:case "end":return F.stop()}},q)}));return function(){return g.apply(this, 31arguments)}}();p.addListener("mouseover",c);p.addListener("mousedown",c);c=function(g){var y=document.querySelector("#indo-window-".concat(D));if(y){var q=y.closest(".gm-style-iw.gm-style-iw-c");g.target===q||q.contains(g.target)&&q.contains(y)||(e.close(),p.setVisible(!0))}};document.addEventListener("mouseout",c);document.addEventListener("mousedown",c)}),"#0058A5",E={render:function(v){var I=v.count;v=v.position;var B=window.btoa('\n \x3csvg fill\x3d"'.concat("#0058A5",'" xmlns\x3d"http://www.w3.org/2000/svg" viewBox\x3d"0 0 240 240"\x3e\n \x3ccircle cx\x3d"120" cy\x3d"120" opacity\x3d"1" r\x3d"70" /\x3e\n \x3c/svg\x3e')); 32return new google.maps.Marker({label:{text:String(I),color:"white",fontSize:"12px"},position:v,icon:{url:"data:image/svg+xml;base64,".concat(B),scaledSize:new google.maps.Size(60,60)},zIndex:Number(google.maps.Marker.MAX_ZINDEX)+I})}},new markerClusterer.MarkerClusterer({markers:_toConsumableArray(w),map:H,renderer:E}),G){x.next=24;break}return x.next=24,d.markerAdjustZoom();case 24:case "end":return x.stop()}},h)}))()}};MiTur.itineraryMap.init();"use strict"; 33MiTur.itineraryStage={_initializeItineraryStages:function(){document.querySelectorAll(".itinerary-stage").forEach(function(d){d.querySelectorAll("section").forEach(function(f){var h=f.querySelector(".content \x3e p"),l=f.querySelector(".content \x3e button.mitur-button__show-more");if(h&&1E3<h.innerText.length){f=MiTur.splitHTML(h.innerHTML,1E3);var r=f.secondPart;h.innerHTML=f.firstPart;var k=document.createElement("span");k.innerHTML=r;k.classList.add("d-none");h.append(k);l.classList.toggle("d-none"); 34l.onclick=function(){l.classList.toggle("mitur-button__show-more--open");k.classList.contains("d-none")?(k.classList.remove("d-none"),l.innerText=l.getAttribute("data-label-open")):(k.classList.add("d-none"),l.innerText=l.getAttribute("data-label-close"))}}})})},init:function(){this._initializeItineraryStages()}};
34MiTur.itineraryStage.init();
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.