PageSourceSearch

https://laportadacqua.com/it/1220.6354674608254c5c.js

js laportadacqua.com collected 2026-10-06 02:17:31 UTC 19,651 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklpda2=self.webpackChunklpda2||[]).push([[1220],{3632:(A,p,n)=>{n.r(p),n.d(p,{DuplicateDishModule:()=>J});var i=n(1236),C=n(7552),e=n(4496),h=n(3480),a=n(1712),g=n(1128),o=n(5820),t=n(6504),s=n(9852),r=n(3616),u=n(4704),f=n(6684),c=n(8824),P=n(8256),v=n(8392),$=n(9938),d=n(9956),O=n(8212),l=n(8976),m=n(9880),S=n(1512),N=n(7692),L=n(3580),y=n(2204),U=n(9088),Y=n(8676),j=n(2368);function F(I,H){if(1&I&&(e.I0R(0,"div",6)(1,"p",17),e.aS0(2,18),e.C$Y(),e.I0R(3,"div",19)(4,"tui-radio-block",20),e.SAx(5),e.aS0(6,21),e.k70(),e.C$Y(),e.I0R(7,"tui-radio-block",22),e.SAx(8),e.aS0(9,23),e.k70(),e.C$Y(),e.I0R(10,"tui-radio-block",24),e.OEk(11," No "),e.C$Y()(),e.wR5(12,"app-errors",10),e.C$Y(),e.I0R(13,"div",6)(14,"p",17),e.aS0(15,25),e.C$Y(),e.I0R(16,"div",19)(17,"tui-radio-block",26),e.SAx(18),e.aS0(19,27),e.k70(),e.C$Y(),e.I0R(20,"tui-radio-block",28),e.OEk(21," No "),e.C$Y()(),e.wR5(22,"app-errors",10),e.C$Y(),e.I0R(23,"div",6)(24,"p",17),e.aS0(25,29),e.C$Y(),e.I0R(26,"div",19)(27,"tui-radio-block",30),e.SAx(28),e.aS0(29,31),e.k70(),e.C$Y(),e.I0R(30,"tui-radio-block",32),e.OEk(31," No "),e.C$Y()(),e.wR5(32,"app-errors",10),e.C$Y(),e.I0R(33,"div",6)(34,"p",17),e.aS0(35,33),e.C$Y(),e.I0R(36,"div",19)(37,"tui-radio-block",34),e.SAx(38),e.aS0(39,35),e.k70(),e.C$Y(),e.I0R(40,"tui-radio-block",36),e.OEk(41," No "),e.C$Y()(),e.wR5(42,"app-errors",10),e.C$Y()),2&I){const _=e.GaO();e.yG2(3),e.E7m("collapsed",!0),e.yG2(),e.E7m("hideRadio",!0),e.yG2(3),e.E7m("hideRadio",!0),e.yG2(3),e.E7m("hideRadio",!0),e.yG2(2),e.E7m("errors",_.e("copy_images")),e.yG2(4),e.E7m("collapsed",!0),e.yG2(),e.E7m("hideRadio",!0),e.yG2(3),e.E7m("hideRadio",!0),e.yG2(2),e.E7m("errors",_.e("copy_ingredients")),e.yG2(4),e.E7m("collapsed",!0),e.yG2(),e.E7m("hideRadio",!0),e.yG2(3),e.E7m("hideRadio",!0),e.yG2(2),e.E7m("errors",_.e("copy_tags")),e.yG2(4),e.E7m("collapsed",!0),e.yG2(),e.E7m("hideRadio",!0),e.yG2(3),e.E7m("hideRadio",!0),e.yG2(2),e.E7m("errors",_.e("copy_allergens"))}}const V=(I,H)=>({categoryId:I,itemId:H});let Q=(()=>{class I{constructor(){this.destroy$=(0,e.uUt)(h.UF),this.router=(0,e.uUt)(i.E5),this.route=(0,e.uUt)(i.gV),this.service=(0,e.uUt)(a.S),this.dishesService=(0,e.uUt)(Y.k),this.notifications=(0,e.uUt)(g.E),this.urlTo=(0,e.uUt)(U.S),this.submitted=!1,this.category=(0,e.OCB)(null),this.dish=(0,e.OCB)(null),this.form=new t.WC({category:new t.Ku(null,[t.AQ.required,s.S.instanceof(o.Q)]),copy_images:new t.Ku("full",[t.AQ.required,s.S.in(["full","link","none"])]),copy_ingredients:new t.Ku("link",[t.AQ.required,s.S.in(["link","none"])]),copy_tags:new t.Ku("link",[t.AQ.required,s.S.in(["link","none"])]),copy_allergens:new t.Ku("link",[t.AQ.required,s.S.in(["link","none"])])}),this.loadingCategory=(0,e.OCB)(!1),this.loadingDish=(0,e.OCB)(!1),this.saving=(0,e.OCB)(!1),this.loading=(0,e.S6b)(()=>this.saving()||this.loadingDish()||this.loadingCategory()),this.e=this.getErrorsFor}ngOnInit(){this.route.parent?.parent?.params.pipe((0,r.a)(this.destroy$),(0,u.k)(_=>Number(_.category_id)),(0,f.I)(_=>"number"==typeof _&&!isNaN(_)&&_>0)).subscribe({next:_=>this.loadCategory(_)}),this.route.params.pipe((0,r.a)(this.destroy$),(0,u.k)(_=>Number(_.dish_id)),(0,f.I)(_=>"number"==typeof _&&!isNaN(_)&&_>0)).subscribe({next:_=>this.loadDish(_)})}submit(){if(this.submitted=!0,this.form.invalid)return;const _=this.dish()?.id,E=this.formValue(),D=E.category_id;if(!_||!D)throw new Error(`some invalid id: dishId=${_}; categoryId=${D}`);this.saving.set(!0),this.dishesService.copy(_,E).pipe((0,r.a)(this.destroy$),(0,c.U)(()=>this.saving.set(!1))).subscribe({next:M=>{this.notifications.fireSnackBar("Duplicato.");const R=this.urlTo.transform({itemId:M.id,categoryId:D},"dish.show");R?this.router.navigateByUrl(R):(console.error("no url for dish",M,D),this.navigateBack())},error:M=>{this.manageError(M)}})}cancel(){(this.form.touched||this.form.dirty)&&!confirm("Sei sicuro di voler annullare le modifiche fatte?")||(this.notifications.fireSnackBar("Operazione annullata"),this.navigateBack())}formValue(){return{copy_tags:this.form.value.copy_tags,copy_images:this.form.value.copy_images,copy_ingredients:this.form.value.copy_ingredients,copy_allergens:this.form.value.copy_allergens,category_id:this.form.value.category?.id}}navigateBack(){this.router.navigate([".."],{relativeTo:this.route})}manageError(_){422==_.status?$.y.assignErrorsToForm(this.form,_):this.notifications.error((0,P.mk)(_)||v.a)}getErrorsFor(_){const E=this.form.get(_);return E&&(this.submitted||E.touched||E.dirty)?E.errors:null}loadCategory(_){_&&(this.loadingCategory.set(!0),this.service.show(_).pipe((0,r.a)(this.destroy$),(0,c.U)(()=>this.loadingCategory.set(!1))).subscribe({next:E=>{this.category.set(E),!this.form.touched&&!this.form.dirty&&this.form.patchValue({category:E})},error:E=>{this.notifications.error((0,P.mk)(E)||v.a)}}))}loadDish(_){_&&(this.loadingDish.set(!0),this.dishesService.show(_).pipe((0,r.a)(this.destroy$),(0,c.U)(()=>this.loadingDish.set(!1))).subscribe({next:E=>this.dish.set(E),error:E=>{this.notifications.error((0,P.mk)(E)||v.a)}}))}static#e=this.\u0275fac=function(E){return new(E||I)};static#t=this.\u0275cmp=e.In1({type:I,selectors:[["app-duplicate-dish"]],standalone:!0,features:[e.M5G([h.UF,U.S]),e.UHJ],decls:28,vars:15,consts:()=>{let _,E,D,M,R,B,x,G,k,W,z,K,b,w,X;return _="Copia piatto",E="Associa il nuovo piatto alla categoria",D="Seleziona una categoria",M="Dettagli",R="Conferma",B="Annulla",x="Copiare immagini?",G="Copia",k="Associa esistenti",W="Copiare ingredienti?",z="Associa esistenti",K="Copiare tag?",b="Associa esistenti",w="Copiare allergeni?",X="Associa esistenti",[["size","l",3,"showLoader","overlay"],[1,"flex","items-center"],_,[1,"ml-2"],["tuiLink","",3,"routerLink"],[3,"formGroup","ngSubmit"],[1,"mb-3"],E,[3,"formControlName"],D,[3,"errors"],M,["tuiAccordionItemContent",""],["type","submit","size","l","tuiButton","",1,"me-2",3,"appearance"],R,["type","button","size","l","tuiButton","",1,"me-2",3,"appearance","click"],B,[1,"mb-1"],x,["tuiGroup","",1,"group",3,"collapsed"],["contentAlign","right","formControlName","copy_images","item","full","size","l",3,"hideRadio"],G,["contentAlign","right","formControlName","copy_images","item","link","size","l",3,"hideRadio"],k,["contentAlign","right","formControlName","copy_images","item","none","size","l",3,"hideRadio"],W,["contentAlign","right","formControlName","copy_ingredients","item","link","size","l",3,"hideRadio"],z,["contentAlign","right","formControlName","copy_ingredients","item","none","size","l",3,"hideRadio"],K,["contentAlign","right","formControlName","copy_tags","item","link","size","l",3,"hideRadio"],b,["contentAlign","right","formControlName","copy_tags","item","none","size","l",3,"hideRadio"],w,["contentAlign","right","formControlName","copy_allergens","item","link","size","l",3,"hideRadio"],X,["contentAlign","right","formControlName","copy_allergens","item","none","size","l",3,"hideRadio"]]},template:function(E,D){if(1&E&&(e.I0R(0,"tui-loader",0)(1,"div",1)(2,"h1"),e.aS0(3,2),e.C$Y(),e.I0R(4,"span",3)(5,"a",4),e.wVc(6,"urlTo"),e.OEk(7),e.C$Y()()(),e.I0R(8,"form",5),e.qCj("ngSubmit",function(){return D.submit()}),e.I0R(9,"div",6)(10,"p"),e.aS0(11,7),e.C$Y(),e.I0R(12,"app-menu-category-select",8),e.SAx(13),e.aS0(14,9),e.k70(),e.C$Y(),e.wR5(15,"app-errors",10),e.C$Y(),e.I0R(16,"tui-accordion",6)(17,"tui-accordion-item"),e.SAx(18),e.aS0(19,11),e.k70(),e.yuY(20,F,43,17,"ng-template",12),e.C$Y()(),e.I0R(21,"div",1)(22,"button",13),e.SAx(23),e.aS0(24,14),e.k70(),e.C$Y(),e.I0R(25,"button",15),e.qCj("click",function(){return D.cancel()}),e.SAx(26),e.aS0(27,16),e.k70(),e.C$Y()()()()),2&E){let M,R;e.E7m("showLoader",D.loading())("overlay",!0),e.yG2(5),e.E7m("routerLink",e.g7$(6,9,e.IBC(12,V,null==(M=D.category())?null:M.id,null==(M=D.dish())?null:M.id),"dish.show")),e.yG2(2),e.cNF(null==(R=D.dish())?null:R.name),e.yG2(),e.E7m("formGroup",D.form),e.yG2(4),e.E7m("formControlName","category"),e.yG2(3),e.E7m("errors",D.e("category")),e.yG2(7),e.E7m("appearance","primary"),e.yG2(3),e.E7m("appearance","outline")}},dependencies:[d.g,O.CI,O.Kw,L.W,L.I,t.sl,t.sz,t.ue,t.u,t.uW,t.Wo,l.Gy,l.Ko,m.kh,i.ER,S.w,S.C,U.S,j.a,y.Ep,y.Ix,y._Q,y.Up,N.Sk,N.Cb],changeDetection:0})}return I})(),J=(()=>{class I{static#e=this.\u0275fac=function(E){return new(E||I)};static#t=this.\u0275mod=e.a4G({type:I});static#n=this.\u0275inj=e.s3X({imports:[i.qQ.forChild([(0,C.VV)(Q,{path:"",closeable:!0,dismissible:!1,size:"l"})])]})}return I})()},9052:(A,p,n)=>{n.d(p,{y:()=>t});var i=n(4496),C=n(7760),e=n(6700),h=n(7368),a=n(2700),g=n(1368);function o(s,r){if(1&s&&(i.wR5(0,"img",1),i.wVc(1,"async")),2&s){const u=i.GaO();
1i.uQ9("max-w-[100%] h-auto min-h-[50px] md:min-h-[100px] ",u.imgClass,""),i._6D("src",i.kDX(1,5,u.imageSrc$),i.K6U),i.E7m("draggable",!1)}}let t=(()=>{class s{constructor(){this.noImage="/assets/img/no-image.jpg",this.imagesService=(0,i.uUt)(C.U),this.imgClass="block rounded",this.image$=new e.g(null),this.imageSrc$=this.image$.pipe((0,h.G)(u=>u instanceof Blob?(0,a.of)(URL.createObjectURL(u)):u&&u.id?this.imagesService.downloadUrl(u.id):(0,a.of)(this.noImage)))}set image(u){this.image$.next(u??null)}static#e=this.\u0275fac=function(f){return new(f||s)};static#t=this.\u0275cmp=i.In1({type:s,selectors:[["app-show-image"]],inputs:{imgClass:"imgClass",image:"image"},standalone:!0,features:[i.UHJ],decls:2,vars:3,consts:[[3,"draggable","class","src"],[3,"draggable","src"]],template:function(f,c){1&f&&(i.yuY(0,o,2,7,"img",0),i.wVc(1,"async")),2&f&&i.C0Y(0,i.kDX(1,1,c.imageSrc$)?0:-1)},dependencies:[g.a],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}"],changeDetection:0})}return s})()},9852:(A,p,n)=>{n.d(p,{S:()=>a});var i=n(6504),C=n(400);const e=g=>null!=g&&""!=`${g}`;class a extends i.AQ{static url(o){const t=o.value;return e(t)?/^(https?:\/\/)?([\w-]+(\.[\w-]+)+)([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?$/.test(t)?null:{url:!0}:null}static formWeeklyFromTo(o,t){return s=>{if(!(s instanceof i.WC))return console.warn("formWeeklyFromTo: param is not a FormGroup",s),null;const r=s,u=r.get(o),f=r.get(t);return u&&f&&u.value instanceof C.uc&&f.value instanceof C.uc&&u.value&&f.value&&u.value.toAbsoluteMilliseconds()>=f.value.toAbsoluteMilliseconds()?{formWeeklyFromTo:!0}:null}}static canBeBlankIf(o,t,s){const r=s?.message||"La form non \xE8 valida.";return u=>{if(!(u instanceof i.WC))throw new Error("canBeBlankIf: thisIsAFormGroup is not a FormGroup");const c=u.get(o);if(!c)throw new Error("canBeBlankIf: control is blank. control name: "+o);return e(c.value)||t()?null:{[`${o}canBeBlankIf`]:r}}}static listOfEmails(o){const t=o.value;if(!t||"string"!=typeof t||!t.length)return null;const s=new RegExp("^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$","i");return t.split(/\,|\s+/gm).map(r=>r.trim()).filter(r=>r.length).forEach(r=>{if(!s.test(r))return{listOfEmails:!0}}),null}static mustBeArray(o){return Array.isArray(o.value)?null:{mustBeArray:!0}}static objectNotEmpty(o){return e(o.value)&&"object"==typeof o.value&&0===Object.keys(o.value).length&&0===Object.values(o.value).filter(s=>e(s)).length?{objectNotEmpty:!0}:null}static objectValuesAllPresent(o){return e(o.value)&&"object"==typeof o.value&&Object.values(o.value).filter(s=>e(s)).length!==Object.keys(o.value).length?{objectValuesAllPresent:!0}:null}static arrayMinLength(o){return t=>Array.isArray(t.value)&&t.value.length<o?{arrayMinLength:{requiredLength:o,actualLength:t.value?.length??0}}:null}static validateArray(o){return t=>{if(!Array.isArray(t.value))return null;const s={};for(const r of t.value){const u=o(new i.yM(r));u&&Object.assign(s,u)}return Object.keys(s).length?s:null}}static percentage(o){return e(o.value)&&(isNaN(o.value)||o.value<0||o.value>100)?{percentage:!0}:null}static phoneIT(o){const t=r=>r?null:{phoneIT:!0},s=`${o.value}`.trim().replace(/\s+/gm,"").replace(/^\+39/gm,"");return e(s)?t(!((g=s).length<9||isNaN(Number(g))||g.length>14)):t(!0);var g}static instanceof(o){return t=>!e(t.value)||t.value instanceof o?null:{instanceof:!0}}static#e=this.instanceOf=this.instanceof;static numerical(o){return e(o.value)&&isNaN(o.value)?{numerical:!0}:null}static moreThan(o){return t=>t.value<=o?{moreThan:!0}:null}static in(o){return this.inclusion(o)}static inclusion(o){return t=>e(t.value)&&!o.includes(t.value)?{inclusion:!0}:null}}},4824:(A,p,n)=>{n.d(p,{o:()=>e});var i=n(8400),C=n(2264);class e extends i.w{constructor(a){super(a),this.name=a.name,this.description=a.description,this.status=a.status,this.other=a.other,this.translations={...a.translations},a.image&&(this.image=new C.W(a.image))}}},5891:(A,p,n)=>{n.d(p,{S:()=>g});var i=n(8400),C=n(2264),e=n(355),h=n(4824),a=n(532);class g extends i.w{constructor(t){super(t),this.name=t.name,this.description=t.description,this.status=t.status,this.price=t.price,this.translations=t.translations,this.images=t.images?t.images.map(s=>new C.W(s)):[],this.suggestions=t.suggestions?t.suggestions.map(s=>new g(s)):[],this.tags=t.tags?t.tags.map(s=>new e.E(s)):[],this.allergens=t.allergens?t.allergens.map(s=>new h.o(s)):[],this.ingredients=t.ingredients?t.ingredients.map(s=>new a.e(s)):[]}}},532:(A,p,n)=>{n.d(p,{e:()=>e});var i=n(8400),C=n(2264);
1class e extends i.w{constructor(a){super(a),this.name=a.name,this.description=a.description,this.status=a.status,this.other=a.other,this.translations={...a.translations},a.image&&(this.image=new C.W(a.image))}}},355:(A,p,n)=>{n.d(p,{E:()=>e});var i=n(8400),C=n(2264);class e extends i.w{constructor(a){super(a),this.name=a.name,this.description=a.description,this.status=a.status,this.other=a.other,this.translations={...a.translations},this.color=a.color,a.image&&(this.image=new C.W(a.image))}}},8676:(A,p,n)=>{n.d(p,{k:()=>a});var i=n(6012),C=n(5891),e=n(4704),h=n(4496);let a=(()=>{class g extends i.s{constructor(){super(C.S,"admin/menu/dishes")}bulkUpdateStatus(t){return this.patch(`bulk_status/${t.status}`,{dish_ids:t.dish_ids})}relocate(t){return this.patch("relocate",t)}updatePrices(t){return(null==t.filters||null==t.filters)&&delete t.filters,this.patch("update_prices",t)}copy(t,s){return this.post(`${t}/copy`,s).pipe((0,e.k)(r=>this.mapItem(r)))}move(t,s){return this.patch(`${t}/move`,s).pipe((0,e.k)(r=>this.mapItem(r)))}moveIngredient(t,s,r){return this.patch(`${t}/ingredients/${s}/move`,{to_index:r}).pipe((0,e.k)(u=>this.mapItem(u)))}moveTag(t,s,r){return this.patch(`${t}/tags/${s}/move`,{to_index:r}).pipe((0,e.k)(u=>this.mapItem(u)))}moveAllergen(t,s,r){return this.patch(`${t}/allergens/${s}/move`,{to_index:r}).pipe((0,e.k)(u=>this.mapItem(u)))}updateStatus(t,s){return this.patch(`${t}/status/${s}`,{}).pipe((0,e.k)(r=>this.mapItem(r)))}addIngredient(t,s){return this.post(`${t}/ingredients/${s}`,{}).pipe((0,e.k)(r=>this.mapItem(r)))}removeIngredient(t,s){return this.delete(`${t}/ingredients/${s}`).pipe((0,e.k)(r=>this.mapItem(r)))}addTag(t,s){return this.post(`${t}/tags/${s}`,{}).pipe((0,e.k)(r=>this.mapItem(r)))}removeTag(t,s){return this.delete(`${t}/tags/${s}`).pipe((0,e.k)(r=>this.mapItem(r)))}addAllergen(t,s){return this.post(`${t}/allergens/${s}`,{}).pipe((0,e.k)(r=>this.mapItem(r)))}removeAllergen(t,s){return this.delete(`${t}/allergens/${s}`).pipe((0,e.k)(r=>this.mapItem(r)))}references(t){return this.get(`${t}/references`).pipe((0,e.k)(s=>s))}addSuggestion(t,s){return this.post(`${t}/suggestions/${s}`,{}).pipe((0,e.k)(r=>this.mapItem(r)))}removeSuggestion(t,s){return this.delete(`${t}/suggestions/${s}`).pipe((0,e.k)(r=>this.mapItem(r)))}static#e=this.\u0275fac=function(s){return new(s||g)};static#t=this.\u0275prov=h.wxM({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},7760:(A,p,n)=>{n.d(p,{U:()=>h});var i=n(6012),C=n(2264),e=n(4496);let h=(()=>{class a extends i.s{constructor(){super(C.W,"images")}removeFromRecord(o,t){return this.patch(`${o}/remove_from_record`,{record_type:t.record_type,record_id:t.record_id})}updateRecord(o,t){return this.patch("record",{image_ids:t,record_type:o.record_type,record_id:o.record_id})}downloadUrl(o){return this.url(`${o}/download`)}static#e=this.\u0275fac=function(t){return new(t||a)};static#t=this.\u0275prov=e.wxM({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},9880:(A,p,n)=>{n.d(p,{kP:()=>f,kh:()=>$,st:()=>v});var i=n(4496),C=n(3480),e=n(4392),h=n(3120),a=n(3616),g=n(7692),o=n(1368);const t=["wrapper"];function s(d,O){if(1&d&&(i.I0R(0,"tui-loader",4),i.C_f(1,5),i.C$Y()),2&d){const l=i.GaO(2);i.E7m("overlay",!0)("showLoader",l.loading),i.yG2(),i.E7m("ngTemplateOutlet",l.content)}}function r(d,O){if(1&d&&(i.SAx(0),i._Xx(1),i.yuY(2,s,2,3,"tui-loader",3),i.k70()),2&d){const l=i.GaO();i.yG2(2),i.E7m("ngIf",l.async)("ngIfElse",l.content)}}const u=["*"];let f=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275dir=i.Sc5({type:d,selectors:[["","tuiExpandContent",""]]}),d})();let v=(()=>{class d{constructor(l,m){this.cdr=l,this.destroy$=m,this.state=0,this.async=!1,this.content=null,this.expanded=null}set expandedSetter(l){if(null!==this.expanded)return 0!==this.state?(this.expanded=l,void(this.state=3)):(this.expanded=l,void this.retrigger(this.async&&l?1:3));this.expanded=l}get overflow(){return 0!==this.state}get loading(){return!!this.expanded&&this.async&&1===this.state}get height(){const{expanded:l,state:m,contentWrapper:S}=this;return l&&2===m||!l&&3===m?0:S&&(!l&&2===m||l&&3===m)?S.nativeElement.offsetHeight:S&&l&&1===m?Math.max(S.nativeElement.offsetHeight,48):null}get contentVisible(){return this.expanded||0!==this.state}onTransitionEnd({propertyName:l}){"opacity"===l&&3===this.state&&(this.state=0)}onExpandLoaded(l){l.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(l){this.state=2,(0,h.k)(0).pipe((0,a.a)(this.destroy$)).subscribe(()=>{2===this.state&&(this.state=l,this.cdr.markForCheck())})}}return d.\u0275fac=function(l){return new(l||d)(i.GI1(i.kD9),i.GI1(C.UF,2))},d.\u0275cmp=i.In1({type:d,selectors:[["tui-expand"]],contentQueries:function(l,m,S){if(1&l&&i.szK(S,f,5,i.Yw2),2&l){let N;i.wto(N=i.Gqi())&&(m.content=N.first)}},viewQuery:function(l,m){if(1&l&&i.CC$(t,5),2&l){let S;i.wto(S=i.Gqi())&&(m.contentWrapper=S.first)}},hostVars:9,hostBindings:function(l,m){1&l&&i.qCj("transitionend.self",function(N){return m.onTransitionEnd(N)})("tui-expand-loaded",function(N){return m.onExpandLoaded(N)}),2&l&&(i.e48("aria-expanded",m.expanded),i.m4B("height",m.height,"px"),i.eAK("_expanded",m.expanded)("_overflow",m.overflow)("_loading",m.loading))},inputs:{async:"async",expandedSetter:[i.Wk5.None,"expanded","expandedSetter"]},features:[i.M5G([C.UF])],ngContentSelectors:u,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(l,m){1&l&&(i.kPM(),i.I0R(0,"div",0,1),i.yuY(2,r,3,2,"ng-container",2),i.C$Y()),2&l&&(i.E7m("@tuiParentAnimation",void 0)("@.disabled",m.overflow),i.yG2(2),i.E7m("ngIf",m.contentVisible))},dependencies:[g.Cb,o.u_,o.XV],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[e.cI]},changeDetection:0}),d})(),$=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=i.a4G({type:d}),d.\u0275inj=i.s3X({imports:[[o.MD,g.Sk]]}),d})()}}]);

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.