PageSourceSearch

https://www.universalsompo.com/7028.cee616fa22658ef5.js

js universalsompo.com collected 2026-10-03 21:38:34 UTC 40,098 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkusgi=self.webpackChunkusgi||[]).push([[7028],{72336:(M,w,h)=>{h.d(w,{m:()=>m});var s=h(21626),n=h(45312),v=h(54438);let m=(()=>{class i{constructor(d){this.http=d,this.baseURL=n.c.apiUrl}sendOtp(d){const u=new s.Nl({fromObject:{Mob:d}});return this.http.get(this.baseURL+"SendOTP",{params:u})}verifyOtp(d){const u=new s.Nl({fromObject:{Mob:d.phone,OTP:d.otp}});return this.http.get(this.baseURL+"VerifyOTP",{params:u})}sendFeedback(d){const u=new s.Nl({fromObject:{State:d.state,Season:d.season,ApplicationNo:d.applicationNo}});return this.http.get(this.baseURL+"CheckApplicationtNo",{params:u})}sendFeedbackResolution(d){const u=new s.Nl({fromObject:{ComplaintNo:d.complaintNumber}});return this.http.get(this.baseURL+"CheckComplaintNo",{params:u})}static{this.\u0275fac=function(u){return new(u||i)(v.KVO(s.Qq))}}static{this.\u0275prov=v.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})()},79961:(M,w,h)=>{h.d(w,{z:()=>b});var s=h(45312),n=h(54438),v=h(46359),m=h(83404),i=h(60177),C=h(13816),d=h(14580);function u(p,P){}function x(p,P){if(1&p&&(n.j41(0,"accordion-group",11),n.nrm(1,"p",12),n.k0s()),2&p){const f=P.$implicit;n.FS9("heading",f.question),n.R7$(),n.FS9("innerHtml",f.answer,n.npT)}}function O(p,P){if(1&p&&(n.j41(0,"tab"),n.DNE(1,u,0,0,"ng-template",7),n.j41(2,"div",8)(3,"accordion",9),n.DNE(4,x,2,2,"accordion-group",10),n.k0s()()()),2&p){const f=n.XpG();n.R7$(3),n.Y8G("isAnimated",!0)("closeOthers",!0),n.R7$(),n.Y8G("ngForOf",f.product.productFaqs)}}let b=(()=>{class p{constructor(f,r){this.route=f,this.productDetail=r,this.cmsapiUrl=s.c.cmsapiUrl,this.product=[],this.route.params.subscribe(e=>{this.selProductId=e.id}),this.productDetail.getProducts(this.selProductId).subscribe(e=>{console.log(e),this.product=e},e=>{console.log(e)})}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||p)(n.rXU(v.nX),n.rXU(m.u))}}static{this.\u0275cmp=n.VBU({type:p,selectors:[["app-cms-faq"]],decls:10,vars:1,consts:[[1,"faq-section","pb-5"],[1,"container"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-3","mb-lg-4"],[1,"text-danger"],[1,"faq-tabs"],[1,"faq-tab-main"],[4,"ngFor","ngForOf"],["tabHeading",""],[1,"faq-tab-inner"],[1,"accordion-main",3,"isAnimated","closeOthers"],[3,"heading",4,"ngFor","ngForOf"],[3,"heading"],[1,"mb-3",3,"innerHtml"]],template:function(r,e){1&r&&(n.j41(0,"section",0)(1,"div",1)(2,"h1",2),n.EFF(3," Frequently "),n.j41(4,"span",3),n.EFF(5,"Asked"),n.k0s(),n.EFF(6," Questions "),n.k0s(),n.j41(7,"div",4)(8,"tabset",5),n.DNE(9,O,5,3,"tab",6),n.k0s()()()()),2&r&&(n.R7$(9),n.Y8G("ngForOf",e.product.productFaqs))},dependencies:[i.Sq,C.V6,C.fw,C.Bh,d.Mj,d.kt]})}}return p})()},33295:(M,w,h)=>{h.d(w,{b:()=>e});var s=h(89417),n=h(63620),v=h(56250),m=h(64804),i=h(54438),C=h(50779),d=h(45312),u=h(21626),x=h(9606);let O=(()=>{class t{constructor(l,a){this.http=l,this.oauthService=a,this.baseURL=d.c.apiUrl}postKnowMore(l,a,c){const g={Authorization:"Bearer "+this.oauthService.getAccessToken(),"content-type":"application/json","Access-Control-Allow-Origin":"*"};return console.log(c),this.http.post(this.baseURL+"RequestCallBackLead",{Name:l,ContactNumber:a,Component:c},{headers:g})}static{this.\u0275fac=function(a){return new(a||t)(i.KVO(u.Qq),i.KVO(x.TC))}}static{this.\u0275prov=i.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var b=h(60177);const p=t=>({"form-group-error":t}),P=(t,o)=>[t,o];function f(t,o){1&t&&(i.j41(0,"small",22),i.EFF(1,"Please Enter Your Name"),i.k0s())}function r(t,o){1&t&&(i.j41(0,"small",22),i.EFF(1,"Please Enter Your Mobile Number"),i.k0s())}let e=(()=>{class t{constructor(l,a){this.modalService=l,this.KnowMore=a,this.submitted=!1,this.wantToKnowMoreForm=new s.J3({phone:new s.hs(void 0,[s.k0.required]),name:new s.hs(void 0,[s.k0.required,this.noWhitespaceValidator]),accepterms:new s.hs(!0,s.k0.requiredTrue)}),this.preferredCountries=[n.ij.UnitedStates,n.ij.UnitedKingdom],this.PhoneNumberFormat=n.Hr,this.CountryISO=n.ij,this.separateDialCode=!1,this.SearchCountryField=n.XY}ngOnInit(){}noWhitespaceValidator(l){return 0!==(l.value||"").trim().length?null:{whitespace:!0}}openHighLightPopup(){this.bsmodelRef=this.modalService.show(v.U,Object.assign({}
1,{class:"hightlight-popup modal-xl"}))}onSubmitKnowMore(l){this.submitted=!0,this.name=l.value.name,this.phone=l.value.phone.internationalNumber,this.component="CMS KNOW MORE",this.KnowMore.postKnowMore(this.name,this.phone,this.component).subscribe(a=>{console.log(a),this.openThankYouPopup(l.value.name),this.onReset()},a=>{console.log(a)})}onReset(){this.submitted=!1,this.wantToKnowMoreForm.controls.name.reset(),this.wantToKnowMoreForm.controls.phone.reset()}openThankYouPopup(l){this.bsmodelRef=this.modalService.show(m.r,Object.assign({name:l},{class:"thankyou-popup modal-xl",initialState:{name:l}}))}static{this.\u0275fac=function(a){return new(a||t)(i.rXU(C.I8),i.rXU(O))}}static{this.\u0275cmp=i.VBU({type:t,selectors:[["app-cms-know-more"]],decls:30,vars:26,consts:[[1,"know-more"],[1,"know-more-form",3,"formGroup"],[1,"container"],[1,"bg-light-pink","pr-4","pl-5","py-5","d-flex","justify-content-between","align-items-center","flex-wrap"],[1,"know-more-heading","w-25","w-md-100","mb-3","mb-lg-0"],[1,"text-danger","text-bolder","montserrat-bolder","mb-0","mb-lg-3"],[1,"text-primary","text-regular","montserrat-regular","mb-1"],[1,"fs-12","text-bold","text-primary","d-none","d-lg-block"],[1,"know-more-form","w-50","w-md-100","mb-3","mb-lg-0"],[1,"form","d-flex","flex-wrap","mb-3","mb-lg-4"],[1,"form-group","mb-3","mb-lg-0",3,"ngClass"],["type","text","formControlName","name","placeholder","Enter Your Name","maxlength","26","oninput","this.value = this.value.replace(/[^a-zA-Z .]/g, '').replace(/(\\..*)\\./g, '$1');",1,"form-control","w-sm-100"],["class","err-txt text-danger",4,"ngIf"],[1,"form-group",3,"ngClass"],["formControlName","phone","customPlaceholder","Enter Mobile Number","maxLength","10",3,"cssClass","preferredCountries","enableAutoCountrySelect","enablePlaceholder","searchCountryField","selectFirstCountry","selectedCountryISO","phoneValidation","separateDialCode","numberFormat"],[1,"declartion","checkbox-dark","position-relative",3,"ngClass"],["type","checkbox","formControlName","accepterms","id","contact-declartion","checked",""],["for","contact-declartion"],[1,"tooltiptext"],[1,"request-btn","btn-control","w-25","w-md-100","mx-auto","text-center"],[1,"btn","btn-danger","mb-2",3,"click","disabled"],[1,"fs-12","text-bold","text-primary","d-block","d-lg-none"],[1,"err-txt","text-danger"]],template:function(a,c){if(1&a&&(i.j41(0,"div",0)(1,"form",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h4",5),i.EFF(6,"Want to know More?"),i.k0s(),i.j41(7,"h6",6),i.EFF(8,"We can call you back"),i.k0s(),i.j41(9,"span",7),i.EFF(10,"24*7 Available"),i.k0s()(),i.j41(11,"div",8)(12,"div",9)(13,"div",10),i.nrm(14,"input",11),i.DNE(15,f,2,0,"small",12),i.k0s(),i.j41(16,"div",13),i.nrm(17,"ngx-intl-tel-input",14),i.DNE(18,r,2,0,"small",12),i.k0s()(),i.j41(19,"div",15),i.nrm(20,"input",16),i.j41(21,"label",17),i.EFF(22,"I hereby authorize Universal Sompo General Insurance to contact me on my given mobile number."),i.k0s(),i.j41(23,"div",18),i.EFF(24," Please agree to terms and conditions to continue. "),i.k0s()()(),i.j41(25,"div",19)(26,"button",20),i.bIt("click",function(){return c.onSubmitKnowMore(c.wantToKnowMoreForm)}),i.EFF(27,"Request a Call Back"),i.k0s(),i.j41(28,"span",21),i.EFF(29,"24*7 Available"),i.k0s()()()()()()),2&a){let g,y,_,T,S;i.R7$(),i.Y8G("formGroup",c.wantToKnowMoreForm),i.R7$(12),i.Y8G("ngClass",i.eq3(17,p,(null==(g=c.wantToKnowMoreForm.get("name"))?null:g.invalid)&&((null==(g=c.wantToKnowMoreForm.get("name"))?null:g.dirty)||(null==(g=c.wantToKnowMoreForm.get("name"))?null:g.touched))
1)),i.R7$(2),i.Y8G("ngIf",(null==(y=c.wantToKnowMoreForm.get("name"))?null:y.invalid)&&((null==(y=c.wantToKnowMoreForm.get("name"))?null:y.dirty)||(null==(y=c.wantToKnowMoreForm.get("name"))?null:y.touched))),i.R7$(),i.Y8G("ngClass",i.eq3(19,p,(null==(_=c.wantToKnowMoreForm.get("phone"))?null:_.errors)&&(null==(_=c.wantToKnowMoreForm.get("phone"))?null:_.touched))),i.R7$(),i.Y8G("cssClass","intl-tel-number contact-number form-control w-sm-100")("preferredCountries",c.preferredCountries)("enableAutoCountrySelect",!0)("enablePlaceholder",!1)("searchCountryField",i.l_i(21,P,c.SearchCountryField.Iso2,c.SearchCountryField.Name))("selectFirstCountry",!1)("selectedCountryISO",c.CountryISO.India)("phoneValidation",!0)("separateDialCode",!1)("numberFormat",c.PhoneNumberFormat.National),i.R7$(),i.Y8G("ngIf",(null==(T=c.wantToKnowMoreForm.get("phone"))?null:T.errors)&&(null==(T=c.wantToKnowMoreForm.get("phone"))?null:T.touched)),i.R7$(),i.Y8G("ngClass",i.eq3(24,p,null==(S=c.wantToKnowMoreForm.get("accepterms"))?null:S.invalid)),i.R7$(7),i.Y8G("disabled",!c.wantToKnowMoreForm.valid)}},dependencies:[b.YU,b.bT,s.qT,s.me,s.Zm,s.BC,s.cb,s.tU,s.j4,s.JD,n.NA,n.ZP],styles:[".know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]{border-radius:32px;box-shadow:10px 10px #ffe9d4}.know-more-heading[_ngcontent-%COMP%]{max-width:250px}.know-more-heading[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{line-height:36px}.know-more-heading[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{line-height:24px}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{max-width:calc(50% - 17.5px)}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:first-of-type{margin-right:35px}.declartion.checkbox-dark[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:75%;display:flex;font-size:14px;line-height:17px;color:#707070;font-family:montserrat-medium}.request-btn[_ngcontent-%COMP%]   .btn-danger[_ngcontent-%COMP%]{padding:8.5px 33px;font-size:18px}@media (max-width: 1200px) and (min-width: 992px){.know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]{padding:48px 24px 48px 35px!important}.know-more-form[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.know-more-form[_ngcontent-%COMP%]   .form[_ngcontent-%COMP%]{justify-content:space-between!important}.know-more-form[_ngcontent-%COMP%]   .form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:48%;max-width:inherit}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:first-of-type{margin-right:15px}.declartion.checkbox-dark[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:100%}.request-btn[_ngcontent-%COMP%]   .btn-danger[_ngcontent-%COMP%]{margin:0!important}}@media (max-width: 768px) and (min-width: 576px){.know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]{width:98%;padding:16px 12px 7px!important;text-align:center;flex-direction:column;box-shadow:7px 7px #ffe9d4}.know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]   .w-25[_ngcontent-%COMP%], .know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]   .w-50[_ngcontent-%COMP%]{width:100%!important}.know-more-heading[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{line-height:20px}.request-btn[_ngcontent-%COMP%]   .btn-danger[_ngcontent-%COMP%]{font-size:16px;line-height:21px}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:47%}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:first-of-type{margin-right:30px!important}.declartion.checkbox-dark[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:100%;font-size:10px;line-height:14px;text-align:left}.declartion[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]:after{width:20px;height:20px;top:0}}@media (max-width: 575px) and (min-width: 320px){.know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]{width:98%;padding:16px 12px 7px!important;text-align:center;flex-direction:column;box-shadow:7px 7px #ffe9d4}.know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]   .w-25[_ngcontent-%COMP%], .know-more[_ngcontent-%COMP%]   .bg-light-pink[_ngcontent-%COMP%]   .w-50[_ngcontent-%COMP%]{width:100%!important}
1.know-more-heading[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{line-height:20px}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{max-width:100%}.request-btn[_ngcontent-%COMP%]   .btn-danger[_ngcontent-%COMP%]{font-size:16px;line-height:21px}.know-more-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:first-of-type{margin-right:0}.declartion.checkbox-dark[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:100%;font-size:10px;line-height:14px;text-align:left}.declartion[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]:after{width:20px;height:20px;top:0}}"]})}}return t})()},95396:(M,w,h)=>{h.d(w,{L:()=>v});var s=h(54438),n=h(50779);let v=(()=>{class m{constructor(C){this.modalService=C,this.name=""}ngOnInit(){this.input=this.modalService.config.initialState,this.name=this.input.name}closePopup(){this.modalService.hide()}static{this.\u0275fac=function(d){return new(d||m)(s.rXU(n.I8))}}static{this.\u0275cmp=s.VBU({type:m,selectors:[["app-contact-callcenter"]],decls:8,vars:0,consts:[[1,"popup-wrapper"],[1,"popup-body"],[1,"thankyou-popup-main"],[1,"montserrat-medium","text-medium","fs-18","text-black","mb-2"],["href","JavaScript:;","aria-label","Close",1,"close","text-link","montserrat-regular","text-regular",3,"click"],["src","./assets/images/icons/popup-back-btn.svg","alt","Back",1,"img-fluid"]],template:function(d,u){1&d&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),s.EFF(4,"For Claim Intimation Please Contact Our Callcenter"),s.k0s(),s.j41(5,"a",4),s.bIt("click",function(){return u.closePopup()}),s.nrm(6,"img",5),s.EFF(7," Back to my page "),s.k0s()()()())}})}}return m})()},26478:(M,w,h)=>{h.d(w,{Z2:()=>p});var s=h(31635),n=h(54438);class v{constructor(e){this.eventType=void 0,this.handlers={},this.startX=0,this.startY=0,this.lastTap=0,this.doubleTapMinTimeout=300,this.tapMinTimeout=200,this.touchstartTime=0,this.i=0,this.isMousedown=!1,this.touchListeners={touchstart:"handleTouchstart",touchmove:"handleTouchmove",touchend:"handleTouchend"},this.mouseListeners={mousedown:"handleMousedown",mousemove:"handleMousemove",mouseup:"handleMouseup",wheel:"handleWheel"},this.otherListeners={resize:"handleResize"},this.handleTouchstart=t=>{this.elementPosition=this.getElementPosition(),this.touchstartTime=(new Date).getTime(),void 0===this.eventType&&this.getTouchstartPosition(t),this.runHandler("touchstart",t)},this.handleTouchmove=t=>{switch(this.detectPan(t.touches)&&this.runHandler("pan",t),this.detectPinch(t)&&this.runHandler("pinch",t),this.detectLinearSwipe(t)){case"horizontal-swipe":t.swipeType="horizontal-swipe",this.runHandler("horizontal-swipe",t);break;case"vertical-swipe":t.swipeType="vertical-swipe",this.runHandler("vertical-swipe",t)}(this.detectLinearSwipe(t)||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)&&this.handleLinearSwipe(t)},this.handleTouchend=t=>{const o=t.touches;this.detectDoubleTap()&&this.runHandler("double-tap",t),this.detectTap(),this.runHandler("touchend",t),this.eventType="touchend",o&&0===o.length&&(this.eventType=void 0,this.i=0)},this.handleMousedown=t=>{this.isMousedown=!0,this.elementPosition=this.getElementPosition(),this.touchstartTime=(new Date).getTime(),void 0===this.eventType&&this.getMousedownPosition(t),this.runHandler("mousedown",t)},this.handleMousemove=t=>{if(this.isMousedown){switch(this.runHandler("pan",t),this.detectLinearSwipe(t)){case"horizontal-swipe":t.swipeType="horizontal-swipe",this.runHandler("horizontal-swipe",t);break;case"vertical-swipe":t.swipeType="vertical-swipe",this.runHandler("vertical-swipe",t)}(this.detectLinearSwipe(t)||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)&&this.handleLinearSwipe(t)}},this.handleMouseup=t=>{this.detectTap(),this.isMousedown=!1,this.runHandler("mouseup",t),this.eventType=void 0,this.i=0},this.handleWheel=t=>{this.runHandler("wheel",t)},this.handleResize=t=>{this.runHandler("resize",t)},this.properties=e,this.element=this.properties.element,this.elementPosition=this.getElementPosition(),this.toggleEventListeners("addEventListener")}destroy(){this.toggleEventListeners("removeEventListener")}toggleEventListeners(e){let t;for(var o in t="mouse and touch"===this.properties.listeners?Object.assign(this.touchListeners,this.mouseListeners):this.detectTouchScreen()?this.touchListeners:this.mouseListeners,this.properties.resize&&(t=Object.assign(t,this.otherListeners)),t){const l=t[o];"resize"===o?("addEventListener"===e&&window.addEventListener(o,this[l],!1),"removeEventListener"===e&&window.removeEventListener(o,this[l],!1)):"mouseup"===o||"mousemove"===o?("addEventListener"===e&&document.addEventListener(o,this[l],!1),"removeEventListener"===e&&document.removeEventListener(o,this[l],!1)):("addEventListener"===e&&this.element.addEventListener(o,this[l],!1),"removeEventListener"===e&&this.element.removeEventListener(o,this[l],!1))}}handleLinearSwipe(e){this.i++,this.i>3&&(this.eventType=this.getLinearSwipeType(e)),"horizontal-swipe"===this.eventType&&this.runHandler("horizontal-swipe",e),"vertical-swi
1pe"===this.eventType&&this.runHandler("vertical-swipe",e)}runHandler(e,t){this.handlers[e]&&this.handlers[e](t)}detectPan(e){return 1===e.length&&!this.eventType||"pan"===this.eventType}detectDoubleTap(){if(null!=this.eventType)return;const e=(new Date).getTime(),t=e-this.lastTap;if(clearTimeout(this.doubleTapTimeout),t<this.doubleTapMinTimeout&&t>0)return!0;this.doubleTapTimeout=setTimeout(()=>{clearTimeout(this.doubleTapTimeout)},this.doubleTapMinTimeout),this.lastTap=e}detectTap(){if(null!=this.eventType)return;const t=(new Date).getTime()-this.touchstartTime;t>0&&this.runHandler(t<this.tapMinTimeout?"tap":"longtap",event)}detectPinch(e){return 2===e.touches.length&&void 0===this.eventType||"pinch"===this.eventType}detectLinearSwipe(e){const t=e.touches;if(t){if(1===t.length&&!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)}else if(!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)}getLinearSwipeType(e){if("horizontal-swipe"!==this.eventType&&"vertical-swipe"!==this.eventType){const t=Math.abs(this.moveLeft(0,e)-this.startX);return 3*Math.abs(this.moveTop(0,e)-this.startY)>t?"vertical-swipe":"horizontal-swipe"}return this.eventType}getElementPosition(){return this.element.getBoundingClientRect()}getTouchstartPosition(e){this.startX=e.touches[0].clientX-this.elementPosition.left,this.startY=e.touches[0].clientY-this.elementPosition.top}getMousedownPosition(e){this.startX=e.clientX-this.elementPosition.left,this.startY=e.clientY-this.elementPosition.top}moveLeft(e,t){const o=t.touches;return o?o[e].clientX-this.elementPosition.left:t.clientX-this.elementPosition.left}moveTop(e,t){const o=t.touches;return o?o[e].clientY-this.elementPosition.top:t.clientY-this.elementPosition.top}detectTouchScreen(){var e=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window)return!0;var o=["(",e.join("touch-enabled),("),"heartz",")"].join("");return window.matchMedia(o).matches}on(e,t){e&&(this.handlers[e]=t)}}class m{constructor(e){this.initialPositionX=0,this.newContainerPositionIndex=0,this.preliminarySlideCounter=0,this.slideCounter=0,this.previousSlideCounter=0,this.isContentImages=!0,this.isLazyLoad=!0,this.isContainerLocked=!1,this.alignCells="left",this.initialContainerPosition=0,this.handleTouchstart=t=>{if(this.isTouchstart=!0,this.isSlideInProgress)return;const o=t.touches;this.startX=o?o[0].clientX-this.getCarouselElementPosition().left:t.clientX-this.getCarouselElementPosition().left,this.containerInitialPositionX=this.getElementPosition().left-this.getCarouselElementPosition().left,this.isMoveInProgress=!0},this.handleHorizontalSwipe=t=>{if(this.isSlideInProgress)return;const o=t.touches;this.moveX=o?o[0].clientX-this.getCarouselElementPosition().left:t.clientX-this.getCarouselElementPosition().left,this.distanceAbs=this.getDistanceAbs(),this.direction=this.getDirection(),this.moveContainer()},this.handleTouchend=t=>{!this.isSlideInProgress&&this.isTouchstart?(this.isMoveInProgress=!1,this.detectSlide()?this.handleSlide():(this.newContainerPositionIndex=0,this.alignContainer()),this.startX=this.moveX=this.distanceAbs=void 0,this.isTouchstart=!1):this.isTouchstart=!1},this.element=e.element,this.properties=e,this.cells=this.element.children,this.visibleWidth=this.properties.visibleWidth||this.element.parentElement.clientWidth,this.setContainerWidth(),this.alignContainer(0)}get isFirstCell(){return 0===this.slideCounter}get lastCellIndex(){return this.images.length?this.images.length-1:this.cells.length-1}get overflowCellsLimit(){return this.properties.overflowCellsLimit}get cellLimit(){return this.visibleCellsCount+2*this.overflowCellsLimit}get images(){return this.properties.images}get margin(){return this.properties.margin}get minSwipeDistance(){return this.properties.minSwipeDistance}get transitionDuration(){return this.properties.transitionDuration}get transitionTimingFunction(){return this.properties.transitionTimingFunction}get fullCellWidth(){return this.properties.cellWidth+this.margin}get visibleCellsCount(){return Math.ceil(this.visibleWidth/this.fullCellWidth)}get lapCounter(){return Math.floor(this.slideCounter/this.totalContainerCellsCount)}get visibleCellsOverflowContainer(){return this.visibleCellsCount*this.fullCellWidth-this.margin>this.visibleWidth}moveContainer(){let e=this.getMovePositionX();this.transformPositionX(e,0)}getMovePositionX(){const e=this.getDistance();return this.containerInitialPositionX-e}alignContainer(e=this.transitionDuration){let t=this.getContainerPosition();this.transformPositionX(t,e),this.setInitialContainerPosition(t)}getContainerPosition(){let e=this.getContainerPositionCorrection();return this.isContainerPositionCorrection=0!=e,this.initialContainerPosition+this.newContainerPositionIndex*this.fullCellWidth+e}setInitialContainerPosition(e){let t=this.getContainerPositionCorrection();this.initialContainerPosition=e-t}getContainerPositionCorrection(){let e=0;return(this.images.length-this.preliminarySlideCounter<this.visibleCellsCount||this.isSlideLengthLimited)&&(this.visibleWidth<this.totalContainerCellsCount*this.fullCellWidth&&(e=-(this.visibleCellsCount*this.fullCellWidth-this.visibleWidth-this.margin)),e>=-this.margin&&(e=0)),e}quicklyPositionContainer(){let e=this.getContainerPositionCorrection();const t=this.getNewContainerPosition()+e;this.transformPositionX(t,0),this.setInitialContainerPosition(t)}getNewContainerPosition(){return this.slideCounter>this.overflowCellsLimit&&"left"===this.alignCells?(this.lineUpCells(),-this.overflowCellsLimit*this.fullCellWidth):this.slideCounter<=this.overflowCellsLimit?(this.previousSlideCounter>this.overflowCellsLimit&&this.lineUpCells(),-this.slideCounter*this.fullCellWidth):void 0}setContainerWidth(){const e=this.getContainerWidth();this.element.style.width=e+"px"}getContainerWidth(){this.totalContainerCellsCount=this.visibleCellsCount+2*this.overflowCellsLimit;let e=this.totalContainerCellsCount*this.fullCellWidth,t=this.images.length*this.fullCellWidth;return t<e&&(e=t),e}getFile(e){let t=this.getFileIndex(e),o=this.images[t];return o&&!o.type&&(o.type="image"),{image:this.images[t],imageIndex:t}}getFileIndex(e){const t=this.getPositionIndex(e);let l;
1return this.isContainerLocked?("left"===this.alignCells&&(l=this.slideCounter>this.overflowCellsLimit?t+(this.slideCounter-this.overflowCellsLimit):e),!(l>this.lastCellIndex)&&l):this.slideCounter<=this.overflowCellsLimit?e:(l=t+(this.slideCounter-this.overflowCellsLimit),l)}transformPositionX(e,t=this.transitionDuration){this.element.style.transition="transform "+t+"ms "+this.transitionTimingFunction,this.element.style.transform="translateX("+e+"px)"}detectSlide(){return this.distanceAbs>=this.minSwipeDistance}next(){this.isSlideInProgress||(this.direction="left",this.handleSlide(1))}prev(){this.isSlideInProgress||(this.direction="right",this.handleSlide(1))}select(e){this.slideCounter=e,this.quicklyPositionContainer()}handleSlide(e=void 0){this.slideLength=this.getSlideLength(),this.slideLength=e||this.limitSlideLength(this.slideLength),"left"===this.direction&&!this.isSlideInProgress&&(this.preliminarySlideCounter=this.slideCounter+this.slideLength,this.detectLastSlide(this.slideCounter+this.slideLength)||(this.newContainerPositionIndex=this.newContainerPositionIndex-this.slideLength,this.isSlideInProgress=!0,this.isLazyLoad&&(this.isContainerLocked=this.preliminarySlideCounter>this.overflowCellsLimit,this.detectContainerUnlock()&&(this.isContainerLocked=!1)))),"right"===this.direction&&!this.isSlideInProgress&&(this.slideCounter-this.slideLength<0&&(this.slideLength=this.slideCounter),this.preliminarySlideCounter=this.slideCounter-this.slideLength,this.isFirstCell||(this.newContainerPositionIndex=this.newContainerPositionIndex+this.slideLength,this.isSlideInProgress=!0,this.isLazyLoad&&(this.isContainerLocked=this.preliminarySlideCounter>this.overflowCellsLimit,this.detectContainerUnlock()&&(this.isContainerLocked=!1)))),this.alignContainer()}getSlideLength(){let e=this.getContainerPositionCorrection(),t=Math.floor((this.distanceAbs+e)/this.fullCellWidth);return this.distanceAbs%this.fullCellWidth>=this.minSwipeDistance&&t++,t}limitSlideLength(e){if(e>1)for(var t=0;t<e;t++)if(!this.detectLastSlide(this.slideCounter+(e-t))){e-=t,this.isSlideLengthLimited=t>0;break}return e}detectLastSlide(e){return this.images.length-e<this.visibleCellsCount}isNextArrowDisabled(){return this.visibleCellsOverflowContainer?this.detectLastSlide(this.slideCounter+1)&&this.isContainerPositionCorrection:this.detectLastSlide(this.slideCounter+1)}isPrevArrowDisabled(){return 0===this.slideCounter}detectContainerUnlock(){return this.images.length-this.preliminarySlideCounter<this.visibleCellsCount+this.overflowCellsLimit}handleSlideEnd(){this.isSlideInProgress&&(this.transformSlideEnd(),this.isSlideInProgress=!1,this.newContainerPositionIndex=0,this.isSlideLengthLimited=void 0)}transformSlideEnd(){this.isLazyLoad&&(this.setSlideCounter(),this.quicklyPositionContainer()),this.previousSlideCounter=this.slideCounter}setSlideCounter(){"left"===this.direction&&(this.slideCounter=this.slideCounter+this.slideLength),"right"===this.direction&&(this.slideCounter=this.slideCounter-this.slideLength),this.direction=void 0,this.slideLength=0}resetTransition(){this.element.style.transition=""}getElementPosition(){return this.element.getBoundingClientRect()}getCarouselElementPosition(){return this.properties.container.getBoundingClientRect()}getDistance(){return this.startX-this.moveX}getDistanceAbs(){return Math.abs(this.startX-this.moveX)}getDirection(){const e=Math.sign(this.startX-this.moveX);return-1===e?"right":1===e?"left":void 0}lineUpCells(){const e=this.element.children;for(var t=0;t<e.length;t++){let o=e[t],l=this.getCellPositionX(t);o.style.transform="translateX("+l+"px)"}}getCellPositionX(e){return this.getPositionIndex(e)*this.fullCellWidth}getPositionIndex(e){let o,t=this.slideCounter-this.overflowCellsLimit;return t>this.totalContainerCellsCount&&(t%=this.totalContainerCellsCount),t<0?e:(o=e-t,o<0&&(o=this.totalContainerCellsCount+o),o)}get containerOverflowRightCount(){let e=this.images.length-this.totalContainerCellsCount,t=0;return e>0&&(t=e-(this.previousSlideCounter-this.overflowCellsLimit)),t}getCenterPositionIndex(){return(this.totalContainerCellsCount-1)/2}}let C=(()=>{let r=class{constructor(t,o,l){this.elementRef=t,this.ref=o,this.overlayEventService=l,this.minTimeout=30,this._cellWidth=200,this._transitionDuration=200,this.events=new n.bkB,this.height=200,this.margin=10,this.objectFit="cover",this.minSwipeDistance=50,this.transitionTimingFunction="ease",this.counterSeparator=" / ",this.overflowCellsLimit=3,this.listeners="mouse and touch",this.arrows=!0,this.arrowsTheme="light",this.hostClassCarousel=!0,this.handleTouchstart=a=>{a.preventDefault(),this.carousel.handleTouchstart(a),this.isMoving=!0,this.events.emit({type:"touchstart",event:a})},this.handleHorizontalSwipe=a=>{a.preventDefault(),this.carousel.handleHorizontalSwipe(a),this.events.emit({type:"swipe",event:a})},this.handleTouchend=a=>{this.carousel.handleTouchend(a),this.isMoving=!1,this.events.emit({type:"touchend",event:a})},this.handleTap=a=>{const g=this.carousel.currentCellIndex,y=this.carousel.getFileIndex(this.carousel.slideCounter),_=this.carousel.getFile(g);this.events.emit({type:"click",file:_,index:y})}}get isLandscape(){return window.innerWidth>window.innerHeight}get isSafari(){const t=navigator.userAgent.toLowerCase();if(-1!==t.indexOf("safari"))return!(t.indexOf("chrome")>-1)}get counter(){return this.carousel.slideCounter+1+this.counterSeparator+this.images.length}set images(t){this._images=t}get images(){return this._images}get isNgContent(){return this.elementRef.nativeElement.querySelector(".carousel-content-wrapper").children.length>0}set transitionDuration(t){this._transitionDuration=t}get transitionDuration(){return 0===this._transitionDuration?1:this._transitionDuration}set cellWidth(t){t&&(this._cellWidth=t)}set isCounter(t){t&&(this._isCounter=t)}get isCounter(){return this._isCounter&&this.images.length>1}set overlayProperties(t){this._properties=t,this._images=this._properties.metadata.images,this._cellWidth=this._properties.metadata.width,this.height=this._properties.metadata.height,this.objectFit=this._properties.metadata.objectFit,this.margin=this._properties.metadata.margin,this.transitionDuration=this._properties.metadata.transitionDuration,this.overflowCellsLimit=this._properties.metadata.overflowCellsLimit,this.minSwipeDistance=this._properties.metadata.minSwipeDistance,this.transitionTimingFunction=this._properties.metadata.transitionTimingFunction,this._isCounter=this._properties.metadata.counter,this.counterSeparator=this._properties.metadata.counterSeparator,this.arrows=this._properties.metadata.arrows}get properties(){return this._properties}get cellLimit(){if(this.carousel)return this.carousel.cellLimit}onWindowResize(t){this.landscapeMode=this.isLandscape,this.ref.detectChanges(),this.initCarousel(),this.carousel.lineUpCells()}ngOnInit(){this.touches=new v({element:this.elementRef.nativeElement.querySelector(".carousel-cells"),listeners:this.listeners}),this.touches.on("touchstart",this.handleTouchstart),this.touches.on("horizontal-swipe",this.handleHorizontalSwipe),this.touches.on("touchend",this.handleTouchend),this.touches.on("mousedown",this.handleTouchstart),this.touches.on("mouseup",this.handleTouchend),this.touches.on("tap",this.handleTap),this.initCarousel(),this.setDimensions(),this.setInitialIndex()}ngAfterViewInit(){this.carousel.lineUpCells()}ngOnChanges(t){(t.width||t.height)&&(this.setDimensions(),this.initCarousel(),this.carousel.lineUpCells())}ngOnDestroy(){this.touches.destroy()}initCarousel(){this.carousel=new m({element:this.elementRef.nativeElement.querySelector(".carousel-cells"),container:this.elementRef.nativeElement,images:this.images,cellWidth:this.getCellWidth(),overflowCellsLimit:this.overflowCellsLimit,visibleWidth:this.width,margin:this.margin,minSwipeDistance:this.minSwipeDistance,transitionDuration:this.transitionDuration,transitionTimingFunction:this.transitionTimingFunction,videoProperties:this.videoProperties})}setDimensions(){this.hostStyleHeight=this.height+"px",this.hostStyleWidth=this.width+"px"}getFile(t){return this.carousel.getFile(t)}handleTransitionendCellContainer(t){this.carousel.handleSlideEnd()}toggleVideo(t){event.preventDefault(),!this.videoProperties.noPlay&&(t.paused?(t.play(),this.isVideoPlaying=!0):(t.pause(),this.isVideoPlaying=!1),this.ref.detectChanges())}getCurrentIndex(){return this.carousel.slideCounter}getCellWidth(){return"100%"===this._cellWidth?this.elementRef.nativeElement.clientWidth:this._cellWidth}next(){this.carousel.next(1)}prev(){this.carousel.prev(1)}select(t){this.carousel.select(t)}isNextArrowDisabled(){return this.carousel.isNextArrowDisabled()}isPrevArrowDisabled(){return this.carousel.isPrevArrowDisabled()}close(){this.overlayEventService.emitChangeEvent({type:"Hide"})}setInitialIndex(){null!=this._properties.metadata.index&&this.select(this._properties.metadata.index)}};return(0,s.Cg)([(0,n.pde)()],r.prototype,"images",null),(0,s.Cg)([(0,n.k7i)()],r.prototype,"events",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"height",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"width",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"borderRadius",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"margin",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"objectFit",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"minSwipeDistance",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"transitionDuration",null),(0,s.Cg)([(0,n.pde)()],r.prototype,"transitionTimingFunction",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"videoProperties",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"counterSeparator",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"overflowCellsLimit",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"listeners",void 0),(0,s.Cg)([(0,n.pde)("cellWidth")],r.prototype,"cellWidth",null),(0,s.Cg)([(0,n.pde)("counter")],r.prototype,"isCounter",null),(0,s.Cg)([(0,n.pde)()],r.prototype,"arrows",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"arrowsOutside",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"arrowsTheme",void 0),(0,s.Cg)([(0,n.pde)()],r.prototype,"overlayProperties",null),(0,s.Cg)([(0,n.g$6)("class.carousel")],r.prototype,"hostClassCarousel",void 0),(0,s.Cg)([(0,n.g$6)("style.height")],r.prototype,"hostStyleHeight",void 0),(0,s.Cg)([(0,n.g$6)("style.width")],r.prototype,"hostStyleWidth",void 0),(0,s.Cg)([(0,n.Z$l)("window:resize",["$event"])],r.prototype,"onWindowResize",null),r=(0,s.Cg)([(0,n.uAl)({selector:"carousel, [carousel]",exportAs:"carousel",template:'<div class="carousel-backdrop"></div>\n\n<div class="carousel-close" (click)="close()"></div>\n\n<div class="carousel-counter" *ngIf="isCounter">{{counter}}</div>\n\n<div class="carousel-container" [class.carousel-moving]="isMoving">\n\t<div class="carousel-cells" (transitionend)="handleTransitionendCellContainer($event)">\n\t\t<ng-template ngFor let-image [ngForOf]="images" let-i="index">\n\t\t\t<div class="carousel-cell" \n\t\t\t\t*ngIf="i < cellLimit" \n\t\t\t\t[style.width]="getCellWidth()+\'px\'"\n\t\t\t\t[style.border-radius]="borderRadius+\'px\'">\n\t\t\t\t\x3c!-- Image --\x3e\n\t\t\t\t<img \n\t\t\t\t\t*ngIf="getFile(i) && getFile(i)[\'image\']" \n\t\t\t\t\t[src]="getFile(i)[\'image\'][\'path\']"\n\t\t\t\t\t[style.object-fit]="objectFit"\n\t\t\t\t\tdraggable="false" />\n\n\t\t\t\t\x3c!-- Video --\x3e\n\t\t\t\t<ng-template [ngIf]="getFile(i) && getFile(i)[\'type\'] === \'video\'">\n\t\t\t\t\t<div class="carousel-play" (click)="toggleVideo(video)"></div>\n\n\t\t\t\t\t<video #video\n\t\t\t\t\t\t[loop]="videoProperties.loop"\n\t\t\t\t\t\t[muted]="videoProperties.muted"\n\t\t\t\t\t\t[controls]="isSafari"\n\t\t\t\t\t\t[style.object-fit]="objectFit"\n\t\t\t\t\t\t[style.border-radius]="borderRadius+\'px\'">\n\t\t\t\t\t\t\n\t\t\t\t\t\t<source [src]="getFile(i)[\'path\']" type="video/mp4">\n\t\t\t\t\t</video>\n\t\t\t\t</ng-template>\n\t\t\t</div>\n\t\t</ng-template>\n\t</div>\n</div>\n\n<div class="carousel-arrows" \n\t[class.carousel-arrows-outside]="arrowsOutside" \n\t[class.carousel-dark-arrows]="arrowsTheme === \'dark\'"\n\t*ngIf="arrows">\n\t\n\t<div class="carousel-arrow carousel-arrow-prev" [class.carousel-arrow-disabled]="isPrevArrowDisabled()" (click)="prev()"></div>\n\t<div class="carousel-arrow carousel-arrow-next" [class.carousel-arrow-disabled]="isNextArrowDisabled()" (click)="next()"></div>\n</div>',styles:[":host{position:relative;display:block;top:0;left:0;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10000;transform-origin:top left;box-sizing:border-box}:host .carousel-container{overflow:hidden;width:100%;height:100%;cursor:-webkit-grab;cursor:grab}:host .carousel-container.carousel-moving{cursor:-webkit-grabbing;cursor:grabbing}:host .carousel-counter{text-align:right;position:absolute;z-index:30;transition:opacity .2s;top:15px;left:10px;border-radius:13px;background-color:rgba(23,37,68,.3);font-size:13px;color:#fff;padding:5px 7px;line-height:initial}:host .carousel-cells{transition:transform .2s;width:100%;height:100%;display:block}:host .carousel-cells ::ng-deep .carousel-cell.swiper-prev-image{transform:translate3d(-100%,0,0)}
1:host .carousel-cells ::ng-deep .carousel-cell.swiper-next-image{transform:translate3d(100%,0,0)}:host .carousel-cells ::ng-deep .carousel-cell{width:100%;height:100%;text-align:center;position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden}:host .carousel-cells ::ng-deep .carousel-cell img,:host .carousel-cells ::ng-deep .carousel-cell video{width:100%;height:100%;position:relative;-o-object-fit:contain;object-fit:contain}:host .carousel-cells ::ng-deep .carousel-cell img.swiper-hide{display:none}:host .carousel-cells ::ng-deep .carousel-cell .carousel-play{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}:host .carousel-arrow{width:40px;height:40px;background-color:#fff;background-repeat:no-repeat;background-size:31px;background-position:center;border-radius:100px;position:absolute;top:50%;margin-top:-20px;z-index:10;cursor:pointer;box-shadow:0 0 5px rgba(0,0,0,.15)}:host .carousel-arrow-prev{left:10px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNMTUuNDEgMTYuNTlMMTAuODMgMTJsNC41OC00LjU5TDE0IDZsLTYgNiA2IDYgMS40MS0xLjQxeiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMFYweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==)}:host .carousel-arrow-next{right:10px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNOC41OSAxNi41OUwxMy4xNyAxMiA4LjU5IDcuNDEgMTAgNmw2IDYtNiA2LTEuNDEtMS40MXoiLz48cGF0aCBkPSJNMCAwaDI0djI0SDBWMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=)}:host .carousel-arrows-outside .carousel-arrow-prev{left:-60px}:host .carousel-arrows-outside .carousel-arrow-next{right:-60px}:host .carousel-dark-arrows .carousel-arrow{-webkit-filter:invert(1);filter:invert(1)}:host .carousel-arrow-disabled{cursor:default;opacity:.5}:host .carousel-close{position:fixed;top:10px;right:10px;width:40px;height:40px;z-index:100;cursor:pointer;background-repeat:no-repeat;background-size:31px;background-position:center;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNMTkgNi40MUwxNy41OSA1IDEyIDEwLjU5IDYuNDEgNSA1IDYuNDEgMTAuNTkgMTIgNSAxNy41OSA2LjQxIDE5IDEyIDEzLjQxIDE3LjU5IDE5IDE5IDE3LjU5IDEzLjQxIDEyeiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=);-webkit-filter:invert(1);filter:invert(1)}:host .carousel-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000;opacity:.5}"]})],r),r})();const b={transitionDuration:400,minSwipeDistance:50,transitionTimingFunction:"ease",counterSeparator:" / ",arrows:!0};let p=(()=>{let r=class{constructor(t,o){this.overlay=t,this.overlayEventService=o}load(t){t=this.applyPropertieDefaults(b,t),this.overlay.load({id:"gallery",mainComponent:C,width:document.body.clientWidth+"px",overlayBackdrop:!0,position:"fixed",metadata:{images:t.images,index:t.index,width:document.body.clientWidth,height:window.innerHeight,objectFit:"none",margin:0,transitionDuration:t.transitionDuration,overflowCellsLimit:1,transitionTimingFunction:t.transitionTimingFunction,counter:t.counter,counterSeparator:t.counterSeparator,arrows:t.arrows,minSwipeDistance:t.minSwipeDistance}})}close(){this.overlayEventService.emitChangeEvent({type:"Hide"})}applyPropertieDefaults(t,o){for(var l in o||(o={}),o)void 0===o[l]&&delete o[l];return this._defaultProperties=Object.assign({},t),Object.assign(this._defaultProperties,o)}};return r=(0,s.Cg)([(0,n._qm)()],r),r})()}}]);

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.