PageSourceSearch

https://www.vittoriaassicurazioni.com/AreaRiservata.Web/common.f0c0fa9536ab8388.js

js vittoriaassicurazioni.com collected 2026-09-24 09:00:14 UTC 51,904 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{51320:(M,E,e)=>{e.d(E,{c:()=>c});var l=e(71308),u=e(17864),t=e(81898);const c=(s,o)=>{let a,d;const n=(h,_,g)=>{if(typeof document>"u")return;const f=document.elementFromPoint(h,_);f&&o(f)?f!==a&&(m(),i(f,g)):m()},i=(h,_)=>{a=h,d||(d=a);const g=a;(0,l.c)(()=>g.classList.add("ion-activated")),_()},m=(h=!1)=>{if(!a)return;const _=a;(0,l.c)(()=>_.classList.remove("ion-activated")),h&&d!==a&&a.click(),a=void 0};return(0,t.createGesture)({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:h=>n(h.currentX,h.currentY,u.a),onMove:h=>n(h.currentX,h.currentY,u.b),onEnd:()=>{m(!0),(0,u.h)(),d=void 0}})}},32225:(M,E,e)=>{e.d(E,{g:()=>l});const l=(o,a,d,n,i)=>t(o[1],a[1],d[1],n[1],i).map(m=>u(o[0],a[0],d[0],n[0],m)),u=(o,a,d,n,i)=>i*(3*a*Math.pow(i-1,2)+i*(-3*d*i+3*d+n*i))-o*Math.pow(i-1,3),t=(o,a,d,n,i)=>s((n-=i)-3*(d-=i)+3*(a-=i)-(o-=i),3*d-6*a+3*o,3*a-3*o,o).filter(h=>h>=0&&h<=1),s=(o,a,d,n)=>{if(0===o)return((o,a,d)=>{const n=a*a-4*o*d;return n<0?[]:[(-a+Math.sqrt(n))/(2*o),(-a-Math.sqrt(n))/(2*o)]})(a,d,n);const i=(3*(d/=o)-(a/=o)*a)/3,m=(2*a*a*a-9*a*d+27*(n/=o))/27;if(0===i)return[Math.pow(-m,1/3)];if(0===m)return[Math.sqrt(-i),-Math.sqrt(-i)];const h=Math.pow(m/2,2)+Math.pow(i/3,3);if(0===h)return[Math.pow(m/2,.5)-a/3];if(h>0)return[Math.pow(-m/2+Math.sqrt(h),1/3)-Math.pow(m/2+Math.sqrt(h),1/3)-a/3];const _=Math.sqrt(Math.pow(-i/3,3)),g=Math.acos(-m/(2*Math.sqrt(Math.pow(-i/3,3)))),f=2*Math.pow(_,1/3);return[f*Math.cos(g/3)-a/3,f*Math.cos((g+2*Math.PI)/3)-a/3,f*Math.cos((g+4*Math.PI)/3)-a/3]}},75062:(M,E,e)=>{e.d(E,{i:()=>l});const l=u=>u&&""!==u.dir?"rtl"===u.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},66602:(M,E,e)=>{e.r(E),e.d(E,{startFocusVisible:()=>c});const l="ion-focused",t=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],c=s=>{let o=[],a=!0;const d=s?s.shadowRoot:document,n=s||document.body,i=D=>{o.forEach(p=>p.classList.remove(l)),D.forEach(p=>p.classList.add(l)),o=D},m=()=>{a=!1,i([])},h=D=>{a=t.includes(D.key),a||i([])},_=D=>{if(a&&void 0!==D.composedPath){const p=D.composedPath().filter(v=>!!v.classList&&v.classList.contains("ion-focusable"));i(p)}},g=()=>{d.activeElement===n&&i([])};return d.addEventListener("keydown",h),d.addEventListener("focusin",_),d.addEventListener("focusout",g),d.addEventListener("touchstart",m),d.addEventListener("mousedown",m),{destroy:()=>{d.removeEventListener("keydown",h),d.removeEventListener("focusin",_),d.removeEventListener("focusout",g),d.removeEventListener("touchstart",m),d.removeEventListener("mousedown",m)},setFocus:i}}},87626:(M,E,e)=>{e.d(E,{C:()=>s,a:()=>t,d:()=>c});var l=e(15861),u=e(35730);const t=function(){var o=(0,l.Z)(function*(a,d,n,i,m,h){var _;if(a)return a.attachViewToDom(d,n,m,i);if(!(h||"string"==typeof n||n instanceof HTMLElement))throw new Error("framework delegate is missing");const g="string"==typeof n?null===(_=d.ownerDocument)||void 0===_?void 0:_.createElement(n):n;return i&&i.forEach(f=>g.classList.add(f)),m&&Object.assign(g,m),d.appendChild(g),yield new Promise(f=>(0,u.c)(g,f)),g});return function(d,n,i,m,h,_){return o.apply(this,arguments)}}(),c=(o,a)=>{if(a){if(o)return o.removeViewFromDom(a.parentElement,a);a.remove()}return Promise.resolve()},s=()=>{let o,a;return{attachViewToDom:function(){var i=(0,l.Z)(function*(m,h,_={},g=[]){var f,D;if(o=m,h){const v="string"==typeof h?null===(f=o.ownerDocument)||void 0===f?void 0:f.createElement(h):h;g.forEach(r=>v.classList.add(r)),Object.assign(v,_),o.appendChild(v),yield new Promise(r=>(0,u.c)(v,r))}else if(o.children.length>0&&!o.children[0].classList.contains("ion-delegate-host")){const r=null===(D=o.ownerDocument)||void 0===D?void 0:D.createElement("div");r.classList.add("ion-delegate-host"),g.forEach(P=>r.classList.add(P)),r.append(...o.children),o.appendChild(r)}const p=document.querySelector("ion-app")||document.body;return a=document.createComment("ionic teleport"),o.parentNode.insertBefore(a,o),p.appendChild(o),o});return function(h,_){return i.apply(this,arguments)}}(),removeViewFromDom:()=>(o&&a&&(a.parentNode.insertBefore(o,a),a.remove()),Promise.resolve())}}},17864:(M,E,e)=>{e.d(E,{a:()=>c,b:()=>s,c:()=>t,d:()=>a,h:()=>o});const l={getEngine(){var d;const n=window;return n.TapticEngine||(null===(d=n.Capacitor)||void 0===d?void 0:d.isPluginAvailable("Haptics"))&&n.Capacitor.Plugins.Haptics},available(){var d;const n=window;return!!this.getEngine()&&("web"!==(null===(d=n.Capacitor)||void 0===d?void 0:d.getPlatform())||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>!!window.TapticEngine,isCapacitor:()=>!!window.Capacitor,impact(d){const n=this.getEngine();if(!n)return;const i=this.isCapacitor()?d.style.toUpperCase():d.style;n.impact({style:i})},notification(d){const n=this.getEngine();if(!n)return;const i=this.isCapacitor()?d.style.toUpperCase():d.style;n.notification({style:i})},selection(){this.impact({style:"light"})},selectionStart(){const d=this.getEngine();d&&(this.isCapacitor()?d.selectionStart():d.gestureSelectionStart())},selectionChanged(){const d=this.getEngine();d&&(this.isCapacitor()?d.selectionChanged():d.gestureSelectionChanged())},selectionEnd(){const d=this.getEngine();d&&(this.isCapacitor()?d.selectionEnd():d.gestureSelectionEnd())}},u=()=>l.available(),t=()=>{u()&&l.selection()},c=()=>{u()&&l.selectionStart()},s=()=>{u()&&l.selectionChanged()},o=()=>{u()&&l.selectionEnd()},a=d=>{u()&&l.impact(d)}},20109:(M,E,e)=>{e.d(E,{a:()=>l,b:()=>h,c:()=>a,d:()=>_,e:()=>C,f:()=>o,g:()=>g,h:()=>t,i:()=>u,j:()=>r,k:()=>P,l:()=>d,m:()=>i,n:()=>f,o:()=>n,p:()=>s,q:()=>c,r:()=>v,s:()=>O,t:()=>m,u:()=>D,v:()=>p});const l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewB
1ox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>",t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>",s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>",d="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>",n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>",h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>",_="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",f="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",D="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>",p="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>",v="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewB
1ox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>",P="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>",O="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>",C="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>"},48416:(M,E,e)=>{e.d(E,{I:()=>s,a:()=>i,b:()=>o,c:()=>_,d:()=>f,f:()=>m,g:()=>n,i:()=>d,p:()=>g,r:()=>D,s:()=>h});var l=e(15861),u=e(35730),t=e(94147);const s="ion-content",o=".ion-content-scroll-host",a=`${s}, ${o}`,d=p=>"ION-CONTENT"===p.tagName,n=function(){var p=(0,l.Z)(function*(v){return d(v)?(yield new Promise(r=>(0,u.c)(v,r)),v.getScrollElement()):v});return function(r){return p.apply(this,arguments)}}(),i=p=>p.querySelector(o)||p.querySelector(a),m=p=>p.closest(a),h=(p,v)=>d(p)?p.scrollToTop(v):Promise.resolve(p.scrollTo({top:0,left:0,behavior:v>0?"smooth":"auto"})),_=(p,v,r,P)=>d(p)?p.scrollByPoint(v,r,P):Promise.resolve(p.scrollBy({top:r,left:v,behavior:P>0?"smooth":"auto"})),g=p=>(0,t.a)(p,s),f=p=>{if(d(p)){const r=p.scrollY;return p.scrollY=!1,r}return p.style.setProperty("overflow","hidden"),!0},D=(p,v)=>{d(p)?p.scrollY=v:p.style.removeProperty("overflow")}},45234:(M,E,e)=>{e.r(E),e.d(E,{KEYBOARD_DID_CLOSE:()=>u,KEYBOARD_DID_OPEN:()=>l,copyVisualViewport:()=>v,keyboardDidClose:()=>g,keyboardDidOpen:()=>h,keyboardDidResize:()=>_,resetKeyboardAssist:()=>a,setKeyboardClose:()=>m,setKeyboardOpen:()=>i,startKeyboardAssist:()=>d,trackViewportChanges:()=>p});const l="ionKeyboardDidShow",u="ionKeyboardDidHide";let c={},s={},o=!1;const a=()=>{c={},s={},o=!1},d=r=>
1{n(r),r.visualViewport&&(s=v(r.visualViewport),r.visualViewport.onresize=()=>{p(r),h()||_(r)?i(r):g(r)&&m(r)})},n=r=>{r.addEventListener("keyboardDidShow",P=>i(r,P)),r.addEventListener("keyboardDidHide",()=>m(r))},i=(r,P)=>{f(r,P),o=!0},m=r=>{D(r),o=!1},h=()=>!o&&c.width===s.width&&(c.height-s.height)*s.scale>150,_=r=>o&&!g(r),g=r=>o&&s.height===r.innerHeight,f=(r,P)=>{const C=new CustomEvent(l,{detail:{keyboardHeight:P?P.keyboardHeight:r.innerHeight-s.height}});r.dispatchEvent(C)},D=r=>{const P=new CustomEvent(u);r.dispatchEvent(P)},p=r=>{c=Object.assign({},s),s=v(r.visualViewport)},v=r=>({width:Math.round(r.width),height:Math.round(r.height),offsetTop:r.offsetTop,offsetLeft:r.offsetLeft,pageTop:r.pageTop,pageLeft:r.pageLeft,scale:r.scale})},59852:(M,E,e)=>{e.d(E,{c:()=>u});var l=e(13457);const u=t=>{let c,s,o;const a=()=>{c=()=>{o=!0,t&&t(!0)},s=()=>{o=!1,t&&t(!1)},null==l.w||l.w.addEventListener("keyboardWillShow",c),null==l.w||l.w.addEventListener("keyboardWillHide",s)};return a(),{init:a,destroy:()=>{null==l.w||l.w.removeEventListener("keyboardWillShow",c),null==l.w||l.w.removeEventListener("keyboardWillHide",s),c=s=void 0},isKeyboardVisible:()=>o}}},17741:(M,E,e)=>{e.d(E,{S:()=>u});const u={bubbles:{dur:1e3,circles:9,fn:(t,c,s)=>{const o=t*c/s-t+"ms",a=2*Math.PI*c/s;return{r:5,style:{top:9*Math.sin(a)+"px",left:9*Math.cos(a)+"px","animation-delay":o}}}},circles:{dur:1e3,circles:8,fn:(t,c,s)=>{const o=c/s,a=t*o-t+"ms",d=2*Math.PI*o;return{r:5,style:{top:9*Math.sin(d)+"px",left:9*Math.cos(d)+"px","animation-delay":a}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(t,c)=>({r:6,style:{left:9-9*c+"px","animation-delay":-110*c+"ms"}})},lines:{dur:1e3,lines:8,fn:(t,c,s)=>({y1:14,y2:26,style:{transform:`rotate(${360/s*c+(c<s/2?180:-180)}deg)`,"animation-delay":t*c/s-t+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(t,c,s)=>({y1:12,y2:20,style:{transform:`rotate(${360/s*c+(c<s/2?180:-180)}deg)`,"animation-delay":t*c/s-t+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(t,c,s)=>({y1:17,y2:29,style:{transform:`rotate(${30*c+(c<6?180:-180)}deg)`,"animation-delay":t*c/s-t+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(t,c,s)=>({y1:12,y2:20,style:{transform:`rotate(${30*c+(c<6?180:-180)}deg)`,"animation-delay":t*c/s-t+"ms"}})}}},56659:(M,E,e)=>{e.r(E),e.d(E,{createSwipeBackGesture:()=>s});var l=e(35730),u=e(75062),t=e(81898);e(34349);const s=(o,a,d,n,i)=>{const m=o.ownerDocument.defaultView;let h=(0,u.i)(o);const g=r=>h?-r.deltaX:r.deltaX;return(0,t.createGesture)({el:o,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:r=>(h=(0,u.i)(o),(r=>{const{startX:O}=r;return h?O>=m.innerWidth-50:O<=50})(r)&&a()),onStart:d,onMove:r=>{const O=g(r)/m.innerWidth;n(O)},onEnd:r=>{const P=g(r),O=m.innerWidth,C=P/O,z=(r=>h?-r.velocityX:r.velocityX)(r),x=z>=0&&(z>.2||P>O/2),y=(x?1-C:C)*O;let U=0;if(y>5){const w=y/Math.abs(z);U=Math.min(w,540)}i(x,C<=0?.01:(0,l.l)(0,C,.9999),U)}})}},16046:(M,E,e)=>{e.d(E,{f:()=>l});var l=(()=>{return(u=l||(l={}))[u.Active=1]="Active",u[u.Disabled=2]="Disabled",u[u.NotAvailable=9]="NotAvailable",l;var u})()},18682:(M,E,e)=>{e.d(E,{J:()=>v});var l=e(7625),u=e(92257),t=e(2231),c=e(591),s=e(94650),o=e(90603),a=e(99571),d=e(74670),n=e(36895),i=e(4859),m=e(28255),h=e(97392);function _(r,P){if(1&r){const O=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){const A=s.CHM(O).$implicit,x=s.oxw(4);return s.KtG(x.toAgenzia(A.id))}),s._uU(1),s.qZA()}if(2&r){const O=P.$implicit;s.xp6(1),s.Oqu(O.descrizione)}}function g(r,P){if(1&r&&(s.TgZ(0,"div",3)(1,"button",4),s._uU(2,"Contatta l\u2019Agenzia "),s.TgZ(3,"mat-icon"),s._uU(4,"more_vert"),s.qZA()(),s.TgZ(5,"mat-menu",null,5),s.YNc(7,_,2,1,"button",6),s.qZA()()),2&r){const O=s.MA
1s(6),C=s.oxw(2).ngIf;s.xp6(1),s.Q6J("matMenuTriggerFor",O),s.xp6(6),s.Q6J("ngForOf",C)}}function f(r,P){if(1&r){const O=s.EpF();s.TgZ(0,"div",3)(1,"button",8),s.NdJ("click",function(){s.CHM(O);const z=s.oxw(2).ngIf,A=s.oxw();return s.KtG(A.toAgenzia(z[0].id))}),s._uU(2,"Contatta l\u2019Agenzia"),s.qZA()()}}function D(r,P){if(1&r&&(s.ynx(0),s.YNc(1,g,8,2,"div",1),s.YNc(2,f,3,0,"ng-template",null,2,s.W1O),s.BQk()),2&r){const O=s.MAs(3),C=s.oxw().ngIf;s.xp6(1),s.Q6J("ngIf",(null==C?null:C.length)>1)("ngIfElse",O)}}function p(r,P){if(1&r&&(s.ynx(0),s.YNc(1,D,4,2,"ng-container",0),s.BQk()),2&r){const O=P.ngIf;s.xp6(1),s.Q6J("ngIf",O.length>0)}}let v=(()=>{const P=class extends t.P{constructor(C,z,A){super(z),this.navCtrl=C,this.agenzieService=A,this.$agenzie=new c.X(null)}ngOnInit(){this.getAgenzie()}ngAfterViewInit(){}getAgenzie(){u.i.getOrCall(this.agenzieService.getAgenzie(),"agenzieService.getAgenzie").pipe((0,l.R)(this._unsubscribeAll)).subscribe(C=>{this.$agenzie.next(C)},C=>{})}toAgenzia(C){const z=this.copertura?{copertura:this.copertura}:{};this.idPolizza?this.navCtrl.navigateRoot(`contatta-agenzia/${this.idPolizza}`,{queryParams:{...z,proposta:!0}}):this.navCtrl.navigateRoot(`contatta-agenzia/${C}.000.0000000000`,{queryParams:z})}};let r=P;return P.\u0275fac=function(z){return new(z||P)(s.Y36(o.SH),s.Y36(a.W),s.Y36(d.UJ))},P.\u0275cmp=s.Xpm({type:P,selectors:[["ar-contatta-agenzia-button"]],inputs:{idPolizza:"idPolizza",copertura:"copertura"},features:[s.qOj],decls:2,vars:3,consts:[[4,"ngIf"],["id","agenzia-btn","class","agenzia-button",4,"ngIf","ngIfElse"],["singleAgenzia",""],["id","agenzia-btn",1,"agenzia-button"],["mat-button","","aria-label","Contatta l'agenzia",1,"ar-button","width100","outline-dark",3,"matMenuTriggerFor"],["menuAgenzieList","matMenu"],["mat-menu-item","","class","outline-dark",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"outline-dark",3,"click"],["mat-button","","aria-label","Contatta l'agenzia",1,"ar-button","width100","outline-dark",3,"click"]],template:function(z,A){1&z&&(s.YNc(0,p,2,1,"ng-container",0),s.ALo(1,"async")),2&z&&s.Q6J("ngIf",s.lcZ(1,1,A.$agenzie))},dependencies:[n.sg,n.O5,i.lW,m.VK,m.OP,m.p6,h.Hw,n.Ov],styles:["ar-contatta-agenzia-button{width:100%}ar-contatta-agenzia-button .width100{width:100%}.agenzia-button{position:relative}\n"],encapsulation:2,changeDetection:0}),r})()},68112:(M,E,e)=>{e.d(E,{C:()=>d});var l=e(53358),u=e(4859),t=e(44476),c=e(74670),s=e(28255),o=e(97392),a=e(94650);let d=(()=>{const i=class{};let n=i;return i.\u0275fac=function(_){return new(_||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({providers:[c.UJ],imports:[l.m,t.Bz,u.ot,s.Tx,o.Ps]}),n})()},24747:(M,E,e)=>{e.d(E,{g:()=>n});var l=e(94650),u=e(36895),t=e(44476),c=e(4859);function s(i,m){if(1&i&&(l.ynx(0),l._uU(1," Se non hai sinistri aperti, "),l.TgZ(2,"strong"),l._uU(3),l.ALo(4,"date"),l.qZA(),l.BQk()),2&i){const h=l.oxw(2);l.xp6(3),l.hij("hai diritto a recedere fino al ",l.xi3(4,1,h.data.dataTermineRecesso,"dd/MM/yyyy"),"")}}function o(i,m){if(1&i&&l._uU(0),2&i){const h=l.oxw(2);l.hij(" ",h.data.motivoBloccoRecesso," ")}}const a=function(i){return["/richiesta-recesso",i]};function d(i,m){if(1&i&&(l.TgZ(0,"div",1)(1,"button",2),l._uU(2),l.qZA(),l.TgZ(3,"p",3),l.YNc(4,s,5,4,"ng-container",4),l.YNc(5,o,1,1,"ng-template",null,5,l.W1O),l.qZA()()),2&i){const h=l.MAs(6),_=l.oxw();l.xp6(1),l.Q6J("disabled",_.isDisabled)("routerLink",l.VKq(5,a,_.data.idPolizza)),l.xp6(1),l.Oqu(_.data.title||"Recedi"),l.xp6(2),l.Q6J("ngIf",!_.isDisabled)("ngIfElse",h)}}let n=(()=>{const m=class{get isVisible(){return this.data?.isPolizzaRecedibile&&this.data?.isPolizzaRecedibileVisibile}get isDisabled(){return!!this.data?.motivoBloccoRecesso}};let i=m;return m.\u0275fac=function(g){return new(g||m)},m.\u0275cmp=l.Xpm({type:m,selectors:[["ar-recesso-button"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","recesso-btn-container",4,"ngIf"],[1,"recesso-btn-container"],["mat-raised-button","","id","recesso-btn",3,"disabled","routerLink"],[1,"recesso-info"],[4,"ngIf","ngIfElse"],["motivoBloccoTemplate",""]],template:function(g,f){1&g&&l.YNc(0,d,7,7,"div",0),2&g&&l.Q6J("ngIf",f.isVisible)},dependencies:[u.O5,t.rH,c.lW,u.uU],styles:[".recesso-btn-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:180px;background-color:#fff;color:var(--primary-color);border:1px solid var(--primary-color);border-radius:20px;font-weight:400!important;font-size:14px}.recesso-btn-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#e0e0e0!important;color:#9e9e9e!important;border-color:#e0e0e0!important;cursor:not-allowed!important;opacity:.7!important}.recesso-btn-container[_ngcontent-%COMP%]   .recesso-info[_ngcontent-%COMP%]{font-size:12px;color:#6b7280;margin-top:6px}"]}),i})()},69328:(M,E,e)=>{e.d(E,{p:()=>s});var l=e(36895),u=e(44476),t=e(4859),c=e(94650);let s=(()=>{const a=class{};let o=a;return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=c.oAB({type:a}),a.\u0275inj=c.cJS({imports:[l.ez,u.Bz,t.ot]}),o})()},49051:(M,E,e)=>{e.d(E,{q:()=>c});var l=e(94650),u=e(90603),t=e(99571);let c=(()=>{const o=class{constructor(d,n,i){this.el=d,this.navCtr=n,this.mobileService=i,this.areaRiservataWeb=/AreaRiservata.Web/i}onClick(d){if("A"===d.target.tagName){const i=d.target.getAttribute("href").split(this.areaRiservataWeb);i.length>1&&(d.preventDefault(),this.navCtr.navigateRoot(i[1]))}}};let s=o;return o.\u0275fac=function(n){return new(n||o)(l.Y36(l.SBq),l.Y36(u.SH),l.Y36(t.W))}
1,o.\u0275dir=l.lG2({type:o,selectors:[["","routeTransformer",""]],hostBindings:function(n,i){1&n&&l.NdJ("click",function(h){return i.onClick(h)})}}),s})()},857:(M,E,e)=>{e.d(E,{y:()=>u});var l=e(94650);let u=(()=>{const c=class{};let t=c;return c.\u0275fac=function(a){return new(a||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({}),t})()},11215:(M,E,e)=>{e.d(E,{r:()=>_});var l=e(24006),u=e(2231),t=e(94650),c=e(36895),s=e(1576),o=e(55829),a=e(59549),d=e(84385),n=e(3238);function i(g,f){if(1&g&&(t.TgZ(0,"mat-option",6)(1,"span",7),t._uU(2),t.qZA()()),2&g){const D=f.$implicit;t.Q6J("value",D),t.xp6(2),t.Oqu(D.descrizione)}}function m(g,f){if(1&g&&(t.ynx(0),t._UZ(1,"ar-dynamic-definitive-question",8),t.BQk()),2&g){const D=t.oxw().$implicit;t.xp6(1),t.Q6J("formArray",D.subDomandeFormArray)("domande",D.sottoDomande)}}function h(g,f){if(1&g){const D=t.EpF();t.ynx(0),t.TgZ(1,"div",1)(2,"mat-label",2),t._uU(3),t.qZA(),t.TgZ(4,"mat-form-field",2)(5,"mat-select",3),t.NdJ("ngModelChange",function(v){const P=t.CHM(D).$implicit;return t.KtG(P.value=v)})("valueChange",function(v){const P=t.CHM(D).$implicit,O=t.oxw();return t.KtG(O.onSelectAnswer(P,v))}),t.YNc(6,i,3,2,"mat-option",4),t.qZA()(),t.TgZ(7,"div",2),t.YNc(8,m,2,2,"ng-container",5),t.qZA()(),t.BQk()}if(2&g){const D=f.$implicit;t.xp6(3),t.Oqu(D.descrizione),t.xp6(2),t.Q6J("ngModel",D.value)("disabled",!D.mostraDomanda),t.xp6(1),t.Q6J("ngForOf",D.risposte),t.xp6(2),t.Q6J("ngIf",D.sottoDomande&&D.sottoDomande.length>0)}}let _=(()=>{const f=class extends u.P{constructor(p){super(),this.formBuilder=p,this._domande=[],this.sottoDomande=[]}set domande(p){this._domande=p,this.addFormGroup()}ngOnInit(){}onSelectAnswer(p,v){const r=this.getFormControlFromCodDomanda(p.codDomanda);r.patchValue({codRisposta:v.codRisposta,domande:v.domande}),p.subDomandeFormArray=r.get("domande"),p.sottoDomande=v.domande}addFormGroup(){this.formArray.clear();for(const p of this._domande){this.formArray.push(this.formBuilder.group({codDomanda:[p.codDomanda,l.kI.required],codRisposta:[null,l.kI.required],domande:this.formBuilder.array([])}));let v=p.risposte.find(r=>r.default);!v&&!p.mostraDomanda&&(v=p.risposte.length>0?p.risposte[0]:null),v&&(p.value=v,this.onSelectAnswer(p,v))}}getFormControlFromCodDomanda(p){const v=this._domande.find(P=>P.codDomanda==p),r=this._domande.indexOf(v);return this.formArray.at(r)}};let g=f;return f.\u0275fac=function(v){return new(v||f)(t.Y36(l.QS))},f.\u0275cmp=t.Xpm({type:f,selectors:[["ar-dynamic-definitive-question"]],inputs:{formArray:"formArray",domande:"domande"},features:[t.qOj],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["fxLayout","row wrap",1,"dynamic-definitive-question"],["fxFlex","100"],["required","",1,"dynamic-definitive-select",3,"ngModel","disabled","ngModelChange","valueChange"],["ngClass","dynamic-definitive-option","ngClass.lt-md","dynamic-definitive-option mobile",3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["ngClass","dynamic-definitive-option","ngClass.lt-md","dynamic-definitive-option mobile",3,"value"],[1,"mat-option-text"],[3,"formArray","domande"]],template:function(v,r){1&v&&t.YNc(0,h,9,5,"ng-container",0),2&v&&t.Q6J("ngForOf",r._domande)},dependencies:[c.mk,c.sg,c.O5,l.JJ,l.Q7,l.On,s.xw,s.yH,o.oO,a.KE,a.hX,d.gD,n.ey,f],styles:["ar-dynamic-definitive-question .dynamic-definitive-question{padding-top:10px;padding-left:10px}ar-dynamic-definitive-question mat-label{color:#234c7b;font-weight:700;font-size:16px}.dynamic-definitive-option{height:unset!important}.dynamic-definitive-option>.mat-mdc-option-text{white-space:normal;line-height:1.5em;margin-bottom:.5em;margin-top:.5em}\n"],encapsulation:2}),g})()},91998:(M,E,e)=>{e.d(E,{D:()=>m});var l=e(69814),u=e(84385),t=e(59549),c=e(284),s=e(24006),o=e(98674),a=e(53358),d=e(36895),n=e(3238),i=e(94650);let m=(()=>{const _=class{};let h=_;return _.\u0275fac=function(D){return new(D||_)},_.\u0275mod=i.oAB({type:_}),_.\u0275inj=i.cJS({imports:[a.m,s.u5,o.z,l.o9,u.LD,n.Ng,t.lN,c.c,s.UX,d.ez]}),h})()},47066:(M,E,e)=>{e.d(E,{jX:()=>t});class t{}},82480:(M,E,e)=>{e.d(E,{I:()=>h});var l=e(2231),u=e(7625),t=e(94650),c=e(74670),s=e(99571),o=e(36895),a=e(90603),d=e(55829),n=e(44476);const i=function(){return["/proposte"]};function m(_,g){1&_&&(t.ynx(0),t.TgZ(1,"div",1)(2,"div",2)(3,"div",3),t._UZ(4,"img",4),t.qZA(),t.TgZ(5,"div",5)(6,"span",6),t._uU(7,"Scopri nuove offerte a te dedicate"),t.qZA(),t.TgZ(8,"p",7),t._uU(9," Abbiamo selezionato alcune soluzioni che potrebbero aiutarti a migliorare la tua copertura e affrontare con maggiore serenit\xe0 eventuali imprevisti. "),t.qZA(),t.TgZ(10,"a",8),t._uU(11," Scopri le offerte "),t.TgZ(12,"span",9),t._uU(13,"\u2192"),t.qZA()()()()(),t._UZ(14,"mat-divider",10),t.BQk()),2&_&&(t.xp6(10),t.Q6J("routerLink",t.DdM(1,i)))}let h=(()=>{const g=class extends l.P{constructor(D,p){super(p),this.proposteService=D,this.hasProposte=!1}ngOnInit(){this.proposteService.getPolizzeConProposteCount().pipe((0,u.R)(this._unsubscribeAll)).subscribe(D=>{this.hasProposte=D>0})}};let _=g;return g.\u0275fac=function(p){return new(p||g)(t.Y36(c.HP),t.Y36(s.W))},g.\u0275cmp=t.Xpm({type:g,selectors:[["ar-banner-offerte"]],features:[t.qOj],decls:1,vars:1,consts:[[4,"ngIf"],["ngClass.lt-md","proposte-container-mobile",1,"proposte-container"],[1,"proposte-alert"],[1,"proposte-alert-icon-wrapper"],["src","assets/imgs/icons/toolbar/icona-notifica-2.svg","aria-hidden","true","alt","",1,"ie
1-icon"],[1,"proposte-alert-body"],[1,"proposte-alert-title"],[1,"proposte-alert-text"],["id","link-offerte-quiet",1,"proposte-alert-link",3,"routerLink"],["aria-hidden","true"],["fxHide.lt-md",""]],template:function(p,v){1&p&&t.YNc(0,m,15,2,"ng-container",0),2&p&&t.Q6J("ngIf",v.hasProposte)},dependencies:[o.O5,a.Fo,d.b8,d.oO,n.rH],styles:["ar-banner-offerte .proposte-container{padding:16px 20px 8px}ar-banner-offerte .proposte-container-mobile{padding-bottom:30px}ar-banner-offerte .proposte-container-mobile .proposte-alert{margin:0}ar-banner-offerte .proposte-alert{display:flex;flex-direction:row;align-items:flex-start;gap:14px;background:linear-gradient(135deg,#e8f4ff 0%,#d4ecfe 100%);border-radius:10px;padding:16px 20px;box-shadow:0 2px 8px #00205c14}ar-banner-offerte .proposte-alert-icon-wrapper{flex-shrink:0;width:40px;height:40px;border-radius:50%;background-color:#1976d2;display:flex;align-items:center;justify-content:center}ar-banner-offerte .proposte-alert-icon-wrapper .ie-icon{width:22px;height:22px;filter:brightness(0) invert(1)}ar-banner-offerte .proposte-alert-body{display:flex;flex-direction:column;gap:6px}ar-banner-offerte .proposte-alert-title{font-size:15px;font-weight:700;color:#00205c;line-height:1.3}ar-banner-offerte .proposte-alert-text{font-size:13px;color:#535353;line-height:1.6;margin:0}ar-banner-offerte .proposte-alert-link{display:inline-block;margin-top:2px;font-size:13px;font-weight:600;color:#1976d2;text-decoration:none;transition:color .2s ease}ar-banner-offerte .proposte-alert-link:hover{color:#00205c;text-decoration:underline}\n"],encapsulation:2}),_})()},18895:(M,E,e)=>{e.d(E,{j:()=>s});var l=e(53358),u=e(69814),t=e(44476),c=e(94650);let s=(()=>{const a=class{};let o=a;return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=c.oAB({type:a}),a.\u0275inj=c.cJS({imports:[l.m,u.o9,t.Bz]}),o})()},41166:(M,E,e)=>{e.d(E,{I:()=>g});var l=e(2231),u=e(74670),t=e(40537),c=e(94650),s=e(19585),o=e(42684),a=e(90603),d=e(36700),n=e(80529),i=e(11481),m=e(99571),h=e(36895);function _(f,D){if(1&f&&(c.ynx(0),c.TgZ(1,"div",1),c._UZ(2,"div",2),c.qZA(),c.BQk()),2&f){const p=c.oxw();c.xp6(2),c.Q6J("innerHTML",p.htmlBtn,c.oJD)}}let g=(()=>{const D=class extends l.P{constructor(v,r,P,O,C,z,A,x,T,y){super(y),this.store=v,this.messageService=r,this.navCtrl=P,this.loaderService=O,this.spidService=C,this.httpClient=z,this.sanitizer=A,this.cdRef=x,this.ngZone=T,this.isLoading=!0,this.oldIframeHeight=0}onClick(v){if("A"===v.target.tagName||"A"==v.target.parentElement?.tagName){let r;if(r="A"==v.target.parentElement?.tagName?v.target.parentElement.getAttribute("href"):v.target.getAttribute("href"),(r&&r.split(u.YS.CreateAuthnRequestPath)).length>1&&this.mobileService.isApp()){v.preventDefault();const O=this.mobileService.apriWebView(r);O.on("loadstart").subscribe(C=>{C.url?.includes("/auth/spid-login")&&(O.close(),setTimeout(()=>{this.ngZone.run(()=>{this.navCtrl.navigateRoot(C.url.split("AreaRiservata.Web/")[1])})},100))}),O.on("exit").subscribe(C=>{})}}}ngOnInit(){this.isLoading=!0,this.spidService.getLoginUi().pipe((0,t.x)(()=>this.loaderService.hide())).subscribe(v=>{this.htmlBtn=this.sanitizer.bypassSecurityTrustHtml(v),this.isLoading=!1,setTimeout(()=>{this.registerToggleSPidBtn()},1)})}ngOnDestroy(){this.removeBodyListener()}registerToggleSPidBtn(){const v=document.querySelector('[spid-idp-button]:not([spid-idp-button=""])');this.spidBtn=v,v&&(v.removeAttribute("href"),v.setAttribute("role","button"),v.setAttribute("tabindex","0"),v.addEventListener("click",this.toggleOptions,!1),v.addEventListener("keydown",r=>{("Enter"===r.key||" "===r.key)&&(r.preventDefault(),this.toggleOptions(r))},!1),document.body.addEventListener("click",this.hideOptions,!1))}removeBodyListener(){document.body.removeEventListener("click",this.hideOptions)}toggleOptions(v){v.stopPropagation();const r=document.getElementById("spid-idp-button-xlarge-get").getAttribute("style");r&&r.includes("display:contents")?document.getElementById("spid-idp-button-xlarge-get").setAttribute("style","display:none"):document.getElementById("spid-idp-button-xlarge-get").setAttribute("style","display:contents")}hideOptions(){document.getElementById("spid-idp-button-xlarge-get").setAttribute("style","display:none")}};let f=D;return D.\u0275fac=function(r){return new(r||D)(c.Y36(s.yh),c.Y36(o.e),c.Y36(a.SH),c.Y36(d.D),c.Y36(u.YS),c.Y36(n.eN),c.Y36(i.H7),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(m.W))},D.\u0275cmp=c.Xpm({type:D,selectors:[["ar-spid"]],hostBindings:function(r,P){1&r&&c.NdJ("click",function(C){return P.onClick(C)})},features:[c.qOj],decls:1,vars:1,consts:[[4,"ngIf"],[1,"iframe-container"],[1,"responsive-iframe",3,"innerHTML"]],template:function(r,P){1&r&&c.YNc(0,_,3,1,"ng-container",0),2&r&&c.Q6J("ngIf",!P.isLoading)},dependencies:[h.O5],styles:["ar-spid{width:100%;height:100%;text-align:center}ar-spid .iframe-container{position:relative;overflow:hidden;width:100%}ar-spid .iframe-container .responsive-iframe{width:100%;margin:0;border:0px}ar-spid .iframe-container .responsive-iframe>div{width:100%}ar-spid .iframe-container .responsive-iframe>div>a{width:100%}\n"],encapsulation:2}),f})()},46402:(M,E,e)=>{e.d(E,{c:()=>a});var l=e(4859),u=e(51572),t=e(69814),c=e(97392),s=e(53358),o=e(94650);let a=(()=>{const n=class{};let d=n;return n.\u0275fac=function(h){return new(h||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[s.m,l.ot,c.Ps,u.Cq,t.o9]}),d})()},88719:(M,E,e)=>{e.d(E,{W:()=>s});var l=e(90782),u=e(83683),t=e(53358),c=e(94650);let s=(()=>{const a=class{};let o=a;return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=c.oAB({type:a}),a.\u0275inj=c.cJS({imports:[t.m,u.g0,l.N6]}),o})()},34001:(M,E,e)=>{e.d(E,{Q:()=>g});var l=e(7625),u=e(2231),t=e(94650),c=e(74670),s=e(99571),o=e(36895);function a(f,D){if(1&f&&(t.TgZ(0,"h3",14),t._uU(1),t.qZA()),2&f){const p=t.oxw(2).$implicit;t.xp6(1),t.Oqu(p.titolo)}}function d(f,D){if(1&f&&(t.TgZ(0,"p",15),t._uU(1),t.qZA()),2&f){const p=t.oxw(2).$implicit;
1t.xp6(1),t.Oqu(p.sottoTitolo)}}function n(f,D){if(1&f){const p=t.EpF();t.TgZ(0,"a",16),t.NdJ("click",function(r){t.CHM(p);const P=t.oxw(2).$implicit,O=t.oxw(2);return t.KtG(O.clickedBanner(P,r))}),t._uU(1),t.qZA()}if(2&f){const p=t.oxw(2).$implicit;t.Q6J("href",p.link,t.LSH),t.uIk("aria-label",p.titolo?p.testoLink+": "+p.titolo:p.testoLink),t.xp6(1),t.hij(" ",p.testoLink," ")}}function i(f,D){if(1&f&&(t.TgZ(0,"button",17),t._uU(1),t.qZA()),2&f){const p=t.oxw(2).$implicit;t.xp6(1),t.hij(" ",p.testoLink," ")}}function m(f,D){if(1&f&&(t.TgZ(0,"div",9),t.YNc(1,a,2,1,"h3",10),t.YNc(2,d,2,1,"p",11),t.YNc(3,n,2,3,"a",12),t.YNc(4,i,2,1,"button",13),t.qZA()),2&f){const p=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",p.titolo),t.xp6(1),t.Q6J("ngIf",p.sottoTitolo),t.xp6(1),t.Q6J("ngIf",p.testoLink&&p.link),t.xp6(1),t.Q6J("ngIf",p.testoLink&&!p.link)}}function h(f,D){if(1&f){const p=t.EpF();t.TgZ(0,"div")(1,"div",5)(2,"div",6),t.NdJ("click",function(){const P=t.CHM(p).$implicit,O=t.oxw(2);return t.KtG(P.link&&O.clickedBanner(P))})("keydown.enter",function(){const P=t.CHM(p).$implicit,O=t.oxw(2);return t.KtG(P.link&&O.clickedBanner(P))}),t._UZ(3,"img",7),t.qZA(),t.YNc(4,m,5,4,"div",8),t.qZA()()}if(2&f){const p=D.$implicit;t.xp6(2),t.ekj("hasLink",p.link),t.uIk("tabindex",p.link?"0":null)("role",p.link?"button":null)("aria-label",p.link?"Apri notizia: "+(p.titolo||"Offerta"):null),t.xp6(1),t.Q6J("src",p.urlImmagine,t.LSH),t.xp6(1),t.Q6J("ngIf",p.sottoTitolo&&p.link&&p.testoLink)}}function _(f,D){if(1&f&&(t.TgZ(0,"div",1)(1,"div",2)(2,"h2"),t._uU(3),t.qZA()(),t.TgZ(4,"div",3),t.YNc(5,h,5,7,"div",4),t.qZA()()),2&f){const p=t.oxw();t.xp6(3),t.Oqu(p.title||"Le mie offerte"),t.xp6(2),t.Q6J("ngForOf",p.news)}}let g=(()=>{const D=class extends u.P{constructor(v,r){super(r),this.newsService=v,this.mobileService=r,this.news=[],this.title="Le mie offerte"}ngOnInit(){this.newsService.getNews().pipe((0,l.R)(this._unsubscribeAll)).subscribe(v=>{this.news=v.banners??[]})}clickedBanner(v,r){if(!v.link)return;const P=this.mobileService.tipoSistemaOperativo();this.newsService.clickedNews({idBanner:v.id,codTipoSistemaOperativo:P}).subscribe(),this.mobileService.isApp()?(r?.preventDefault(),this.mobileService.apriBrowser(v.link,!0)):r||window.open(v.link,v.popup?"_blank":"")}};let f=D;return D.\u0275fac=function(r){return new(r||D)(t.Y36(c.Yc),t.Y36(s.W))},D.\u0275cmp=t.Xpm({type:D,selectors:[["ar-news"]],inputs:{title:"title"},features:[t.qOj],decls:1,vars:1,consts:[["class","outer-content","aria-live","polite","aria-atomic","true",4,"ngIf"],["aria-live","polite","aria-atomic","true",1,"outer-content"],[1,"content-title"],[1,"inner-content"],[4,"ngFor","ngForOf"],[1,"news-block-item"],[1,"news-img-content",3,"click","keydown.enter"],["alt","","aria-hidden","true",3,"src"],["class","news-block-text-content",4,"ngIf"],[1,"news-block-text-content"],["class","news-title",4,"ngIf"],["class","news-subtitle",4,"ngIf"],["target","_blank","rel","noopener noreferrer","class","news-block-button",3,"href","click",4,"ngIf"],["type","button","class","news-block-button","disabled","",4,"ngIf"],[1,"news-title"],[1,"news-subtitle"],["target","_blank","rel","noopener noreferrer",1,"news-block-button",3,"href","click"],["type","button","disabled","",1,"news-block-button"]],template:function(r,P){1&r&&t.YNc(0,_,6,2,"div",0),2&r&&t.Q6J("ngIf",null!=P.news&&P.news.length>0)},dependencies:[o.sg,o.O5],styles:[".news-img-content[_ngcontent-%COMP%]{text-align:center;padding:15px}.news-img-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:80%}.news-block-button[_ngcontent-%COMP%]{align-self:flex-start;min-width:140px;padding:8px 14px;border:0;border-radius:20px;background-color:var(--primary-color);color:#fff;font-size:14px;cursor:pointer}.news-block-button[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}"]}),f})()},44515:(M,E,e)=>{e.d(E,{q:()=>c});var l=e(2231),u=e(72986),t=e(31059);class c extends l.P{constructor(o,a,d,n,i,m){super(i),this.dettaglioPolizzaAutoService=o,this.message=a,this.navCtrl=d,this.route=n,this.sospensionePolizzaService=m,this.isPresaVisione=!1,this.sospensioneSessionId=this.route.
1snapshot.queryParamMap.get("sospensioneSessionId"),this.data=m.getData(this.sospensioneSessionId),this.data||(this.message.showMessage("Errore durante il processo di sospensione, riprovare",!0),this.mobileService.navigateRoot("home",{replaceUrl:!0}))}showError(){return this.loading=!1,this.message.showMessage("Si \xe8 verificato un errore durante il tentativo di sospensione",!0)}annullaSospensione(o=!1){o?this.annullaSospensioneInternal():(this.loading=!0,this.getPostData(),this.dettaglioPolizzaAutoService.annullaSospensionePolizzaAuto({...(0,t.I)(this.data.polId),body:{...(0,t.I)(this.data.polId)}}).subscribe(d=>{this.annullaSospensioneInternal()},d=>{this.loading=!1}))}getPostData(){return{...(0,t.I)(this.data.polId),body:{dataEffetto:this.data.dataSospensione,dataRiattivazione:this.data.dataRiattivazione,codSottomotivo:this.data.sottomotivo?.codice}}}annullaSospensioneInternal(){this.message.showMessage("L\u2019operazione di sospensione \xe8 stata annullata.",!1).pipe((0,u.q)(1)).subscribe(()=>{this.mobileService.navigateRoot("home",{replaceUrl:!0})})}}},13466:(M,E,e)=>{e.d(E,{v:()=>s});var l=e(20866),u=e(24850),t=e(94650),c=e(80529);let s=(()=>{const a=class extends l.n{constructor(n){super(n,"api/polizze"),this.routeGetDettaglioPolizzaVitaPosizioniAderenti=i=>`${this.baseUrl}/${i}/dettaglio-vita/posizioni-aderenti`,this.routeGetStoricoInvestimenti=i=>`${this.baseUrl}/${i}/dettaglio-vita/storico-investimenti`,this.routeGetDettaglioPolizzaLetteraPosizioniAderenti=(i,m)=>`${this.baseUrl}/${i}/dettaglio-vita/posizioni-aderenti/${m}`,this.routeGetDettaglioPolizzaVitaFondiGrafico=(i,m,h)=>`${this.baseUrl}/${i}/dettaglio-vita/fondi/valori/${m}/${h}`,this.routeGetDettaglioPolizzaVitaFondi=i=>`${this.baseUrl}/${i}/dettaglio-vita/fondi`,this.routeGetDettaglioPolizzaVitaRivalutazioni=i=>`${this.baseUrl}/${i}/dettaglio-vita/rivalutazioni`,this.routeGetDettaglioPolizzaVitaOperazioni=i=>`${this.baseUrl}/${i}/dettaglio-vita/operazioni`,this.routeGetDettaglioPolizzaRivalutazioniDocumento=(i,m,h)=>`${this.baseUrl}/${i}/dettaglio-vita/rivalutazioni/${m}/documenti/${h}`,this.routeGetDatiContributiviPrevidenziali=i=>`${this.baseUrl}/${i}/dettaglio-vita/dati-contributivi-previdenziali`,this.routeGetStoricoMovimentiPrevidenziali=i=>`${this.baseUrl}/${i}/dettaglio-vita/storico-movimenti-previdenziali`,this.routeGetConfigurazione=(i,m)=>`${this.baseUrl}/${i}/dettaglio-vita/configurazione/${m}`,this.routeSaveVersamentoAggiuntivo=i=>`${this.baseUrl}/${i}/dettaglio-vita/versamento`}getDettaglioPolizzaPosizioniAderenti(n){return this.http.get(this.routeGetDettaglioPolizzaVitaPosizioniAderenti(n)).pipe((0,u.U)(i=>i))}getStoricoInvestimenti(n){return this.http.get(this.routeGetStoricoInvestimenti(n)).pipe((0,u.U)(i=>i))}getDettaglioPolizzaLetteraPosizioniAderenti(n,i){return this.http.get(this.routeGetDettaglioPolizzaLetteraPosizioniAderenti(n,i)).pipe((0,u.U)(m=>m))}getDettaglioPolizzaFondiGrafico(n,i,m){return this.http.get(this.routeGetDettaglioPolizzaVitaFondiGrafico(n,i,m)).pipe((0,u.U)(h=>h))}getDettaglioPolizzaFondi(n){return this.http.get(this.routeGetDettaglioPolizzaVitaFondi(n)).pipe((0,u.U)(i=>i))}getDettaglioPolizzaRivalutazioni(n){return this.http.get(this.routeGetDettaglioPolizzaVitaRivalutazioni(n)).pipe((0,u.U)(i=>i))}getDettaglioPolizzaOperazioni(n){return this.http.get(this.routeGetDettaglioPolizzaVitaOperazioni(n)).pipe((0,u.U)(i=>i))}getDettaglioPolizzaRivalutazioniDocumento(n,i,m){return this.http.get(this.routeGetDettaglioPolizzaRivalutazioniDocumento(n,i,m)).pipe((0,u.U)(h=>h))}getDatiContributiviPrevidenziali(n){return this.http.get(this.routeGetDatiContributiviPrevidenziali(n)).pipe((0,u.U)(i=>i))}getStoricoMovimentiPrevidenziali(n){return this.http.get(this.routeGetStoricoMovimentiPrevidenziali(n)).pipe((0,u.U)(i=>i))}getConfigurazione(n,i){return this.http.get(this.routeGetConfigurazione(n,i)).pipe((0,u.U)(m=>m))}saveVersamentoAggiuntivo(n,i){return this.http.post(this.routeSaveVersamentoAggiuntivo(n),i).pipe((0,u.U)(m=>m))}};let o=a;return a.\u0275fac=function(i){return new(i||a)(t.LFG(c.eN))},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),o})()},2417:(M,E,e)=>{e.d(E,{A:()=>d});var l=e(20866),u=e(2994),t=e(24850),c=e(76642),s=e(94650),o=e(80529),a=e(19585);let d=(()=>{const i=class extends l.n{constructor(h,_){super(h,"api/polizze"),this.store=_,this.routeGetDettaglioPolizza=g=>`${this.baseUrl}/${g}/`,this.routeGetDettaglioPolizzaDati=g=>`${this.baseUrl}/${g}/dati-principali`,this.routeGetDettaglioPolizzaAvvisi=g=>`${this.baseUrl}/${g}/avvisi`,this.routeGetDettaglioPolizzaTrasferita=g=>`${this.baseUrl}/${g}/dati-trasferimento`,this.routeGetDettaglioPolizzaDocumenti=g=>`${this.baseUrl}/${g}/documenti`,this.routeDownloadPolizzaDocumento=(g,f)=>`${this.baseUrl}/${g}/documenti-dettaglio?id=${f}`,this.routeDownloadSchedaAgenzia=g=>`${this.baseUrl}/${g}/scheda-agenzia`,this.routeGetDettaglioPolizzaMovimenti=g=>`${this.baseUrl}/${g}/movimenti`,this.routeSavePolizzaMovimentiVisualizzati=g=>`${this.baseUrl}/${g}/movimenti-visualizzati`}getDettaglioPolizza(h){return this.http.get(this.routeGetDettaglioPolizza(h),{observe:"response"}).pipe((0,u.b)(_=>{const g=_.headers.get(c.nZ),f=_.headers.get(c.rY);this.store.dispatch(new c.Fj({model:g})),this.store.dispatch(new c.Iz({model:f}))}),(0,t.U)(_=>_.body))}getDettaglioPolizzaDati(h){return this.http.get(this.routeGetDettaglioPolizzaDati(h)).pipe((0,t.U)(_=>_))}getDettaglioPolizzaAvvisi(h){return this.http.get(this.routeGetDettaglioPolizzaAvvisi(h)).pipe((0,t.U)(_=>_))}getDettaglioPolizzaTrasferita(h){return this.http.get(this.routeGetDettaglioPolizzaTrasferita(h)).pipe((0,t.U)(_=>_))}getDettaglioPolizzaDocumenti(h){return this.http.get(this.routeGetDettaglioPolizzaDocumenti(h)).pipe((0,t.U)(_=>_))}downloadDettaglioPolizzaDocumento(h,_){return this.http.get(this.routeDownloadPolizzaDocumento(h,_),{responseType:"blob"}).pipe((0,t.U)(g=>g))}downloadSchedaAgenzia(h){return this.http.get(this.routeDownloadSchedaAgenzia(h),{responseType:"blob"}).pipe((0,t.U)(_=>_))}getDettaglioPolizzaMovimenti(h){return this.http.get(this.routeGetDettaglioPolizzaMovimenti(h)).pipe((0,t.U)(_=>_))}savePolizzaMovimentiVisualizzati(h){return this.http.get(this.routeSavePolizzaMovimentiVisualizzati(h)).pipe((0,t.U)(_=>_))}};let n=i;return i.\u0275fac=function(_){return new(_||i)(s.LFG(o.eN),s.LFG(a.yh))},i.\u0275prov=s.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),n})()},88332:(M,E,e)=>{e.d(E,{W:()=>s});var l=e(20866),u=e(24850),t=e(94650),c=e(80529);let s=(()=>{const a=class extends l.n{constructor(n){super(n,"api/preventivi"),this.routeGetDettaglioPolizza=i=>`${this.baseUrl}/${i}/`,this.routeGetDettaglioPolizzaDati=i=>`${this.baseUrl}/${i}/dati-principali`,this.routeGetDettaglioPolizzaTrasferita=i=>`${this.baseUrl}/${i}/dati-trasferimento`,this.routeGetDettaglioPolizzaDocumenti=i=>`${this.baseUrl}/${i}/documenti`,this.routeDownloadPolizzaDocumento=(i,m)=>`${this.baseUrl}/${i}/documenti-dettaglio?id=${m}`}getDettaglioPolizza(n){return this.http.get(this.routeGetDettaglioPolizza(n)).pipe((0,u.U)(i=>
1i))}getDettaglioPolizzaDati(n){return this.http.get(this.routeGetDettaglioPolizzaDati(n)).pipe((0,u.U)(i=>i))}getDettaglioPolizzaTrasferita(n){return this.http.get(this.routeGetDettaglioPolizzaTrasferita(n)).pipe((0,u.U)(i=>i))}getDettaglioPolizzaDocumenti(n){return this.http.get(this.routeGetDettaglioPolizzaDocumenti(n)).pipe((0,u.U)(i=>i))}downloadDettaglioPolizzaDocumento(n,i){return this.http.get(this.routeDownloadPolizzaDocumento(n,i),{responseType:"blob"}).pipe((0,u.U)(m=>m))}};let o=a;return a.\u0275fac=function(i){return new(i||a)(t.LFG(c.eN))},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),o})()},4543:(M,E,e)=>{e.d(E,{o:()=>s});var l=e(20866),u=e(24850),t=e(94650),c=e(80529);let s=(()=>{const a=class extends l.n{constructor(n){super(n,"api/firma"),this.routeDownloadDocumentoIdentita=i=>`${this.baseUrl}/documenti/${i}/documento.pdf/`,this.routeConfermaLettura=()=>`${this.baseUrl}/start/conferma`,this.routeSalvaConsensoGDPR=()=>`${this.baseUrl}/consenso/gdpr`,this.routeSalvaConsensoDocumentiElettronici=()=>`${this.baseUrl}/consenso/documentielettronici`,this.routeDocumenti=()=>`${this.baseUrl}/documenti`,this.routeGetTipiDocumenti=()=>`${this.baseUrl}/documenti/tipi`,this.routeValidaDocumento=()=>`${this.baseUrl}/documenti/documento/check`,this.routUploadDocumentoSingolo=()=>`${this.baseUrl}/documenti/documento.pdf`}getDownloadDocumentoIdentita(n){return this.http.get(this.routeDownloadDocumentoIdentita(n),{responseType:"blob"}).pipe((0,u.U)(i=>i))}confermaLettura(){return this.http.post(this.routeConfermaLettura(),null).pipe((0,u.U)(n=>n))}salvaConsensoGDPRAsync(){return this.http.post(this.routeSalvaConsensoGDPR(),null).pipe((0,u.U)(n=>n))}salvaConsensoDocumentiElettronici(n){return this.http.post(this.routeSalvaConsensoDocumentiElettronici(),n).pipe((0,u.U)(i=>i))}documenti(){return this.http.get(this.routeDocumenti()).pipe((0,u.U)(n=>n))}getTipiDocumenti(){return this.http.get(this.routeGetTipiDocumenti()).pipe((0,u.U)(n=>n))}validaDocumento(n){return this.http.post(this.routeValidaDocumento(),n).pipe((0,u.U)(i=>i))}uploadDocumentoSingolo(n){return this.http.post(this.routUploadDocumentoSingolo(),n).pipe((0,u.U)(i=>i))}};let o=a;return a.\u0275fac=function(i){return new(i||a)(t.LFG(c.eN))},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),o})()},6488:(M,E,e)=>{e.d(E,{Y:()=>c});var l=e(24850),u=e(94650),t=e(80529);let c=(()=>{const o=class{constructor(d){this.http=d,this.routeGetMappaAgenzie=(n,i)=>`https://www.vittoriaassicurazioni.com/api/poi/GetPoiByKey?tipoPuntoInteresse=${n}&key=${i}`}getMappeAgenzie(d,n){return this.http.get(this.routeGetMappaAgenzie(d,n)).pipe((0,l.U)(i=>i[0]))}};let s=o;return o.\u0275fac=function(n){return new(n||o)(u.LFG(t.eN))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),s})()},65030:(M,E,e)=>{e.d(E,{k:()=>s});var l=e(20866),u=e(24850),t=e(94650),c=e(80529);let s=(()=>{const a=class extends l.n{constructor(n){super(n,"api/pwac")}getTagliandi(n){return this.http.get(`${this.baseUrl}/contratti/${n}/tagliandi`).pipe((0,u.U)(i=>i))}postPolizzaTagliandiAttivazioneStart(n,i){return this.http.post(`${this.baseUrl}/contratti/${n}/tagliandi/attivazione/start`,i).pipe((0,u.U)(m=>m))}postPolizzaTagliandiAttivazionePremio(n,i){return this.http.post(`${this.baseUrl}/contratti/${n}/tagliandi/attivazione/premio`,i).pipe((0,u.U)(m=>m))}postPolizzaTagliandiAttivazioneConferma(n,i){return this.http.post(`${this.baseUrl}/contratti/${n}/tagliandi/attivazione/conferma`,i).pipe((0,u.U)(m=>m))}deletePolizzaTagliando(n,i){return this.http.post(`${this.baseUrl}/contratti/${n}/tagliandi/annulla`,i).pipe((0,u.U)(m=>m))}};let o=a;return a.\u0275fac=function(i){return new(i||a)(t.LFG(c.eN))},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),o})()},92257:(M,E,e)=>{e.d(E,{i:()=>t});var l=e(5154),u=e(94650);let t=(()=>{const o=class{constructor(){}static getOrCall(d,n,i=o.defaultTimerSec){if(!o.calls$[n]||!o.calls$[n].date||new Date>o.calls$[n].date){const m=new Date;m.setSeconds(m.getSeconds()+i),o.calls$[n]={obs:d.pipe((0,l.d)(1)),date:m}}return o.calls$[n].obs}};let s=o;return o.calls$={},o.defaultTimerSec=3600,o.\u0275fac=function(n){return new(n||o)}
1,o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),s})()},32697:(M,E,e)=>{e.d(E,{d:()=>c});var l=e(24006),u=e(15439);let c=(()=>{const o=class{static dateMinimum(d){return n=>{if(null==n.value)return null;const i=u(n.value,o.FORMAT_DATE);if(!i.isValid())return null;const m=u(d).startOf("day");return i.isSameOrAfter(m)?null:{"date-minimum":{"date-minimum":m.format(o.FORMAT_DATE),actual:i.format(o.FORMAT_DATE)}}}}static validateProperty(d,n){return i=>{const h=new l.p4(i.value&&i.value[d]),_=n.map(g=>g(h)).filter(g=>!!g);return _.length?{invalidProperty:_}:null}}};let s=o;return o.FORMAT_DATE="yyyy-mm-dd",s})()},41746:(M,E,e)=>{e.d(E,{$R:()=>o});var l=e(33009),u=e(66688),t=e(43489),c=e(5430),s=e(41177);function o(...h){const _=h[h.length-1];return"function"==typeof _&&h.pop(),(0,l.n)(h,void 0).lift(new a(_))}class a{constructor(_){this.resultSelector=_}call(_,g){return g.subscribe(new d(_,this.resultSelector))}}class d extends t.L{constructor(_,g,f=Object.create(null)){super(_),this.resultSelector=g,this.iterators=[],this.active=0,this.resultSelector="function"==typeof g?g:void 0}_next(_){const g=this.iterators;(0,u.k)(_)?g.push(new i(_)):g.push("function"==typeof _[c.hZ]?new n(_[c.hZ]()):new m(this.destination,this,_))}_complete(){const _=this.iterators,g=_.length;if(this.unsubscribe(),0!==g){this.active=g;for(let f=0;f<g;f++){let D=_[f];D.stillUnsubscribed?this.destination.add(D.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const _=this.iterators,g=_.length,f=this.destination;for(let v=0;v<g;v++){let r=_[v];if("function"==typeof r.hasValue&&!r.hasValue())return}let D=!1;const p=[];for(let v=0;v<g;v++){let r=_[v],P=r.next();if(r.hasCompleted()&&(D=!0),P.done)return void f.complete();p.push(P.value)}this.resultSelector?this._tryresultSelector(p):f.next(p),D&&f.complete()}_tryresultSelector(_){let g;try{g=this.resultSelector.apply(this,_)}catch(f){return void this.destination.error(f)}this.destination.next(g)}}class n{constructor(_){this.iterator=_,this.nextResult=_.next()}hasValue(){return!0}next(){const _=this.nextResult;return this.nextResult=this.iterator.next(),_}hasCompleted(){const _=this.nextResult;return Boolean(_&&_.done)}}class i{constructor(_){this.array=_,this.index=0,this.length=0,this.length=_.length}[c.hZ](){return this}next(_){const g=this.index++;return g<this.length?{value:this.array[g],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class m extends s.Ds{constructor(_,g,f){super(_),this.parent=g,this.observable=f,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[c.hZ](){return this}next(){const _=this.buffer;return 0===_.length&&this.isComplete?{value:null,done:!0}:{value:_.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(_){this.buffer.push(_),this.parent.checkIterators()}subscribe(){return(0,s.ft)(this.observable,new s.IY(this))}}}}]);

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.