PageSourceSearch

https://polipoli-web.com/774.99d96c610ef2def8dba3.js

js polipoli-web.com collected 2026-10-02 05:51:59 UTC 4,009 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcitizen_web=self.webpackChunkcitizen_web||[]).push([[774],{774:(J,v,n)=>{n.r(v),n.d(v,{CitizenPoliciesModule:()=>Z});var m=n(8583),d=n(1834),g=n(6215),u=n(5917),O=n(9112),y=n(8002),C=n(9773),M=n(465),i=n(8720),I=n(3204),$=n(5053),B=n(2175),k=n(4941),A=n(2904);let S=(()=>{class t{constructor(){this.appOnClickMoreButton=new i.vpe,this.appOnClickPolicyItem=new i.vpe}ngOnInit(){}onClickMoreButton(){this.appOnClickMoreButton.emit()}onClickPolicyItem(e){this.appOnClickPolicyItem.emit(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["app-citizen-policies-presentation"]],inputs:{size:"size",list:"list",has_button:"has_button"},outputs:{appOnClickMoreButton:"appOnClickMoreButton",appOnClickPolicyItem:"appOnClickPolicyItem"},decls:2,vars:3,consts:[[1,"container"],[3,"list","size","has_button","appOnClickButton","appOnClickItem"]],template:function(e,o){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"app-policy-wrap-list",1),i.NdJ("appOnClickButton",function(){return o.onClickMoreButton()})("appOnClickItem",function(p){return o.onClickPolicyItem(p)}),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Q6J("list",o.list)("size",o.size)("has_button",o.has_button))},directives:[A.w],styles:["[_nghost-%COMP%]{display:block}.container[_ngcontent-%COMP%]{min-height:500px;padding-bottom:60px;background:#f0f0f0}"],changeDetection:0}),t})();const b=[{path:"",component:(()=>{class t{constructor(e,o,a,p,L){var P,h,z;this.route=e,this.policyRepository=o,this.relatedPolicyStateRepository=a,this.breakpointObserver=p,this.analytics=L,this.loadingCount$=new g.X(1),this.citizenAccountID$=null!==(z=null===(h=null===(P=this.route.parent)||void 0===P?void 0:P.parent)||void 0===h?void 0:h.paramMap.pipe((0,y.U)(l=>l.get("account_id"))))&&void 0!==z?z:(0,u.of)(void 0),this.relatedPolicyStates$=(0,O.aj)([this.citizenAccountID$,this.loadingCount$]).pipe((0,C.zg)(([l,c])=>this.relatedPolicyStateRepository.listByAccountId$({accountId:l,limit:6*c}))),this.policies$=this.relatedPolicyStates$.pipe((0,C.zg)(l=>{if(l){const c=l.map(r=>r.policy.id);return this.policyRepository.listByPolicyIDs$(c).pipe((0,C.zg)(r=>this.policyRepository.listPolicyData$(r)),(0,y.U)(r=>({list_name:"citizen",data:r})))}return(0,u.of)(l)})),this.hasButton$=this.relatedPolicyStates$.pipe((0,C.zg)(l=>{if(l){const c=l.slice(-1)[0];return c?this.relatedPolicyStateRepository.listAfterAt$(c.account_id,c.updated_at).pipe((0,y.U)(f=>f.length>0)):(0,u.of)(c)}return(0,u.of)(l)})),this.size$=this.breakpointObserver.size$}ngOnInit(){}ngOnDestroy(){this.loadingCount$.next(1),this.loadingCount$.unsubscribe()}onClickPolicyItem(e){this.analytics.logEvent(M.dW.TAPPED_POLICY_LIST_ITEM,{list_name:e,page_path:"citizens"})}onClickLoadMore(){this.loadingCount$.next(this.loadingCount$.value+1)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(d.gz),i.Y36(I.g),i.Y36($.S),i.Y36(B.u),i.Y36(k.B))},t.\u0275cmp=i.Xpm({type:t,selectors:[["app-citizen-policies"]],decls:4,vars:9,consts:[[3,"list","size","has_button","appOnClickMoreButton","appOnClickPolicyItem"]],template:function(e,o){1&e&&(i.TgZ(0,"app-citizen-policies-presentation",0),i.NdJ("appOnClickMoreButton",function(){return o.onClickLoadMore()})("appOnClickPolicyItem",function(p){return o.onClickPolicyItem(p)}),i.ALo(1,"async"),i.ALo(2,"async"),i.ALo(3,"async"),i.qZA()),2&e&&i.Q6J("list",i.lcZ(1,3,o.policies$))("size",i.lcZ(2,5,o.size$))("has_button",i.lcZ(3,7,o.hasButton$))},directives:[S],pipes:[m.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),t})()}];let T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[d.Bz.forChild(b)],d.Bz]}),t})();var D=n(7655);let R=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[m.ez,D.w]]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[m.ez,T,R]]}),t})()}}]);

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.