PageSourceSearch

https://myvipre.com/sandbox/846.348fb7b410664424.js

js myvipre.com collected 2026-10-06 19:43:56 UTC 318,919 bytes, 1 lines download raw bytes

1(self.webpackChunksandbox_ui=self.webpackChunksandbox_ui||[]).push([[846],{7846(En,M,W){W.d(M,{SandboxDetailsModule:()=>qi});var f=W(6901),y=W(3955),S=W(8736),d=W(543),g=W(1861),A=W(1325),i=W(3783),D=W(3587);const R=["allEventsIcon"],_=["fileEventsIcon"],I=["networkEventsIcon"],p=["processEventsIcon"],E=["registryEventsIcon"],b=["sysobjectEventsIcon"],z=["comEventsIcon"],N=()=>({adaptToSmallScreens:!0,canSelectItems:!1,canSort:!0});function U(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-all-icon")}function P(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-file-icon")}function it(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-process-icon")}function K(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-registry-icon")}function ht(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-network-icon")}function q(m,mt){1&m&&i.\u0275\u0275element(0,"i",14)}function pt(m,mt){1&m&&i.\u0275\u0275element(0,"i",15)}function It(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-expansion-event-table",16),2&m&&i.\u0275\u0275property("options",mt.$implicit.entries)}function O(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-file-icon",17)}function Q(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-network-icon",17)}function h(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-network-icon",17)}function nt(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-network-icon",17)}function Mt(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-registry-icon",17)}function ct(m,mt){1&m&&i.\u0275\u0275element(0,"vcs-event-process-icon",17)}function Bt(m,mt){1&m&&i.\u0275\u0275element(0,"i",14)}function dt(m,mt){1&m&&i.\u0275\u0275element(0,"i",15)}function Rt(m,mt){1&m&&i.\u0275\u0275element(0,"i",18)}function Z(m,mt){if(1&m&&(i.\u0275\u0275conditionalCreate(0,O,1,0,"vcs-event-file-icon",17)(1,Q,1,0,"vcs-event-network-icon",17)(2,h,1,0,"vcs-event-network-icon",17)(3,nt,1,0,"vcs-event-network-icon",17)(4,Mt,1,0,"vcs-event-registry-icon",17)(5,ct,1,0,"vcs-event-process-icon",17)(6,Bt,1,0,"i",14)(7,dt,1,0,"i",15)(8,Rt,1,0,"i",18),i.\u0275\u0275elementStart(9,"vcs-base-column"),i.\u0275\u0275text(10),i.\u0275\u0275pipe(11,"vcsReplaceWord"),i.\u0275\u0275elementEnd()),2&m){let u;const k=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275conditional("filesystem_section"===(u=k.type)?0:"networkpacket_section"===u?1:"networkoperation_section"===u?2:"connection_section"===u?3:"registry_section"===u?4:"process_section"===u?5:"sysobject_section"===u?6:"com_section"===u?7:8),i.\u0275\u0275advance(10),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(11,2,k.type)," ")}}function G(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275pipe(2,"vcsReplaceWord"),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(2,1,u.subType)," ")}}function At(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.value," ")}}function Ct(m,mt){if(1&m&&i.\u0275\u0275conditionalCreate(0,Z,12,4)(1,G,3,3,"vcs-base-column")(2,At,2,1,"vcs-base-column"),2&m){const u=mt.column;i.\u0275\u0275conditional("type"===u?0:"subType"===u?1:"value"===u?2:-1)}}let vt=(()=>{class m{constructor(u,k,L,ot){this.changeDetector=u,this.columnsData=k,this.listUtils=L,this.translate=ot,this.events=[],this.navItems=[],this.localFilter="",this.AccessType=g.BD,this.ActionTaken=g.AC,this.FacetKey=g.ZZ,this.IncidentEventType=g.Fm,this.IncidentType=g.jE,this.NodeReason=g.tO,this.processes=[],this.DEFAULT_SORT=this.columnsData.type,this.localEvents=[],this.allowSections={com_section:!0,filesystem_section:!0,process_section:!0,registry_section:!0,sysobject_section:!0,networkoperation_section:!0,networkpacket_section:!0,connection_section:!0}}ngOnInit(){this.pagination=this.listUtils.initialPaginationConfig(10),this.filters=[{label:this.translate.instant("All"),key:""},{label:this.translate.instant("Sysobject"),key:"sysobject_section"},{label:this.translate.instant("File"),key:"filesystem_section"},{label:this.translate.instant("Registry"),key:"registry_section"},{label:this.translate.instant("COM"),key:"com_section"},{label:this.translate.instant("Process"),key:"process_section"},{label:this.translate.instant("Network"),key:"network_section"}],this.setUpColumns(),this.setUpSorting()}ngAfterViewInit(){this.navItems=[{iconTemplate:this.allEventsIcon,label:"ALL",link:"all"},{iconTemplate:this.sysobjectEventsIcon,label:"SYSOBJECT",link:"sysobject_section"},{iconTemplate:this.fileEventsIcon,label:"FILE",link:"filesystem_section"},{iconTemplate:this.registryEventsIcon,label:"REGISTRY",link:"registry_section"},{iconTemplate:this.comEventsIcon,label:"COM",link:"com_section"},{iconTemplate:this.processEventsIcon,label:"PROCESS",link:"process_section"},{iconTemplate:this.networkEventsIcon,label:"NETWORK",link:"network_section"}],this.changeDetector.detectChanges()}ngOnChanges({nodeId:u}){u?.currentValue?this.buildIncidentEventsDetails():(this.localFilter="all",this.events=[],this.localEvents=[],this.pagination=this.listUtils.initialPaginationConfig(10))}handlePaginationChange(u){this.pagination=this.listUtils.updatePage(u.page,this.pagination),this.buildLocalList()}handleSortingChange(u){this.sorting.sort=this.listUtils.switchSort(this.sorting.sort,u.sort),this.buildLocalList(),this.restartPagination()}handleFilter(u){u.link!==this.localFilter&&(this.localFilter=u.link,this.restartPagination(),this.buildLocalList())}
1buildIncidentEventsDetails(){if(this.localFilter="all",this.processes?.length){const u=this.processes.find(k=>k["@pid"]===this.nodeId.toString());this.buildEvents(u)}}sortList(u){const k=this.sorting.sort.asc?1:-1;return u.sort((L,ot)=>L[this.sorting.sort.field]>ot[this.sorting.sort.field]?k:-k)}buildLocalList(){this.events=this.sortList(this.localEvents),this.events=this.paginateList("network_section"===this.localFilter?this.localEvents.filter(u=>"networkoperation_section"===u.type||"networkpacket_section"===u.type||"connection_section"===u.type):"all"!==this.localFilter?this.localEvents.filter(u=>u.type===this.localFilter):this.localEvents)}restartPagination(){this.pagination.pageNum=1}paginateList(u){return this.pagination=this.listUtils.updateTotalPagination(u,this.pagination),u.slice(this.pagination.offset,this.pagination.limit)}setUpColumns(){this.columns=[{...this.columnsData.type,customClass:"d-flex align-items-start col-lg-2",sortable:!0},{...this.columnsData.subType,customClass:"col-lg-2",sortable:!0},{...this.columnsData.value,sortable:!0}]}setUpSorting(){this.sorting={sort:{...this.DEFAULT_SORT},options:this.buildSortingOptions()}}buildSortingOptions(){return this.columns.filter(u=>u.selected&&u.sortable)}buildEvents(u){const k=[];Object.keys(u).forEach(L=>{this.allowSections[L]&&Object.keys(u[L]).forEach(ot=>{u[L][ot].length?u[L][ot].forEach(Ot=>{k.push(this.buildOneEvent(L,ot,Ot))}):k.push(this.buildOneEvent(L,ot,u[L][ot]))})}),this.events=k,this.localEvents=k,this.restartPagination(),this.buildLocalList()}buildOneEvent(u,k,L){return{id:(new Date).getTime()*Math.random()*1e5,type:u,subType:k,value:this.buildValue(u,L),entries:this.buildEntry(L)}}buildEntry(u){const k=[];return u&&Object.keys(u).forEach(L=>{u[L]&&k.push({key:L,value:u[L]})}),k}buildValue(u,k){let L="";if("com_section"===u)L=k["@clsid_name"]||k["@iid"];else if("filesystem_section"===u)L=k["@srcfile"];else if("process_section"===u)L=`pid: ${k["@target_pid"]}`;else if("registry_section"===u)L=k["@key_name"];else if("sysobject_section"===u)L=k["@name"];else if("networkoperation_section"===u)L=`${k["@request_name"]} -> ${k["@result_addresses"]}`;else if("networkpacket_section"===u||"connection_section"===u){const ot="OUTGOING"===k["@direction"]?"from":"to";L=`${k["@direction"]} ${k["@protocol_l4"]} ${ot} localhost:${k["@local_port"]} ${"from"===ot?"to":"from"} ${k["@remote_hostname"]||k["@remote_ip"]}:${k["@remote_port"]}`}return L||this.translate.instant("<not set>")}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(g.Uf),i.\u0275\u0275directiveInject(D.ListUtils),i.\u0275\u0275directiveInject(y.c$))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-events-table"]],viewQuery:function(k,L){if(1&k&&i.\u0275\u0275viewQuery(R,5)(_,5)(I,5)(p,5)(E,5)(b,5)(z,5),2&k){let ot;i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.allEventsIcon=ot.first),i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.fileEventsIcon=ot.first),i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.networkEventsIcon=ot.first),i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.processEventsIcon=ot.first),i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.registryEventsIcon=ot.first),i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.sysobjectEventsIcon=ot.first),i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.comEventsIcon=ot.first)}},inputs:{nodeId:"nodeId",processes:"processes"},standalone:!1,features:[i.\u0275\u0275NgOnChangesFeature],decls:25,vars:13,consts:[["allEventsIcon",""],["fileEventsIcon",""],["processEventsIcon",""],["registryEventsIcon",""],["networkEventsIcon",""],["sysobjectEventsIcon",""],["comEventsIcon",""],["vcsTable",""],["expansionTemplate",""],["itemTemplate",""],[1,"events-table__filter"],[3,"clickItem","navItems","worksWithLink","selectedItem"],["customClass","edr-table events-table vc-table--basic","idField","id",3,"paginationChange","sortingChange","useLocalPagination","columns","items","options","pagination","sorting"],[1,"empty-message"],[1,"me-1","fas","fa-database","events-table__sysobject-icon"],[1,"me-1","fas","fa-project-diagram","events-table__com-icon"],[3,"options"],[1,"events-table__type-icon"],[1,"me-1","fas","fa-question"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"div",10)(1,"vcs-incident-events-nav",11),i.\u0275\u0275listener("clickItem",function(Ot){return L.handleFilter(Ot)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(2,U,1,0,"ng-template",null,0,i.\u0275\u0275templateRefExtractor)(4,P,1,0,"ng-template",null,1,i.\u0275\u0275templateRefExtractor)(6,it,1,0,"ng-template",null,2,i.\u0275\u0275templateRefExtractor)(8,K,1,0,"ng-template",null,3,i.\u0275\u0275templateRefExtractor)(10,ht,1,0,"ng-template",null,4,i.\u0275\u0275templateRefExtractor)(12,q,1,0,"ng-template",null,5,i.\u0275\u0275templateRefExtractor)(14,pt,1,0,"ng-template",null,6,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementStart(16,"vcn-table",12,7),i.\u0275\u0275listener("paginationChange",function(Ot){return L.handlePaginationChange(Ot)})("sortingChange",function(Ot){return L.handleSortingChange(Ot)}),i.\u0275\u0275template(18,It,1,1,"ng-template",null,8,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementStart(20,"span",13),i.\u0275\u0275text(2
11),i.\u0275\u0275pipe(22,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(23,Ct,3,1,"ng-template",null,9,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275advance(),i.\u0275\u0275property("navItems",L.navItems)("worksWithLink",!1)("selectedItem",L.localFilter),i.\u0275\u0275advance(15),i.\u0275\u0275property("useLocalPagination",!0)("columns",L.columns)("items",L.events)("options",i.\u0275\u0275pureFunction0(12,N))("pagination",L.pagination)("sorting",L.sorting),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate1(" ",L.nodeId?"No data found.":i.\u0275\u0275pipeBind1(22,10,"Select a process in the analysis graph.")," "))},styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.events-table{background:#fff}.events-table .events-table__type-icon svg{height:16px;margin-right:2px;width:16px}@media(min-width:992px){.events-table .column__time{max-width:120px;min-width:120px}}@media(min-width:992px){.events-table .column__incident-event-name{max-width:232px;min-width:130px}}@media(max-width:992px){.events-table .column__incident-event-name{align-items:flex-start!important}}.events-table__sysobject-icon{background:linear-gradient(to bottom,#ebf8fe,#84bed7);background-clip:border-box;font-size:1rem;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.events-table__com-icon{background:linear-gradient(to bottom,#fdd9a1,#ff9b05);background-clip:border-box;font-size:1rem;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.events-table__filter{margin-bottom:12px;position:relative;z-index:1}.events-table__filter:before{border-top:2px solid #fafbfc;content:"";left:-50px;position:absolute;top:50%;width:100vw;z-index:-1}\n'],encapsulation:2,changeDetection:0})}}return m})(),Yt=(()=>{class m{transform(u){try{return"object"==typeof u?JSON.stringify(u,null,2):u.toString()}catch{return u.toString()}}static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275pipe=i.\u0275\u0275definePipe({name:"vcsDisplayJson",type:m,pure:!0,standalone:!1})}}return m})(),ee=(()=>{class m{transform(u){return u.replace(/@|_section/g,"").replace(/_/g," ")}static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275pipe=i.\u0275\u0275definePipe({name:"vcsReplaceWord",type:m,pure:!0,standalone:!1})}}return m})();function Lt(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"div",1)(1,"div",2),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"vcsReplaceWord"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(4,"div",3),i.\u0275\u0275text(5),i.\u0275\u0275pipe(6,"vcsDisplayJson"),i.\u0275\u0275elementEnd()()),2&m){const u=mt.$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(3,2,u.key)," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(6,4,u.value)," ")}}let $t=(()=>{class m{constructor(){this.options=[]}static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-expansion-event-table"]],inputs:{options:"options"},standalone:!1,decls:3,vars:0,consts:[[1,"row","expansion-event-table"],[1,"d-flex","col-md-6","pb-2","expansion-event-table__row"],[1,"col-3","expansion-event-table__row__key"],[1,"col-8","expansion-event-table__row__value"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275repeaterCreate(1,Lt,7,6,"div",1,i.\u0275\u0275repeaterTrackByIdentity),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275advance(),i.\u0275\u0275repeater(L.options))},dependencies:[Yt,ee],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.expansion-event-table[_ngcontent-%COMP%]{background:#fff;display:flex;flex-direction:row;flex-wrap:wrap;margin:2px 16px 4px;padding:12px 0}.expansion-event-table[_ngcontent-%COMP%]   .expansion-event-table__row[_ngcontent-%COMP%]{font-size:.6875rem;font-weight:400}.expansion-event-table[_ngcontent-%COMP%]   .expansion-event-table__row[_ngcontent-%COMP%]   .expansion-event-table__row__key[_ngcontent-%COMP%]{color:#999}.expansion-event-table[_ngcontent-%COMP%]   .expansion-event-table__row[_ngcontent-%COMP%]   .expansion-event-table__row__value[_ngcontent-%COMP%]{color:#3b3b41;word-wrap:anywhere}'],changeDetection:0})}}return m})();var Jt=W(9282),Ht=W(5361);function le(m,mt){if(1&m&&i.\u0275\u0275element(0,"vcs-engine-detection",3),2&m){const u=mt.$implicit,k=i.\u0275\u0275nextContext();i.\u0275\u0275property("data",k.detectionDataByEngine[u])("engine",u)}}let me=(()=>{class m{constructor(u,k){this.sandboxRiskPipe=u,this.titleCasePipe=k,this.detectionDataByEngine={[g.Wl.BDE]:{},[g.Wl.TIQ]:{},[g.Wl.YARA]:{},[g.Wl.VIPRE_AV]:{}},this.detectionEngines=Object.keys(this.detectionDataByEngine)}ngOnChanges({detectionResults:u}){u?.currentValue&&this.buildDetections()}buildDetections(){Object.keys(this.detectionResults.risks).forEac
1h(u=>{const k=this.sandboxRiskPipe.transform(u).toLowerCase();this.detectionResults.risks[u].forEach(L=>this.addRiskNameToDetectionData(L,k))})}addRiskNameToDetectionData({engine:u,risks:k},L){const ot=this.detectionDataByEngine[u];ot&&(g.Wl.VIPRE_AV===u&&(k=this.parseAVRisks(k)),k.forEach(Ot=>{let Xt=ot[L];Xt?(Xt.count+=Ot.matches.length,Xt.risks=[...Xt.risks,Ot]):Xt={count:Ot.matches.length,risks:[Ot]},ot[L]={...Xt}}))}parseAVRisks(u){const k=[];return u.forEach(L=>L.matches.forEach(ot=>{try{const Ot=ot.details?.names||[],Xt=this.convertAVMatchTypesToString(ot);if(!Ot.length||!Xt)return;const Kt=k.find(xe=>xe.name===Xt);if(Kt){const xe=Kt.matches.map(hn=>hn.value),un=[...new Set([...xe,...Ot])];Kt.matches=this.buildAVMatches(un)}else{const xe=this.buildAVMatches(Ot);k.push({matches:xe,name:Xt})}}catch(Ot){console.error("Error parsing AV risk:",Ot)}})),k}convertAVMatchTypesToString(u){return u.details?.types?.map(k=>this.titleCasePipe.transform(k))?.join(", ")||""}buildAVMatches(u){return u.map(k=>({details:{},value:k}))}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(A.z0),i.\u0275\u0275directiveInject(f.TitleCasePipe))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-file-detections"]],inputs:{detectionResults:"detectionResults"},standalone:!1,features:[i.\u0275\u0275ProvidersFeature([A.z0,f.TitleCasePipe]),i.\u0275\u0275NgOnChangesFeature],decls:5,vars:0,consts:[[1,"sandbox-details__y-container"],["section","detections","title","Detections"],[1,"file-detections__content"],[3,"data","engine"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275element(1,"vcs-section-title",1),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275repeaterCreate(3,le,1,2,"vcs-engine-detection",3,i.\u0275\u0275repeaterTrackByIdentity),i.\u0275\u0275elementEnd()()),2&k&&(i.\u0275\u0275advance(3),i.\u0275\u0275repeater(L.detectionEngines))},dependencies:[Jt.D,Ht.L],styles:[".file-detections__content[_ngcontent-%COMP%]{box-shadow:0 1px 2px #0000007d}"],changeDetection:0})}}return m})();var o=W(7325),tt=W(5336),Y=W(8153);function T(m,mt){1&m&&(i.\u0275\u0275text(0),i.\u0275\u0275pipe(1,"translate")),2&m&&i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(1,1,"This file is potentially malicious.")," ")}function x(m,mt){1&m&&(i.\u0275\u0275text(0),i.\u0275\u0275pipe(1,"translate")),2&m&&i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(1,1,"This file is suspicious.")," ")}function F(m,mt){1&m&&(i.\u0275\u0275text(0),i.\u0275\u0275pipe(1,"translate")),2&m&&i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(1,1,"This file risk is low.")," ")}function rt(m,mt){1&m&&(i.\u0275\u0275text(0),i.\u0275\u0275pipe(1,"translate")),2&m&&i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(1,1,"No risks were found for this file.")," ")}function st(m,mt){if(1&m){const u=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"a",16),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(u),i.\u0275\u0275nextContext(2);const L=i.\u0275\u0275reference(2);return i.\u0275\u0275resetView(L.open())}),i.\u0275\u0275text(1),i.\u0275\u0275pipe(2,"translate"),i.\u0275\u0275elementEnd()}2&m&&(i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(2,1,"details")," "))}function H(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"div",1)(1,"div",3),i.\u0275\u0275element(2,"vcs-detective-icon",4),i.\u0275\u0275pipe(3,"vcsSandboxRisk"),i.\u0275\u0275elementStart(4,"div",5)(5,"span"),i.\u0275\u0275pipe(6,"vcsSandboxRisk"),i.\u0275\u0275pipe(7,"lowercase"),i.\u0275\u0275text(8),i.\u0275\u0275pipe(9,"vcsSandboxRisk"),i.\u0275\u0275pipe(10,"vcsSandboxRiskLabel"),i.\u0275\u0275pipe(11,"translate"),i.\u0275\u0275pipe(12,"uppercase"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(13,"span",6),i.\u0275\u0275conditionalCreate(14,T,2,3)(15,x,2,3)(16,F,2,3)(17,rt,2,3),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(18,"div",7)(19,"div",8)(20,"div",9)(21,"span",10),i.\u0275\u0275text(22),i.\u0275\u0275pipe(23,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"span",11),i.\u0275\u0275text(25),i.\u0275\u0275conditionalCreate(26,st,3,3,"a",12),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(27,"div",9)(28,"span",10),i.\u0275\u0275text(29),i.\u0275\u0275pipe(30,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(31,"span",11),i.\u0275\u0275text(32),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(33,"div",9)(34,"span",10),i.\u0275\u0275text(35),i.\u0275\u0275pipe(36,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(37,"span",11),i.\u0275\u0275text(38),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(39,"div",9)(40,"span",10),i.\u0275\u0275text(41),i.\u0275\u0275pipe(42,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(43,"span",11),i.\u0275\u0275text(44),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(45,"div",9)(46,"span",10),i.\u0275\u0275text(47),i.\u0275\u0275pipe(48,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(49,"span",11),i.\u0275\u0275text(50),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(51,"div",9)(52,"span",10),i.\u0275\u0275text(53),i.\u0275\u0275pipe(54,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(55,"span",11),i.\u0275\u0275text(56),i.\u0275\u0275pipe(57,"vcnConvertByteUnit"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(58,"div",13)(59,"div",9)(60,"span",10),i.\u0275\u0275text(61),i.\u0275\u0275pipe(62,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(63,"span",14),i.\u0275\u0275text(64),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(65,"div",9)(66,"span",10),i.\u0275\u0275text(67),i.\u0275\u0275pipe(68,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(69,"span",15),i.\u0275\u0275text(70),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(71,"div",9)(72,"span",10),i.\u0275\u0275text(73),i.\u0275\u0275pipe(74,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(75,"span",15),i.\u0275\u0275text(76),i.\u0275\u0275elementEnd()()()()()),2&m){let u;
1const k=i.\u0275\u0275nextContext();i.\u0275\u0275advance(2),i.\u0275\u0275property("risk",i.\u0275\u0275pipeBind1(3,25,null==k.analysisRequest.results?null:k.analysisRequest.results.max_risk)),i.\u0275\u0275advance(3),i.\u0275\u0275classMap(i.\u0275\u0275interpolate1("file-summary__main-data__risk file-summary__main-data__risk--",i.\u0275\u0275pipeBind1(7,29,i.\u0275\u0275pipeBind1(6,27,null==k.analysisRequest.results?null:k.analysisRequest.results.max_risk)))),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(12,37,i.\u0275\u0275pipeBind1(11,35,i.\u0275\u0275pipeBind1(10,33,i.\u0275\u0275pipeBind1(9,31,null==k.analysisRequest.results?null:k.analysisRequest.results.max_risk))))," "),i.\u0275\u0275advance(6),i.\u0275\u0275conditional("known"===(u=null==k.analysisRequest.results?null:k.analysisRequest.results.max_risk)?14:"high"===u?15:"misc"===u?16:17),i.\u0275\u0275advance(8),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(23,39,"Submitted")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",k.analysisRequest.at," "),i.\u0275\u0275advance(),i.\u0275\u0275conditional(k.uploadOptions?26:-1),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(30,41,"Analysis Time")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",k.analysisRequest.finished_at," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(36,43,"File Name")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",null==k.analysisRequest.request||null==k.analysisRequest.request.options?null:k.analysisRequest.request.options.filename," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(42,45,"Command Line")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",null==k.analysisRequest.request||null==k.analysisRequest.request.options||null==k.analysisRequest.request.options.sandbox_settings?null:k.analysisRequest.request.options.sandbox_settings.TARGET_CMDLINE_PARAMETERS," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(48,47,"File Type")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",null==k.analysisRequest.analysis?null:k.analysisRequest.analysis.mime_type," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(54,49,"File Size")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(57,51,null==k.analysisRequest.sample?null:k.analysisRequest.sample.size_bytes)," "),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(62,53,"MD5")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",null==k.analysisRequest.sample?null:k.analysisRequest.sample.md5," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(68,55,"SHA1")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",null==k.analysisRequest.sample?null:k.analysisRequest.sample.sha1," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(74,57,"SHA256")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",null==k.analysisRequest.sample?null:k.analysisRequest.sample.sha256," ")}}let ft=(()=>{class m{static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-file-summary"]],inputs:{analysisRequest:"analysisRequest",uploadOptions:"uploadOptions"},standalone:!1,decls:3,vars:2,consts:[["fileAnalysisSettingsModal",""],[1,"sandbox-details__y-container","file-summary"],[3,"uploadSettings"],[1,"file-summary__main-data__container"],[3,"risk"],[1,"file-summary__main-data"],[1,"file-summary__main-data__risk-description"],[1,"file-summary__container"],[1,"mb-3","file-summary__container__block"],[1,"file-summary__data"],[1,"file-summary__data__label"],[1,"file-summary__data__value"],[1,"clickable","pointable"],[1,"file-summary__container__block"],[1,"d-flex","file-summary__data__value","file-summary__data__value--code-font"],[1,"file-summary__data__value","file-summary__data__value--code-font"],[1,"clickable","pointable",3,"click"]],template:function(k,L){1&k&&(i.\u0275\u0275conditionalCreate(0,H,77,59,"div",1),i.\u0275\u0275element(1,"vcs-file-analysis-settings",2,0)),2&k&&(i.\u0275\u0275conditional(L.analysisRequest?0:-1),i.\u0275\u0275advance(),i.\u0275\u0275property("uploadSettings",L.uploadOptions))},dependencies:[o.T,tt.u,f.UpperCasePipe,f.LowerCasePipe,d.ConvertByteUnitPipe,Y.z0,Y.$U,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.file-summary[_ngcontent-%COMP%], .file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]{display:flex}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:4px 0 0 16px;width:280px;word-wrap:anywhere}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]   .file-summary__main-data__risk[_ngcontent-%COMP%]{font-size:2.25rem;font-weight:700;line-height:normal;-webkit-text-fill-color:transparent}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]   .file-summary__main-data__risk.file-summary__main-data__risk--malicious[_ngcontent-%COMP%]{background:linear-gradient(180deg,#f40202,#bd0044);background-clip:text;color:#f40202;-webkit-background-clip:text}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]   .file-summary__main-data__risk.file-summary__main-data__risk--suspicious[_ngcontent-%COMP%]{background:linear-gradient(180deg,#ff9b05,#9f7331);background-clip:text;color:#ff9b05;-webkit-background-clip:text}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]   .file-summary__main-data__risk.file-summary__main-data__risk--low_risk[_ngcontent-%COMP%]{background:linear-gradient(180deg,#989da3,#313437);background-clip:text;color:#989da3;-webkit-background-clip:text}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]   .file-summary__main-data__risk.file-summary__main-data__risk--no_risk[_ngcontent-%COMP%]{background:linear-gradient(180deg,#54bd8d,#09d276);background-clip:text;color:#54bd8d;-webkit-background-clip:text}.file-summary[_ngcontent-%COMP%]   .file-summary__main-data__container[_ngcontent-%COMP%]   .file-summary__main-data[_ngcontent-%COMP%]   .file-summary__main-data__risk-description[_ngcontent-%COMP%]{color:#272d34;font-size:.75rem}.file-summary[_ngcontent-%COMP%]   .file-summary__container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.file-summary[_ngcontent-%COMP%]   .file-summary__container[_ngcontent-%COMP%]   .file-summary__container__block[_ngcontent-%COMP%]{margin-left:10px}.file-summary[_ngcontent-%COMP%]   .file-summary__container[_ngcontent-%COMP%]   .file-summary__data[_ngcontent-%COMP%]{align-items:baseline;display:flex;word-wrap:anywhere}.file-summary[_ngcontent-%COMP%]   .file-summary__container[_ngcontent-%COMP%]   .file-summary__data[_ngcontent-%COMP%]   .file-summary__data__label[_ngcontent-%COMP%]{color:#7c8187;font-size:.813rem;text-align:right;margin-right:4px;min-width:92px}.file-summary[_ngcontent-%COMP%]   .file-summary__container[_ngcontent-%COMP%]   .file-summary__data[_ngcontent-%COMP%]   .file-summary__data__value[_ngcontent-%COMP%]{color:#3b4855;font-size:.813rem;margin-left:4px}.file-summary[_ngcontent-%COMP%]   .file-summary__container[_ngcontent-%COMP%]   .file-summary__data[_ngcontent-%COMP%]   .file-summary__data__value.file-summary__data__value--code-font[_ngcontent-%COMP%]{font-family:Consolas,monospace,sans-serif}@media(max-width:1199.98px){.file-summary[_ngcontent-%COMP%]{flex-direction:column}.file-summary[_ngcontent-%COMP%]   .file-summary__container__block[_ngcontent-%COMP%]:first-child{margin:20px 0 0}}'],changeDetection:0})}}return m})();
1var kt=W(345),lt=W(4698),zt=W(141);const Vt=m=>({disabled:m}),Pt=()=>({adaptToSmallScreens:!0,canSelectItems:!1,canSort:!1});function ue(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.source," ")}}function Se(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.type," ")}}function he(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.value," ")}}function Ee(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.associatedProcess," ")}}function Wt(m,mt){if(1&m&&i.\u0275\u0275conditionalCreate(0,ue,2,1,"vcs-base-column")(1,Se,2,1,"vcs-base-column")(2,he,2,1,"vcs-base-column")(3,Ee,2,1,"vcs-base-column"),2&m){const u=mt.column,k=i.\u0275\u0275nextContext();i.\u0275\u0275conditional(k.FacetKey.SOURCE===u?0:k.FacetKey.TYPE===u?1:k.FacetKey.VALUE===u?2:k.FacetKey.ASSOCIATED_PROCESS===u?3:-1)}}let ze=(()=>{class m{constructor(u,k,L,ot){this.columnsData=u,this.listUtils=k,this.loadingState=L,this.sanitizer=ot,this.loading=!1,this.columns=[this.columnsData.source,this.columnsData.type,this.columnsData.value,this.columnsData.process],this.loading$=this.loadingState.loading$,this.localIoc=[],this.FacetKey=g.ZZ}ngOnInit(){this.pagination=this.listUtils.initialPaginationConfig(10)}ngOnChanges({iocFilesResults:u}){u?.currentValue&&this.buildLocalList()}sanitizeUrl(){return this.sanitizer.bypassSecurityTrustUrl("data:text/csv;charset=utf-8,"+encodeURI(this.iocXMLData))}handlePaginationChange(u){this.pagination=this.listUtils.updatePage(u.page,this.pagination),this.buildLocalList()}buildLocalList(){this.iocFilesResults?.length&&(this.localIoc=this.paginateList(this.iocFilesResults))}paginateList(u){return this.pagination=this.listUtils.updateTotalPagination(u,this.pagination),u.slice(this.pagination.offset,this.pagination.limit)}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(g.Uf),i.\u0275\u0275directiveInject(D.ListUtils),i.\u0275\u0275directiveInject(g.V7),i.\u0275\u0275directiveInject(kt.up))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-ioc-table"]],inputs:{iocXMLData:"iocXMLData",filename:"filename",loading:"loading",iocFilesResults:"iocFilesResults"},standalone:!1,features:[i.\u0275\u0275NgOnChangesFeature],decls:13,vars:23,consts:[["itemTemplate",""],[1,"table-container__title"],["section","ioc","title","Indicators of compromise",3,"loading"],[1,"nav-link","clickable",3,"ngClass","download","href"],["customClass","edr-table vc-table--ioc","idField","eventId",3,"paginationChange","columns","items","loading","options","pagination","useLocalPagination"],[1,"empty-message"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"div",1),i.\u0275\u0275element(1,"vcs-section-title",2),i.\u0275\u0275elementStart(2,"a",3),i.\u0275\u0275pipe(3,"vcsAppendCSV"),i.\u0275\u0275text(4),i.\u0275\u0275pipe(5,"translate"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(6,"vcn-table",4),i.\u0275\u0275pipe(7,"async"),i.\u0275\u0275listener("paginationChange",function(Ot){return L.handlePaginationChange(Ot)}),i.\u0275\u0275elementStart(8,"span",5),i.\u0275\u0275text(9),i.\u0275\u0275pipe(10,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(11,Wt,4,1,"ng-template",null,0,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275advance(),i.\u0275\u0275property("loading",L.loading),i.\u0275\u0275advance(),i.\u0275\u0275property("ngClass",i.\u0275\u0275pureFunction1(20,Vt,!(null!=L.localIoc&&L.localIoc.length)))("download",i.\u0275\u0275pipeBind1(3,12,L.filename))("href",L.sanitizeUrl(),i.\u0275\u0275sanitizeUrl),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(5,14,"Download as CSV")," "),i.\u0275\u0275advance(2),i.\u0275\u0275property("columns",L.columns)("items",L.localIoc)("loading",i.\u0275\u0275pipeBind1(7,16,L.loading$))("options",i.\u0275\u0275pureFunction0(22,Pt))("pagination",L.pagination)("useL
1ocalPagination",!0),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(10,18,"No indicators of compromise found.")," "))},dependencies:[lt.z,f.NgClass,Ht.L,d.TableComponent,zt.h,f.AsyncPipe,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.vc-table.edr-table .th{align-items:flex-end}.vc-table.edr-table .row--expansion{background-color:#eef8fd}@media(max-width:991.98px){.vc-table.edr-table .vc-main-row.main-row--flex{flex-wrap:wrap!important}}.vc-table.edr-table .selected-row.vc-main-row.tr{border-bottom:0;background-color:#eef8fd}.vc-table.edr-table .selected-row.vc-main-row.tr .td{border:0}.vc-table.edr-table.vc-table--resize{display:block;min-width:100%;overflow:auto hidden;width:auto}.vc-table.edr-table.vc-table--resize .vc-table--resize__header{min-width:100%;width:auto}.vc-table.edr-table.vc-table--resized{display:grid}.vc-table.edr-table.table--filter-list{position:relative;width:1px!important}.vc-table.edr-table .expansion-container{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0003;margin:4px 16px;padding:8px 8px 4px}.vc-table.edr-table .col-regular__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;word-wrap:break-word;color:#435c6e;font-weight:500;word-break:break-word}.vc-table.edr-table .hide-header.th{visibility:hidden}.vc-table.edr-table .hide-header.th .col-regular__title{white-space:nowrap}.vc-table.edr-table .column__sub-label{color:gray;display:block;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vc-table.edr-table .column__sub-label.column__sub-label--unhandled{color:#a3003b;font-size:.6875rem}.vc-table.edr-table .table-header:hover .resize__border.resize__border--right{background:linear-gradient(90deg,transparent 80%,#448be6 20%)}.vc-table.edr-table .table-header:hover .resize__border.resize__border--left{background:linear-gradient(90deg,#448be6 20%,transparent 0%)}.vc-table.edr-table .table-header:hover .resize__border.resize__border--bottom{background:linear-gradient(180deg,transparent 80%,#448be6 20%)}.vc-table.edr-table .table-header:hover .resize__border.resize__border--top{background:linear-gradient(180deg,#448be6 20%,transparent 0%)}.vc-table.edr-table .column__actions{max-width:52px;overflow:inherit}@media(min-width:992px){.vc-table.edr-table .column__incident-event-name{max-width:232px;min-width:130px}}@media(max-width:992px){.vc-table.edr-table .column__incident-event-name{align-items:flex-start!important}}@media(min-width:992px){.vc-table.edr-table .column__time{max-width:120px;min-width:120px}}@media(min-width:992px){.vc-table.edr-table .column__pid{max-width:68px;min-width:68px}}@media(min-width:992px){.vc-table.edr-table .column__risk,.vc-table.edr-table .column__verdict{max-width:140px;min-width:140px}}@media(min-width:992px){.vc-table.edr-table .incident-events-table__event-data div[class^=col-],.vc-table.edr-table .incident-events-table__event-data div[class*=" col-"]{padding:0 4px}.vc-table.edr-table .incident-events-table__event-data div[class^=col-]:first-child,.vc-table.edr-table .incident-events-table__event-data div[class*=" col-"]:first-child{padding-left:15px}.vc-table.edr-table .incident-events-table__event-data div[class^=col-]:last-child,.vc-table.edr-table .incident-events-table__event-data div[class*=" col-"]:last-child{padding-right:15px}}@media(max-width:991.98px){.vc-table.edr-table .incident-events-table__event-data div[class^=col-],.vc-table.edr-table .incident-events-table__event-data div[class*=" col-"]{padding-bottom:4px}.vc-table.edr-table .incident-events-table__event-data div[class^=col-]:last-child,.vc-table.edr-table .incident-events-table__event-data div[class*=" col-"]:last-child{padding-bottom:0}}.column-picker__edr .column-picker{margin:0}.table-container__title{display:flex;flex-wrap:wrap;justify-content:space-between}.vc-table.vc-table--ioc .row--th{border-bottom:1px solid #d8dbdd!important;border-top:1px solid #d8dbdd!important}.vc-table.vc-table--ioc .th{background-color:#fff}.nav-link{border:2px solid #7294b6;border-radius:30px;color:#2e4d6c;display:block;font-size:.875rem;font-weight:500;margin-bottom:1rem;padding:5px 22px}.nav-link:hover{color:#0276d8;border:2px solid #0276d8}\n'],encapsulation:2,changeDetection:0})}}return m})();var Ae=W(331),be=W(7430);const qe=()=>({adaptToSmallScreens:!0,canSelectItems:!1});function rn(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.type," ")}}function an(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.domainName," ")}}function sn(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275pipe(2,"vcsJoinArray"),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(2,1,u.resolvedIpList)," ")}}function Je(m,mt){1&m&&i.\u0275\u0275element(0,"i",6)}function De(m,mt){1&m&&i.\u0275\u0275element(0,"i",7)}function Fe(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column",4),i.\u0275\u0275conditionalCreate(1,Je,1,0,"i",6)(2,De,1,0,"i",7),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275conditional(u.success?1:2)}}function ni(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column",5),i.\u0275\u0275element(1,"vcs-risk-label",8),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275property("riskLevel",u.reputation)}}function ii(m,mt){if(1&m&&i.\u0275\u0275conditionalCreate(0,rn,2,1,"vcs-base-column")(1,an,2,1,"vcs-base-column")(2,sn,3,3,"vcs-base-column")(3,Fe,3,1,"vcs-base-column",4)(4,ni,2,1,"vcs-base-column",5),2&m){const u=mt.column;i.\u0275\u0275conditional("type"===u?0:"domainName"===u?1:"resolvedIPList"===u?2:"success"===u?3:"reputation"===u?4:-1)}}let ri=(()=>{class m{constructor(u,k){this.columnsData=u,this.loadingState=k,this.dnsData=[],this.pagination={enable:!1,limit:10,page:1,total:0}}ngOnInit(){this.loading$=this.loadingState.loading$,this.setUpColumns(),this.buildIncidentEventsDetails()}handlePaginationChange(u){this.pagination={...u},this.buildIncidentEventsDetails()}buildIncidentEventsDetails(){this.dnsData=[{type:"A",domainName:"postbacktat.biz",resolvedIpList:["89.41.182.150","127.0.0.1"],success:!0,reputation:g.oD.MALICIOUS},{type:"B",domainName:"postbacktat.biz",resolvedIpList:["89.41.182.150"],success:!1,reputation:g.oD.MALICIOUS}]}setUpColumns(){this.columns=[this.columnsData.type,this.columnsData.domainName,this.columnsData.resolvedIPList,this.columnsData.success,this.columnsData.reputation]}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(g.Uf),i.\u0275\u0275directiveInject(g.V7))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-dns-table"]],standalone:!1,decls:8,vars:11,consts:[["vcsTable",""],["itemTemplate",""],["customClass","edr-table vc-table--basic dns-table","idField","id",3,"columns","items","loading","options","pagination"],[1,"empty-message"],["customClass","justify-content-center"],["customClass","justify-content-end"],[1,"fas","fa-check","dns-table__check"],[1,"fas","fa-times","dns-table__failure"],[3,"riskLevel"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"vcn-table",2,0),i.\u0275\u0275pipe(2,"async"),i.\u0275\u0275elementStart(3,"span",3),i.\u0275\u0275text(4),i.\u0275\u0275pipe(5,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(6,ii,5,1,"ng-template",null,1,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275property("columns",L.columns)("items",L.dnsData)("loading",i.\u0275\u0275pipeBind1(2,6,L.loading$))("options",i.\u0275\u0275pureFunction0(10,qe))("pagination",L.pagination),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(5,8,"No data found.")," "))},dependencies:[lt.z,Ae.Z,d.TableComponent,f.AsyncPipe,be.Q,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.dns-table{background:#fff}.dns-table .dns-table__check{color:#00a36a}.dns-table .dns-table__failure{color:#f40202}\n'],encapsulation:2})}}return m})();const ai=()=>({adaptToSmallScreens:!0,canSelectItems:!1});function si(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.method," ")}}function oi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.url," ")}}function li(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.responseCode," ")}}function ci(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.ip," ")}}function ui(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.port," ")}}function Tn(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column",4),i.\u0275\u0275element(1,"vcs-risk-label",5),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275property("riskLevel",u.reputation)}}function hi(m,mt){if(1&m&&i.\u0275\u0275conditionalCreate(0,si,2,1,"vcs-base-column")(1,oi,2,1,"vcs-base-column")(2,li,2,1,"vcs-base-column")(3,ci,2,1,"vcs-base-column")(4,ui,2,1,"vcs-base-column")(5,Tn,2,1,"vcs-base-column",4),2&m){const u=mt.column;i.\u0275\u0275conditional("method"===u?0:"url"===u?1:"responseCode"===u?2:"ip"===u?3:"port"===u?4:"reputation"===u?5:-1)}}let di=(()=>{class m{constructor(u,k){this.columnsData=u,this.loadingState=k,this.httpData=[],this.pagination={enable:!1,limit:10,page:1,total:0}}ngOnInit(){this.loading$=this.loadingState.loading$,this.setUpColumns(),this.buildIncidentEventsDetails()}handlePaginationChange(u){this.pagination={...u},this.buildIncidentEventsDetails()}buildIncidentEventsDetails(){this.httpData=[{method:"POST",url:"/",responseCode:"200 OK",ip:"185.225.19.55",port:"80",reputation:g.oD.MALICIOUS},{method:"GET",url:"/",responseCode:"200 OK",ip:"192.168.1.1",port:"91",reputation:g.oD.MALICIOUS}]}setUpColumns(){this.columns=[this.columnsData.method,this.columnsData.url,this.columnsData.responseCode,this.columnsData.ip,{...this.columnsData.port,customClass:"col-lg-1"},this.columnsData.reputation]}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(g.Uf),i.\u0275\u0275directiveInject(g.V7))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-http-table"]],standalone:!1,decls:8,vars:11,consts:[["vcsTable",""],["itemTemplate",""],["customClass","edr-table http-table vc-table--basic","idField","id",3,"columns","items","loading","options","pagination"],[1,"empty-message"],["customClass","justify-content-end"],[3,"riskLevel"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"vcn-table",2,0),i.\u0275\u0275pipe(2,"async"),i.\u0275\u0275elementStart(3,"span",3),i.\u0275\u0275text(4),i.\u0275\u0275pipe(5,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(6,hi,6,1,"ng-template",null,1,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275property("columns",L.columns)("items",L.httpData)("loading",i.\u0275\u0275pipeBind1(2,6,L.loading$))("options",i.\u0275\u0275pureFunction0(10,ai))("pagination",L.pagination),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(5,8,"No data found.")," "))},dependencies:[lt.z,Ae.Z,d.TableComponent,f.AsyncPipe,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.http-table{background:#fff}\n'],encapsulation:2})}}return m})();const fi=()=>({adaptToSmallScreens:!0,canSelectItems:!1});function pi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.localIp," ")}}function mi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.remoteIp," ")}}function _i(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.remotePort," ")}}function gi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column")(1,"p",5),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275elementStart(4,"span",6),i.\u0275\u0275text(5),i.\u0275\u0275pipe(6,"vcnConvertByteUnit"),i.\u0275\u0275elementEnd()()()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",u.sdc.packets," ",i.\u0275\u0275pipeBind1(3,3,"packets")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(6,5,u.sdc.size))}}function vi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column"),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",u.port," ")}}function yi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"vcs-base-column",4),i.\u0275\u0275element(1,"vcs-risk-label",7),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(),i.\u0275\u0275property("riskLevel",u.reputation)}}function bi(m,mt){if(1&m&&i.\u0275\u0275conditionalCreate(0,pi,2,1,"vcs-base-column")(1,mi,2,1,"vcs-base-column")(2,_i,2,1,"vcs-base-column")(3,gi,7,7,"vcs-base-column")(4,vi,2,1,"vcs-base-column")(5,yi,2,1,"vcs-base-column",4),2&m){const u=mt.column;i.\u0275\u0275conditional("localIp"===u?0:"remoteIp"===u?1:"remotePort"===u?2:"sdc"===u?3:"port"===u?4:"reputation"===u?5:-1)}}let xi=(()=>{class m{constructor(u,k){this.columnsData=u,this.loadingState=k,this.tcpData=[],this.pagination={enable:!1,limit:10,page:1,total:0}}ngOnInit(){this.loading$=this.loadingState.loading$,this.setUpColumns(),this.buildIncidentEventsDetails()}handlePaginationChange(u){this.pagination={...u},this.buildIncidentEventsDetails()}buildIncidentEventsDetails(){this.tcpData=[{localIp:"89.41.182.150",remoteIp:"89.41.182.150",remotePort:"86",sdc:{packets:328,size:2e3},port:"80",reputation:g.oD.MALICIOUS}]}setUpColumns(){this.columns=[this.columnsData.localIp,this.columnsData.remoteIp,this.columnsData.remotePort,this.columnsData.sdc,{...this.columnsData.port,customClass:"col-lg-1"},this.columnsData.reputation]}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(g.Uf),i.\u0275\u0275directiveInject(g.V7))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-tcp-table"]],standalone:!1,decls:8,vars:11,consts:[["vcsTable",""],["itemTemplate",""],["customClass","edr-table tcp-table vc-table--basic","idField","id",3,"columns","items","loading","options","pagination"],[1,"empty-message"],["customClass","justify-content-end"],[1,"m-0","truncate-text"],[1,"tcp-table__size"],[3,"riskLevel"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"vcn-table",2,0),i.\u0275\u0275pipe(2,"async"),i.\u0275\u0275elementStart(3,"span",3),i.\u0275\u0275text(4),i.\u0275\u0275pipe(5,"tr
1anslate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(6,bi,6,1,"ng-template",null,1,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275property("columns",L.columns)("items",L.tcpData)("loading",i.\u0275\u0275pipeBind1(2,6,L.loading$))("options",i.\u0275\u0275pureFunction0(10,fi))("pagination",L.pagination),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(5,8,"No data found.")," "))},dependencies:[lt.z,Ae.Z,d.TableComponent,f.AsyncPipe,d.ConvertByteUnitPipe,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.tcp-table{background:#fff}.tcp-table .tcp-table__size{color:#989da3}\n'],encapsulation:2})}}return m})(),wi=(()=>{class m{static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-network-details"]],standalone:!1,decls:18,vars:9,consts:[[1,"network-details"],["section","networkDetails","title","Network Details"],[1,"network-details__section"],[1,"network-details__section__title"]],template:function(k,L){1&k&&(i.\u0275\u0275text(0,"\n(mock data)\n"),i.\u0275\u0275elementStart(1,"div",0),i.\u0275\u0275element(2,"vcs-section-title",1),i.\u0275\u0275elementStart(3,"div",2)(4,"div",3),i.\u0275\u0275text(5),i.\u0275\u0275pipe(6,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(7,"vcs-dns-table"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"div",2)(9,"div",3),i.\u0275\u0275text(10),i.\u0275\u0275pipe(11,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(12,"vcs-http-table"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(13,"div",2)(14,"div",3),i.\u0275\u0275text(15),i.\u0275\u0275pipe(16,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(17,"vcs-tcp-table"),i.\u0275\u0275elementEnd()()),2&k&&(i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(6,3,"DNS Request")),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(11,5,"HTTP Request")),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(16,7,"TCP Traffic")))},dependencies:[Ht.L,ri,di,xi,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.network-details[_ngcontent-%COMP%]   .network-details__section[_ngcontent-%COMP%]{padding-bottom:36px}.network-details[_ngcontent-%COMP%]   .network-details__section[_ngcontent-%COMP%]   .network-details__section__title[_ngcontent-%COMP%]{color:#7294b6;font-size:1rem;font-weight:500;padding-bottom:12px}']})}}return m})();const Ci=m=>({"process-tree--disabled":m});var In=function(m){return m.InjectedThread="high",m.InjectedAPC="high",m.ModifiedMemory="high",m.ModifiedStack="high",m.ModifiedThread="high",m.InstalledAutoRunKey="high",m.CreatedServiceThread="medium",m.CreatedService="medium",m.CreatedProcessAsUser="medium",m.InjectedWinhookProc="medium",m.AccessedByAMonitoredProc="medium",m.AnalysisTarget="info",m.CreatedProcess="info",m.CreatedDCOM="info",m.ModifiedFileLoaded="info",m.AddedByPlugin="info",m.Other="info",m.unknown="info",m}(In||{});let zn=(()=>{class m{constructor(u){this.translate=u,this.loading=!1,this.clickNode=new i.EventEmitter,this.mappedNodes=[],this.indexLayout=1,this.initialZoom=1}ngOnInit(){this.nodes&&this.mapNodes()}ngAfterViewInit(){this.nodes&&this.buildChart()}setInstance(u){this.chart=u}swapGraph(){this.nodes.length>10?this.chart.collapseAll().layout(["top","left"][this.indexLayout++%2]).setCentered(0).initialZoom(this.initialZoom).render():this.chart.layout(["top","left"][this.indexLayout++%2]).render().fit()}restartGraph(){const u=!(this.nodes.length<=3);this.chart.layout("top"),this.nodes.length>10?this.chart.setCentered(0).initialZoom(this.initialZoom).fit({scale:u}).render():this.chart.expandAll().fit({scale:u})}clickExpand(u){u.children?.filter(L=>L.data?.noStyles)?.forEach(L=>this.chart.expand(L))}buildChart(){const u=!(this.nodes.length<=3);this.chart.nodeWidth(()=>180).childrenMargin(()=>15).layout("top").render().fit({scale:u}
1),this.nodes.length<=10?this.chart.expandAll().fit({scale:u}):this.chart.setCentered(0).initialZoom(this.initialZoom).render()}mapNodes(){const u=[];this.nodes.forEach(k=>{if("0"!==k.parent_pid&&!this.nodes.find(ot=>k.parent_pid===ot.pid))return u.push({parentId:0,id:Number(k.pid),name:this.buildNodeName(k.filename),type:"node_process",reason:k.monitor_reason}),void this.createLabelNode(u);u.push({id:Number(k.pid),parentId:Number(k.parent_pid),name:this.buildNodeName(k.filename),type:"node_process",reason:k.monitor_reason}),this.createLabelNode(u)}),u.push({id:0,parentId:null,name:this.fileName,type:"node_file",subType:this.translate.instant("Sample")}),this.mappedNodes=u}createLabelNode(u){const k=(new Date).getTime()*Math.random()*1e5,L=u[u.length-1];u.push({id:k,parentId:L.parentId,name:this.buildReason(L.reason),noStyles:!0}),L.parentId=k}buildNodeName(u){return u.split(/\\/g).pop()}buildReason(u){return`<span class='reason__label__${In[u]}' title='${u}'>${u}</span>`}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(y.c$))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-process-tree"]],inputs:{nodes:"nodes",loading:"loading",fileName:"fileName"},outputs:{clickNode:"clickNode"},standalone:!1,decls:3,vars:7,consts:[[1,"process-tree",3,"ngClass"],["section","analysisGraph","title","Analysis Graph",1,"process-tree__title",3,"loading"],[3,"getInstance","clickExpand","swap","restart","clickNode","data","selectedId","svgHeight"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275element(1,"vcs-section-title",1),i.\u0275\u0275elementStart(2,"vcn-tree-graph",2),i.\u0275\u0275listener("getInstance",function(Ot){return L.setInstance(Ot)})("clickExpand",function(Ot){return L.clickExpand(Ot)})("swap",function(){return L.swapGraph()})("restart",function(){return L.restartGraph()})("clickNode",function(Ot){return L.clickNode.emit(Ot)}),i.\u0275\u0275elementEnd()()),2&k&&(i.\u0275\u0275property("ngClass",i.\u0275\u0275pureFunction1(5,Ci,L.loading)),i.\u0275\u0275advance(),i.\u0275\u0275property("loading",L.loading),i.\u0275\u0275advance(),i.\u0275\u0275property("data",L.mappedNodes)("selectedId",0)("svgHeight",500))},dependencies:[f.NgClass,Ht.L,S.oK],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.process-tree{height:500px;position:relative}.process-tree.process-tree--disabled{pointer-events:none}.process-tree .process-tree__title{padding:30px 0 0 50px;pointer-events:auto;position:absolute;z-index:1}@media(max-width:767.98px){.process-tree .process-tree__title{padding-left:15px}}.process-tree .reason__label__high{color:#a3003b;font-weight:600}.process-tree .reason__label__medium{color:#a37600;font-weight:600}.process-tree .reason__label__info{color:#2e4d6c;font-weight:600}\n'],encapsulation:2,changeDetection:0})}}return m})();var ki=W(1413),Oe=W(6977),Le=W(5558),we=W(4572),Ve=W(5964),ne=W(7673),on=W(1397),Si=W(7247),Pe=W.n(Si),se=W(17);const Ei=["confirmationModal"],Ti=(m,mt)=>({action:m,visible:mt}),Ii=(m,mt,u,k,L,ot)=>[m,mt,u,k,L,ot];function zi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"span",6),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&m){const u=mt;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",null==u.analysis_request||null==u.analysis_request.request||null==u.analysis_request.request.options?null:u.analysis_request.request.options.filename," ")}}function Ai(m,mt){1&m&&(i.\u0275\u0275element(0,"i",7),i.\u0275\u0275pipe(1,"translate")),2&m&&i.\u0275\u0275property("title",i.\u0275\u0275pipeBind1(1,1,"Loading"))}function Di(m,mt){1&m&&(i.\u0275\u0275elementStart(0,"section",9)(1,"div",10)(2,"h3"),i.\u0275\u0275text(3),i.\u0275\u0275pipe(4,"translate"),i.\u0275\u0275elementEnd()()()),2&m&&(i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(4,1,"File Analysis is still being performed.")," "))}function Oi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"div",20),i.\u0275\u0275element(1,"vcs-events-table",26),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(),i.\u0275\u0275property("processes",u.processes)("nodeId",u.nodeId)}}function Ri(m,mt){1&m&&(i.\u0275\u0275elementStart(0,"section",21)(1,"div",13),i.\u0275\u0275element(2,"vcs-network-details"),i.\u0275\u0275elementEnd()())}function Mi(m,mt){if(1&m){const u=i.\u0275\u0275getCurrentView();i.\u0275\u0275element(0,"vcs-bubble-selector",11,1),i.\u0275\u0275elementStart(2,"section",12)(3,"div",13)(4,"div",14),i.\u0275\u0275element(5,"vcs-file-summary",15),i.\u0275\u0275elementStart(6,"v
1cs-analysis-table-actions",16),i.\u0275\u0275listener("performAction",function(L){i.\u0275\u0275restoreView(u);const ot=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ot.performAction(L))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(7,"vcs-file-detections",17),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(8,"section",18)(9,"vcs-process-tree",19),i.\u0275\u0275listener("clickNode",function(L){i.\u0275\u0275restoreView(u);const ot=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ot.handleClickNode(L))}),i.\u0275\u0275elementEnd(),i.\u0275\u0275conditionalCreate(10,Oi,2,2,"div",20),i.\u0275\u0275elementEnd(),i.\u0275\u0275conditionalCreate(11,Ri,3,0,"section",21),i.\u0275\u0275elementStart(12,"section",22)(13,"div",13),i.\u0275\u0275element(14,"vcs-ioc-table",23),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(15,"section",24)(16,"div",13),i.\u0275\u0275element(17,"vcs-screenshots",25),i.\u0275\u0275elementEnd()()}if(2&m){const u=i.\u0275\u0275nextContext(),k=i.\u0275\u0275nextContext();i.\u0275\u0275property("selected",k.selectedSection)("options",k.options),i.\u0275\u0275advance(5),i.\u0275\u0275property("analysisRequest",u.analysis_request)("uploadOptions",null==k.fileAnalysis?null:k.fileAnalysis.options),i.\u0275\u0275advance(),i.\u0275\u0275property("actionsToShow",i.\u0275\u0275pureFunction6(22,Ii,k.AnalysisAction.DOWNLOAD,k.AnalysisAction.DOWNLOAD_ARTIFACTS,k.AnalysisAction.LOOKUP_VIRUS_TOTAL,k.AnalysisAction.SEARCH_GOOGLE,k.AnalysisAction.COPY_MD5,i.\u0275\u0275pureFunction2(19,Ti,k.AnalysisAction.DELETE,(null==k.fileAnalysis?null:k.fileAnalysis.mappedLinks.delete)||!1)))("item",k.fileAnalysis),i.\u0275\u0275advance(),i.\u0275\u0275property("detectionResults",null==u.analysis_request?null:u.analysis_request.results),i.\u0275\u0275advance(2),i.\u0275\u0275property("fileName",null==u.analysis_request||null==u.analysis_request.request||null==u.analysis_request.request.options?null:u.analysis_request.request.options.filename)("nodes",null==u.analysis_request||null==u.analysis_request.results?null:u.analysis_request.results.process_tree.calltree_summary)("loading",k.spinners.JSON),i.\u0275\u0275advance(),i.\u0275\u0275conditional(k.spinners.JSON?-1:10),i.\u0275\u0275advance(),i.\u0275\u0275conditional(-1),i.\u0275\u0275advance(3),i.\u0275\u0275property("filename",null==u.analysis_request||null==u.analysis_request.request||null==u.analysis_request.request.options?null:u.analysis_request.request.options.filename)("iocFilesResults",k.iocFiles)("iocXMLData",k.iocXMLData)("loading",k.spinners.IOC),i.\u0275\u0275advance(3),i.\u0275\u0275property("screenshots",k.screenshots)("loading",k.spinners.SCREENSHOT)("totalScreenshots",k.totalScreenshots)}}function Ni(m,mt){if(1&m&&i.\u0275\u0275conditionalCreate(0,Di,5,3,"section",9)(1,Mi,18,29),2&m){const u=mt,k=i.\u0275\u0275nextContext();i.\u0275\u0275conditional((null==u?null:u.status)===k.SandboxDetailsStatus.PROCESSING?0:1)}}let An=(()=>{class m{constructor(u,k,L,ot,Ot,Xt,Kt,xe,un,hn,Ji,Rn,dn){this.analysisActionsService=u,this.commonVariablesState=k,this.confirmService=L,this.downloadUtils=ot,this.fileAnalysisService=Ot,this.linkService=Xt,this.loadingState=Kt,this.route=xe,this.router=un,this.sandboxDetailsState=hn,this.sandboxService=Ji,this.toastMsg=Rn,this.translate=dn,this.file$=this.sandboxDetailsState.file$,this.loading$=this.loadingState.loading$,this.iocFiles=[],this.options=[],this.processes=[],this.screenshots=[{alt:"loading",src:null},{alt:"loading",src:null},{alt:"loading",src:null}],this.totalScreenshots=0,this.spinners={IOC:!1,JSON:!1,SCREENSHOT:!1},this.AnalysisAction=A.Lf,this.SandboxDetailsStatus=g.s7,this.ngUnsubscribe$=new ki.B,this.JSZIP=new(Pe()),this.MAIN_PATH="/fileAnalysis/analysisList",this.SCREENSHOTS_ZIP_PATH="Analysis"}ngOnInit(){this.loadFileDetails(),this.loadFileForTheFirstTime(),this.loadRouteData(),this.setUpConfirmationModal()}ngOnDestroy(){this.ngUnsubscribe$.next(),this.ngUnsubscribe$.complete(),this.sandboxDetailsState.setFile(null)}performAction(u){const k=u.item?.md5||this.sandboxDetailsState.getMD5();switch(u.action){case A.Lf.COPY_MD5:this.analysisActionsService.copyToClipboard(k,"MD5");break;case A.Lf.DELETE:this.deleteFile(u.item);break;case A.Lf.DOWNLOAD_ARTIFACTS:this.downloadFile(u.item,"download-artifact");break;case A.Lf.DOWNLOAD:this.downloadFile(u.item,"download");break;case A.Lf.LOOKUP_VIRUS_TOTAL:this.analysisActionsService.openInVirusTotal(k);break;case A.Lf.SEARCH_GOOGLE:this.analysisActionsService.searchInGoogle(k)}}handleClickNode(u){this.nodeId=u}deleteFile(u){const k=u.mappedLinks.delete,L=this.translate.instant("File");this.confirmService.open(this.analysisActionsService.deleteItem(L)).then(()=>{this.linkService.request(k).pipe((0,Oe.Q)(this.ngUnsubscribe$)).subscribe({next:()=>{this.analysisActionsService.handleOnSuccessDeletingItem(L),this.router.navigate([this.MAIN_PATH])},error:ot=>this.analysisActionsService.handleOnErrorDeletingItem(ot,L)})},()=>{})}downloadFile(u,k){const L=u?.mappedLinks[k];this.getDownloadFileObservable(L,k).pipe((0,Oe.Q)(this.ngUnsubscribe$),(0,Le.n)(ot=>this.getFilePasswordPair(ot,L))).subscribe({next:([ot,Ot])=>{const Xt=this.translate.instant("Use the password to decompress the file.",{password:Ot});let Kt=u?.fileName||this.sandboxDetailsState.getFileName()||"file";Kt=`${"download-artifact"===k?"Artifacts-":""}${Kt}.zip`,this.toastMsg.addMsg(Xt,"info"),this.downloadUtils.initDownload(Kt,ot)},error:ot=>{console.error(ot);const Ot=this.translate.instant("Error while downloading the file.");this.toastMsg.addMsg(Ot,"danger")}})}getDownloadFileObservable(u,k){if(u)return this.fileAnalysisService.downloadFile(u?.url);const L="download"===k?"FILE_RESOURCE_SAMPLE":"FILE_RESOURCE_ALL";return(0,we.z)([this.file$.pipe((0,Ve.p)(ot=>!!ot)),this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Le.n)(([ot,Ot,Xt,Kt])=>this.fileAnalysisService.buildPathAndDownloadFile(ot,Ot,Xt,Kt,L)))}getFilePasswordPair(u,k){const L=k?.data;if(L)return(0,we.z)([(0,ne.of)(u),(0,ne.of)(L)]);const ot=(0,we.z)([this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Le.n)(([Ot,Xt,Kt])=>this.fileAnalysisService.getDownloadFileUrl(Ot,Xt,Kt)));return(0,we.z)([(0,ne.of)(u),ot])}loadFileForTheFirstTime(){(0,we.z)([this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Oe.Q)(this.ngUnsubscribe$),(0,Le.n)(([u,k,L])=>this.sandboxService.getFileDetails(u,k,L))).subscribe({next:u=>{u||this.router.navigate(["itemNotFound"],{skipLocationChange:!0,queryParams:{type:"ITEM"}}),u?.analysis_request&&u?.status!==g.s7.PROCESSING?(this.buildJsonList(),this.buildScreenshotsList(),this.buildIOCList()):this.loadingState.stopLoading()},error:u=>this.handleOnErrorGettingFileDetails(u)})}loadFileDetails(){(0,we.z)([this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Oe.Q)(this.ngUnsubscribe$),(0,Le.n)(([u,k,L])=>this.sandboxService.getFileAnalysisDetails(u,k,L))).subscribe({next:u=>{u&&(this.fileAnalysis=u,this.fileAnalysis.mappedLinks=this.linkService.mapLinks(this.fileAnalysis.links))},error:u=>this.handleOnErrorGettingFileAnalysisDetails(u)})}buildJsonList(){this.spinners.JSON=!0,(0,we.z)([this.file$.pipe((0,Ve.p)(u=>!!u)),this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Oe.Q)(this.ngUnsubscribe$),(0,on.Z)(([u,k,L,ot])=>
1u.analysis_request.artifacts?.json?this.fileAnalysis?.mappedLinks.json?this.sandboxService.getJsonData(this.fileAnalysis.mappedLinks.json.url):this.sandboxService.buildPathAndGetJsonData(u,k,L,ot):(0,ne.of)(null))).subscribe({next:u=>{this.processes=u?u.analysis.processes.process:[],this.spinners.JSON=!1},error:u=>{this.spinners.JSON=!1,this.handleOnErrorGettingJsonData(u)}})}buildIOCList(){this.spinners.IOC=!0,(0,we.z)([this.file$.pipe((0,Ve.p)(u=>!!u)),this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Oe.Q)(this.ngUnsubscribe$),(0,Le.n)(([u,k,L,ot])=>{if(u.analysis_request.artifacts?.ioc){const Ot=this.fileAnalysis?.mappedLinks.ioc,Xt=Ot?this.sandboxService.getIOCFiles(Ot.url):this.sandboxService.buildPathAndGetIOCFiles(u,k,L,ot);return(0,we.z)([Xt,(0,ne.of)(u.analysis_request.results.process_tree.calltree_summary)])}return(0,ne.of)([null,null])})).subscribe({next:([u,k])=>{u?(this.iocXMLData=u,this.iocFiles=this.convertCSVToArray(u,k)):(this.iocFiles=[],this.iocXMLData=""),this.spinners.IOC=!1},error:u=>{this.spinners.IOC=!1,this.handleOnErrorGettingIOCFiles(u)}})}loadRouteData(){const u=window.location.href,[k,L]=u.split("#");this.selectedSection=L||"",this.buildBubbleOptions(k)}buildBubbleOptions(u){this.options=[{label:"Detections",key:"detections",section:u+"#detections"},{label:"Analysis Graph",key:"analysisGraph",section:u+"#analysisGraph"},{label:"IOC",key:"ioc",section:u+"#ioc"},{label:"Screenshots",key:"screenshots",section:u+"#screenshots"}]}buildScreenshotsList(){this.spinners.SCREENSHOT=!0,(0,we.z)([this.file$.pipe((0,Ve.p)(u=>!!u)),this.commonVariablesState.siteUuid$,this.route.params,this.route.queryParams]).pipe((0,Oe.Q)(this.ngUnsubscribe$),(0,on.Z)(([u,k,L,ot])=>u.analysis_request.artifacts?.screenshots?this.fileAnalysis?.mappedLinks.screenshots?this.sandboxService.getScreenshots(this.fileAnalysis.mappedLinks.screenshots.url):this.sandboxService.buildPathAndGetScreenshots(u,k,L,ot):(0,ne.of)(null))).subscribe(u=>{this.spinners.SCREENSHOT=!1,u?this.loadZip(u):this.screenshots=[]})}loadZip(u){this.JSZIP.loadAsync(u).then(k=>{this.screenshots=[],k.folder(this.SCREENSHOTS_ZIP_PATH).forEach((L,ot)=>{this.totalScreenshots++,ot.async("base64").then(Ot=>this.screenshots=[...this.screenshots,{alt:L,src:`data:image/png;base64,${Ot}`}])})},k=>{this.spinners.SCREENSHOT=!1,this.handleOnErrorUnzippingScreenshots(k)})}handleOnErrorGettingFileAnalysisDetails(u){this.toastMsg.addMsg(this.translate.instant("Error getting file details, download file and delete actions will be disabled."),"danger"),console.error(u)}handleOnErrorGettingFileDetails(u){this.toastMsg.addMsg(this.translate.instant("Error getting file details."),"danger"),console.error(u)}handleOnErrorGettingIOCFiles(u){this.toastMsg.addMsg(this.translate.instant("Error getting indicators of compromise."),"danger"),console.error(u)}handleOnErrorGettingJsonData(u){this.toastMsg.addMsg(this.translate.instant("Error getting json data."),"danger"),console.error(u)}convertCSVToArray(u,k,L=","){return u.slice(0).split("\n").filter(ot=>ot.includes("analysis")).map(ot=>ot.split(L)).map(ot=>{const Xt=ot[4].split(":").map(Kt=>k.find(xe=>xe.pid===Kt)?.filename).reduce((Kt,xe)=>`${Kt}, ${xe}`);return{source:ot[3],type:ot[1],value:ot[ot.length-1],associatedProcess:Xt}})}handleOnErrorUnzippingScreenshots(u){this.toastMsg.addMsg(this.translate.instant("Error unzipping screenshots."),"danger"),console.error(u)}setUpConfirmationModal(){this.confirmService.setConfirmModal(this.confirmationModal,{cancelButton:"vc-btn vc-btn--padded vc-btn--transparent vc-btn--inline",confirmButton:"text-capitalize vc-btn vc-btn--padded vc-btn--info-primary vc-btn--inline",body:"text-center modal-content-padded"})}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(g.V8),i.\u0275\u0275directiveInject(g.X9),i.\u0275\u0275directiveInject(d.ConfirmService),i.\u0275\u0275directiveInject(g.so),i.\u0275\u0275directiveInject(g.QB),i.\u0275\u0275directiveInject(d.LinkUtils),i.\u0275\u0275directiveInject(g.V7),i.\u0275\u0275directiveInject(se.ActivatedRoute),i.\u0275\u0275directiveInject(se.Router),i.\u0275\u0275directiveInject(g.uF),i.\u0275\u0275directiveInject(g.ZK),i.\u0275\u0275directiveInject(d.ToastMsgService),i.\u0275\u0275directiveInject(y.c$))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-sandbox-details"]],viewQuery:function(k,L){if
1(1&k&&i.\u0275\u0275viewQuery(Ei,7),2&k){let ot;i.\u0275\u0275queryRefresh(ot=i.\u0275\u0275loadQuery())&&(L.confirmationModal=ot.first)}},standalone:!1,decls:13,vars:9,consts:[["confirmationModal",""],["bubbleSelector",""],[1,"page-body"],[1,"page-title-row","vc-page-title-row"],[1,"vc-page-header"],[1,"vc-page-header__title"],["vcnTooltip","",1,"text-truncate"],[1,"fas","fa-spinner","fa-pulse",3,"title"],["vcsSelectedSection","",1,"page-content","sandbox-details",3,"sectionChange"],[1,"sandbox-details__section"],[1,"sandbox-details__processing-container"],[3,"selected","options"],["id","detections",1,"sandbox-details__section"],[1,"sandbox-details__container"],[1,"sandbox-details__container__header"],[3,"analysisRequest","uploadOptions"],["customClass","analysis-action--details-view",1,"sandbox-details__container__header__actions",3,"performAction","actionsToShow","item"],[3,"detectionResults"],["id","analysisGraph",1,"sandbox-details__section","sandbox-details__section--graph"],[3,"clickNode","fileName","nodes","loading"],[1,"sandbox-details__x-container","sandbox-details__section--graph__table"],["id","networkDetails",1,"sandbox-details__section"],["id","ioc",1,"sandbox-details__section","sandbox-details__section--white-bg"],[3,"filename","iocFilesResults","iocXMLData","loading"],["id","screenshots",1,"sandbox-details__section"],[3,"screenshots","loading","totalScreenshots"],[3,"processes","nodeId"]],template:function(k,L){if(1&k&&(i.\u0275\u0275elementStart(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),i.\u0275\u0275conditionalCreate(4,zi,2,1,"span",6),i.\u0275\u0275pipe(5,"async"),i.\u0275\u0275conditionalCreate(6,Ai,2,3,"i",7),i.\u0275\u0275pipe(7,"async"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(8,"div",8),i.\u0275\u0275listener("sectionChange",function(Ot){return L.selectedSection=Ot}),i.\u0275\u0275conditionalCreate(9,Ni,2,1),i.\u0275\u0275pipe(10,"async"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(11,"vcn-confirm",null,0)),2&k){let ot,Ot;i.\u0275\u0275advance(4),i.\u0275\u0275conditional((ot=i.\u0275\u0275pipeBind1(5,3,L.file$))?4:-1,ot),i.\u0275\u0275advance(2),i.\u0275\u0275conditional(i.\u0275\u0275pipeBind1(7,5,L.loading$)?6:-1),i.\u0275\u0275advance(3),i.\u0275\u0275conditional((Ot=i.\u0275\u0275pipeBind1(10,7,L.file$))?9:-1,Ot)}},styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";.sandbox-details{scroll-behavior:smooth}.sandbox-details .sandbox-details__section{background-color:#f0f1f2;scroll-margin-block-start:60px}.sandbox-details .sandbox-details__section.sandbox-details__section--white-bg{background-color:#fff}.sandbox-details .sandbox-details__section.sandbox-details__section--graph{background:linear-gradient(180deg,#e6ebef,#d0d9e1)}.sandbox-details .sandbox-details__section.sandbox-details__section--graph .sandbox-details__section--graph__table{padding-bottom:28px}.sandbox-details .sandbox-details__section .sandbox-details__processing-container{align-items:center;display:flex;height:calc(100vh - 60px);justify-content:center;padding:15px 50px;text-align:center}@media(max-width:991.98px){.sandbox-details .sandbox-details__section .sandbox-details__processing-container{height:calc(100vh - 105px)}}.sandbox-details .sandbox-details__section .sandbox-details__container{padding:15px 50px}.sandbox-details .sandbox-details__section .sandbox-details__container .sandbox-details__container__header{display:flex;justify-content:space-between}.sandbox-details .sandbox-details__section .sandbox-details__container .sandbox-details__container__header .sandbox-details__container__header__actions{margin-block:15px}@media(max-width:991.98px){.sandbox-details .sandbox-details__section .sandbox-details__container .sandbox-details__container__header{flex-direction:column}}@media(max-width:767.98px){.sandbox-details .sandbox-details__section .sandbox-details__container{padding:15px}}.sandbox-details .sandbox-details__section .sandbox-details__x-container{padding:0 50px}@media(max-width:767.98px){.sandbox-details .sandbox-details__section .sandbox-details__x-container{padding:0 15px}}.sandbox-details .sandbox-details__section .sandbox-details__y-container{padding:15px 0}\n'],encapsulation:2})}}return m})();const Fi=[{path:"",component:An,data:{title:"Sandbox Details"}}];let Li=(()=>{class m{static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275mod=i.\u0275\u0275defineNgModule({type:m})}static{this.\u0275inj=i.\u0275\u0275defineInjector({imports:[se.RouterModule.forChild(Fi),se.RouterModule]})}}return m})();var Pi=W(3484);function $i(m,mt){1&m&&(i.\u0275\u0275elementStart(0,"div",2),i.\u0275\u0275text(1),i.\u0275\u0275pipe(2,"translate"),i.\u0275\u0275elementEnd()),2&m&&(i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(2,1,"No screenshots found.")," "))}function Ui(m,mt){1&m&&i.\u0275\u0275element(0,"div",5)}function Hi(m,mt){1&m&&i.\u0275\u0275conditionalCreate(0,Ui,1,0,"div",5),2&m&&i.\u0275\u0275conditional(mt.$implicit.src?-1:0)}function Vi(m,mt){if(1&m&&(i.\u0275\u0275elementStart(0,"div",3),i.\u0275\u0275repeaterCreate(1,Hi,1,1,null,null,i.\u0275\u0275repeaterTrackByIdentity),i.\u0275\u0275elementEnd()),2&m){const u=i.\u0275\u0275nextContext();i.\u0275\u0275advance(),i.\u0275\u0275repeater(u.screenshots)}}function Dn(m,mt){if(1&m&&i.\u0275\u0275element(0,"vcs-gallery-images",4),2&m){const u=i.\u0275\u0275nextContext();i.\u0275\u0275property("images",u.validScreenshots)}}let ji=(()=>{class m{constructor(){this.loading=!1}ngOnChanges({screenshots:u}){u?.currentValue&&"loading"!==u.currentValue[0]?.alt&&u.currentValue.length===this.totalScreenshots&&(this.validScreenshots=u.currentValue)}static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["vcs-screenshots"]],inputs:{screenshots:"screenshots",loading:"loading",totalScreenshots:"totalScreenshots"},standalone:!1,features:[i.\u0275\u0275NgOnChangesFeature],decls:5,vars:3,consts:[[1,"screenshots"],["section","screenshots","title","Screenshots",3,"loading"],[1,"screenshots__not-found"],[1,"screenshots__column"],["containerClassStyle","screenshots__column","imageClassStyle","screenshot",3,"images"],[1,"screenshot","screenshot--skeleton"]],template:function(k,L){1&k&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275element(1,"vcs-section-title",1),i.\u0275\u0275conditionalCreate(2,$i,3,3,"div",2),i.\u0275\u0275conditionalCreate(3,Vi,3,0,"div",3)(4,Dn,1,1,"vcs-gallery-images",4),i.\u0275\u0275elementEnd()),2&k&&(i.\u0275\u0275advance(),i.\u0275\u0275property("loading",L.loading),i.\u0275\u0275advance(),i.\u0275\u0275conditional(0===L.screenshots.length?2:-1),i.\u0275\u0275advance(),i.\u0275\u0275conditional(L.validScreenshots?4:3))},dependencies:[Pi.o,Ht.L,y.D9],styles:['@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap";/*!\n* Viewer.js v1.11.7\n* https://fengyuanchen.github.io/viewerjs\n
1*\n* Copyright 2015-present Chen Fengyuan\n* Released under the MIT license\n*\n* Date: 2024-11-24T04:32:14.526Z\n*/.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 560 40%22%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M49.6 17.9h20.2v3.9H49.6zm123.1 2 10.9-11 2.7 2.8-8.2 8.2 8.2 8.2-2.7 2.7-10.9-10.9zm94 0-10.8-11-2.7 2.8 8.1 8.2-8.1 8.2 2.7 2.7 10.8-10.9zM212 9.3l20.1 10.6L212 30.5V9.3zm161.5 4.6-7.2 6 7.2 5.9v-4h12.4v4l7.3-5.9-7.3-6v4h-12.4v-4zm40.2 12.3 5.9 7.2 5.9-7.2h-4V13.6h4l-5.9-7.3-5.9 7.3h4v12.6h-4zm35.9-16.5h6.3v2h-4.3V16h-2V9.7Zm14 0h6.2V16h-2v-4.3h-4.2v-2Zm6.2 14V30h-6.2v-2h4.2v-4.3h2Zm-14 6.3h-6.2v-6.3h2v4.4h4.3v2Zm-438 .1v-8.3H9.6v-3.9h8.2V9.7h3.9v8.2h8.1v3.9h-8.1v8.3h-3.9zM93.6 9.7h-5.8v3.9h2V30h3.8V9.7zm16.1 0h-5.8v3.9h1.9V30h3.9V9.7zm-11.9 4.1h3.9v3.9h-3.9zm0 8.2h3.9v3.9h-3.9zm244.6-11.7 7.2 5.9-7.2 6v-3.6c-5.4-.4-7.8.8-8.7 2.8-.8 1.7-1.8 4.9 2.8 8.2-6.3-2-7.5-6.9-6-11.3 1.6-4.4 8-5 11.9-4.9v-3.1Zm147.2 13.4h6.3V30h-2v-4.3h-4.3v-2zm14 6.3v-6.3h6.2v2h-4.3V30h-1.9zm6.2-14h-6.2V9.7h1.9V14h4.3v2zm-13.9 0h-6.3v-2h4.3V9.7h2V16zm33.3 12.5 8.6-8.6-8.6-8.7 1.9-1.9 8.6 8.7 8.6-8.7 1.9 1.9-8.6 8.7 8.6 8.6-1.9 2-8.6-8.7-8.6 8.7-1.9-2zM297 10.3l-7.1 5.9 7.2 6v-3.6c5.3-.4 7.7.8 8.7 2.8.8 1.7 1.7 4.9-2.9 8.2 6.3-2 7.5-6.9 6-11.3-1.6-4.4-7.9-5-11.8-4.9v-3.1Zm-157.3-.6c2.3 0 4.4.7 6 2l2.5-3 1.9 9.2h-9.3l2.6-3.1a6.2 6.2 0 0 0-9.9 5.1c0 3.4 2.8 6.3 6.2 6.3 2.8 0 5.1-1.9 6-4.4h4c-1 4.7-5 8.3-10 8.3a10 10 0 0 1-10-10.2 10 10 0 0 1 10-10.2Z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{direction:ltr;font-size:0;inset:0;line-height:0;overflow:hidden;position:absolute;-webkit-tap-highlight-color:transparent;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{inset:0;overflow:hidden;position:absolute}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#00000080;overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;cursor:none;display:none;inset:0;position:absolute;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#00000080;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#00000080;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}
1.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#00000080}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,.1);border-left-color:#ffffff80;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media(max-width:767px){.viewer-hide-xs-down{display:none}}@media(max-width:991px){.viewer-hide-sm-down{display:none}}@media(max-width:1199px){.viewer-hide-md-down{display:none}}@media(max-width:575.98px){.screenshots .screenshots__column{text-align:center}}.screenshots .screenshots__column .screenshot{box-shadow:0 1px 2px #00000059;margin:4px;max-height:160px;max-width:100%;transition:.3s}.screenshots .screenshots__column .screenshot:hover{cursor:pointer;opacity:.7}.screenshots .screenshots__column .screenshot.screenshot--skeleton{background-color:#eef8fd;display:inline-block;height:160px;width:212px}.screenshots .screenshots__column .screenshot.screenshot--skeleton:hover{cursor:default;opacity:1}@media(max-width:575.98px){.screenshots .screenshots__column .screenshot.screenshot--skeleton{width:100%}}.screenshots .screenshots__not-found{font-size:.8rem;font-weight:500;padding:40px 0;text-align:center;width:100%}\n'],encapsulation:2,changeDetection:0})}}return m})();var Gi=W(6134),Xi=W(3928),Wi=W(8436),On=W(6818),$e=W(3496),Zi=W(9735),ln=W(9849),cn=W(985);let Yi=(()=>{class m{constructor(u){this.elementRef=u,this.sectionChange=new i.EventEmitter,this.htmlSections=[],this.sections=[],this.SCROLL_MARGIN=50}ngAfterViewInit(){this.buildSectionsData()}onResize(){this.buildSectionsData(!0)}onScroll(u){const k=u.target.scrollTop||0;this.buildSectionsData();const L=this.sections.find(ot=>ot.offsetTop-this.SCROLL_MARGIN<=k);L.sectionId!==this.selectedSection&&(this.selectedSection=L?.sectionId,this.sectionChange.emit(this.selectedSection))}buildSectionsData(u=!1){if((!this.htmlSections.length||u)&&(this.htmlSections=[...this.elementRef.nativeElement.querySelectorAll("section")||[]],this.htmlSections.length)){const k=this.htmlSections[0].offsetTop;this.sections=this.htmlSections.map(L=>({sectionId:L.id,offsetTop:L.offsetTop-k})).reverse()}}static{this.\u0275fac=function(k){return new(k||m)(i.\u0275\u0275directiveInject(i.ElementRef))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:m,selectors:[["","vcsSelectedSection",""]],hostBindings:function(k,L){1&k&&i.\u0275\u0275listener("resize",function(){return L.onResize()},i.\u0275\u0275resolveWindow)("scroll",function(Ot){return L.onScroll(Ot)})},outputs:{sectionChange:"sectionChange"},standalone:!1})}}return m})(),qi=(()=>{class m{static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275mod=i.\u0275\u0275defineNgModule({type:m})}static{this.\u0275inj=i.\u0275\u0275defineInjector({providers:[g.V8,g.ZK,g.uF],imports:[A.fk,A.tP,A.Kt,A.qA,f.CommonModule,d.ConfirmModule,d.ConvertByteUnitPipeModule,A.Y4,A.ai,A.pT,A.rR,A.LO,A.oK,A.kv,Li,A.JZ,A.Mc,d.TableModule,d.TooltipModule,y.h,S.l1]})}}return m})();i.\u0275\u0275setComponentScope(vt,[lt.z,Gi.u,Xi.T,Wi.v,On.g,$e.q,Zi.Y,d.TableComponent,$t],[y.D9,ee]),i.\u0275\u0275setComponentScope(An,[ln.TQ,cn.D,Yi,d.ConfirmComponent,d.TooltipDirective,vt,me,ft,ze,wi,zn,ji],[f.AsyncPipe,y.D9])},5336(En,M,W){W.d(M,{u:()=>S});var f=W(1861),y=W(3783);let S=(()=>{class d{constructor(){this.COLORS={[f.oD.MALICIOUS]:{initial:"#f40202",final:"#BD0044"},[f.oD.SUSPICIOUS]:{initial:"#ff9b05",final:"#9f7331"},[f.oD.LOW_RISK]:{initial:"#989da3",final:"#313437"},[f.oD.WHITELISTED]:{initial:"#989da3",final:"#313437"},[f.oD.NO_RISK]:{initial:"#54bd8d",final:"#09d276"}},this.gradientColors=this.COLORS.LOW_RISK}ngOnChanges({risk:A}){A?.currentValue&&(this.gradientColors=this.COLORS[this.risk]||this.COLORS.LOW_RISK)}static{this.\u0275fac=function(i){return new(i||d)}}static{this.\u0275cmp=y.\u0275\u0275defineComponent({type:d,selectors:[["vcs-detective-icon"]],inputs:{risk:"risk"},standalone:!1,features:[y.\u0275\u0275NgOnChangesFeature],decls:18,vars:2,consts:[["width","92","height","91","viewBox","0 0 92 91","fill","none","xmlns","http://www.w3.org/2000/svg"],["filter","url(#filter0_d_1733_3657)"],["x","3","width","86","height","85","rx","42.5","fill","white"],["d","M62.3259 47.9635L64.7902 41.4349C65.2009 40.3987 64.4821 39.1551 63.25 39.1551H57.2946C58.4241 37.2898 59.1429 35.01 59.1429 32.5229C63.1473 31.6939 65.7143 30.554 65.7143 29.2068C65.7143 27.8597 62.8393 26.6161 58.5268 25.7871C57.5 22.471 55.7545 19.0513 54.317 17.2896C53.2902 16.0461 51.6473 15.6315 50.2098 16.3569L47.4375 17.8077C46.5134 18.2222 45.3839 18.2222 44.4598 17.8077L41.6875 16.3569C40.25 15.6315 38.6071 16.0461 37.5804 17.2896C36.2455 19.0513 34.3973 22.471 33.4732 25.7871C29.058 26.6161 26.2857 27.8597 26.2857 29.2068C26.2857 30.554 28.75 31.6939 32.8571 32.5229C32.8571 35.01 33.4732 37.2898 34.6027 39.1551H28.75C27.5179 39.1551 26.7991 40.3987 27.2098 41.5386L29.8795 47.7562C25.7723 50.1397 23 54.5957 23 59.7771V64.4404C23 66.9274 25.0536 69 27.5179 69H64.3795C66.8438 69 69 66.9274 69 64.4404V59.7771C69 54.6993 66.3304 50.3469 62.3259 47.9635ZM41.0714 65.6839L36.7589 45.7873L41.8929 49.1034L44.3571 53.2485L41.0714 65.6839ZM50.9286 65.6839L47.6429 53.2485L50.1071 49.1034L55.1384 45.7873L50.9286 65.6839ZM55.1384 34.8027C55.0776 34.9867 55.0191 35.173 54.9605 35.3595C54.623 36.4336 54.2829 37.5161 53.4955 38.2225C52.4688 39.2587 48.567 40.6059 46.9241 35.6318C46.6161 34.8027 45.2812 34.8027 44.9732 35.6318C43.2277 40.9168 39.2232 39.0515 38.4018 38.2225C37.6144 37.5161 37.2743 36.4335 36.9368 35.3595C36.8782 35.173 36.8197 34.9867 36.7589 34.8027C36.6562 34.4919 36.1429 34.181 36.1429 34.181V33.0411C39.0179 33.4556 42.4062 33.6628 46 33.6628C49.5938 33.6628 52.8795 33.4556 55.8571 33.0411V34.181C55.8571 34.181 55.2411 34.4919 55.1384 34.8027Z","fill","url(#paint0_linear_1733_3657)"],["d","M62.3259 47.9635L64.7902 41.4349C65.2009 40.3987 64.4821 39.1551 63.25 39.1551H57.2946C58.4241 37.2898 59.1429 35.01 59.1429 32.5229C63.1473 31.6939 65.7143 30.554 65.7143 29.2068C65.7143 27.8597 62.8393 26.6161 58.5268 25.7871C57.5 22.471 55.7545 19.0513 54.317 17.2896C53.2902 16.0461 51.6473 15.6315 50.2098 16.3569L47.4375 17.8077C46.5134 18.2222 45.3839 18.2222 44.4598 17.8077L41.6875 16.3569C40.25 15.6315 38.6071 16.0461 37.5804 17.2896C36.2455 19.0513 34.3973 22.471 33.4732 25.7871C29.058 26.6161 26.2857 27.8597 26.2857 29.2068C26.2857 30.554 28.75 31.6939 32.8571 32.5229C32.8571 35.01 33.4732 37.2898 34.6027 39.1551H28.75C27.5179 39.1551 26.7991 40.3987 27.2098 41.5386L29.8795 47.7562C25.7723 50.1397 23 54.5957 23 59.7771V64.4404C23 66.9274 25.0536 69 27.5179 69H64.3795C66.8438 69 69 66.9274 69 64.4404V59.7771C69 54.6993 66.3304 50.3469 62.3259 47.9635ZM41.0714 65.6839L36.7589 45.7873L41.8929 49.1034L44.3571 53.2485L41.0714 65.6839ZM50.9286 65.6839L47.6429 53.2485L50.1071 49.1034L55.1384 45.7873L50.9286 65.6839ZM55.1384 34.8027C55.0776 34.9867 55.0191 35.173 54.9605 35.3595C54.623 36.4336 54.2829 37.5161 53.4955 38.2225C52.4688 39.2587 48.567 40.6059 46.9241 35.6318C46.6161 34.8027 45.2812 34.8027 44.9732 35.6318C43.2277 40.9168 39.2232 39.0515 38.4018 38.2225C37.6144 37.5161 37.2743 36.4335 36.9368 35.3595C36.8782 35.173 36.8197 34.9867 36.7589 34.8027C36.6562 34.4919 36.1429 34.181 36.1429 34.181V33.0411C39.0179 33.4556 42.4062 33.6628 46 33.6628C49.5938 33.6628 52.8795 33.4556 55.8571 33.0411V34.181C55.8571 34.181 55.2411 34.4919 55.1384 34.8027Z","stroke","white"],["id","filter0_d_1733_3657","x","0","y","0","width","92","height","91","filterUnits","userSpaceOnUse","color-interpolation-filters","sRGB"],["flood-opacity","0","result","Backgroun
1dImageFix"],["in","SourceAlpha","type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0","result","hardAlpha"],["dy","3"],["stdDeviation","1.5"],["in2","hardAlpha","operator","out"],["type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"],["mode","normal","in2","BackgroundImageFix","result","effect1_dropShadow_1733_3657"],["mode","normal","in","SourceGraphic","in2","effect1_dropShadow_1733_3657","result","shape"],["id","paint0_linear_1733_3657","x1","46","y1","16","x2","46","y2","69","gradientUnits","userSpaceOnUse"],["offset","1"]],template:function(i,D){1&i&&(y.\u0275\u0275namespaceSVG(),y.\u0275\u0275elementStart(0,"svg",0)(1,"g",1),y.\u0275\u0275element(2,"rect",2)(3,"path",3)(4,"path",4),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(5,"defs")(6,"filter",5),y.\u0275\u0275element(7,"feFlood",6)(8,"feColorMatrix",7)(9,"feOffset",8)(10,"feGaussianBlur",9)(11,"feComposite",10)(12,"feColorMatrix",11)(13,"feBlend",12)(14,"feBlend",13),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(15,"linearGradient",14),y.\u0275\u0275element(16,"stop")(17,"stop",15),y.\u0275\u0275elementEnd()()()),2&i&&(y.\u0275\u0275advance(16),y.\u0275\u0275attribute("stop-color",D.gradientColors.initial),y.\u0275\u0275advance(),y.\u0275\u0275attribute("stop-color",D.gradientColors.final))},encapsulation:2,changeDetection:0})}}return d})()},7247(En){En.exports=function M(W,f,y){function S(A,i){if(!f[A]){if(!W[A]){if(d)return d(A,!0);var R=new Error("Cannot find module '"+A+"'");throw R.code="MODULE_NOT_FOUND",R}var _=f[A]={exports:{}};W[A][0].call(_.exports,function(I){return S(W[A][1][I]||I)},_,_.exports,M,W,f,y)}return f[A].exports}for(var d=void 0,g=0;g<y.length;g++)S(y[g]);return S}({1:[function(M,W,f){"use strict";var y=M("./utils"),S=M("./support"),d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";f.encode=function(g){for(var A,i,D,_,I,p,E=[],b=0,z=g.length,N=z,U="string"!==y.getTypeOf(g);b<g.length;)N=z-b,D=U?(A=g[b++],i=b<z?g[b++]:0,b<z?g[b++]:0):(A=g.charCodeAt(b++),i=b<z?g.charCodeAt(b++):0,b<z?g.charCodeAt(b++):0),_=(3&A)<<4|i>>4,I=1<N?(15&i)<<2|D>>6:64,p=2<N?63&D:64,E.push(d.charAt(A>>2)+d.charAt(_)+d.charAt(I)+d.charAt(p));return E.join("")},f.decode=function(g){var A,i,D,R,_,I,p=0,E=0,b="data:";if(g.substr(0,5)===b)throw new Error("Invalid base64 input, it looks like a data url.");var z,N=3*(g=g.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(g.charAt(g.length-1)===d.charAt(64)&&N--,g.charAt(g.length-2)===d.charAt(64)&&N--,N%1!=0)throw new Error("Invalid base64 input, bad content length.");for(z=S.uint8array?new Uint8Array(0|N):new Array(0|N);p<g.length;)A=d.indexOf(g.charAt(p++))<<2|(R=d.indexOf(g.charAt(p++)))>>4,i=(15&R)<<4|(_=d.indexOf(g.charAt(p++)))>>2,D=(3&_)<<6|(I=d.indexOf(g.charAt(p++))),z[E++]=A,64!==_&&(z[E++]=i),64!==I&&(z[E++]=D);return z}},{"./support":30,"./utils":32}],2:[function(M,W,f){"use strict";var y=M("./external"),S=M("./stream/DataWorker"),d=M("./stream/Crc32Probe"),g=M("./stream/DataLengthProbe");function A(i,D,R,_,I){this.compressedSize=i,this.uncompressedSize=D,this.crc32=R,this.compression=_,this.compressedContent=I}A.prototype={getContentWorker:function(){var i=new S(y.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),D=this;return i.on("end",function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),i},getCompressedWorker:function(){return new S(y.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},A.createWorkerFrom=function(i,D,R){return i.pipe(new d).pipe(new g("uncompressedSize")).pipe(D.compressWorker(R)).pipe(new g("compressedSize")).withStreamInfo("compression",D)},W.exports=A},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(M,W,f){"use strict";var y=M("./stream/GenericWorker");f.STORE={magic:"\0\0",compressWorker:function(){return new y("STORE compression")},uncompressWorker:function(){return new y("STORE decompression")}},f.DEFLATE=M("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(M,W,f){"use strict";var y=M("./utils"),S=function(){for(var d,g=[],A=0;A<256;A++){d=A;for(var i=0;i<8;i++)d=1&d?3988292384^d>>>1:d>>>1;g[A]=d}return g}();W.exports=function(d,g){return void 0!==d&&d.length?"string"!==y.getTypeOf(d)?function(A,i,D){var _=S,I=0+D;A^=-1;for(var p=0;p<I;p++)A=A>>>8^_[255&(A^i[p])];return-1^A}(0|g,d,d.length):function(A,i,D){var _=S,I=0+D;A^=-1;for(var p=0;p<I;p++)A=A>>>
vendor: 5,648 bytes, line 1
18^_[255&(A^i.charCodeAt(p))];return-1^A}(0|g,d,d.length):0}},{"./utils":32}],5:[function(M,W,f){"use strict";f.base64=!1,f.binary=!1,f.dir=!1,f.createFolders=!0,f.date=null,f.compression=null,f.compressionOptions=null,f.comment=null,f.unixPermissions=null,f.dosPermissions=null},{}],6:[function(M,W,f){"use strict";var y;y=typeof Promise<"u"?Promise:M("lie"),W.exports={Promise:y}},{lie:37}],7:[function(M,W,f){"use strict";var y=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",S=M("pako"),d=M("./utils"),g=M("./stream/GenericWorker"),A=y?"uint8array":"array";function i(D,R){g.call(this,"FlateWorker/"+D),this._pako=null,this._pakoAction=D,this._pakoOptions=R,this.meta={}}f.magic="\b\0",d.inherits(i,g),i.prototype.processChunk=function(D){this.meta=D.meta,null===this._pako&&this._createPako(),this._pako.push(d.transformTo(A,D.data),!1)},i.prototype.flush=function(){g.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},i.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},i.prototype._createPako=function(){this._pako=new S[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(R){D.push({data:R,meta:D.meta})}},f.compressWorker=function(D){return new i("Deflate",D)},f.uncompressWorker=function(){return new i("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(M,W,f){"use strict";function y(_,I){var p,E="";for(p=0;p<I;p++)E+=String.fromCharCode(255&_),_>>>=8;return E}function S(_,I,p,E,b,z){var N,U,P=_.file,it=_.compression,K=z!==A.utf8encode,ht=d.transformTo("string",z(P.name)),q=d.transformTo("string",A.utf8encode(P.name)),pt=P.comment,It=d.transformTo("string",z(pt)),O=d.transformTo("string",A.utf8encode(pt)),Q=q.length!==P.name.length,h=O.length!==pt.length,nt="",Mt="",ct="",Bt=P.dir,dt=P.date,Rt={crc32:0,compressedSize:0,uncompressedSize:0};I&&!p||(Rt.crc32=_.crc32,Rt.compressedSize=_.compressedSize,Rt.uncompressedSize=_.uncompressedSize);var Z=0;I&&(Z|=8),K||!Q&&!h||(Z|=2048);var vt,ee,G=0,At=0;Bt&&(G|=16),"UNIX"===b?(At=798,G|=(ee=vt=P.unixPermissions,vt||(ee=Bt?16893:33204),(65535&ee)<<16)):(At=20,G|=function(vt){return 63&(vt||0)}(P.dosPermissions)),N=dt.getUTCHours(),N<<=6,N|=dt.getUTCMinutes(),N<<=5,N|=dt.getUTCSeconds()/2,U=dt.getUTCFullYear()-1980,U<<=4,U|=dt.getUTCMonth()+1,U<<=5,U|=dt.getUTCDate(),Q&&(Mt=y(1,1)+y(i(ht),4)+q,nt+="up"+y(Mt.length,2)+Mt),h&&(ct=y(1,1)+y(i(It),4)+O,nt+="uc"+y(ct.length,2)+ct);var Ct="";return Ct+="\n\0",Ct+=y(Z,2),Ct+=it.magic,Ct+=y(N,2),Ct+=y(U,2),Ct+=y(Rt.crc32,4),Ct+=y(Rt.compressedSize,4),Ct+=y(Rt.uncompressedSize,4),Ct+=y(ht.length,2),Ct+=y(nt.length,2),{fileRecord:D.LOCAL_FILE_HEADER+Ct+ht+nt,dirRecord:D.CENTRAL_FILE_HEADER+y(At,2)+Ct+y(It.length,2)+"\0\0\0\0"+y(G,4)+y(E,4)+ht+nt+It}}var d=M("../utils"),g=M("../stream/GenericWorker"),A=M("../utf8"),i=M("../crc32"),D=M("../signature");function R(_,I,p,E){g.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=I,this.zipPlatform=p,this.encodeFileName=E,this.streamFiles=_,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}d.inherits(R,g),R.prototype.push=function(_){var I=_.meta.percent||0,p=this.entriesCount,E=this._sources.length;this.accumulate?this.contentBuffer.push(_):(this.bytesWritten+=_.data.length,g.prototype.push.call(this,{data:_.data,meta:{currentFile:this.currentFile,percent:p?(I+100*(p-E-1))/p:100}}))},R.prototype.openedSource=function(_){this.currentSourceOffset=this.bytesWritten,this.currentFile=_.file.name;var I=this.streamFiles&&!_.file.dir;if(I){var p=S(_,I,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:p.fileRecord,meta:{percent:0}})}else this.accumulate=!0},R.prototype.closedSource=function(_){this.accumulate=!1;var E,I=this.streamFiles&&!_.file.dir,p=S(_,I,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(p.dirRecord),I)this.push({data:(E=_,D.DATA_DESCRIPTOR+y(E.crc32,4)+y(E.compressedSize,4)+y(E.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:p.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},R.prototype.flush=function(){for(var _=this.bytesWritten,I=0;I<this.dirRecords.length;I++)this.push({data:this.dirRecords[I],meta:{percent:100}});var b,z,N,it,E=(b=this.dirRecords.length,z=this.bytesWritten-_,N=_,it=d.transformTo("string",(0,this.encodeFileName)(this.zipComment)),D.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(b,2)+y(b,2)+y(z,4)+y(N,4)+y(it.length,2)+it);this.push({data:E,meta:{percent:100}})},R.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},R.prototype.registerPrevious=function(_){this._sources.push(_);var I=this;return _.on("data",function(p){I.processChunk(p)}),_.on("end",function(){I.closedSource(I.previous.streamInfo),I._sources.length?I.prepareNextSource():I.end()}),_.on("error",function(p){I.error(p)}),this},R.prototype.resume=function(){return!!g.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},R.prototype.error=function(_){var I=this._sources;if(!g.prototype.error.call(this,_))return!1;for(var p=0;p<I.length;p++)try{I[p].error(_)}catch{}return!0},R.prototype.lock=function(){g.prototype.lock.call(this);for(var _=this._sources,I=0;I<_.length;I++)_[I].lock()}
vendor: 3,791 bytes, line 1
1,W.exports=R},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(M,W,f){"use strict";var y=M("../compressions"),S=M("./ZipFileWorker");f.generateWorker=function(d,g,A){var i=new S(g.streamFiles,A,g.platform,g.encodeFileName),D=0;try{d.forEach(function(R,_){D++;var I=function(z,N){var U=z||N,P=y[U];if(!P)throw new Error(U+" is not a valid compression method !");return P}(_.options.compression,g.compression),E=_.dir,b=_.date;_._compressWorker(I,_.options.compressionOptions||g.compressionOptions||{}).withStreamInfo("file",{name:R,dir:E,date:b,comment:_.comment||"",unixPermissions:_.unixPermissions,dosPermissions:_.dosPermissions}).pipe(i)}),i.entriesCount=D}catch(R){i.error(R)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(M,W,f){"use strict";function y(){if(!(this instanceof y))return new y;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var S=new y;for(var d in this)"function"!=typeof this[d]&&(S[d]=this[d]);return S}}(y.prototype=M("./object")).loadAsync=M("./load"),y.support=M("./support"),y.defaults=M("./defaults"),y.version="3.10.1",y.loadAsync=function(S,d){return(new y).loadAsync(S,d)},y.external=M("./external"),W.exports=y},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(M,W,f){"use strict";var y=M("./utils"),S=M("./external"),d=M("./utf8"),g=M("./zipEntries"),A=M("./stream/Crc32Probe"),i=M("./nodejsUtils");function D(R){return new S.Promise(function(_,I){var p=R.decompressed.getContentWorker().pipe(new A);p.on("error",function(E){I(E)}).on("end",function(){p.streamInfo.crc32!==R.decompressed.crc32?I(new Error("Corrupted zip : CRC32 mismatch")):_()}).resume()})}W.exports=function(R,_){var I=this;return _=y.extend(_||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:d.utf8decode}),i.isNode&&i.isStream(R)?S.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):y.prepareContent("the loaded zip file",R,!0,_.optimizedBinaryString,_.base64).then(function(p){var E=new g(_);return E.load(p),E}).then(function(p){var E=[S.Promise.resolve(p)],b=p.files;if(_.checkCRC32)for(var z=0;z<b.length;z++)E.push(D(b[z]));return S.Promise.all(E)}).then(function(p){for(var E=p.shift(),b=E.files,z=0;z<b.length;z++){var N=b[z],U=N.fileNameStr,P=y.resolve(N.fileNameStr);I.file(P,N.decompressed,{binary:!0,optimizedBinaryString:!0,date:N.date,dir:N.dir,comment:N.fileCommentStr.length?N.fileCommentStr:null,unixPermissions:N.unixPermissions,dosPermissions:N.dosPermissions,createFolders:_.createFolders}),N.dir||(I.file(P).unsafeOriginalName=U)}return E.zipComment.length&&(I.comment=E.zipComment),I})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(M,W,f){"use strict";var y=M("../utils"),S=M("../stream/GenericWorker");function d(g,A){S.call(this,"Nodejs stream input adapter for "+g),this._upstreamEnded=!1,this._bindStream(A)}y.inherits(d,S),d.prototype._bindStream=function(g){var A=this;(this._stream=g).pause(),g.on("data",function(i){A.push({data:i,meta:{percent:0}})}).on("error",function(i){A.isPaused?this.generatedError=i:A.error(i)}).on("end",function(){A.isPaused?A._upstreamEnded=!0:A.end()})},d.prototype.pause=function(){return!!S.prototype.pause.call(this)&&(this._stream.pause(),!0)},d.prototype.resume=function(){return!!S.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},W.exports=d},{"../stream/GenericWorker":28,"../utils":32}],13:[function(M,W,f){"use strict";var y=M("readable-stream").Readable;
vendor: 2,365 bytes, line 1
1function S(d,g,A){y.call(this,g),this._helper=d;var i=this;d.on("data",function(D,R){i.push(D)||i._helper.pause(),A&&A(R)}).on("error",function(D){i.emit("error",D)}).on("end",function(){i.push(null)})}M("../utils").inherits(S,y),S.prototype._read=function(){this._helper.resume()},W.exports=S},{"../utils":32,"readable-stream":16}],14:[function(M,W,f){"use strict";W.exports={isNode:typeof Buffer<"u",newBufferFrom:function(y,S){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(y,S);if("number"==typeof y)throw new Error('The "data" argument must not be a number');return new Buffer(y,S)},allocBuffer:function(y){if(Buffer.alloc)return Buffer.alloc(y);var S=new Buffer(y);return S.fill(0),S},isBuffer:function(y){return Buffer.isBuffer(y)},isStream:function(y){return y&&"function"==typeof y.on&&"function"==typeof y.pause&&"function"==typeof y.resume}}},{}],15:[function(M,W,f){"use strict";function y(P,it,K){var ht,q=d.getTypeOf(it),pt=d.extend(K||{},i);pt.date=pt.date||new Date,null!==pt.compression&&(pt.compression=pt.compression.toUpperCase()),"string"==typeof pt.unixPermissions&&(pt.unixPermissions=parseInt(pt.unixPermissions,8)),pt.unixPermissions&&16384&pt.unixPermissions&&(pt.dir=!0),pt.dosPermissions&&16&pt.dosPermissions&&(pt.dir=!0),pt.dir&&(P=b(P)),pt.createFolders&&(ht=E(P))&&z.call(this,ht,!0),K&&void 0!==K.binary||(pt.binary=!("string"===q&&!1===pt.binary&&!1===pt.base64)),(it instanceof D&&0===it.uncompressedSize||pt.dir||!it||0===it.length)&&(pt.base64=!1,pt.binary=!0,it="",pt.compression="STORE",q="string");var O;O=it instanceof D||it instanceof g?it:I.isNode&&I.isStream(it)?new p(P,it):d.prepareContent(P,it,pt.binary,pt.optimizedBinaryString,pt.base64);var Q=new R(P,O,pt);this.files[P]=Q}var S=M("./utf8"),d=M("./utils"),g=M("./stream/GenericWorker"),A=M("./stream/StreamHelper"),i=M("./defaults"),D=M("./compressedObject"),R=M("./zipObject"),_=M("./generate"),I=M("./nodejsUtils"),p=M("./nodejs/NodejsStreamInputAdapter"),E=function(P){"/"===P.slice(-1)&&(P=P.substring(0,P.length-1));var it=P.lastIndexOf("/");return 0<it?P.substring(0,it):""},b=function(P){return"/"!==P.slice(-1)&&(P+="/"),P},z=function(P,it){return it=void 0!==it?it:i.createFolders,P=b(P),this.files[P]||y.call(this,P,null,{dir:!0,createFolders:it}),this.files[P]};function N(P){return"[object RegExp]"===Object.prototype.toString.call(P)}
1var U={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(P){var it,K,ht;for(it in this.files)ht=this.files[it],(K=it.slice(this.root.length,it.length))&&it.slice(0,this.root.length)===this.root&&P(K,ht)},filter:function(P){var it=[];return this.forEach(function(K,ht){P(K,ht)&&it.push(ht)}),it},file:function(P,it,K){if(1!==arguments.length)return y.call(this,P=this.root+P,it,K),this;if(N(P)){var ht=P;return this.filter(function(pt,It){return!It.dir&&ht.test(pt)})}var q=this.files[this.root+P];return q&&!q.dir?q:null},folder:function(P){if(!P)return this;if(N(P))return this.filter(function(q,pt){return pt.dir&&P.test(q)});var K=z.call(this,this.root+P),ht=this.clone();return ht.root=K.name,ht},remove:function(P){var it=this.files[P=this.root+P];if(it||("/"!==P.slice(-1)&&(P+="/"),it=this.files[P]),it&&!it.dir)delete this.files[P];else for(var K=this.filter(function(q,pt){return pt.name.slice(0,P.length)===P}),ht=0;ht<K.length;ht++)delete this.files[K[ht].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(P){var it,K={};try{if((K=d.extend(P||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:S.utf8encode})).type=K.type.toLowerCase(),K.compression=K.compression.toUpperCase(),"binarystring"===K.type&&(K.type="string"),!K.type)throw new Error("No output type specified.");d.checkSupport(K.type),"darwin"!==K.platform&&"freebsd"!==K.platform&&"linux"!==K.platform&&"sunos"!==K.platform||(K.platform="UNIX"),"win32"===K.platform&&(K.platform="DOS"),it=_.generateWorker(this,K,K.comment||this.comment||"")}catch(q){(it=new g("error")).error(q)}return new A(it,K.type||"string",K.mimeType)},generateAsync:function(P,it){return this.generateInternalStream(P).accumulate(it)},generateNodeStream:function(P,it){return(P=P||{}).type||(P.type="nodebuffer"),this.generateInternalStream(P).toNodejsStream(it)}};W.exports=U},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(M,W,f){"use strict";W.exports=M("stream")},{stream:void 0}],17:[function(M,W,f){"use strict";var y=M("./DataReader");function S(d){y.call(this,d);for(var g=0;g<this.data.length;g++)d[g]=255&d[g]}M("../utils").inherits(S,y),S.prototype.byteAt=function(d){return this.data[this.zero+d]},S.prototype.lastIndexOfSignature=function(d){for(var g=d.charCo
vendor: 4,879 bytes, line 1
1deAt(0),A=d.charCodeAt(1),i=d.charCodeAt(2),D=d.charCodeAt(3),R=this.length-4;0<=R;--R)if(this.data[R]===g&&this.data[R+1]===A&&this.data[R+2]===i&&this.data[R+3]===D)return R-this.zero;return-1},S.prototype.readAndCheckSignature=function(d){var g=d.charCodeAt(0),A=d.charCodeAt(1),i=d.charCodeAt(2),D=d.charCodeAt(3),R=this.readData(4);return g===R[0]&&A===R[1]&&i===R[2]&&D===R[3]},S.prototype.readData=function(d){if(this.checkOffset(d),0===d)return[];var g=this.data.slice(this.zero+this.index,this.zero+this.index+d);return this.index+=d,g},W.exports=S},{"../utils":32,"./DataReader":18}],18:[function(M,W,f){"use strict";var y=M("../utils");function S(d){this.data=d,this.length=d.length,this.index=0,this.zero=0}S.prototype={checkOffset:function(d){this.checkIndex(this.index+d)},checkIndex:function(d){if(this.length<this.zero+d||d<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+d+"). Corrupted zip ?")},setIndex:function(d){this.checkIndex(d),this.index=d},skip:function(d){this.setIndex(this.index+d)},byteAt:function(){},readInt:function(d){var g,A=0;for(this.checkOffset(d),g=this.index+d-1;g>=this.index;g--)A=(A<<8)+this.byteAt(g);return this.index+=d,A},readString:function(d){return y.transformTo("string",this.readData(d))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var d=this.readInt(4);return new Date(Date.UTC(1980+(d>>25&127),(d>>21&15)-1,d>>16&31,d>>11&31,d>>5&63,(31&d)<<1))}},W.exports=S},{"../utils":32}],19:[function(M,W,f){"use strict";var y=M("./Uint8ArrayReader");function S(d){y.call(this,d)}M("../utils").inherits(S,y),S.prototype.readData=function(d){this.checkOffset(d);var g=this.data.slice(this.zero+this.index,this.zero+this.index+d);return this.index+=d,g},W.exports=S},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(M,W,f){"use strict";var y=M("./DataReader");function S(d){y.call(this,d)}M("../utils").inherits(S,y),S.prototype.byteAt=function(d){return this.data.charCodeAt(this.zero+d)},S.prototype.lastIndexOfSignature=function(d){return this.data.lastIndexOf(d)-this.zero},S.prototype.readAndCheckSignature=function(d){return d===this.readData(4)},S.prototype.readData=function(d){this.checkOffset(d);var g=this.data.slice(this.zero+this.index,this.zero+this.index+d);return this.index+=d,g},W.exports=S},{"../utils":32,"./DataReader":18}],21:[function(M,W,f){"use strict";var y=M("./ArrayReader");function S(d){y.call(this,d)}M("../utils").inherits(S,y),S.prototype.readData=function(d){if(this.checkOffset(d),0===d)return new Uint8Array(0);var g=this.data.subarray(this.zero+this.index,this.zero+this.index+d);return this.index+=d,g},W.exports=S},{"../utils":32,"./ArrayReader":17}],22:[function(M,W,f){"use strict";var y=M("../utils"),S=M("../support"),d=M("./ArrayReader"),g=M("./StringReader"),A=M("./NodeBufferReader"),i=M("./Uint8ArrayReader");W.exports=function(D){var R=y.getTypeOf(D);return y.checkSupport(R),"string"!==R||S.uint8array?"nodebuffer"===R?new A(D):S.uint8array?new i(y.transformTo("uint8array",D)):new d(y.transformTo("array",D)):new g(D)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(M,W,f){"use strict";f.LOCAL_FILE_HEADER="PK\x03\x04",f.CENTRAL_FILE_HEADER="PK\x01\x02",f.CENTRAL_DIRECTORY_END="PK\x05\x06",f.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",f.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",f.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(M,W,f){"use strict";var y=M("./GenericWorker"),S=M("../utils");function d(g){y.call(this,"ConvertWorker to "+g),this.destType=g}S.inherits(d,y),d.prototype.processChunk=function(g){this.push({data:S.transformTo(this.destType,g.data),meta:g.meta})},W.exports=d},{"../utils":32,"./GenericWorker":28}],25:[function(M,W,f){"use strict";var y=M("./GenericWorker"),S=M("../crc32");function d(){y.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}M("../utils").inherits(d,y),d.prototype.processChunk=function(g){this.streamInfo.crc32=S(g.data,this.streamInfo.crc32||0),this.push(g)},W.exports=d},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(M,W,f){"use strict";var y=M("../utils"),S=M("./GenericWorker");function d(g){S.call(this,"DataLengthProbe for "+g),this.propName=g,this.withStreamInfo(g,0)}y.inherits(d,S),d.prototype.processChunk=function(g){g&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+g.data.length),S.prototype.processChunk.call(this,g)},W.exports=d},{"../utils":32,"./GenericWorker":28}],27:[function(M,W,f){"use strict";var y=M("../utils"),S=M("./GenericWorker");function d(g){S.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,g.then(function(i){A.dataIsReady=!0,A.data=i,A.max=i&&i.length||0,A.type=y.getTypeOf(i),A.isPau
vendor: 5,061 bytes, line 1
1sed||A._tickAndRepeat()},function(i){A.error(i)})}y.inherits(d,S),d.prototype.cleanUp=function(){S.prototype.cleanUp.call(this),this.data=null},d.prototype.resume=function(){return!!S.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,y.delay(this._tickAndRepeat,[],this)),!0)},d.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(y.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},d.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var g=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":g=this.data.substring(this.index,A);break;case"uint8array":g=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":g=this.data.slice(this.index,A)}return this.index=A,this.push({data:g,meta:{percent:this.max?this.index/this.max*100:0}})},W.exports=d},{"../utils":32,"./GenericWorker":28}],28:[function(M,W,f){"use strict";function y(S){this.name=S||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}y.prototype={push:function(S){this.emit("data",S)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(S){this.emit("error",S)}return!0},error:function(S){return!this.isFinished&&(this.isPaused?this.generatedError=S:(this.isFinished=!0,this.emit("error",S),this.previous&&this.previous.error(S),this.cleanUp()),!0)},on:function(S,d){return this._listeners[S].push(d),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(S,d){if(this._listeners[S])for(var g=0;g<this._listeners[S].length;g++)this._listeners[S][g].call(this,d)},pipe:function(S){return S.registerPrevious(this)},registerPrevious:function(S){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=S.streamInfo,this.mergeStreamInfo(),this.previous=S;var d=this;return S.on("data",function(g){d.processChunk(g)}),S.on("end",function(){d.end()}),S.on("error",function(g){d.error(g)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var S=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),S=!0),this.previous&&this.previous.resume(),!S},flush:function(){},processChunk:function(S){this.push(S)},withStreamInfo:function(S,d){return this.extraStreamInfo[S]=d,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var S in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,S)&&(this.streamInfo[S]=this.extraStreamInfo[S])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var S="Worker "+this.name;return this.previous?this.previous+" -> "+S:S}},W.exports=y},{}],29:[function(M,W,f){"use strict";var y=M("../utils"),S=M("./ConvertWorker"),d=M("./GenericWorker"),g=M("../base64"),A=M("../support"),i=M("../external"),D=null;if(A.nodestream)try{D=M("../nodejs/NodejsStreamOutputAdapter")}catch{}function _(I,p,E){var b=p;switch(p){case"blob":case"arraybuffer":b="uint8array";break;case"base64":b="string"}try{this._internalType=b,this._outputType=p,this._mimeType=E,y.checkSupport(b),this._worker=I.pipe(new S(b)),I.lock()}catch(z){this._worker=new d("error"),this._worker.error(z)}}_.prototype={accumulate:function(I){return function R(I,p){return new i.Promise(function(E,b){var z=[],N=I._internalType,U=I._outputType,P=I._mimeType;I.on("data",function(it,K){z.push(it),p&&p(K)}).on("error",function(it){z=[],b(it)}).on("end",function(){try{var it=function(K,ht,q){switch(K){case"blob":return y.newBlob(y.transformTo("arraybuffer",ht),q);case"base64":return g.encode(ht);default:return y.transformTo(K,ht)}}(U,function(K,ht){var q,pt=0,It=null,O=0;for(q=0;q<ht.length;q++)O+=ht[q].length;switch(K){case"string":return ht.join("");case"array":return Array.prototype.concat.apply([],ht);case"uint8array":for(It=new Uint8Array(O),q=0;q<ht.length;q++)It.set(ht[q],pt),pt+=ht[q].length;return It;case"nodebuffer":return Buffer.concat(ht);default:throw new Error("concat : unsupported type '"+K+"'")}}(N,z),P);E(it)}catch(K){b(K)}z=[]}).resume()})}(this,I)},on:function(I,p){var E=this;return this._worker.on(I,"data"===I?function(b){p.call(E,b.data,b.meta)}:function(){y.delay(p,arguments,E)}),this},resume:function(){return y.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(I){if(y.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new D(this,{objectMode:"nodebuffer"!==this._outputType},I)}}
1,W.exports=_},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(M,W,f){"use strict";if(f.base64=!0,f.array=!0,f.string=!0,f.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",f.nodebuffer=typeof Buffer<"u",f.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")f.blob=!1;else{var y=new ArrayBuffer(0);try{f.blob=0===new Blob([y],{type:"application/zip"}).size}catch{try{var S=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);S.append(y),f.blob=0===S.getBlob("application/zip").size}catch{f.blob=!1}}}try{f.nodestream=!!M("readable-stream").Readable}catch{f.nodestream=!1}},{"readable-stream":16}],31:[function(M,W,f){"use strict";for(var y=M("./utils"),S=M("./support"),d=M("./nodejsUtils"),g=M("./stream/GenericWorker"),A=new Array(256),i=0;i<256;i++)A[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;function D(){g.call(this,"utf-8 decode"),this.leftOver=null}function R(){g.call(this,"utf-8 encode")}A[254]=A[254]=1,f.utf8encode=function(_){return S.nodebuffer?d.newBufferFrom(_,"utf-8"):function(I){var p,E,b,z,N,U=I.length,P=0;for(z=0;z<U;z++)55296==(64512&(E=I.charCodeAt(z)))&&z+1<U&&56320==(64512&(b=I.charCodeAt(z+1)))&&(E=65536+(E-55296<<10)+(b-56320),z++),P+=E<128?1:E<2048?2:E<65536?3:4;for(p=S.uint8array?new Uint8Array(P):new Array(P),z=N=0;N<P;z++)55296==(64512&(E=I.charCodeAt(z)))&&z+1<U&&56320==(64512&(b=I.charCodeAt(z+1)))&&(E=65536+(E-55296<<10)+(b-56320),z++),E<128?p[N++]=E:(E<2048?p[N++]=192|E>>>6:(E<65536?p[N++]=224|E>>>12:(p[N++]=240|E>>>18,p[N++]=128|E>>>12&63),p[N++]=128|E>>>6&63),p[N++]=128|63&E);return p}(_)},f.utf8decode=function(_){return S.nodebuffer?y.transformTo("nodebuffer",_).toString("utf-8"):function(I){var p,E,b,z,N=I.length,U=new Array(2*N);for(p=E=0;p<N;
vendor: 4,739 bytes, line 1
1)if((b=I[p++])<128)U[E++]=b;else if(4<(z=A[b]))U[E++]=65533,p+=z-1;else{for(b&=2===z?31:3===z?15:7;1<z&&p<N;)b=b<<6|63&I[p++],z--;1<z?U[E++]=65533:b<65536?U[E++]=b:(U[E++]=55296|(b-=65536)>>10&1023,U[E++]=56320|1023&b)}return U.length!==E&&(U.subarray?U=U.subarray(0,E):U.length=E),y.applyFromCharCode(U)}(_=y.transformTo(S.uint8array?"uint8array":"array",_))},y.inherits(D,g),D.prototype.processChunk=function(_){var I=y.transformTo(S.uint8array?"uint8array":"array",_.data);if(this.leftOver&&this.leftOver.length){if(S.uint8array){var p=I;(I=new Uint8Array(p.length+this.leftOver.length)).set(this.leftOver,0),I.set(p,this.leftOver.length)}else I=this.leftOver.concat(I);this.leftOver=null}var E=function(z,N){var U;for((N=N||z.length)>z.length&&(N=z.length),U=N-1;0<=U&&128==(192&z[U]);)U--;return U<0||0===U?N:U+A[z[U]]>N?U:N}(I),b=I;E!==I.length&&(S.uint8array?(b=I.subarray(0,E),this.leftOver=I.subarray(E,I.length)):(b=I.slice(0,E),this.leftOver=I.slice(E,I.length))),this.push({data:f.utf8decode(b),meta:_.meta})},D.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:f.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},f.Utf8DecodeWorker=D,y.inherits(R,g),R.prototype.processChunk=function(_){this.push({data:f.utf8encode(_.data),meta:_.meta})},f.Utf8EncodeWorker=R},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(M,W,f){"use strict";var y=M("./support"),S=M("./base64"),d=M("./nodejsUtils"),g=M("./external");function A(p){return p}function i(p,E){for(var b=0;b<p.length;++b)E[b]=255&p.charCodeAt(b);return E}M("setimmediate"),f.newBlob=function(p,E){f.checkSupport("blob");try{return new Blob([p],{type:E})}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return b.append(p),b.getBlob(E)}catch{throw new Error("Bug : can't construct the Blob.")}}};var D={stringifyByChunk:function(p,E,b){var z=[],N=0,U=p.length;if(U<=b)return String.fromCharCode.apply(null,p);for(;N<U;)z.push(String.fromCharCode.apply(null,"array"===E||"nodebuffer"===E?p.slice(N,Math.min(N+b,U)):p.subarray(N,Math.min(N+b,U)))),N+=b;return z.join("")},stringifyByChar:function(p){for(var E="",b=0;b<p.length;b++)E+=String.fromCharCode(p[b]);return E},applyCanBeUsed:{uint8array:function(){try{return y.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch{return!1}}(),nodebuffer:function(){try{return y.nodebuffer&&1===String.fromCharCode.apply(null,d.allocBuffer(1)).length}catch{return!1}}()}};function R(p){var E=65536,b=f.getTypeOf(p),z=!0;if("uint8array"===b?z=D.applyCanBeUsed.uint8array:"nodebuffer"===b&&(z=D.applyCanBeUsed.nodebuffer),z)for(;1<E;)try{return D.stringifyByChunk(p,b,E)}catch{E=Math.floor(E/2)}return D.stringifyByChar(p)}function _(p,E){for(var b=0;b<p.length;b++)E[b]=p[b];return E}f.applyFromCharCode=R;var I={};I.string={string:A,array:function(p){return i(p,new Array(p.length))},arraybuffer:function(p){return I.string.uint8array(p).buffer},uint8array:function(p){return i(p,new Uint8Array(p.length))},nodebuffer:function(p){return i(p,d.allocBuffer(p.length))}},I.array={string:R,array:A,arraybuffer:function(p){return new Uint8Array(p).buffer},uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return d.newBufferFrom(p)}},I.arraybuffer={string:function(p){return R(new Uint8Array(p))},array:function(p){return _(new Uint8Array(p),new Array(p.byteLength))},arraybuffer:A,uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return d.newBufferFrom(new Uint8Array(p))}},I.uint8array={string:R,array:function(p){return _(p,new Array(p.length))},arraybuffer:function(p){return p.buffer},uint8array:A,nodebuffer:function(p){return d.newBufferFrom(p)}},I.nodebuffer={string:R,array:function(p){return _(p,new Array(p.length))},arraybuffer:function(p){return I.nodebuffer.uint8array(p).buffer},uint8array:function(p){return _(p,new Uint8Array(p.length))},nodebuffer:A},f.transformTo=function(p,E){if(E=E||"",!p)return E;f.checkSupport(p);var b=f.getTypeOf(E);return I[b][p](E)},f.resolve=function(p){for(var E=p.split("/"),b=[],z=0;z<E.length;z++){var N=E[z];"."===N||""===N&&0!==z&&z!==E.length-1||(".."===N?b.pop():b.push(N))}return b.join("/")},f.getTypeOf=function(p){return"string"==typeof p?"string":"[object Array]"===Object.prototype.toString.call(p)?"array":y.nodebuffer&&d.isBuffer(p)?"nodebuffer":y.uint8array&&p instanceof Uint8Array?"uint8array":y.arraybuffer&&p instanceof ArrayBuffer?"arraybuffer":void 0},f.checkSupport=function(p){if(!y[p.toLowerCase()])throw new Error(p+" is not supported by this platform")},f.MAX_VALUE_16BITS=65535,f.MAX_VALUE_32BITS=-1,f.pretty=function(p){var E,b,z="";for(b=0;b<(p||"").length;
1b++)z+="\\x"+((E=p.charCodeAt(b))<16?"0":"")+E.toString(16).toUpperCase();return z},f.delay=function(p,E,b){setImmediate(function(){p.apply(b||null,E||[])})},f.inherits=function(p,E){function b(){}b.prototype=E.prototype,p.prototype=new b},f.extend=function(){var p,E,b={};for(p=0;p<arguments.length;p++)for(E in arguments[p])Object.prototype.hasOwnProperty.call(arguments[p],E)&&void 0===b[E]&&(b[E]=arguments[p][E]);return b},f.prepareContent=function(p,E,b,z,N){return g.Promise.resolve(E).then(function(U){return y.blob&&(U instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(U)))&&typeof FileReader<"u"?new g.Promise(function(P,it){var K=new FileReader;K.onload=function(ht){P(ht.target.result)},K.onerror=function(ht){it(ht.target.error)},K.readAsArrayBuffer(U)}):U}).then(function(U){var it,P=f.getTypeOf(U);return P?("arraybuffer"===P?U=f.transformTo("uint8array",U):"string"===P&&(N?U=S.decode(U):b&&!0!==z&&(U=i(it=U,y.uint8array?new Uint8Array(it.length):new Array(it.length)))),U):g.Promise.reject(new Error("Can't read the data of '"+p+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(M,W,f){"use strict";var y=M("./reader/readerFor"),S=M("./utils"),d=M("./signature"),g=M("./zipEntry"),A=M("./support");function i(D){this.files=[],this.loadOptions=D}i.prototype={checkSignature:function(D){if(!this.reader.readAndCheckSignature(D)){this.reader.index-=4;var R=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+S.pretty(R)+", expected "+S.pretty(D)+")")}},isSignature:function(D,R){var _=this.reader.index;this.reader.setIndex(D);var I=this.reader.readString(4)===R;return this.reader.setIndex(_),I},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var D=this.reader.readData(this.zipCommentLength),_=S.transformTo(A.uint8array?"uint8array":"array",D);this.zipComment=this.loadOptions.decodeFileName(_)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var D,R,_,I=this.zip64EndOfCentralSize-44;0<I;)D=this.reader.readInt(2),R=this.reader.readInt(4),_=this.reader.readData(R),this.zip64ExtensibleData[D]={id:D,length:R,value:_}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var D,R;for(D=0;D<this.files.length;D++)this.reader.setIndex((R=this.files[D]).localHeaderOffset),this.checkSignature(d.LOCAL_FILE_HEADER),R.readLocalPart(this.reader),R.handleUTF8(),R.processAttributes()},readCentralDir:function(){var D;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(d.CENTRAL_FILE_HEADER);)(D=new g({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(D);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var D=this.reader.lastIndexOfSignature(d.CENTRAL_DIRECTORY_END);if(D<0)throw this.isSignature(0,d.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
1ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(D);var R=D;if(this.checkSignature(d.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===S.MAX_VALUE_16BITS||this.diskWithCentralDirStart===S.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===S.MAX_VALUE_16BITS||this.centralDirRecords===S.MAX_VALUE_16BITS||this.centralDirSize===S.MAX_VALUE_32BITS||this.centralDirOffset===S.MAX_VALUE_32BITS){if(this.zip64=!0,(D=this.reader.lastIndexOfSignature(d.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(D),this.checkSignature(d.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,d.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(d.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(d.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var _=this.centralDirOffset+this.centralDirSize;this.zip64&&(_+=20,_+=12+this.zip64EndOfCentralSize);var I=R-_;if(0<I)this.isSignature(R,d.CENTRAL_FILE_HEADER)||(this.reader.zero=I);else if(I<0)throw new Error("Corrupted zip: missing "+Math.abs(I)+" bytes.")},prepareReader:function(D){this.reader=y(D)},load:function(D){this.prepareReader(D),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},W.exports=i},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(M,W,f){"use strict";var y=M("./reader/readerFor"),S=M("./utils"),d=M("./compressedObject"),g=M("./crc32"),A=M("./utf8"),i=M("./compressions"),D=M("./support");function R(_,I){this.options=_,this.loadOptions=I}R.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(_){var I,p;if(_.skip(22),this.fileNameLength=_.readInt(2),p=_.readInt(2),this.fileName=_.readData(this.fileNameLength),_.skip(p),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(I=function(E){for(var b in i)if(Object.prototype.hasOwnProperty.call(i,b)&&i[b].magic===E)return i[b];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+S.pretty(this.compressionMethod)+" unknown (inner file : "+S.transformTo("string",this.fileName)+")");this.decompressed=new d(this.compressedSize,this.uncompressedSize,this.crc32,I,_.readData(this.compressedSize))},readCentralPart:function(_){this.versionMadeBy=_.readInt(2),_.skip(2),this.bitFlag=_.readInt(2),this.compressionMethod=_.readString(2),this.date=_.readDate(),this.crc32=_.readInt(4),this.compressedSize=_.readInt(4),this.uncompressedSize=_.readInt(4);var I=_.readInt(2);if(this.extraFieldsLength=_.readInt(2),this.fileCommentLength=_.readInt(2),this.diskNumberStart=_.readInt(2),this.internalFileAttributes=_.readInt(2),this.externalFileAttributes=_.readInt(4),this.localHeaderOffset=_.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");_.skip(I),this.readExtraFields(_),this.parseZIP64ExtraField(_),this.fileComment=_.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var _=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==_&&(this.dosPermissions=63&this.externalFileAttributes),3==_&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var _=y(this.extraFields[1].value);this.uncompressedSize===S.MAX_VALUE_32BITS&&(this.uncompressedSize=_.readInt(8)),this.compressedSize===S.MAX_VALUE_32BITS&&(this.compressedSize=_.readInt(8)),this.localHeaderOffset===S.MAX_VALUE_32BITS&&
vendor: 2,334 bytes, line 1
1(this.localHeaderOffset=_.readInt(8)),this.diskNumberStart===S.MAX_VALUE_32BITS&&(this.diskNumberStart=_.readInt(4))}},readExtraFields:function(_){var I,p,E,b=_.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});_.index+4<b;)I=_.readInt(2),p=_.readInt(2),E=_.readData(p),this.extraFields[I]={id:I,length:p,value:E};_.setIndex(b)},handleUTF8:function(){var _=D.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=A.utf8decode(this.fileName),this.fileCommentStr=A.utf8decode(this.fileComment);else{var I=this.findExtraFieldUnicodePath();if(null!==I)this.fileNameStr=I;else{var p=S.transformTo(_,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(p)}var E=this.findExtraFieldUnicodeComment();if(null!==E)this.fileCommentStr=E;else{var b=S.transformTo(_,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(b)}}},findExtraFieldUnicodePath:function(){var _=this.extraFields[28789];if(_){var I=y(_.value);return 1!==I.readInt(1)||g(this.fileName)!==I.readInt(4)?null:A.utf8decode(I.readData(_.length-5))}return null},findExtraFieldUnicodeComment:function(){var _=this.extraFields[25461];if(_){var I=y(_.value);return 1!==I.readInt(1)||g(this.fileComment)!==I.readInt(4)?null:A.utf8decode(I.readData(_.length-5))}return null}},W.exports=R},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(M,W,f){"use strict";function y(I,p,E){this.name=I,this.dir=E.dir,this.date=E.date,this.comment=E.comment,this.unixPermissions=E.unixPermissions,this.dosPermissions=E.dosPermissions,this._data=p,this._dataBinary=E.binary,this.options={compression:E.compression,compressionOptions:E.compressionOptions}}var S=M("./stream/StreamHelper"),d=M("./stream/DataWorker"),g=M("./utf8"),A=M("./compressedObject"),i=M("./stream/GenericWorker");y.prototype={internalStream:function(I){var p=null,E="string";try{if(!I)throw new Error("No output type specified.");var b="string"===(E=I.toLowerCase())||"text"===E;"binarystring"!==E&&"text"!==E||(E="string"),p=this._decompressWorker();var z=!this._dataBinary;z&&!b&&(p=p.pipe(new g.Utf8EncodeWorker)),!z&&b&&(p=p.pipe(new g.Utf8DecodeWorker))}catch(N){(p=new i("error")).error(N)}return new S(p,E,"")},async:function(I,p){return this.internalStream(I).accumulate(p)}
vendor: 10,285 bytes, line 1
1,nodeStream:function(I,p){return this.internalStream(I||"nodebuffer").toNodejsStream(p)},_compressWorker:function(I,p){if(this._data instanceof A&&this._data.compression.magic===I.magic)return this._data.getCompressedWorker();var E=this._decompressWorker();return this._dataBinary||(E=E.pipe(new g.Utf8EncodeWorker)),A.createWorkerFrom(E,I,p)},_decompressWorker:function(){return this._data instanceof A?this._data.getContentWorker():this._data instanceof i?this._data:new d(this._data)}};for(var D=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],R=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},_=0;_<D.length;_++)y.prototype[D[_]]=R;W.exports=y},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(M,W,f){(function(y){"use strict";var S,d,g=y.MutationObserver||y.WebKitMutationObserver;if(g){var A=0,i=new g(I),D=y.document.createTextNode("");i.observe(D,{characterData:!0}),S=function(){D.data=A=++A%2}}else if(y.setImmediate||void 0===y.MessageChannel)S="document"in y&&"onreadystatechange"in y.document.createElement("script")?function(){var p=y.document.createElement("script");p.onreadystatechange=function(){I(),p.onreadystatechange=null,p.parentNode.removeChild(p),p=null},y.document.documentElement.appendChild(p)}:function(){setTimeout(I,0)};else{var R=new y.MessageChannel;R.port1.onmessage=I,S=function(){R.port2.postMessage(0)}}var _=[];function I(){var p,E;d=!0;for(var b=_.length;b;){for(E=_,_=[],p=-1;++p<b;)E[p]();b=_.length}d=!1}W.exports=function(p){1!==_.push(p)||d||S()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(M,W,f){"use strict";var y=M("immediate");function S(){}var d={},g=["REJECTED"],A=["FULFILLED"],i=["PENDING"];function D(b){if("function"!=typeof b)throw new TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,b!==S&&p(this,b)}function R(b,z,N){this.promise=b,"function"==typeof z&&(this.onFulfilled=z,this.callFulfilled=this.otherCallFulfilled),"function"==typeof N&&(this.onRejected=N,this.callRejected=this.otherCallRejected)}function _(b,z,N){y(function(){var U;try{U=z(N)}catch(P){return d.reject(b,P)}U===b?d.reject(b,new TypeError("Cannot resolve promise with itself")):d.resolve(b,U)})}function I(b){var z=b&&b.then;if(b&&("object"==typeof b||"function"==typeof b)&&"function"==typeof z)return function(){z.apply(b,arguments)}}function p(b,z){var N=!1;function U(K){N||(N=!0,d.reject(b,K))}function P(K){N||(N=!0,d.resolve(b,K))}var it=E(function(){z(P,U)});"error"===it.status&&U(it.value)}function E(b,z){var N={};try{N.value=b(z),N.status="success"}catch(U){N.status="error",N.value=U}return N}(W.exports=D).prototype.finally=function(b){if("function"!=typeof b)return this;var z=this.constructor;return this.then(function(N){return z.resolve(b()).then(function(){return N})},function(N){return z.resolve(b()).then(function(){throw N})})},D.prototype.catch=function(b){return this.then(null,b)},D.prototype.then=function(b,z){if("function"!=typeof b&&this.state===A||"function"!=typeof z&&this.state===g)return this;var N=new this.constructor(S);return this.state!==i?_(N,this.state===A?b:z,this.outcome):this.queue.push(new R(N,b,z)),N},R.prototype.callFulfilled=function(b){d.resolve(this.promise,b)},R.prototype.otherCallFulfilled=function(b){_(this.promise,this.onFulfilled,b)},R.prototype.callRejected=function(b){d.reject(this.promise,b)},R.prototype.otherCallRejected=function(b){_(this.promise,this.onRejected,b)},d.resolve=function(b,z){var N=E(I,z);if("error"===N.status)return d.reject(b,N.value);var U=N.value;if(U)p(b,U);else{b.state=A,b.outcome=z;for(var P=-1,it=b.queue.length;++P<it;)b.queue[P].callFulfilled(z)}return b},d.reject=function(b,z){b.state=g,b.outcome=z;for(var N=-1,U=b.queue.length;++N<U;)b.queue[N].callRejected(z);return b},D.resolve=function(b){return b instanceof this?b:d.resolve(new this(S),b)},D.reject=function(b){var z=new this(S);return d.reject(z,b)},D.all=function(b){var z=this;if("[object Array]"!==Object.prototype.toString.call(b))return this.reject(new TypeError("must be an array"));var N=b.length,U=!1;if(!N)return this.resolve([]);for(var P=new Array(N),it=0,K=-1,ht=new this(S);++K<N;)q(b[K],K);return ht;function q(pt,It){z.resolve(pt).then(function(O){P[It]=O,++it!==N||U||(U=!0,d.resolve(ht,P))},function(O){U||(U=!0,d.reject(ht,O))})}},D.race=function(b){if("[object Array]"!==Object.prototype.toString.call(b))return this.reject(new TypeError("must be an array"));var N=b.length,U=!1;if(!N)return this.resolve([]);for(var P=-1,it=new this(S);++P<N;)this.resolve(b[P]).then(function(ht){U||(U=!0,d.resolve(it,ht))},function(ht){U||(U=!0,d.reject(it,ht))});return it}},{immediate:36}],38:[function(M,W,f){"use strict";var y={};(0,M("./lib/utils/common").assign)(y,M("./lib/deflate"),M("./lib/inflate"),M("./lib/zlib/constants")),W.exports=y},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(M,W,f){"use strict";var y=M("./zlib/deflate"),S=M("./utils/common"),d=M("./utils/strings"),g=M("./zlib/messages"),A=M("./zlib/zstream"),i=Object.prototype.toString;function p(b){if(!(this instanceof p))return new p(b);this.options=S.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},b||{});var z=this.options;z.raw&&0<z.windowBits?z.windowBits=-z.windowBits:z.gzip&&0<z.windowBits&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new A,this.strm.avail_out=0;var N=y.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(0!==N)throw new Error(g[N]);if(z.header&&y.deflateSetHeader(this.strm,z.header),z.dictionary){var U;if(U="string"==typeof z.dictionary?d.string2buf(z.dictionary):"[object ArrayBuffer]"===i.call(z.dictionary)?new Uint8Array(z.dictionary):z.dictionary,0!==(N=y.deflateSetDictionary(this.strm,U)))throw new Error(g[N]);this._dict_set=!0}}function E(b,z){var N=new p(z);if(N.push(b,!0),N.err)throw N.msg||g[N.err];return N.result}p.prototype.push=function(b,z){var N,U,P=this.strm,it=this.options.chunkSize;if(this.ended)return!1;U=z===~~z?z:!0===z?4:0,P.input="string"==typeof b?d.string2buf(b):"[object ArrayBuffer]"===i.call(b)?new Uint8Array(b):b,P.next_in=0,P.avail_in=P.input.length;do{if(0===P.avail_out&&(P.output=new S.Buf8(it),P.next_out=0,P.avail_out=it),1!==(N=y.deflate(P,U))&&0!==N)return this.onEnd(N),!(this.ended=!0);0!==P.avail_out&&(0!==P.avail_in||4!==U&&2!==U)||this.onData("string"===this.options.to?d.buf2binstring(S.shrinkBuf(P.output,P.next_out)):S.shrinkBuf(P.output,P.next_out))}while((0<P.avail_in||0===P.avail_out)&&1!==N);return 4===U?(N=y.deflateEnd(this.strm),this.onEnd(N),this.ended=!0,0===N):2!==U||(this.onEnd(0),!(P.avail_out=0))},p.prototype.onData=function(b){this.chunks.push(b)},p.prototype.onEnd=function(b){0===b&&(this.result="string"===this.options.to?this.chunks.join(""):S.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg},f.Deflate=p,f.deflate=E,f.deflateRaw=function(b,z){return(z=z||{}).raw=!0,E(b,z)},f.gzip=function(b,z){return(z=z||{}).gzip=!0,E(b,z)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(M,W,f){"use strict";var y=M("./zlib/inflate"),S=M("./utils/common"),d=M("./utils/strings"),g=M("./zlib/constants"),A=M("./zlib/messages"),i=M("./zlib/zstream"),D=M("./zlib/gzheader"),R=Object.prototype.toString;function _(p){if(!(this instanceof _))return new _(p);this.options=S.assign({chunkSize:16384,windowBits:0,to:""},p||{});var E=this.options;E.raw&&0<=E.windowBits&&E.windowBits<16&&(E.windowBits=-E.windowBits,0===E.windowBits&&(E.windowBits=-15)),!(0<=E.windowBits&&E.windowBits<16)||p&&p.windowBits||(E.windowBits+=32),15<E.windowBits&&E.windowBits<48&&!(15&E.windowBits)&&(E.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var b=y.inflateInit2(this.strm,E.windowBits);if(b!==g.Z_OK)throw new Error(A[b]);this.header=new D,y.inflateGetHeader(this.strm,this.header)}function I(p,E){var b=new _(E);if(b.push(p,!0),b.err)throw b.msg||A[b.err];return b.result}_.prototype.push=function(p,E){var b,z,N,U,P,it,K=this.strm,ht=this.options.chunkSize,q=this.options.dictionary,pt=!1;if(this.ended)return!1;z=E===~~E?E:!0===E?g.Z_FINISH:g.Z_NO_FLUSH,K.input="string"==typeof p?d.binstring2buf(p):"[object ArrayBuffer]"===R.call(p)?new Uint8Array(p):p,K.next_in=0,K.avail_in=K.input.length;do{if(0===K.avail_out&&(K.output=new S.Buf8(ht),K.next_out=0,K.avail_out=ht),(b=y.inflate(K,g.Z_NO_FLUSH))===g.Z_NEED_DICT&&q&&(it="string"==typeof q?d.string2buf(q):"[object ArrayBuffer]"===R.call(q)?new Uint8Array(q):q,b=y.inflateSetDictionary(this.strm,it)),b===g.Z_BUF_ERROR&&!0===pt&&(b=g.Z_OK,pt=!1),b!==g.Z_STREAM_END&&b!==g.Z_OK)return this.onEnd(b),!(this.ended=!0);K.next_out&&(0!==K.avail_out&&b!==g.Z_STREAM_END&&(0!==K.avail_in||z!==g.Z_FINISH&&z!==g.Z_SYNC_FLUSH)||("string"===this.options.to?(N=d.utf8border(K.output,K.next_out),U=K.next_out-N,P=d.buf2string(K.output,N),K.next_out=U,K.avail_out=ht-U,U&&S.arraySet(K.output,K.output,N,U,0),this.onData(P)):this.onData(S.shrinkBuf(K.output,K.next_out)))),0===K.avail_in&&0===K.avail_out&&(pt=!0)}while((0<K.avail_in||0===K.avail_out)&&b!==g.Z_STREAM_END);return b===g.Z_STREAM_END&&(z=g.Z_FINISH),z===g.Z_FINISH?(b=y.inflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===g.Z_OK):z!==g.Z_SYNC_FLUSH||(this.onEnd(g.Z_OK),!(K.avail_out=0))},_.prototype.onData=function(p){this.chunks.push(p)},_.prototype.onEnd=function(p){p===g.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):S.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},f.Inflate=_,f.inflate=I,f.inflateRaw=function(p,E){return(E=E||{}).raw=!0,I(p,E)},f.ungzip=I},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(M,W,f){"use strict";var y=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";f.assign=function(g){for(var A=Array.prototype.slice.call(arguments,1
vendor: 5,273 bytes, line 1
1);A.length;){var i=A.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var D in i)i.hasOwnProperty(D)&&(g[D]=i[D])}}return g},f.shrinkBuf=function(g,A){return g.length===A?g:g.subarray?g.subarray(0,A):(g.length=A,g)};var S={arraySet:function(g,A,i,D,R){if(A.subarray&&g.subarray)g.set(A.subarray(i,i+D),R);else for(var _=0;_<D;_++)g[R+_]=A[i+_]},flattenChunks:function(g){var A,i,D,R,_,I;for(A=D=0,i=g.length;A<i;A++)D+=g[A].length;for(I=new Uint8Array(D),A=R=0,i=g.length;A<i;A++)I.set(_=g[A],R),R+=_.length;return I}},d={arraySet:function(g,A,i,D,R){for(var _=0;_<D;_++)g[R+_]=A[i+_]},flattenChunks:function(g){return[].concat.apply([],g)}};f.setTyped=function(g){g?(f.Buf8=Uint8Array,f.Buf16=Uint16Array,f.Buf32=Int32Array,f.assign(f,S)):(f.Buf8=Array,f.Buf16=Array,f.Buf32=Array,f.assign(f,d))},f.setTyped(y)},{}],42:[function(M,W,f){"use strict";var y=M("./common"),S=!0,d=!0;try{String.fromCharCode.apply(null,[0])}catch{S=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{d=!1}for(var g=new y.Buf8(256),A=0;A<256;A++)g[A]=252<=A?6:248<=A?5:240<=A?4:224<=A?3:192<=A?2:1;function i(D,R){if(R<65537&&(D.subarray&&d||!D.subarray&&S))return String.fromCharCode.apply(null,y.shrinkBuf(D,R));for(var _="",I=0;I<R;I++)_+=String.fromCharCode(D[I]);return _}g[254]=g[254]=1,f.string2buf=function(D){var R,_,I,p,E,b=D.length,z=0;for(p=0;p<b;p++)55296==(64512&(_=D.charCodeAt(p)))&&p+1<b&&56320==(64512&(I=D.charCodeAt(p+1)))&&(_=65536+(_-55296<<10)+(I-56320),p++),z+=_<128?1:_<2048?2:_<65536?3:4;for(R=new y.Buf8(z),p=E=0;E<z;p++)55296==(64512&(_=D.charCodeAt(p)))&&p+1<b&&56320==(64512&(I=D.charCodeAt(p+1)))&&(_=65536+(_-55296<<10)+(I-56320),p++),_<128?R[E++]=_:(_<2048?R[E++]=192|_>>>6:(_<65536?R[E++]=224|_>>>12:(R[E++]=240|_>>>18,R[E++]=128|_>>>12&63),R[E++]=128|_>>>6&63),R[E++]=128|63&_);return R},f.buf2binstring=function(D){return i(D,D.length)},f.binstring2buf=function(D){for(var R=new y.Buf8(D.length),_=0,I=R.length;_<I;_++)R[_]=D.charCodeAt(_);return R},f.buf2string=function(D,R){var _,I,p,E,b=R||D.length,z=new Array(2*b);for(_=I=0;_<b;)if((p=D[_++])<128)z[I++]=p;else if(4<(E=g[p]))z[I++]=65533,_+=E-1;else{for(p&=2===E?31:3===E?15:7;1<E&&_<b;)p=p<<6|63&D[_++],E--;1<E?z[I++]=65533:p<65536?z[I++]=p:(z[I++]=55296|(p-=65536)>>10&1023,z[I++]=56320|1023&p)}return i(z,I)},f.utf8border=function(D,R){var _;for((R=R||D.length)>D.length&&(R=D.length),_=R-1;0<=_&&128==(192&D[_]);)_--;return _<0||0===_?R:_+g[D[_]]>R?_:R}},{"./common":41}],43:[function(M,W,f){"use strict";W.exports=function(y,S,d,g){for(var A=65535&y,i=y>>>16&65535,D=0;0!==d;){for(d-=D=2e3<d?2e3:d;i=i+(A=A+S[g++]|0)|0,--D;);A%=65521,i%=65521}return A|i<<16}},{}],44:[function(M,W,f){"use strict";W.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(M,W,f){"use strict";var y=function(){for(var S,d=[],g=0;g<256;g++){S=g;for(var A=0;A<8;A++)S=1&S?3988292384^S>>>1:S>>>1;d[g]=S}return d}();W.exports=function(S,d,g,A){var i=y,D=A+g;S^=-1;for(var R=A;R<D;R++)S=S>>>8^i[255&(S^d[R])];return-1^S}},{}],46:[function(M,W,f){"use strict";var y,S=M("../utils/common"),d=M("./trees"),g=M("./adler32"),A=M("./crc32"),i=M("./messages"),I=-2,pt=258,It=262,Q=113;function Bt(o,tt){return o.msg=i[tt],tt}function dt(o){return(o<<1)-(4<o?9:0)}function Rt(o){for(var tt=o.length;0<=--tt;)o[tt]=0}function Z(o){var tt=o.state,Y=tt.pending;Y>o.avail_out&&(Y=o.avail_out),0!==Y&&(S.arraySet(o.output,tt.pending_buf,tt.pending_out,Y,o.next_out),o.next_out+=Y,tt.pending_out+=Y,o.total_out+=Y,o.avail_out-=Y,tt.pending-=Y,0===tt.pending&&(tt.pending_out=0))}function G(o,tt){d._tr_flush_block(o,0<=o.block_start?o.block_start:-1,o.strstart-o.block_start,tt),o.block_start=o.strstart,Z(o.strm)}function At(o,tt){o.pending_buf[o.pending++]=tt}function Ct(o,tt){o.pending_buf[o.pending++]=tt>>>8&255,o.pending_buf[o.pending++]=255&tt}function vt(o,tt){var Y,T,x=o.max_chain_length,F=o.strstart,rt=o.prev_length,st=o.nice_match,H=o.strstart>o.w_size-It?o.strstart-(o.w_size-It):0,ft=o.window,kt=o.w_mask,lt=o.prev,zt=o.strstart+pt,Vt=ft[F+rt-1],Pt=ft[F+rt];o.prev_length>=o.good_match&&(x>>=2),st>o.lookahead&&(st=o.lookahead);do{if(ft[(Y=tt)+rt]===Pt&&ft[Y+rt-1]===Vt&&ft[Y]===ft[F]&&ft[++Y]===ft[F+1]){F+=2,Y++;do{}while(ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&ft[++F]===ft[++Y]&&F<zt);if(T=pt-(zt-F),F=zt-pt,rt<T){if(o.match_start=tt,st<=(rt=T))break;Vt=ft[F+rt-1],Pt=ft[F+rt]}}}while((tt=lt[tt&kt])>H&&0!=--x);return rt<=o.lookahead?rt:o.lookahead}function Yt(o){var tt,Y,T,x,F,rt,st,H,ft,kt,lt=o.w_size;do{if(x=o.window_size-o.lookahead-o.strstart,o.strstart>=lt+(lt-It)){for(S.arraySet(o.window,o.window,lt,lt,0),o.match_start-=lt,o.strstart-=lt,o.block_start-=lt,tt=Y=o.hash_size;T=o.head[--tt],o.head[tt]=lt<=T?T-lt:0,--Y;);for(tt=Y=lt;T=o.prev[--tt],o.prev[tt]=lt<=T?T-lt:0,--Y;);x+=lt}if(0===o.strm.avail_in)break;
vendor: 5,038 bytes, line 1
1if(st=o.window,H=o.strstart+o.lookahead,kt=void 0,(ft=x)<(kt=(rt=o.strm).avail_in)&&(kt=ft),Y=0===kt?0:(rt.avail_in-=kt,S.arraySet(st,rt.input,rt.next_in,kt,H),1===rt.state.wrap?rt.adler=g(rt.adler,st,kt,H):2===rt.state.wrap&&(rt.adler=A(rt.adler,st,kt,H)),rt.next_in+=kt,rt.total_in+=kt,kt),o.lookahead+=Y,o.lookahead+o.insert>=3)for(o.ins_h=o.window[F=o.strstart-o.insert],o.ins_h=(o.ins_h<<o.hash_shift^o.window[F+1])&o.hash_mask;o.insert&&(o.ins_h=(o.ins_h<<o.hash_shift^o.window[F+3-1])&o.hash_mask,o.prev[F&o.w_mask]=o.head[o.ins_h],o.head[o.ins_h]=F,F++,o.insert--,!(o.lookahead+o.insert<3)););}while(o.lookahead<It&&0!==o.strm.avail_in)}function ee(o,tt){for(var Y,T;;){if(o.lookahead<It){if(Yt(o),o.lookahead<It&&0===tt)return 1;if(0===o.lookahead)break}if(Y=0,o.lookahead>=3&&(o.ins_h=(o.ins_h<<o.hash_shift^o.window[o.strstart+3-1])&o.hash_mask,Y=o.prev[o.strstart&o.w_mask]=o.head[o.ins_h],o.head[o.ins_h]=o.strstart),0!==Y&&o.strstart-Y<=o.w_size-It&&(o.match_length=vt(o,Y)),o.match_length>=3)if(T=d._tr_tally(o,o.strstart-o.match_start,o.match_length-3),o.lookahead-=o.match_length,o.match_length<=o.max_lazy_match&&o.lookahead>=3){for(o.match_length--;o.strstart++,o.ins_h=(o.ins_h<<o.hash_shift^o.window[o.strstart+3-1])&o.hash_mask,Y=o.prev[o.strstart&o.w_mask]=o.head[o.ins_h],o.head[o.ins_h]=o.strstart,0!=--o.match_length;);o.strstart++}else o.strstart+=o.match_length,o.match_length=0,o.ins_h=o.window[o.strstart],o.ins_h=(o.ins_h<<o.hash_shift^o.window[o.strstart+1])&o.hash_mask;else T=d._tr_tally(o,0,o.window[o.strstart]),o.lookahead--,o.strstart++;if(T&&(G(o,!1),0===o.strm.avail_out))return 1}return o.insert=o.strstart<2?o.strstart:2,4===tt?(G(o,!0),0===o.strm.avail_out?3:4):o.last_lit&&(G(o,!1),0===o.strm.avail_out)?1:2}function Lt(o,tt){for(var Y,T,x;;){if(o.lookahead<It){if(Yt(o),o.lookahead<It&&0===tt)return 1;if(0===o.lookahead)break}if(Y=0,o.lookahead>=3&&(o.ins_h=(o.ins_h<<o.hash_shift^o.window[o.strstart+3-1])&o.hash_mask,Y=o.prev[o.strstart&o.w_mask]=o.head[o.ins_h],o.head[o.ins_h]=o.strstart),o.prev_length=o.match_length,o.prev_match=o.match_start,o.match_length=2,0!==Y&&o.prev_length<o.max_lazy_match&&o.strstart-Y<=o.w_size-It&&(o.match_length=vt(o,Y),o.match_length<=5&&(1===o.strategy||3===o.match_length&&4096<o.strstart-o.match_start)&&(o.match_length=2)),o.prev_length>=3&&o.match_length<=o.prev_length){for(x=o.strstart+o.lookahead-3,T=d._tr_tally(o,o.strstart-1-o.prev_match,o.prev_length-3),o.lookahead-=o.prev_length-1,o.prev_length-=2;++o.strstart<=x&&(o.ins_h=(o.ins_h<<o.hash_shift^o.window[o.strstart+3-1])&o.hash_mask,Y=o.prev[o.strstart&o.w_mask]=o.head[o.ins_h],o.head[o.ins_h]=o.strstart),0!=--o.prev_length;);if(o.match_available=0,o.match_length=2,o.strstart++,T&&(G(o,!1),0===o.strm.avail_out))return 1}else if(o.match_available){if((T=d._tr_tally(o,0,o.window[o.strstart-1]))&&G(o,!1),o.strstart++,o.lookahead--,0===o.strm.avail_out)return 1}else o.match_available=1,o.strstart++,o.lookahead--}return o.match_available&&(T=d._tr_tally(o,0,o.window[o.strstart-1]),o.match_available=0),o.insert=o.strstart<2?o.strstart:2,4===tt?(G(o,!0),0===o.strm.avail_out?3:4):o.last_lit&&(G(o,!1),0===o.strm.avail_out)?1:2}function $t(o,tt,Y,T,x){this.good_length=o,this.max_lazy=tt,this.nice_length=Y,this.max_chain=T,this.func=x}function Jt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new S.Buf16(1146),this.dyn_dtree=new S.Buf16(122),this.bl_tree=new S.Buf16(78),Rt(this.dyn_ltree),Rt(this.dyn_dtree),Rt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new S.Buf16(16),this.heap=new S.Buf16(573),Rt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new S.Buf16(573),Rt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ht(o){var tt;return o&&o.state?(o.total_in=o.total_out=0,o.data_type=2,(tt=o.state).pending=0,tt.pending_out=0,tt.wrap<0&&(tt.wrap=-tt.wrap),tt.status=tt.wrap?42:Q,o.adler=2===tt.wrap?0:1,tt.last_flush=0,d._tr_init(tt),0):Bt(o,I)}function le(o){var Y,tt=Ht(o);return 0===tt&&((Y=o.state).window_size=2*Y.w_size,Rt(Y.head),Y.max_lazy_match=y[Y.level].max_lazy,Y.good_match=y[Y.level].good_length,Y.nice_match=y[Y.level].nice_length,Y.max_chain_length=y[Y.level].max_chain,Y.strstart=0,Y.block_start=0,Y.lookahead=0,Y.insert=0,Y.match_length=Y.prev_length=2,Y.match_available=0,Y.ins_h=0),tt}
vendor: 5,634 bytes, line 1
1function me(o,tt,Y,T,x,F){if(!o)return I;var rt=1;if(-1===tt&&(tt=6),T<0?(rt=0,T=-T):15<T&&(rt=2,T-=16),x<1||9<x||8!==Y||T<8||15<T||tt<0||9<tt||F<0||4<F)return Bt(o,I);8===T&&(T=9);var st=new Jt;return(o.state=st).strm=o,st.wrap=rt,st.gzhead=null,st.w_bits=T,st.w_size=1<<st.w_bits,st.w_mask=st.w_size-1,st.hash_bits=x+7,st.hash_size=1<<st.hash_bits,st.hash_mask=st.hash_size-1,st.hash_shift=~~((st.hash_bits+3-1)/3),st.window=new S.Buf8(2*st.w_size),st.head=new S.Buf16(st.hash_size),st.prev=new S.Buf16(st.w_size),st.lit_bufsize=1<<x+6,st.pending_buf_size=4*st.lit_bufsize,st.pending_buf=new S.Buf8(st.pending_buf_size),st.d_buf=1*st.lit_bufsize,st.l_buf=3*st.lit_bufsize,st.level=tt,st.strategy=F,st.method=Y,le(o)}y=[new $t(0,0,0,0,function(o,tt){var Y=65535;for(Y>o.pending_buf_size-5&&(Y=o.pending_buf_size-5);;){if(o.lookahead<=1){if(Yt(o),0===o.lookahead&&0===tt)return 1;if(0===o.lookahead)break}o.strstart+=o.lookahead,o.lookahead=0;var T=o.block_start+Y;if((0===o.strstart||o.strstart>=T)&&(o.lookahead=o.strstart-T,o.strstart=T,G(o,!1),0===o.strm.avail_out)||o.strstart-o.block_start>=o.w_size-It&&(G(o,!1),0===o.strm.avail_out))return 1}return o.insert=0,4===tt?(G(o,!0),0===o.strm.avail_out?3:4):(o.strstart>o.block_start&&G(o,!1),1)}),new $t(4,4,8,4,ee),new $t(4,5,16,8,ee),new $t(4,6,32,32,ee),new $t(4,4,16,16,Lt),new $t(8,16,32,32,Lt),new $t(8,16,128,128,Lt),new $t(8,32,128,256,Lt),new $t(32,128,258,1024,Lt),new $t(32,258,258,4096,Lt)],f.deflateInit=function(o,tt){return me(o,tt,8,15,8,0)},f.deflateInit2=me,f.deflateReset=le,f.deflateResetKeep=Ht,f.deflateSetHeader=function(o,tt){return o&&o.state?2!==o.state.wrap?I:(o.state.gzhead=tt,0):I},f.deflate=function(o,tt){var Y,T,x,F;if(!o||!o.state||5<tt||tt<0)return o?Bt(o,I):I;if(T=o.state,!o.output||!o.input&&0!==o.avail_in||666===T.status&&4!==tt)return Bt(o,0===o.avail_out?-5:I);if(T.strm=o,Y=T.last_flush,T.last_flush=tt,42===T.status)if(2===T.wrap)o.adler=0,At(T,31),At(T,139),At(T,8),T.gzhead?(At(T,(T.gzhead.text?1:0)+(T.gzhead.hcrc?2:0)+(T.gzhead.extra?4:0)+(T.gzhead.name?8:0)+(T.gzhead.comment?16:0)),At(T,255&T.gzhead.time),At(T,T.gzhead.time>>8&255),At(T,T.gzhead.time>>16&255),At(T,T.gzhead.time>>24&255),At(T,9===T.level?2:2<=T.strategy||T.level<2?4:0),At(T,255&T.gzhead.os),T.gzhead.extra&&T.gzhead.extra.length&&(At(T,255&T.gzhead.extra.length),At(T,T.gzhead.extra.length>>8&255)),T.gzhead.hcrc&&(o.adler=A(o.adler,T.pending_buf,T.pending,0)),T.gzindex=0,T.status=69):(At(T,0),At(T,0),At(T,0),At(T,0),At(T,0),At(T,9===T.level?2:2<=T.strategy||T.level<2?4:0),At(T,3),T.status=Q);else{var rt=8+(T.w_bits-8<<4)<<8;rt|=(2<=T.strategy||T.level<2?0:T.level<6?1:6===T.level?2:3)<<6,0!==T.strstart&&(rt|=32),rt+=31-rt%31,T.status=Q,Ct(T,rt),0!==T.strstart&&(Ct(T,o.adler>>>16),Ct(T,65535&o.adler)),o.adler=1}if(69===T.status)if(T.gzhead.extra){for(x=T.pending;T.gzindex<(65535&T.gzhead.extra.length)&&(T.pending!==T.pending_buf_size||(T.gzhead.hcrc&&T.pending>x&&(o.adler=A(o.adler,T.pending_buf,T.pending-x,x)),Z(o),x=T.pending,T.pending!==T.pending_buf_size));)At(T,255&T.gzhead.extra[T.gzindex]),T.gzindex++;T.gzhead.hcrc&&T.pending>x&&(o.adler=A(o.adler,T.pending_buf,T.pending-x,x)),T.gzindex===T.gzhead.extra.length&&(T.gzindex=0,T.status=73)}else T.status=73;if(73===T.status)if(T.gzhead.name){x=T.pending;do{if(T.pending===T.pending_buf_size&&(T.gzhead.hcrc&&T.pending>x&&(o.adler=A(o.adler,T.pending_buf,T.pending-x,x)),Z(o),x=T.pending,T.pending===T.pending_buf_size)){F=1;break}F=T.gzindex<T.gzhead.name.length?255&T.gzhead.name.charCodeAt(T.gzindex++):0,At(T,F)}while(0!==F);T.gzhead.hcrc&&T.pending>x&&(o.adler=A(o.adler,T.pending_buf,T.pending-x,x)),0===F&&(T.gzindex=0,T.status=91)}else T.status=91;if(91===T.status)if(T.gzhead.comment){x=T.pending;do{if(T.pending===T.pending_buf_size&&(T.gzhead.hcrc&&T.pending>x&&(o.adler=A(o.adler,T.pending_buf,T.pending-x,x)),Z(o),x=T.pending,T.pending===T.pending_buf_size)){F=1;break}F=T.gzindex<T.gzhead.comment.length?255&T.gzhead.comment.charCodeAt(T.gzindex++):0,At(T,F)}while(0!==F);T.gzhead.hcrc&&T.pending>x&&(o.adler=A(o.adler,T.pending_buf,T.pending-x,x)),0===F&&(T.status=103)}else T.status=103;if(103===T.status&&(T.gzhead.hcrc?(T.pending+2>T.pending_buf_size&&Z(o),T.pending+2<=T.pending_buf_size&&(At(T,255&o.adler),At(T,o.adler>>8&255),o.adler=0,T.status=Q)):T.status=Q),0!==T.pending){if(Z(o),0===o.avail_out)return T.last_flush=-1,0}else if(0===o.avail_in&&dt(tt)<=dt(Y)&&4!==tt)return Bt(o,-5);if(666===T.status&&0!==o.avail_in)return Bt(o,-5);if(0!==o.avail_in||0!==T.lookahead||0!==tt&&666!==T.status){var st=2===T.strategy?function(H,ft){for(var kt;;){if(0===H.lookahead&&(Yt(H),0===H.lookahead)){if(0===ft)return 1;break}if(H.match_length=0,kt=d._tr_tally(H,0,H.window[H.strstart]),H.lookahead--,H.strstart++,kt&&(G(H,!1),0===H.strm.avail_out))return 1}return H.insert=0,4===ft?(G(H,!0),0===H.strm.avail_out?3:4):H.last_lit&&(G(H,!1),0===H.strm.avail_out)?1:2}(T,tt):3===T.strategy?function(H,ft){for(var kt,lt,zt,Vt,Pt=H.window;;){if(H.lookahead<=pt){if(Yt(H),H.lookahead<=pt&&0===ft)return 1;if(0===H.lookahead)break}if(H.match_length=0,H.lookahead>=3&&0<H.strstart&&(lt=Pt[zt=H.strstart-1])===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]){Vt=H.strstart+pt;do{}while(lt===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]&&lt===Pt[++zt]&&zt<Vt);H.match_length=pt-(Vt-zt),H.match_length>H.lookahead&&(H.match_length=H.lookahead)}if(H.match_length>=3?(kt=d._tr_tally(H,1,H.match_length-3),H.lookahead-=H.match_length,H.strstart+=H.match_length,H.match_length=0):(kt=d._tr_tally(H,0,H.window[H.strstart]),H.lookahead--,H.strstart++),
vendor: 6,638 bytes, line 1
1kt&&(G(H,!1),0===H.strm.avail_out))return 1}return H.insert=0,4===ft?(G(H,!0),0===H.strm.avail_out?3:4):H.last_lit&&(G(H,!1),0===H.strm.avail_out)?1:2}(T,tt):y[T.level].func(T,tt);if(3!==st&&4!==st||(T.status=666),1===st||3===st)return 0===o.avail_out&&(T.last_flush=-1),0;if(2===st&&(1===tt?d._tr_align(T):5!==tt&&(d._tr_stored_block(T,0,0,!1),3===tt&&(Rt(T.head),0===T.lookahead&&(T.strstart=0,T.block_start=0,T.insert=0))),Z(o),0===o.avail_out))return T.last_flush=-1,0}return 4!==tt?0:T.wrap<=0?1:(2===T.wrap?(At(T,255&o.adler),At(T,o.adler>>8&255),At(T,o.adler>>16&255),At(T,o.adler>>24&255),At(T,255&o.total_in),At(T,o.total_in>>8&255),At(T,o.total_in>>16&255),At(T,o.total_in>>24&255)):(Ct(T,o.adler>>>16),Ct(T,65535&o.adler)),Z(o),0<T.wrap&&(T.wrap=-T.wrap),0!==T.pending?0:1)},f.deflateEnd=function(o){var tt;return o&&o.state?42!==(tt=o.state.status)&&69!==tt&&73!==tt&&91!==tt&&103!==tt&&tt!==Q&&666!==tt?Bt(o,I):(o.state=null,tt===Q?Bt(o,-3):0):I},f.deflateSetDictionary=function(o,tt){var Y,T,x,F,rt,st,H,ft,kt=tt.length;if(!o||!o.state||2===(F=(Y=o.state).wrap)||1===F&&42!==Y.status||Y.lookahead)return I;for(1===F&&(o.adler=g(o.adler,tt,kt,0)),Y.wrap=0,kt>=Y.w_size&&(0===F&&(Rt(Y.head),Y.strstart=0,Y.block_start=0,Y.insert=0),ft=new S.Buf8(Y.w_size),S.arraySet(ft,tt,kt-Y.w_size,Y.w_size,0),tt=ft,kt=Y.w_size),rt=o.avail_in,st=o.next_in,H=o.input,o.avail_in=kt,o.next_in=0,o.input=tt,Yt(Y);Y.lookahead>=3;){for(T=Y.strstart,x=Y.lookahead-2;Y.ins_h=(Y.ins_h<<Y.hash_shift^Y.window[T+3-1])&Y.hash_mask,Y.prev[T&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=T,T++,--x;);Y.strstart=T,Y.lookahead=2,Yt(Y)}return Y.strstart+=Y.lookahead,Y.block_start=Y.strstart,Y.insert=Y.lookahead,Y.lookahead=0,Y.match_length=Y.prev_length=2,Y.match_available=0,o.next_in=st,o.input=H,o.avail_in=rt,Y.wrap=F,0},f.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(M,W,f){"use strict";W.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(M,W,f){"use strict";W.exports=function(y,S){var d,g,A,i,D,R,_,I,p,E,b,z,N,U,P,it,K,ht,q,pt,It,O,Q,h,nt;h=y.input,A=(g=y.next_in)+(y.avail_in-5),nt=y.output,D=(i=y.next_out)-(S-y.avail_out),R=i+(y.avail_out-257),_=(d=y.state).dmax,I=d.wsize,p=d.whave,E=d.wnext,b=d.window,z=d.hold,N=d.bits,U=d.lencode,P=d.distcode,it=(1<<d.lenbits)-1,K=(1<<d.distbits)-1;t:do{N<15&&(z+=h[g++]<<N,z+=h[g++]<<(N+=8),N+=8),ht=U[z&it];e:for(;;){if(z>>>=q=ht>>>24,N-=q,0==(q=ht>>>16&255))nt[i++]=65535&ht;else{if(!(16&q)){if(!(64&q)){ht=U[(65535&ht)+(z&(1<<q)-1)];continue e}if(32&q){d.mode=12;break t}y.msg="invalid literal/length code",d.mode=30;break t}pt=65535&ht,(q&=15)&&(N<q&&(z+=h[g++]<<N,N+=8),pt+=z&(1<<q)-1,z>>>=q,N-=q),N<15&&(z+=h[g++]<<N,z+=h[g++]<<(N+=8),N+=8),ht=P[z&K];n:for(;;){if(z>>>=q=ht>>>24,N-=q,!(16&(q=ht>>>16&255))){if(!(64&q)){ht=P[(65535&ht)+(z&(1<<q)-1)];continue n}y.msg="invalid distance code",d.mode=30;break t}if(It=65535&ht,N<(q&=15)&&(z+=h[g++]<<N,(N+=8)<q&&(z+=h[g++]<<N,N+=8)),_<(It+=z&(1<<q)-1)){y.msg="invalid distance too far back",d.mode=30;break t}if(z>>>=q,N-=q,(q=i-D)<It){if(p<(q=It-q)&&d.sane){y.msg="invalid distance too far back",d.mode=30;break t}if(Q=b,(O=0)===E){if(O+=I-q,q<pt){for(pt-=q;nt[i++]=b[O++],--q;);O=i-It,Q=nt}}else if(E<q){if(O+=I+E-q,(q-=E)<pt){for(pt-=q;nt[i++]=b[O++],--q;);if(O=0,E<pt){for(pt-=q=E;nt[i++]=b[O++],--q;);O=i-It,Q=nt}}}else if(O+=E-q,q<pt){for(pt-=q;nt[i++]=b[O++],--q;);O=i-It,Q=nt}for(;2<pt;)nt[i++]=Q[O++],nt[i++]=Q[O++],nt[i++]=Q[O++],pt-=3;pt&&(nt[i++]=Q[O++],1<pt&&(nt[i++]=Q[O++]))}else{for(O=i-It;nt[i++]=nt[O++],nt[i++]=nt[O++],nt[i++]=nt[O++],2<(pt-=3););pt&&(nt[i++]=nt[O++],1<pt&&(nt[i++]=nt[O++]))}break}}break}}while(g<A&&i<R);g-=pt=N>>3,z&=(1<<(N-=pt<<3))-1,y.next_in=g,y.next_out=i,y.avail_in=g<A?A-g+5:5-(g-A),y.avail_out=i<R?R-i+257:257-(i-R),d.hold=z,d.bits=N}},{}],49:[function(M,W,f){"use strict";var y=M("../utils/common"),S=M("./adler32"),d=M("./crc32"),g=M("./inffast"),A=M("./inftrees"),_=-2;function b(O){return(O>>>24&255)+(O>>>8&65280)+((65280&O)<<8)+((255&O)<<24)}function z(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new y.Buf16(320),this.work=new y.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function N(O){var Q;return O&&O.state?(O.total_in=O.total_out=(Q=O.state).total=0,O.msg="",Q.wrap&&(O.adler=1&Q.wrap),Q.mode=1,Q.last=0,Q.havedict=0,Q.dmax=32768,Q.head=null,Q.hold=0,Q.bits=0,Q.lencode=Q.lendyn=new y.Buf32(852),Q.distcode=Q.distdyn=new y.Buf32(592),Q.sane=1,Q.back=-1,0):_}function U(O){var Q;return O&&O.state?((Q=O.state).wsize=0,Q.whave=0,Q.wnext=0,N(O)):_}function P(O,Q){var h,nt;return O&&O.state?(nt=O.state,Q<0?(h=0,Q=-Q):(h=1+(Q>>4),Q<48&&(Q&=15)),Q&&(Q<8||15<Q)?_:(null!==nt.window&&nt.wbits!==Q&&(nt.window=null),nt.wrap=h,nt.wbits=Q,U(O))):_}function it(O,Q){var h,nt;return O?(nt=new z,(O.state=nt).window=null,0!==(h=P(O,Q))&&(O.state=null),h):_}var K,ht,q=!0;function pt(O){if(q){var Q;for(K=new y.Buf32(512),ht=new y.Buf32(32),Q=0;Q<144;)O.lens[Q++]=8;for(;Q<256;)O.lens[Q++]=9;for(;Q<280;)O.lens[Q++]=7;for(;Q<288;)O.lens[Q++]=8;for(A(1,O.lens,0,288,K,0,O.work,{bits:9}),Q=0;Q<32;)O.lens[Q++]=5;A(2,O.lens,0,32,ht,0,O.work,{bits:5}),q=!1}O.lencode=K,O.lenbits=9,O.distcode=ht,O.distbits=5}function It(O,Q,h,nt){var Mt,ct=O.state;return null===ct.window&&(ct.wsize=1<<ct.wbits,ct.wnext=0,ct.whave=0,ct.window=new y.Buf8(ct.wsize)),nt>=ct.wsize?(y.arraySet(ct.window,Q,h-ct.wsize,ct.wsize,0),ct.wnext=0,ct.whave=ct.wsize):(nt<(Mt=ct.wsize-ct.wnext)&&(Mt=nt),y.arraySet(ct.window,Q,h-nt,Mt,ct.wnext),(nt-=Mt)?(y.arraySet(ct.window,Q,h-nt,nt,0),ct.wnext=nt,ct.whave=ct.wsize):(ct.wnext+=Mt,ct.wnext===ct.wsize&&(ct.wnext=0),ct.whave<ct.wsize&&(ct.whave+=Mt))),0}f.inflateReset=U,f.inflateReset2=P,f.inflateResetKeep=N,f.inflateInit=function(O){return it(O,15)},f.inflateInit2=it,f.inflate=function(O,Q){var h,nt,Mt,ct,Bt,dt,Rt,Z,G,At,Ct,vt,Yt,ee,Lt,$t,Jt,Ht,le,me,o,tt,Y,T,x=0,F=new y.Buf8(4),rt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!O||!O.state||!O.output||!O.input&&0!==O.avail_in)return _;12===(h=O.state).mode&&(h.mode=13),Bt=O.next_out,Mt=O.output,ct=O.next_in,nt=O.
vendor: 3,947 bytes, line 1
1input,Z=h.hold,G=h.bits,At=dt=O.avail_in,Ct=Rt=O.avail_out,tt=0;t:for(;;)switch(h.mode){case 1:if(0===h.wrap){h.mode=13;break}for(;G<16;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(2&h.wrap&&35615===Z){F[h.check=0]=255&Z,F[1]=Z>>>8&255,h.check=d(h.check,F,2,0),G=Z=0,h.mode=2;break}if(h.flags=0,h.head&&(h.head.done=!1),!(1&h.wrap)||(((255&Z)<<8)+(Z>>8))%31){O.msg="incorrect header check",h.mode=30;break}if(8!=(15&Z)){O.msg="unknown compression method",h.mode=30;break}if(G-=4,o=8+(15&(Z>>>=4)),0===h.wbits)h.wbits=o;else if(o>h.wbits){O.msg="invalid window size",h.mode=30;break}h.dmax=1<<o,O.adler=h.check=1,h.mode=512&Z?10:12,G=Z=0;break;case 2:for(;G<16;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(h.flags=Z,8!=(255&h.flags)){O.msg="unknown compression method",h.mode=30;break}if(57344&h.flags){O.msg="unknown header flags set",h.mode=30;break}h.head&&(h.head.text=Z>>8&1),512&h.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,h.check=d(h.check,F,2,0)),G=Z=0,h.mode=3;case 3:for(;G<32;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}h.head&&(h.head.time=Z),512&h.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,F[2]=Z>>>16&255,F[3]=Z>>>24&255,h.check=d(h.check,F,4,0)),G=Z=0,h.mode=4;case 4:for(;G<16;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}h.head&&(h.head.xflags=255&Z,h.head.os=Z>>8),512&h.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,h.check=d(h.check,F,2,0)),G=Z=0,h.mode=5;case 5:if(1024&h.flags){for(;G<16;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}h.length=Z,h.head&&(h.head.extra_len=Z),512&h.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,h.check=d(h.check,F,2,0)),G=Z=0}else h.head&&(h.head.extra=null);h.mode=6;case 6:if(1024&h.flags&&(dt<(vt=h.length)&&(vt=dt),vt&&(h.head&&(o=h.head.extra_len-h.length,h.head.extra||(h.head.extra=new Array(h.head.extra_len)),y.arraySet(h.head.extra,nt,ct,vt,o)),512&h.flags&&(h.check=d(h.check,nt,vt,ct)),dt-=vt,ct+=vt,h.length-=vt),h.length))break t;h.length=0,h.mode=7;case 7:if(2048&h.flags){if(0===dt)break t;for(vt=0;o=nt[ct+vt++],h.head&&o&&h.length<65536&&(h.head.name+=String.fromCharCode(o)),o&&vt<dt;);if(512&h.flags&&(h.check=d(h.check,nt,vt,ct)),dt-=vt,ct+=vt,o)break t}else h.head&&(h.head.name=null);h.length=0,h.mode=8;case 8:if(4096&h.flags){if(0===dt)break t;for(vt=0;o=nt[ct+vt++],h.head&&o&&h.length<65536&&(h.head.comment+=String.fromCharCode(o)),o&&vt<dt;);if(512&h.flags&&(h.check=d(h.check,nt,vt,ct)),dt-=vt,ct+=vt,o)break t}else h.head&&(h.head.comment=null);h.mode=9;case 9:if(512&h.flags){for(;G<16;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(Z!==(65535&h.check)){O.msg="header crc mismatch",h.mode=30;break}G=Z=0}h.head&&(h.head.hcrc=h.flags>>9&1,h.head.done=!0),O.adler=h.check=0,h.mode=12;break;case 10:for(;G<32;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}O.adler=h.check=b(Z),G=Z=0,h.mode=11;case 11:if(0===h.havedict)return O.next_out=Bt,O.avail_out=Rt,O.next_in=ct,O.avail_in=dt,h.hold=Z,h.bits=G,2;O.adler=h.check=1,h.mode=12;case 12:if(5===Q||6===Q)break t;case 13:if(h.last){Z>>>=7&G,G-=7&G,h.mode=27;break}for(;G<3;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}switch(h.last=1&Z,G-=1,3&(Z>>>=1)){case 0:h.mode=14;break;case 1:if(pt(h),h.mode=20,6!==Q)break;Z>>>=2,G-=2;break t;case 2:h.mode=17;break;case 3:O.msg="invalid block type",h.mode=30}Z>>>=2,G-=2;break;case 14:for(Z>>>=7&G,G-=7&G;G<32;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if((65535&Z)!=(Z>>>16^65535)){O.msg="invalid stored block lengths",h.mode=30;break}if(h.length=65535&Z,G=Z=0,h.mode=15,6===Q)break t;case 15:h.mode=16;case 16:if(vt=h.length){if(dt<vt&&(vt=dt),Rt<vt&&(vt=Rt),0===vt)break t;y.arraySet(Mt,nt,ct,vt,Bt),dt-=vt,ct+=vt,Rt-=vt,Bt+=vt,h.length-=vt;break}h.mode=12;break;case 17:for(;G<14;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(h.nlen=257+(31&Z),G-=5,h.ndist=1+(31&(Z>>>=5)),G-=5,h.ncode=4+(15&(Z>>>=5)),Z>>>=4,G-=4,286<h.nlen||30<h.ndist){O.msg="too many length or distance symbols",h.mode=30;break}h.have=0,h.mode=18;case 18:for(;h.have<h.ncode;){for(;G<3;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}
vendor: 3,402 bytes, line 1
1h.lens[rt[h.have++]]=7&Z,Z>>>=3,G-=3}for(;h.have<19;)h.lens[rt[h.have++]]=0;if(h.lencode=h.lendyn,h.lenbits=7,tt=A(0,h.lens,0,19,h.lencode,0,h.work,Y={bits:h.lenbits}),h.lenbits=Y.bits,tt){O.msg="invalid code lengths set",h.mode=30;break}h.have=0,h.mode=19;case 19:for(;h.have<h.nlen+h.ndist;){for(;$t=(x=h.lencode[Z&(1<<h.lenbits)-1])>>>16&255,Jt=65535&x,!((Lt=x>>>24)<=G);){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(Jt<16)Z>>>=Lt,G-=Lt,h.lens[h.have++]=Jt;else{if(16===Jt){for(T=Lt+2;G<T;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(Z>>>=Lt,G-=Lt,0===h.have){O.msg="invalid bit length repeat",h.mode=30;break}o=h.lens[h.have-1],vt=3+(3&Z),Z>>>=2,G-=2}else if(17===Jt){for(T=Lt+3;G<T;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}G-=Lt,o=0,vt=3+(7&(Z>>>=Lt)),Z>>>=3,G-=3}else{for(T=Lt+7;G<T;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}G-=Lt,o=0,vt=11+(127&(Z>>>=Lt)),Z>>>=7,G-=7}if(h.have+vt>h.nlen+h.ndist){O.msg="invalid bit length repeat",h.mode=30;break}for(;vt--;)h.lens[h.have++]=o}}if(30===h.mode)break;if(0===h.lens[256]){O.msg="invalid code -- missing end-of-block",h.mode=30;break}if(h.lenbits=9,tt=A(1,h.lens,0,h.nlen,h.lencode,0,h.work,Y={bits:h.lenbits}),h.lenbits=Y.bits,tt){O.msg="invalid literal/lengths set",h.mode=30;break}if(h.distbits=6,h.distcode=h.distdyn,tt=A(2,h.lens,h.nlen,h.ndist,h.distcode,0,h.work,Y={bits:h.distbits}),h.distbits=Y.bits,tt){O.msg="invalid distances set",h.mode=30;break}if(h.mode=20,6===Q)break t;case 20:h.mode=21;case 21:if(6<=dt&&258<=Rt){O.next_out=Bt,O.avail_out=Rt,O.next_in=ct,O.avail_in=dt,h.hold=Z,h.bits=G,g(O,Ct),Bt=O.next_out,Mt=O.output,Rt=O.avail_out,ct=O.next_in,nt=O.input,dt=O.avail_in,Z=h.hold,G=h.bits,12===h.mode&&(h.back=-1);break}for(h.back=0;$t=(x=h.lencode[Z&(1<<h.lenbits)-1])>>>16&255,Jt=65535&x,!((Lt=x>>>24)<=G);){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if($t&&!(240&$t)){for(Ht=Lt,le=$t,me=Jt;$t=(x=h.lencode[me+((Z&(1<<Ht+le)-1)>>Ht)])>>>16&255,Jt=65535&x,!(Ht+(Lt=x>>>24)<=G);){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}Z>>>=Ht,G-=Ht,h.back+=Ht}if(Z>>>=Lt,G-=Lt,h.back+=Lt,h.length=Jt,0===$t){h.mode=26;break}if(32&$t){h.back=-1,h.mode=12;break}if(64&$t){O.msg="invalid literal/length code",h.mode=30;break}h.extra=15&$t,h.mode=22;case 22:if(h.extra){for(T=h.extra;G<T;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}h.length+=Z&(1<<h.extra)-1,Z>>>=h.extra,G-=h.extra,h.back+=h.extra}h.was=h.length,h.mode=23;case 23:for(;$t=(x=h.distcode[Z&(1<<h.distbits)-1])>>>16&255,Jt=65535&x,!((Lt=x>>>24)<=G);){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(!(240&$t)){for(Ht=Lt,le=$t,me=Jt;$t=(x=h.distcode[me+((Z&(1<<Ht+le)-1)>>Ht)])>>>16&255,Jt=65535&x,!(Ht+(Lt=x>>>24)<=G);){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}Z>>>=Ht,G-=Ht,h.back+=Ht}if(Z>>>=Lt,G-=Lt,h.back+=Lt,64&$t){O.msg="invalid distance code",h.mode=30;break}h.offset=Jt,h.extra=15&$t,h.mode=24;case 24:if(h.extra){for(T=h.extra;G<T;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}h.offset+=Z&(1<<h.extra)-1,Z>>>=h.extra,G-=h.extra,h.back+=h.extra}if(h.offset>h.dmax){O.msg="invalid distance too far back",h.mode=30;break}h.mode=25;case 25:if(0===Rt)break t;if(h.offset>(vt=Ct-Rt)){if((vt=h.offset-vt)>h.whave&&h.sane){O.msg="invalid distance too far back",h.mode=30;break}Yt=vt>h.wnext?h.wsize-(vt-=h.wnext):h.wnext-vt,vt>h.length&&(vt=h.length),ee=h.window}else ee=Mt,Yt=Bt-h.offset,vt=h.length;for(Rt<vt&&(vt=Rt),Rt-=vt,h.length-=vt;Mt[Bt++]=ee[Yt++],--vt;);
vendor: 7,383 bytes, line 1
10===h.length&&(h.mode=21);break;case 26:if(0===Rt)break t;Mt[Bt++]=h.length,Rt--,h.mode=21;break;case 27:if(h.wrap){for(;G<32;){if(0===dt)break t;dt--,Z|=nt[ct++]<<G,G+=8}if(O.total_out+=Ct-=Rt,h.total+=Ct,Ct&&(O.adler=h.check=h.flags?d(h.check,Mt,Ct,Bt-Ct):S(h.check,Mt,Ct,Bt-Ct)),Ct=Rt,(h.flags?Z:b(Z))!==h.check){O.msg="incorrect data check",h.mode=30;break}G=Z=0}h.mode=28;case 28:if(h.wrap&&h.flags){for(;G<32;){if(0===dt)break t;dt--,Z+=nt[ct++]<<G,G+=8}if(Z!==(4294967295&h.total)){O.msg="incorrect length check",h.mode=30;break}G=Z=0}h.mode=29;case 29:tt=1;break t;case 30:tt=-3;break t;case 31:return-4;default:return _}return O.next_out=Bt,O.avail_out=Rt,O.next_in=ct,O.avail_in=dt,h.hold=Z,h.bits=G,(h.wsize||Ct!==O.avail_out&&h.mode<30&&(h.mode<27||4!==Q))&&It(O,O.output,O.next_out,Ct-O.avail_out)?(h.mode=31,-4):(Ct-=O.avail_out,O.total_in+=At-=O.avail_in,O.total_out+=Ct,h.total+=Ct,h.wrap&&Ct&&(O.adler=h.check=h.flags?d(h.check,Mt,Ct,O.next_out-Ct):S(h.check,Mt,Ct,O.next_out-Ct)),O.data_type=h.bits+(h.last?64:0)+(12===h.mode?128:0)+(20===h.mode||15===h.mode?256:0),(0==At&&0===Ct||4===Q)&&0===tt&&(tt=-5),tt)},f.inflateEnd=function(O){if(!O||!O.state)return _;var Q=O.state;return Q.window&&(Q.window=null),O.state=null,0},f.inflateGetHeader=function(O,Q){var h;return O&&O.state&&2&(h=O.state).wrap?((h.head=Q).done=!1,0):_},f.inflateSetDictionary=function(O,Q){var h,nt=Q.length;return O&&O.state?0!==(h=O.state).wrap&&11!==h.mode?_:11===h.mode&&S(1,Q,nt,0)!==h.check?-3:It(O,Q,nt,nt)?(h.mode=31,-4):(h.havedict=1,0):_},f.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(M,W,f){"use strict";var y=M("../utils/common"),S=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],g=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],A=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];W.exports=function(i,D,R,_,I,p,E,b){var z,N,U,P,it,K,ht,q,pt,It=b.bits,O=0,Q=0,h=0,nt=0,Mt=0,ct=0,Bt=0,dt=0,Rt=0,Z=0,G=null,At=0,Ct=new y.Buf16(16),vt=new y.Buf16(16),Yt=null,ee=0;for(O=0;O<=15;O++)Ct[O]=0;for(Q=0;Q<_;Q++)Ct[D[R+Q]]++;for(Mt=It,nt=15;1<=nt&&0===Ct[nt];nt--);if(nt<Mt&&(Mt=nt),0===nt)return I[p++]=20971520,I[p++]=20971520,b.bits=1,0;for(h=1;h<nt&&0===Ct[h];h++);for(Mt<h&&(Mt=h),O=dt=1;O<=15;O++)if(dt<<=1,(dt-=Ct[O])<0)return-1;if(0<dt&&(0===i||1!==nt))return-1;for(vt[1]=0,O=1;O<15;O++)vt[O+1]=vt[O]+Ct[O];for(Q=0;Q<_;Q++)0!==D[R+Q]&&(E[vt[D[R+Q]]++]=Q);if(K=0===i?(G=Yt=E,19):1===i?(G=S,At-=257,Yt=d,ee-=257,256):(G=g,Yt=A,-1),O=h,it=p,Bt=Q=Z=0,U=-1,P=(Rt=1<<(ct=Mt))-1,1===i&&852<Rt||2===i&&592<Rt)return 1;for(;;){for(ht=O-Bt,pt=E[Q]<K?(q=0,E[Q]):E[Q]>K?(q=Yt[ee+E[Q]],G[At+E[Q]]):(q=96,0),z=1<<O-Bt,h=N=1<<ct;I[it+(Z>>Bt)+(N-=z)]=ht<<24|q<<16|pt,0!==N;);for(z=1<<O-1;Z&z;)z>>=1;if(0!==z?(Z&=z-1,Z+=z):Z=0,Q++,0==--Ct[O]){if(O===nt)break;O=D[R+E[Q]]}if(Mt<O&&(Z&P)!==U){for(0===Bt&&(Bt=Mt),it+=h,dt=1<<(ct=O-Bt);ct+Bt<nt&&!((dt-=Ct[ct+Bt])<=0);)ct++,dt<<=1;if(Rt+=1<<ct,1===i&&852<Rt||2===i&&592<Rt)return 1;I[U=Z&P]=Mt<<24|ct<<16|it-p}}return 0!==Z&&(I[it+Z]=O-Bt<<24|64<<16),b.bits=Mt,0}},{"../utils/common":41}],51:[function(M,W,f){"use strict";W.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(M,W,f){"use strict";var y=M("../utils/common");function g(x){for(var F=x.length;0<=--F;)x[F]=0}var D=256,R=286,_=30,E=15,K=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ht=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],q=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],pt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],It=new Array(576);g(It);var O=new Array(60);g(O);var Q=new Array(512);g(Q);var h=new Array(256);g(h);var nt=new Array(29);g(nt);var Mt,ct,Bt,dt=new Array(_);function Rt(x,F,rt,st,H){this.static_tree=x,this.extra_bits=F,this.extra_base=rt,this.elems=st,this.max_length=H,this.has_stree=x&&x.length}function Z(x,F){this.dyn_tree=x,this.max_code=0,this.stat_desc=F}function G(x){return x<256?Q[x]:Q[256+(x>>>7)]}function At(x,F){x.pending_buf[x.pending++]=255&F,x.pending_buf[x.pending++]=F>>>8&255}function Ct(x,F,rt){x.bi_valid>16-rt?(x.bi_buf|=F<<x.bi_valid&65535,At(x,x.bi_buf),x.bi_buf=F>>16-x.bi_valid,x.bi_valid+=rt-16):(x.bi_buf|=F<<x.bi_valid&65535,x.bi_valid+=rt)}function vt(x,F,rt){Ct(x,rt[2*F],rt[2*F+1])}function Yt(x,F){for(var rt=0;rt|=1&x,x>>>=1,rt<<=1,0<--F;);return rt>>>1}function ee(x,F,rt){var st,H,ft=new Array(16),kt=0;for(st=1;st<=E;st++)ft[st]=kt=kt+rt[st-1]<<1;for(H=0;H<=F;H++){var lt=x[2*H+1];0!==lt&&(x[2*H]=Yt(ft[lt]++,lt))}}function Lt(x){var F;for(F=0;F<R;F++)x.dyn_ltree[2*F]=0;for(F=0;F<_;F++)x.dyn_dtree[2*F]=0;for(F=0;F<19;F++)x.bl_tree[2*F]=0;x.dyn_ltree[512]=1,x.opt_len=x.static_len=0,x.last_lit=x.matches=0}function $t(x){8<x.bi_valid?At(x,x.bi_buf):0<x.bi_valid&&(x.pending_buf[x.pending++]=x.bi_buf),x.bi_buf=0,x.bi_valid=0}function Jt(x,F,rt,st){var H=2*F,ft=2*rt;return x[H]<x[ft]||x[H]===x[ft]&&st[F]<=st[rt]}function Ht(x,F,rt){for(var st=x.heap[rt],H=rt<<1;H<=x.heap_len&&(H<x.heap_len&&Jt(F,x.heap[H+1],x.heap[H],x.depth)&&H++,!Jt(F,st,x.heap[H],x.depth));)x.heap[rt]=x.heap[H],rt=H,H<<=1;x.heap[rt]=st}function le(x,F,rt){var st,H,ft,kt,lt=0;if(0!==x.last_lit)for(;st=x.pending_buf[x.d_buf+2*lt]<<8|x.pending_buf[x.d_buf+2*lt+1],H=x.pending_buf[x.l_buf+lt],lt++,0===st?vt(x,H,F):(vt(x,(ft=h[H])+D+1,F),0!==(kt=K[ft])&&Ct(x,H-=nt[ft],kt),vt(x,ft=G(--st),rt),0!==(kt=ht[ft])&&Ct(x,st-=dt[ft],kt)),lt<x.last_lit;);vt(x,256,F)}function me(x,F){var rt,st,H,ft=F.dyn_tree,kt=F.stat_desc.static_tree,lt=F.stat_desc.has_stree,zt=F.stat_desc.elems,Vt=-1;for(x.heap_len=0,x.heap_max=573,rt=0;rt<zt;rt++)0!==ft[2*rt]?(x.heap[++x.heap_len]=Vt=rt,x.depth[rt]=0):ft[2*rt+1]=0;for(;x.heap_len<2;)ft[2*(H=x.heap[++x.heap_len]=Vt<2?++Vt:0)]=1,x.depth[H]=0,x.opt_len--,lt&&(x.static_len-=kt[2*H+1]);for(F.max_code=Vt,rt=x.heap_len>>1;1<=rt;rt--)Ht(x,ft,rt);for(H=zt;rt=x.heap[1],x.heap[1]=x.heap[x.heap_len--],Ht(x,ft,1),st=x.heap[1],x.heap[--x.heap_max]=rt,x.heap[--x.heap_max]=st,ft[2*H]=ft[2*rt]+ft[2*st],x.depth[H]=(x.depth[rt]>=x.depth[st]?x.depth[rt]:x.depth[st])+1,ft[2*rt+1]=ft[2*st+1]=H,x.heap[1]=H++,Ht(x,ft,1),2<=x.heap_len;);x.heap[--x.heap_max]=x.heap[1],function(Pt,ue){var Se,he,Ee,Wt,ze,Ae,be=ue.dyn_tree,qe=ue.max_code,rn=ue.stat_desc.static_tree,an=ue.stat_desc.has_stree,sn=ue.stat_desc.extra_bits,Je=ue.stat_desc.extra_base,De=ue.stat_desc.max_length,Fe=0;for(Wt=0;Wt<=E;Wt++)Pt.bl_count[Wt]=0;for(be[2*Pt.heap[Pt.heap_max]+1]=0,Se=Pt.heap_max+1;Se<573;Se++)De<(Wt=be[2*be[2*(he=Pt.heap[Se])+1]+1]+1)&&(Wt=De,Fe++),be[2*he+1]=Wt,qe<he||(Pt.bl_count[Wt]++,ze=0,Je<=he&&(ze=sn[he-Je]),Pt.opt_len+=(Ae=be[2*he])*(Wt+ze),an&&(Pt.static_len+=Ae*(rn[2*he+1]+ze)));if(0!==Fe){do{for(Wt=De-1;0===Pt.bl_count[Wt];)Wt--;Pt.bl_count[Wt]--,Pt.bl_count[Wt+1]+=2,Pt.bl_count[De]--,Fe-=2}while(0<Fe);for(Wt=De;0!==Wt;Wt--)for(he=Pt.bl_count[Wt];0!==he;)qe<(Ee=Pt.heap[--Se])||(be[2*Ee+1]!==Wt&&(Pt.opt_len+=(Wt-be[2*Ee+1])*be[2*Ee],be[2*Ee+1]=Wt),he--)}}(x,F),ee(ft,Vt,x.bl_count)}
vendor: 4,128 bytes, line 1
1function o(x,F,rt){var st,H,ft=-1,kt=F[1],lt=0,zt=7,Vt=4;for(0===kt&&(zt=138,Vt=3),F[2*(rt+1)+1]=65535,st=0;st<=rt;st++)H=kt,kt=F[2*(st+1)+1],++lt<zt&&H===kt||(lt<Vt?x.bl_tree[2*H]+=lt:0!==H?(H!==ft&&x.bl_tree[2*H]++,x.bl_tree[32]++):lt<=10?x.bl_tree[34]++:x.bl_tree[36]++,ft=H,Vt=(lt=0)===kt?(zt=138,3):H===kt?(zt=6,3):(zt=7,4))}function tt(x,F,rt){var st,H,ft=-1,kt=F[1],lt=0,zt=7,Vt=4;for(0===kt&&(zt=138,Vt=3),st=0;st<=rt;st++)if(H=kt,kt=F[2*(st+1)+1],!(++lt<zt&&H===kt)){if(lt<Vt)for(;vt(x,H,x.bl_tree),0!=--lt;);else 0!==H?(H!==ft&&(vt(x,H,x.bl_tree),lt--),vt(x,16,x.bl_tree),Ct(x,lt-3,2)):lt<=10?(vt(x,17,x.bl_tree),Ct(x,lt-3,3)):(vt(x,18,x.bl_tree),Ct(x,lt-11,7));ft=H,Vt=(lt=0)===kt?(zt=138,3):H===kt?(zt=6,3):(zt=7,4)}}g(dt);var Y=!1;function T(x,F,rt,st){var H,ft,kt;Ct(x,0+(st?1:0),3),ft=F,kt=rt,$t(H=x),At(H,kt),At(H,~kt),y.arraySet(H.pending_buf,H.window,ft,kt,H.pending),H.pending+=kt}f._tr_init=function(x){Y||(function(){var F,rt,st,H,ft,kt=new Array(16);for(H=st=0;H<28;H++)for(nt[H]=st,F=0;F<1<<K[H];F++)h[st++]=H;for(h[st-1]=H,H=ft=0;H<16;H++)for(dt[H]=ft,F=0;F<1<<ht[H];F++)Q[ft++]=H;for(ft>>=7;H<_;H++)for(dt[H]=ft<<7,F=0;F<1<<ht[H]-7;F++)Q[256+ft++]=H;for(rt=0;rt<=E;rt++)kt[rt]=0;for(F=0;F<=143;)It[2*F+1]=8,F++,kt[8]++;for(;F<=255;)It[2*F+1]=9,F++,kt[9]++;for(;F<=279;)It[2*F+1]=7,F++,kt[7]++;for(;F<=287;)It[2*F+1]=8,F++,kt[8]++;for(ee(It,287,kt),F=0;F<_;F++)O[2*F+1]=5,O[2*F]=Yt(F,5);Mt=new Rt(It,K,257,R,E),ct=new Rt(O,ht,0,_,E),Bt=new Rt(new Array(0),q,0,19,7)}(),Y=!0),x.l_desc=new Z(x.dyn_ltree,Mt),x.d_desc=new Z(x.dyn_dtree,ct),x.bl_desc=new Z(x.bl_tree,Bt),x.bi_buf=0,x.bi_valid=0,Lt(x)},f._tr_stored_block=T,f._tr_flush_block=function(x,F,rt,st){var H,ft,kt=0;0<x.level?(2===x.strm.data_type&&(x.strm.data_type=function(lt){var zt,Vt=4093624447;for(zt=0;zt<=31;zt++,Vt>>>=1)if(1&Vt&&0!==lt.dyn_ltree[2*zt])return 0;if(0!==lt.dyn_ltree[18]||0!==lt.dyn_ltree[20]||0!==lt.dyn_ltree[26])return 1;for(zt=32;zt<D;zt++)if(0!==lt.dyn_ltree[2*zt])return 1;return 0}(x)),me(x,x.l_desc),me(x,x.d_desc),kt=function(lt){var zt;for(o(lt,lt.dyn_ltree,lt.l_desc.max_code),o(lt,lt.dyn_dtree,lt.d_desc.max_code),me(lt,lt.bl_desc),zt=18;3<=zt&&0===lt.bl_tree[2*pt[zt]+1];zt--);return lt.opt_len+=3*(zt+1)+5+5+4,zt}(x),(ft=x.static_len+3+7>>>3)<=(H=x.opt_len+3+7>>>3)&&(H=ft)):H=ft=rt+5,rt+4<=H&&-1!==F?T(x,F,rt,st):4===x.strategy||ft===H?(Ct(x,2+(st?1:0),3),le(x,It,O)):(Ct(x,4+(st?1:0),3),function(lt,zt,Vt,Pt){var ue;for(Ct(lt,zt-257,5),Ct(lt,Vt-1,5),Ct(lt,Pt-4,4),ue=0;ue<Pt;ue++)Ct(lt,lt.bl_tree[2*pt[ue]+1],3);tt(lt,lt.dyn_ltree,zt-1),tt(lt,lt.dyn_dtree,Vt-1)}(x,x.l_desc.max_code+1,x.d_desc.max_code+1,kt+1),le(x,x.dyn_ltree,x.dyn_dtree)),Lt(x),st&&$t(x)},f._tr_tally=function(x,F,rt){return x.pending_buf[x.d_buf+2*x.last_lit]=F>>>8&255,x.pending_buf[x.d_buf+2*x.last_lit+1]=255&F,x.pending_buf[x.l_buf+x.last_lit]=255&rt,x.last_lit++,0===F?x.dyn_ltree[2*rt]++:(x.matches++,F--,x.dyn_ltree[2*(h[rt]+D+1)]++,x.dyn_dtree[2*G(F)]++),x.last_lit===x.lit_bufsize-1},f._tr_align=function(x){var F;Ct(x,2,3),vt(x,256,It),16===(F=x).bi_valid?(At(F,F.bi_buf),F.bi_buf=0,F.bi_valid=0):8<=F.bi_valid&&(F.pending_buf[F.pending++]=255&F.bi_buf,F.bi_buf>>=8,F.bi_valid-=8)}},{"../utils/common":41}],53:[function(M,W,f){"use strict";W.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(M,W,f){(function(y){!function(S){"use strict";if(!S.setImmediate){var g,A,i,D,R=1,_={},I=!1,p=S.document,E=Object.getPrototypeOf&&Object.getPrototypeOf(S);E=E&&E.setTimeout?E:S,g="[object process]"==={}.toString.call(S.process)?function(U){process.nextTick(function(){z(U)})}:function(){if(S.postMessage&&!S.importScripts){var U=!0,P=S.onmessage;return S.onmessage=function(){U=!1},S.postMessage("","*"),S.onmessage=P,U}}()?(D="setImmediate$"+Math.random()+"$",S.addEventListener?S.addEventListener("message",N,!1):S.attachEvent("onmessage",N),function(U){S.postMessage(D+U,"*")}):S.MessageChannel?((i=new MessageChannel).port1.onmessage=function(U){z(U.data)}
1,function(U){i.port2.postMessage(U)}):p&&"onreadystatechange"in p.createElement("script")?(A=p.documentElement,function(U){var P=p.createElement("script");P.onreadystatechange=function(){z(U),P.onreadystatechange=null,A.removeChild(P),P=null},A.appendChild(P)}):function(U){setTimeout(z,0,U)},E.setImmediate=function(U){"function"!=typeof U&&(U=new Function(""+U));for(var P=new Array(arguments.length-1),it=0;it<P.length;it++)P[it]=arguments[it+1];return _[R]={callback:U,args:P},g(R),R++},E.clearImmediate=b}function b(U){delete _[U]}function z(U){if(I)setTimeout(z,0,U);else{var P=_[U];if(P){I=!0;try{!function(it){var K=it.callback,ht=it.args;switch(ht.length){case 0:K();break;case 1:K(ht[0]);break;case 2:K(ht[0],ht[1]);break;case 3:K(ht[0],ht[1],ht[2]);break;default:K.apply(void 0,ht)}}(P)}finally{b(U),I=!1}}}}function N(U){U.source===S&&"string"==typeof U.data&&0===U.data.indexOf(D)&&z(+U.data.slice(D.length))}}(typeof self>"u"?void 0===y?this:y:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)},8736(En,M,W){W.d(M,{oK:()=>Nl,l1:()=>Bl});var f=W(3783),y=W(6901);function S(){}function d(t){return null==t?S:function(){return this.querySelector(t)}}function i(){return[]}function D(t){return null==t?i:function(){return this.querySelectorAll(t)}}function I(t){return function(){return this.matches(t)}}function p(t){return function(n){return n.matches(t)}}var E=Array.prototype.find;function z(){return this.firstElementChild}var U=Array.prototype.filter;function P(){return Array.from(this.children)}function q(t){return new Array(t.length)}function It(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function Q(t,n,e,r,a,s){for(var l,c=0,C=n.length,w=s.length;c<w;++c)(l=n[c])?(l.__data__=s[c],r[c]=l):e[c]=new It(t,s[c]);for(;c<C;++c)(l=n[c])&&(a[c]=l)}function h(t,n,e,r,a,s,c){var l,C,$,w=new Map,v=n.length,B=s.length,X=new Array(v);for(l=0;l<v;++l)(C=n[l])&&(X[l]=$=c.call(C,C.__data__,l,n)+"",w.has($)?a[l]=C:w.set($,C));for(l=0;l<B;++l)$=c.call(t,s[l],l,s)+"",(C=w.get($))?(r[l]=C,C.__data__=s[l],w.delete($)):e[l]=new It(t,s[l]);for(l=0;l<v;++l)(C=n[l])&&w.get(X[l])===C&&(a[l]=C)}function nt(t){return t.__data__}function ct(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function At(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}It.prototype={constructor:It,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Jt="http://www.w3.org/1999/xhtml";const Ht={svg:"http://www.w3.org/2000/svg",xhtml:Jt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function le(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ht.hasOwnProperty(n)?{space:Ht[n],local:t}:t}function me(t){return function(){this.removeAttribute(t)}}function o(t){return function(){this.removeAttributeNS(t.space,t.local)}}function tt(t,n){return function(){this.setAttribute(t,n)}}function Y(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function T(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function x(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function rt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function st(t){return function(){this.style.removeProperty(t)}}function H(t,n,e){return function(){this.style.setProperty(t,n,e)}}function ft(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function lt(t,n){return t.style.getPropertyValue(n)||rt(t).getComputedStyle(t,null).getPropertyValue(n)}function zt(t){return function(){delete this[t]}}function Vt(t,n){return function(){this[t]=n}}function Pt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Se(t){return t.trim().split(/^|\s+/)}function he(t){return t.classList||new Ee(t)}function Ee(t){this._node=t,this._names=Se(t.getAttribute("class")||"")}function Wt(t,n){for(var e=he(t),r=-1,a=n.length;++r<a;)e.add(n[r])}function ze(t,n){for(var e=he(t),r=-1,a=n.length;++r<a;)e.remove(n[r])}function Ae(t){return function(){Wt(this,t)}}function be(t){return function(){ze(this,t)}}function qe(t,n){return function(){(n.apply(this,arguments)?Wt:ze)(this,t)}}function an(){this.textContent=""}function sn(t){return function(){this.textContent=t}}function Je(t){return function(){var n=t.apply(this,arguments);this.textContent=n??""}}function Fe(){this.innerHTML=""}function ni(t){return function(){this.innerHTML=t}}function ii(t){return function(){var n=t.apply(this,arguments);this.innerHTML=n??""}}function ai(){this.nextSibling&&this.parentNode.appendChild(this)}function oi(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ci(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===Jt&&n.documentElement.namespaceURI===Jt?n.createElement(t):n.createElementNS(e,t)}}function ui(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Tn(t){var n=le(t);return(n.local?ui:ci)(n)}function di(){return null}function pi(){var t=this.parentNode;t&&t.removeChild(this)}function _i(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function gi(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function wi(t){return function(){var n=this.__on;if(n){for(var s,e=0,r=-1,a=n.length;e<a;++e)s=n[e],t.type&&s.type!==t.type||s.name!==t.name?n[++r]=s:this.removeEventListener(s.type,s.listener,s.options);++r?n.length=r:delete this.__on}}}function Ci(t,n,e){return function(){var a,r=this.__on,s=function bi(t){return function(n){t.call(this,n,this.__data__)}}(n);if(r)for(var c=0,l=r.length;c<l;++c)if((a=r[c]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.options),this.addEventListener(a.type,a.listener=s,a.options=e),void(a.value=n);this.addEventListener(t.type,s,e),a={type:t.type,name:t.name,value:n,listener:s,options:e},r?r.push(a):this.__on=[a]}}function zn(t,n,e){var r=rt(t),a=r.CustomEvent;"function"==typeof a?a=new a(n,e):(a=r.document.createEvent("Event"),e?(a.initEvent(n,e.bubbles,e.cancelable),a.detail=e.detail):a.initEvent(n,!1,!1)),t.dis
1patchEvent(a)}function ki(t,n){return function(){return zn(this,t,n)}}function Oe(t,n){return function(){return zn(this,t,n.apply(this,arguments))}}Ee.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ve=[null];function ne(t,n){this._groups=t,this._parents=n}function on(){return new ne([[document.documentElement]],Ve)}ne.prototype=on.prototype={constructor:ne,select:function g(t){"function"!=typeof t&&(t=d(t));for(var n=this._groups,e=n.length,r=new Array(e),a=0;a<e;++a)for(var C,w,s=n[a],c=s.length,l=r[a]=new Array(c),v=0;v<c;++v)(C=s[v])&&(w=t.call(C,C.__data__,v,s))&&("__data__"in C&&(w.__data__=C.__data__),l[v]=w);return new ne(r,this._parents)},selectAll:function _(t){t="function"==typeof t?function R(t){return function(){return function A(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}(t.apply(this,arguments))}}(t):D(t);for(var n=this._groups,e=n.length,r=[],a=[],s=0;s<e;++s)for(var C,c=n[s],l=c.length,w=0;w<l;++w)(C=c[w])&&(r.push(t.call(C,C.__data__,w,c)),a.push(C));return new ne(r,a)},selectChild:function N(t){return this.select(null==t?z:function b(t){return function(){return E.call(this.children,t)}}("function"==typeof t?t:p(t)))},selectChildren:function K(t){return this.selectAll(null==t?P:function it(t){return function(){return U.call(this.children,t)}}("function"==typeof t?t:p(t)))},filter:function ht(t){"function"!=typeof t&&(t=I(t));for(var n=this._groups,e=n.length,r=new Array(e),a=0;a<e;++a)for(var C,s=n[a],c=s.length,l=r[a]=[],w=0;w<c;++w)(C=s[w])&&t.call(C,C.__data__,w,s)&&l.push(C);return new ne(r,this._parents)},data:function Mt(t,n){if(!arguments.length)return Array.from(this,nt);var e=n?h:Q,r=this._parents,a=this._groups;"function"!=typeof t&&(t=function O(t){return function(){return t}}(t));for(var s=a.length,c=new Array(s),l=new Array(s),C=new Array(s),w=0;w<s;++w){var v=r[w],B=a[w],X=B.length,$=ct(t.call(v,v&&v.__data__,w,r)),ut=$.length,yt=l[w]=new Array(ut),et=c[w]=new Array(ut);e(v,B,yt,et,C[w]=new Array(X),$,n);for(var Et,Dt,_t=0,wt=0;_t<ut;++_t)if(Et=yt[_t]){for(_t>=wt&&(wt=_t+1);!(Dt=et[wt])&&++wt<ut;);Et._next=Dt||null}}return(c=new ne(c,r))._enter=l,c._exit=C,c},enter:function pt(){return new ne(this._enter||this._groups.map(q),this._parents)},exit:function Bt(){return new ne(this._exit||this._groups.map(q),this._parents)},join:function dt(t,n,e){var r=this.enter(),a=this,s=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=n&&(a=n(a))&&(a=a.selection()),null==e?s.remove():e(s),r&&a?r.merge(a).order():a},merge:function Rt(t){for(var n=t.selection?t.selection():t,e=this._groups,r=n._groups,a=e.length,c=Math.min(a,r.length),l=new Array(a),C=0;C<c;++C)for(var $,w=e[C],v=r[C],B=w.length,X=l[C]=new Array(B),ut=0;ut<B;++ut)($=w[ut]||v[ut])&&(X[ut]=$);for(;C<a;++C)l[C]=e[C];return new ne(l,this._parents)},selection:function Si(){return this},order:function Z(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var c,r=t[n],a=r.length-1,s=r[a];--a>=0;)(c=r[a])&&(s&&4^c.compareDocumentPosition(s)&&s.parentNode.insertBefore(c,s),s=c);return this},sort:function G(t){function n(B,X){return B&&X?t(B.__data__,X.__data__):!B-!X}t||(t=At);for(var e=this._groups,r=e.length,a=new Array(r),s=0;s<r;++s){for(var w,c=e[s],l=c.length,C=a[s]=new Array(l),v=0;v<l;++v)(w=c[v])&&(C[v]=w);C.sort(n)}return new ne(a,this._parents).order()},call:function Ct(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function vt(){return Array.from(this)},node:function Yt(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],a=0,s=r.length;a<s;++a){var c=r[a];if(c)return c}return null},size:function ee(){let t=0;for(const n of this)++t;return t},empty:function Lt(){return!this.node()},each:function $t(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var l,a=n[e],s=0,c=a.length;s<c;++s)(l=a[s])&&t.call(l,l.__data__,s,a);return this},attr:function F(t,n){var e=le(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?o:me:"function"==typeof n?e.local?x:T:e.local?Y:tt)(e,n))},style:function kt(t,n,e){return arguments.length>1?this.each((null==n?st:"function"==typeof n?ft:H)(t,n,e??"")):lt(this.node(),t)},property:function ue(t,n){return arguments.length>1?this.each((null==n?zt:"function"==typeof n?Pt:Vt)(t,n)):this.node()[t]},classed:function rn(t,n){var e=Se(t+"");
1if(arguments.length<2){for(var r=he(this.node()),a=-1,s=e.length;++a<s;)if(!r.contains(e[a]))return!1;return!0}return this.each(("function"==typeof n?qe:n?Ae:be)(e,n))},text:function De(t){return arguments.length?this.each(null==t?an:("function"==typeof t?Je:sn)(t)):this.node().textContent},html:function ri(t){return arguments.length?this.each(null==t?Fe:("function"==typeof t?ii:ni)(t)):this.node().innerHTML},raise:function si(){return this.each(ai)},lower:function li(){return this.each(oi)},append:function hi(t){var n="function"==typeof t?t:Tn(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function fi(t,n){var e="function"==typeof t?t:Tn(t),r=null==n?di:"function"==typeof n?n:d(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function mi(){return this.each(pi)},clone:function vi(t){return this.select(t?gi:_i)},datum:function yi(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function In(t,n,e){var a,c,r=function xi(t){return t.trim().split(/^|\s+/).map(function(n){var e="",r=n.indexOf(".");return r>=0&&(e=n.slice(r+1),n=n.slice(0,r)),{type:n,name:e}})}(t+""),s=r.length;if(!(arguments.length<2)){for(l=n?Ci:wi,a=0;a<s;++a)this.each(l(r[a],n,e));return this}var l=this.node().__on;if(l)for(var v,C=0,w=l.length;C<w;++C)for(a=0,v=l[C];a<s;++a)if((c=r[a]).type===v.type&&c.name===v.name)return v.value},dispatch:function Le(t,n){return this.each(("function"==typeof n?Oe:ki)(t,n))},[Symbol.iterator]:function*we(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var c,r=t[n],a=0,s=r.length;a<s;++a)(c=r[a])&&(yield c)}};const Pe=on;function se(t){return"string"==typeof t?new ne([[document.querySelector(t)]],[document.documentElement]):new ne([[t]],Ve)}function Ai(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Dn(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=Xi)):void 0===n&&(n=Gi);for(var r,s,c,l,C,e=new $e(t),a=[e];r=a.pop();)if((c=n(r.data))&&(C=(c=Array.from(c)).length))for(r.children=c,l=C-1;l>=0;--l)a.push(s=c[l]=new $e(c[l])),s.parent=r,s.depth=r.depth+1;return e.eachBefore(On)}function Gi(t){return t.children}function Xi(t){return Array.isArray(t)?t[1]:null}function Wi(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function On(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function $e(t){this.data=t,this.depth=this.height=0,this.parent=null}function Zi(t,n){return t.parent===n.parent?1:2}function ln(t){var n=t.children;return n?n[0]:t.t}function cn(t){var n=t.children;return n?n[n.length-1]:t.t}function Yi(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function m(t,n,e){return t.a.parent===n.parent?t.a:e}function mt(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function L(t){return null==t?null:function ot(t){if("function"!=typeof t)throw new Error;return t}(t)}$e.prototype=Dn.prototype={constructor:$e,count:function Di(){return this.eachAfter(Ai)},each:function Oi(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function Mi(t,n){for(var s,c,l,e=this,r=[e],a=[],C=-1;e=r.pop();)if(a.push(e),s=e.children)for(c=0,l=s.length;c<l;++c)r.push(s[c]);for(;e=a.pop();)t.call(n,e,++C,this);return this},eachBefore:function Ri(t,n){for(var a,s,e=this,r=[e],c=-1;e=r.pop();)if(t.call(n,e,++c,this),a=e.children)for(s=a.length-1;s>=0;--s)r.push(a[s]);return this},find:function Ni(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function Bi(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,a=r&&r.length;--a>=0;)e+=r[a].value;n.value=e})},sort:function An(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},path:function Fi(t){for(var n=this,e=function Li(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),a=null;for(t=e.pop(),n=r.pop();t===n;)a=t,t=e.pop(),n=r.pop();return a}(n,t),r=[n];n!==e;)r.push(n=n.parent);for(var a=r.length;t!==e;)r.splice(a,0,t),t=t.parent;return r},ancestors:function Pi(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function $i(){return Array.from(this)},leaves:function Ui(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},links:function Hi(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n},copy:function ji(){return Dn(this).eachBefore(Wi)},[Symbol.iterator]:function*Vi(){var n,r,a,s,t=this,e=[t];do{for(n=e.reverse(),e=[];t=n.pop();)if(yield t,r=t.children)for(a=0,s=r.length;a<s;++a)e.push(r[a])}while(e.length)}},mt.prototype=Object.create($e.prototype);var Ot={depth:-1},Xt={},Kt={};function xe(t){return t.id}function un(t){return t.parentId}function Rn(t){let n=t.length;if(n<2)return"";for(;--n>
vendor: 5,236 bytes, line 1
11&&!dn(t,n););return t.slice(0,n)}function dn(t,n){if("/"===t[n]){let e=0;for(;n>0&&"\\"===t[--n];)++e;if(!(1&e))return!0}return!1}var xa={value:()=>{}};function Cr(){for(var r,t=0,n=arguments.length,e={};t<n;++t){if(!(r=arguments[t]+"")||r in e||/[\s.]/.test(r))throw new Error("illegal type: "+r);e[r]=[]}return new Mn(e)}function Mn(t){this._=t}function Ca(t,n){for(var a,e=0,r=t.length;e<r;++e)if((a=t[e]).name===n)return a.value}function kr(t,n,e){for(var r=0,a=t.length;r<a;++r)if(t[r].name===n){t[r]=xa,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}Mn.prototype=Cr.prototype={constructor:Mn,on:function(t,n){var a,e=this._,r=function wa(t,n){return t.trim().split(/^|\s+/).map(function(e){var r="",a=e.indexOf(".");if(a>=0&&(r=e.slice(a+1),e=e.slice(0,a)),e&&!n.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:r}})}(t+"",e),s=-1,c=r.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++s<c;)if(a=(t=r[s]).type)e[a]=kr(e[a],t.name,n);else if(null==n)for(a in e)e[a]=kr(e[a],t.name,null);return this}for(;++s<c;)if((a=(t=r[s]).type)&&(a=Ca(e[a],t.name)))return a},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new Mn(t)},call:function(t,n){if((a=arguments.length-2)>0)for(var a,s,e=new Array(a),r=0;r<a;++r)e[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=0,a=(s=this._[t]).length;r<a;++r)s[r].value.apply(n,e)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],a=0,s=r.length;a<s;++a)r[a].value.apply(n,e)}};const Sr=Cr,Ki={capture:!0,passive:!1};function Qi(t){t.preventDefault(),t.stopImmediatePropagation()}function Er(t){return((t=Math.exp(t))+1/t)/2}const za=function t(n,e,r){function a(s,c){var et,J,l=s[0],C=s[1],w=s[2],X=c[2],$=c[0]-l,ut=c[1]-C,yt=$*$+ut*ut;if(yt<1e-12)J=Math.log(X/w)/n,et=function(ie){return[l+ie*$,C+ie*ut,w*Math.exp(n*ie*J)]};else{var _t=Math.sqrt(yt),wt=(X*X-w*w+r*yt)/(2*w*e*_t),Et=(X*X-w*w-r*yt)/(2*X*e*_t),Dt=Math.log(Math.sqrt(wt*wt+1)-wt),Ut=Math.log(Math.sqrt(Et*Et+1)-Et);J=(Ut-Dt)/n,et=function(ie){var Gt=ie*J,ce=Er(Dt),jt=w/(e*_t)*(ce*function Ia(t){return((t=Math.exp(2*t))-1)/(t+1)}(n*Gt+Dt)-function Ta(t){return((t=Math.exp(t))-1/t)/2}(Dt));return[l+jt*$,C+jt*ut,w*ce/Er(n*Gt+Dt)]}}return et.duration=1e3*J*n/Math.SQRT2,et}return a.rho=function(s){var c=Math.max(.001,+s),l=c*c;return t(c,l,l*l)},a}(Math.SQRT2,2,4);function je(t,n){if(t=function Aa(t){let n;for(;n=t.sourceEvent;)t=n;return t}(t),void 0===n&&(n=t.currentTarget),n){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(n.getScreenCTM().inverse())).x,r.y]}if(n.getBoundingClientRect){var a=n.getBoundingClientRect();return[t.clientX-a.left-n.clientLeft,t.clientY-a.top-n.clientTop]}}return[t.pageX,t.pageY]}var Nn,mn,Ke=0,fn=0,pn=0,Bn=0,Ge=0,Fn=0,_n="object"==typeof performance&&performance.now?performance:Date,Ir="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tr(){return Ge||(Ir(Da),Ge=_n.now()+Fn)}function Da(){Ge=0}function Ln(){this._call=this._time=this._next=null}function zr(t,n,e){var r=new Ln;return r.restart(t,n,e),r}function Ar(){Ge=(Bn=_n.now())+Fn,Ke=fn=0;try{!function Oa(){tr(),++Ke;for(var n,t=Nn;t;)(n=Ge-t._time)>=0&&t._call.call(void 0,n),t=t._next;--Ke}()}finally{Ke=0,function Ma(){for(var t,e,n=Nn,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Nn=e);mn=t,er(r)}(),Ge=0}}function Ra(){var t=_n.now(),n=t-Bn;n>1e3&&(Fn-=n,Bn=t)}function er(t){Ke||(fn&&(fn=clearTimeout(fn)),t-Ge>24?(t<1/0&&(fn=setTimeout(Ar,t-_n.now()-Fn)),pn&&(pn=clearInterval(pn))):(pn||(Bn=_n.now(),pn=setInterval(Ra,1e3)),Ke=1,Ir(Ar)))}function Dr(t,n,e){var r=new Ln;return r.restart(a=>{r.stop(),t(a+n)},n=null==n?0:+n,e),r}Ln.prototype=zr.prototype={constructor:Ln,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?tr():+e)+(null==n?0:+n),!this._next&&mn!==this&&(mn?mn._next=this:Nn=this,mn=this),this._call=t,this._time=e,er()},stop:function(){this._call&&(this._call=null,this._time=1/0,er())}};var Na=Sr("start","end","cancel","interrupt"),Ba=[];function Un(t,n,e,r,a,s){var c=t.__transition;if(c){if(e in c)return}else t.__transition={};!function Fa(t,n,e){var a,r=t.__transition;function c(w){var v,B,X,$;if(1!==e.state)return C();for(v in r)if(($=r[v]).name===e.name){if(3===$.state)return Dr(c);4===$.state?($.state=6,$.timer.stop(),$.on.call("interrupt",t,t.__data__,$.index,$.group),delete r[v]):+v<n&&($.state=6,$.timer.stop(),$.on.call("cancel",t,t.__data__,$.index,$.group),delete r[v])}if(Dr(function(){3===e.state&&(e.state=4,e.timer.restart(l,e.delay,e.time),l(w))}),e.state=2,e.on.call("start",t,t.__data__,e.index,e.group),2===e.state){for(e.state=3,a=new Array(X=e.tween.length),v=0,B=-1;v<X;++v)($=e.tween[v].value.call(t,t.__data__,e.index,e.group))&&(a[++B]=$);a.length=B+1}}function l(w){for(var v=w<e.duration?e.ease.call(null,w/e.duration):(e.timer.restart(C),e.state=5,1
vendor: 8,824 bytes, line 1
1),B=-1,X=a.length;++B<X;)a[B].call(t,v);5===e.state&&(e.on.call("end",t,t.__data__,e.index,e.group),C())}function C(){for(var w in e.state=6,e.timer.stop(),delete r[n],r)return;delete t.__transition}r[n]=e,e.timer=zr(function s(w){e.state=1,e.timer.restart(c,e.delay,e.time),e.delay<=w&&c(w-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:a,on:Na,tween:Ba,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:0})}function rr(t,n){var e=Ce(t,n);if(e.state>0)throw new Error("too late; already scheduled");return e}function Te(t,n){var e=Ce(t,n);if(e.state>3)throw new Error("too late; already running");return e}function Ce(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Hn(t,n){var r,a,c,e=t.__transition,s=!0;if(e){for(c in n=null==n?null:n+"",e)(r=e[c]).name===n?(a=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(a?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete e[c]):s=!1;s&&delete t.__transition}}function Ue(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var Vn,Nr=180/Math.PI,ar={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Br(t,n,e,r,a,s){var c,l,C;return(c=Math.sqrt(t*t+n*n))&&(t/=c,n/=c),(C=t*e+n*r)&&(e-=t*C,r-=n*C),(l=Math.sqrt(e*e+r*r))&&(e/=l,r/=l,C/=l),t*r<n*e&&(t=-t,n=-n,C=-C,c=-c),{translateX:a,translateY:s,rotate:Math.atan2(n,t)*Nr,skewX:Math.atan(C)*Nr,scaleX:c,scaleY:l}}function Fr(t,n,e,r){function a(w){return w.length?w.pop()+" ":""}return function(w,v){var B=[],X=[];return w=t(w),v=t(v),function s(w,v,B,X,$,ut){if(w!==B||v!==X){var yt=$.push("translate(",null,n,null,e);ut.push({i:yt-4,x:Ue(w,B)},{i:yt-2,x:Ue(v,X)})}else(B||X)&&$.push("translate("+B+n+X+e)}(w.translateX,w.translateY,v.translateX,v.translateY,B,X),function c(w,v,B,X){w!==v?(w-v>180?v+=360:v-w>180&&(w+=360),X.push({i:B.push(a(B)+"rotate(",null,r)-2,x:Ue(w,v)})):v&&B.push(a(B)+"rotate("+v+r)}(w.rotate,v.rotate,B,X),function l(w,v,B,X){w!==v?X.push({i:B.push(a(B)+"skewX(",null,r)-2,x:Ue(w,v)}):v&&B.push(a(B)+"skewX("+v+r)}(w.skewX,v.skewX,B,X),function C(w,v,B,X,$,ut){if(w!==B||v!==X){var yt=$.push(a($)+"scale(",null,",",null,")");ut.push({i:yt-4,x:Ue(w,B)},{i:yt-2,x:Ue(v,X)})}else(1!==B||1!==X)&&$.push(a($)+"scale("+B+","+X+")")}(w.scaleX,w.scaleY,v.scaleX,v.scaleY,B,X),w=v=null,function($){for(var et,ut=-1,yt=X.length;++ut<yt;)B[(et=X[ut]).i]=et.x($);return B.join("")}}}var Ua=Fr(function Pa(t){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?ar:Br(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),Ha=Fr(function $a(t){return null!=t&&(Vn||(Vn=document.createElementNS("http://www.w3.org/2000/svg","g")),Vn.setAttribute("transform",t),t=Vn.transform.baseVal.consolidate())?Br((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ar},", ",")",")");function Va(t,n){var e,r;return function(){var a=Te(this,t),s=a.tween;if(s!==e)for(var c=0,l=(r=e=s).length;c<l;++c)if(r[c].name===n){(r=r.slice()).splice(c,1);break}a.tween=r}}function ja(t,n,e){var r,a;if("function"!=typeof e)throw new Error;return function(){var s=Te(this,t),c=s.tween;if(c!==r){a=(r=c).slice();for(var l={name:n,value:e},C=0,w=a.length;C<w;++C)if(a[C].name===n){a[C]=l;break}C===w&&a.push(l)}s.tween=a}}function sr(t,n,e){var r=t._id;return t.each(function(){var a=Te(this,r);(a.value||(a.value={}))[n]=e.apply(this,arguments)}),function(a){return Ce(a,r).value[n]}}function or(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Lr(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function gn(){}var jn=1/.7,Qe="\\s*([+-]?\\d+)\\s*",yn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ie="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xa=/^#([0-9a-f]{3,8})$/,Wa=new RegExp(`^rgb\\(${Qe},${Qe},${Qe}\\)$`),Za=new RegExp(`^rgb\\(${Ie},${Ie},${Ie}\\)$`),Ya=new RegExp(`^rgba\\(${Qe},${Qe},${Qe},${yn}\\)$`),qa=new RegExp(`^rgba\\(${Ie},${Ie},${Ie},${yn}\\)$`),Ja=new RegExp(`^hsl\\(${yn},${Ie},${Ie}\\)$`),Ka=new RegExp(`^hsla\\(${yn},${Ie},${Ie},${yn}\\)$`),Pr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $r(){return this.rgb().formatHex()}function Ur(){return this.rgb().formatRgb()}function bn(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Xa.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Hr(n):3===e?new ge(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Gn(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Gn(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Wa.exec(t))?new ge(n[1],n[2],n[3],1):(n=Za.exec(t))?new ge(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Ya.exec(t))?Gn(n[1],n[2],n[3],n[4]):(n=qa.exec(t))?Gn(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ja.exec(t))?Gr(n[1],n[2]/100,n[3]/100,1):(n=Ka.exec(t))?Gr(n[1],n[2]/100,n[3]/100,n[4]):Pr.hasOwnProperty(t)?Hr(Pr[t]):"transparent"===t?new ge(NaN,NaN,NaN,0):null}function Hr(t){return new ge(t>>16&255,t>>8&255,255&t,1)}function Gn(t,n,e,r){return r<=0&&(t=n=e=NaN),new ge(t,n,e,r)}function Xn(t,n,e,r){return 1===arguments.length?function es(t){return t instanceof gn||(t=bn(t)),t?new ge((t=t.rgb()).r,t.g,t.b,t.opacity):new ge}(t):new ge(t,n,e,r??1)}function ge(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Vr(){return`#${We(this.r)}${We(this.g)}${We(this.b)}`}function jr(){const t=Wn(this.opacity);return`${1===t?"rgb(":"rgba("}${Xe(this.r)}, ${Xe(this.g)}, ${Xe(this.b)}${1===t?")":`, ${t})`}`}function Wn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Xe(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function We(t){return((t=Xe(t))<16?"0":"")+t.toString(16)}function Gr(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ke(t,n,e,r)}function Xr(t){if(t instanceof ke)return new ke(t.h,t.s,t.l,t.opacity);if(t instanceof gn||(t=bn(t)),!t)return new ke;if(t instanceof ke)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,a=Math.min(n,e,r),s=Math.max(n,e,r),c=NaN,l=s-a,C=(s+a)/2;return l?(c=n===s?(e-r)/l+6*(e<r):e===s?(r-n)/l+2:(n-e)/l+4,l/=C<.5?s+a:2-s-a,c*=60):l=C>0&&C<1?0:c,new ke(c,l,C,t.opacity)}function ke(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Wr(t){return(t=(t||0)%360)<0?t+360:t}
1function Zn(t){return Math.max(0,Math.min(1,t||0))}function lr(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Zr(t,n,e,r,a){var s=t*t,c=s*t;return((1-3*t+3*s-c)*n+(4-6*s+3*c)*e+(1+3*t+3*s-3*c)*r+c*a)/6}or(gn,bn,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$r,formatHex:$r,formatHex8:function Qa(){return this.rgb().formatHex8()},formatHsl:function ts(){return Xr(this).formatHsl()},formatRgb:Ur,toString:Ur}),or(ge,Xn,Lr(gn,{brighter(t){return t=null==t?jn:Math.pow(jn,t),new ge(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new ge(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ge(Xe(this.r),Xe(this.g),Xe(this.b),Wn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Vr,formatHex:Vr,formatHex8:function ns(){return`#${We(this.r)}${We(this.g)}${We(this.b)}${We(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:jr,toString:jr})),or(ke,function is(t,n,e,r){return 1===arguments.length?Xr(t):new ke(t,n,e,r??1)},Lr(gn,{brighter(t){return t=null==t?jn:Math.pow(jn,t),new ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new ke(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,a=2*e-r;return new ge(lr(t>=240?t-240:t+120,a,r),lr(t,a,r),lr(t<120?t+240:t-120,a,r),this.opacity)},clamp(){return new ke(Wr(this.h),Zn(this.s),Zn(this.l),Wn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Wn(this.opacity);return`${1===t?"hsl(":"hsla("}${Wr(this.h)}, ${100*Zn(this.s)}%, ${100*Zn(this.l)}%${1===t?")":`, ${t})`}`}}));const Yr=t=>()=>t;function Jr(t,n){var e=n-t;return e?function qr(t,n){return function(e){return t+e*n}}(t,e):Yr(isNaN(t)?n:t)}const Kr=function t(n){var e=function ls(t){return 1==(t=+t)?Jr:function(n,e){return e-n?function os(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Yr(isNaN(n)?e:n)}}(n);function r(a,s){var c=e((a=Xn(a)).r,(s=Xn(s)).r),l=e(a.g,s.g),C=e(a.b,s.b),w=Jr(a.opacity,s.opacity);return function(v){return a.r=c(v),a.g=l(v),a.b=C(v),a.opacity=w(v),a+""}}return r.gamma=t,r}(1);function Qr(t){return function(n){var c,l,e=n.length,r=new Array(e),a=new Array(e),s=new Array(e);for(c=0;c<e;++c)l=Xn(n[c]),r[c]=l.r||0,a[c]=l.g||0,s[c]=l.b||0;return r=t(r),a=t(a),s=t(s),l.opacity=1,function(C){return l.r=r(C),l.g=a(C),l.b=s(C),l+""}}}Qr(function rs(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),a=t[r],s=t[r+1];return Zr((e-r/n)*n,r>0?t[r-1]:2*a-s,a,s,r<n-1?t[r+2]:2*s-a)}}),Qr(function as(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n);return Zr((e-r/n)*n,t[(r+n-1)%n],t[r%n],t[(r+1)%n],t[(r+2)%n])}});var cr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ur=new RegExp(cr.source,"g");function hs(t,n){var r,a,s,e=cr.lastIndex=ur.lastIndex=0,c=-1,l=[],C=[];for(t+="",n+="";(r=cr.exec(t))&&(a=ur.exec(n));)(s=a.index)>e&&(s=n.slice(e,s),l[c]?l[c]+=s:l[++c]=s),(r=r[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,C.push({i:c,x:Ue(r,a)})),e=ur.lastIndex;return e<n.length&&(s=n.slice(e),l[c]?l[c]+=s:l[++c]=s),l.length<2?C[0]?function us(t){return function(n){return t(n)+""}}(C[0].x):function cs(t){return function(){return t}}(n):(n=C.length,function(w){for(var B,v=0;v<n;++v)l[(B=C[v]).i]=B.x(w);return l.join("")})}function ta(t,n){var e;return("number"==typeof n?Ue:n instanceof bn?Kr:(e=bn(n))?(n=e,Kr):hs)(t,n)}function ds(t){return function(){this.removeAttribute(t)}}function fs(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ps(t,n,e){var r,s,a=e+"";return function(){var c=this.getAttribute(t);return c===a?null:c===r?s:s=n(r=c,e)}}function ms(t,n,e){var r,s,a=e+"";return function(){var c=this.getAttributeNS(t.space,t.local);return c===a?null:c===r?s:s=n(r=c,e)}}function _s(t,n,e){var r,a,s;return function(){var c,C,l=e(this);return null==l?void this.removeAttribute(t):(c=this.getAttribute(t))===(C=l+"")?null:c===r&&C===a?s:(a=C,s=n(r=c,l))}}function gs(t,n,e){var r,a,s;return function(){var c,C,l=e(this);return null==l?void this.removeAttributeNS(t.space,t.local):(c=this.getAttributeNS(t.space,t.local))===(C=l+"")?null:c===r&&C===a?s:(a=C,s=n(r=c,l))}}function xs(t,n){var e,r;function a(){var s=n.apply(this,arguments);return s!==r&&(e=(r=s)&&function bs(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}(t,s)),e}return a._value=n,a}function ws(t,n){var e,r;function a(){var s=n.apply(this,arguments);return s!==r&&(e=(r=s)&&function ys(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}(t,s)),e}return a._value=n,a}function ks(t,n){return function(){rr(this,t).delay=+n.apply(this,arguments)}}function Ss(t,n){return n=+n,function(){rr(this,t).delay=n}}function Ts(t,n){return function(){Te(this,t).duration=+n.apply(this,arguments)}}function Is(t,n){return n=+n,function(){Te(this,t).duration=n}}var Vs=Pe.prototype.constructor;function ea(t){return function(){this.style.removeProperty(t)}}var oo=0;function Re(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function na(){return++oo}var Me=Pe.prototype;Re.prototype=function lo(t){return Pe().transition(t)}.prototype={constructor:Re,select:function Us(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=d(t));for(var r=this._groups,a=r.length,s=new Array(a),c=0;c<a;++c)for(var v,B,l=r[c],C=l.length,w=s[c]=new Array(C),X=0;X<C;++X)(v=l[X])&&(B=t.call(v,v.__data__,X,l))&&("__data__"in v&&(B.__data__=v.__data__),w[X]=B,Un(w[X],n,e,X,w,Ce(v,e)));return new Re(s,this._parents,n,e)},selectAll:function Hs(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=D(t));for(var r=this._groups,a=r.length,s=[],c=[],l=0;l<a;++l)for(var v,C=r[l],w=C.length,B=0;B<w;++B)if(v=C[B]){for(var $,X=t.call(v,v.__data__,B,C),ut=Ce(v,e),yt=0,et=X.length;yt<et;++yt)($=X[yt])&&Un($,n,e,yt,X,ut);s.push(X),c.push(v)}return new Re(s,c,n,e)},selectChild:Me.selectChild,selectChildren:Me.selectChildren,filter:function Ms(t){"function"!=typeof t&&(t=I(t));for(var n=this._groups,e=n.length,r=new Array(e),a=0;a<e;++a)for(var C,s=n[a],c=s.length,l=r[a]=[],w=0;w<c;++w)(C=s[w])&&t.call(C,C.__data__,w,s)&&l.push(C);return new Re(r,this._parents,this._name,this._id)},merge:function Ns(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,s=Math.min(r,e.length),c=new Array(r),l=0;l<s;++l)for(var X,C=n[l],w=e[l],v=C.length,B=c[l]=new Array(v),$=0;$<v;++$)(X=C[$]||w[$])&&(B[$]=X);for(;l<r;++l)c[l]=n[l];return new Re(c,this._parents,this._name,this._id)},selection:function js(){return new Vs(this._groups,this._parents)},transition:function ao(){for(var t=this._name,n=this._id,e=na(),r=this._groups,a=r.length,s=0;s<a;++s)for(var C,c=r[s],l=c.length,w=0;w<l;++w)if(C=c[w]){var v=Ce(C,n);Un(C,t,e,w,c,{time:v.time+v.delay+v.duration,delay:0,duration:v.duration,ease:v.ease})}return new Re(r,this._parents,t,e)},call:Me.call,nodes:Me.nodes,node:Me.node,size:Me.size,empty:Me.empty,each:Me.each,on:function Ls(t,n){var e=this._id;return arguments.length<2?Ce(this.node(),e).on.on(t):this.each(function Fs(t,n,e){var r,a,s=function Bs(t){return(t+"").trim().split(/^|\s+/).every(function(n){var e=n.indexOf(".");return e>=0&&(n=n.slice(0,e)),!n||"start"===n})}(n)?rr:Te;return function(){var c=s(this,t),l=c.on;l!==r&&(a=(r=l).copy()).on(n,e),c.on=a}}
1(e,t,n))},attr:function vs(t,n){var e=le(t),r="transform"===e?Ha:ta;return this.attrTween(t,"function"==typeof n?(e.local?gs:_s)(e,r,sr(this,"attr."+t,n)):null==n?(e.local?fs:ds)(e):(e.local?ms:ps)(e,r,n))},attrTween:function Cs(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=le(t);return this.tween(e,(r.local?xs:ws)(r,n))},style:function Ys(t,n,e){var r="transform"==(t+="")?Ua:ta;return null==n?this.styleTween(t,function Gs(t,n){var e,r,a;return function(){var s=lt(this,t),c=(this.style.removeProperty(t),lt(this,t));return s===c?null:s===e&&c===r?a:a=n(e=s,r=c)}}(t,r)).on("end.style."+t,ea(t)):"function"==typeof n?this.styleTween(t,function Ws(t,n,e){var r,a,s;return function(){var c=lt(this,t),l=e(this),C=l+"";return null==l&&(this.style.removeProperty(t),C=l=lt(this,t)),c===C?null:c===r&&C===a?s:(a=C,s=n(r=c,l))}}(t,r,sr(this,"style."+t,n))).each(function Zs(t,n){var e,r,a,l,s="style."+n,c="end."+s;return function(){var C=Te(this,t),w=C.on,v=null==C.value[s]?l||(l=ea(n)):void 0;(w!==e||a!==v)&&(r=(e=w).copy()).on(c,a=v),C.on=r}}(this._id,t)):this.styleTween(t,function Xs(t,n,e){var r,s,a=e+"";return function(){var c=lt(this,t);return c===a?null:c===r?s:s=n(r=c,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function Ks(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function Js(t,n,e){var r,a;function s(){var c=n.apply(this,arguments);return c!==a&&(r=(a=c)&&function qs(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,c,e)),r}return s._value=n,s}(t,n,e??""))},text:function eo(t){return this.tween("text","function"==typeof t?function to(t){return function(){var n=t(this);this.textContent=n??""}}(sr(this,"text",t)):function Qs(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function ro(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function io(t){var n,e;function r(){var a=t.apply(this,arguments);return a!==e&&(n=(e=a)&&function no(t){return function(n){this.textContent=t.call(this,n)}}(a)),n}return r._value=t,r}(t))},remove:function $s(){return this.on("end.remove",function Ps(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function Ga(t,n){var e=this._id;if(t+="",arguments.length<2){for(var c,r=Ce(this.node(),e).tween,a=0,s=r.length;a<s;++a)if((c=r[a]).name===t)return c.value;return null}return this.each((null==n?Va:ja)(e,t,n))},delay:function Es(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?ks:Ss)(n,t)):Ce(this.node(),n).delay},duration:function zs(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Ts:Is)(n,t)):Ce(this.node(),n).duration},ease:function Ds(t){var n=this._id;return arguments.length?this.each(function As(t,n){if("function"!=typeof n)throw new Error;return function(){Te(this,t).ease=n}}(n,t)):Ce(this.node(),n).ease},easeVarying:function Rs(t){if("function"!=typeof t)throw new Error;return this.each(function Os(t,n){return function(){var e=n.apply(this,arguments);if("function"!=typeof e)throw new Error;Te(this,t).ease=e}}(this._id,t))},end:function so(){var t,n,e=this,r=e._id,a=e.size();return new Promise(function(s,c){var l={value:c},C={value:function(){0===--a&&s()}};e.each(function(){var w=Te(this,r),v=w.on;v!==t&&((n=(t=v).copy())._.cancel.push(l),n._.interrupt.push(l),n._.end.push(C)),w.on=n}),0===a&&s()})},[Symbol.iterator]:Me[Symbol.iterator]};var uo={time:null,delay:0,duration:250,ease:function co(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function ho(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))throw new Error(`transition ${n} not found`);return e}Pe.prototype.interrupt=function La(t){return this.each(function(){Hn(this,t)})},Pe.prototype.transition=function fo(t){var n,e;t instanceof Re?(n=t._id,t=t._name):(n=na(),(e=uo).time=tr(),t=null==t?null:t+"");for(var r=this._groups,a=r.length,s=0;s<a;++s)for(var C,c=r[s],l=c.length,w=0;w<l;++w)(C=c[w])&&Un(C,t,n,w,c,e||ho(C,n));return new Re(r,this._parents,t,n)};const Yn=t=>()=>t;function po(t,{sourceEvent:n,target:e,transform:r,dispatch:a}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:a}})}function Ne(t,n,e){this.k=t,this.x=n,this.y=e}Ne.prototype={constructor:Ne,scale:function(t){return 1===t?this:new Ne(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Ne(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var qn=new Ne(1,0,0);function hr(t){t.stopImmediatePropagation()}function xn(t){t.preventDefault(),t.stopImmediatePropagation()}function _o(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function go(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function ia(){return this.__zoom||qn}function vo(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?
11:.002)*(t.ctrlKey?10:1)}function yo(){return navigator.maxTouchPoints||"ontouchstart"in this}function bo(t,n,e){var r=t.invertX(n[0][0])-e[0][0],a=t.invertX(n[1][0])-e[1][0],s=t.invertY(n[0][1])-e[0][1],c=t.invertY(n[1][1])-e[1][1];return t.translate(a>r?(r+a)/2:Math.min(0,r)||Math.max(0,a),c>s?(s+c)/2:Math.min(0,s)||Math.max(0,c))}function wo(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function dr(t,n){var a,c,l,C,w,e=new Jn(t),r=+t.value&&(e.value=t.value),s=[e];for(null==n&&(n=Bo);a=s.pop();)if(r&&(a.value=+a.data.value),(l=n(a.data))&&(w=l.length))for(a.children=new Array(w),C=w-1;C>=0;--C)s.push(c=a.children[C]=new Jn(l[C])),c.parent=a,c.depth=a.depth+1;return e.eachBefore(Lo)}function Bo(t){return t.children}function Fo(t){t.data=t.data.data}function Lo(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Jn(t){this.data=t,this.depth=this.height=0,this.parent=null}Jn.prototype=dr.prototype={constructor:Jn,count:function Co(){return this.eachAfter(wo)},each:function ko(t){var e,a,s,c,n=this,r=[n];do{for(e=r.reverse(),r=[];n=e.pop();)if(t(n),a=n.children)for(s=0,c=a.length;s<c;++s)r.push(a[s])}while(r.length);return this},eachAfter:function Eo(t){for(var a,s,c,n=this,e=[n],r=[];n=e.pop();)if(r.push(n),a=n.children)for(s=0,c=a.length;s<c;++s)e.push(a[s]);for(;n=r.pop();)t(n);return this},eachBefore:function So(t){for(var r,a,n=this,e=[n];n=e.pop();)if(t(n),r=n.children)for(a=r.length-1;a>=0;--a)e.push(r[a]);return this},sum:function To(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,a=r&&r.length;--a>=0;)e+=r[a].value;n.value=e})},sort:function Io(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},path:function zo(t){for(var n=this,e=function Ao(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),a=null;for(t=e.pop(),n=r.pop();t===n;)a=t,t=e.pop(),n=r.pop();return a}(n,t),r=[n];n!==e;)r.push(n=n.parent);for(var a=r.length;t!==e;)r.splice(a,0,t),t=t.parent;return r},ancestors:function Do(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function Oo(){var t=[];return this.each(function(n){t.push(n)}),t},leaves:function Ro(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},links:function Mo(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n},copy:function No(){return dr(this).eachBefore(Fo)}};const{rE:$o}={rE:"2.1.2"},Uo=Object.freeze({children:t=>t.children,nodeSize:t=>t.data.size,spacing:0});function ra(t){const n=Object.assign({},Uo,t);function e(l){const C=n[l];return"function"==typeof C?C:()=>C}function r(l){const C=c(function s(){const l=a(),C=e("nodeSize"),w=e("spacing");return class extends l{constructor(v){super(v),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return C(this.data)}spacing(v){return w(this.data,v.data)}get x(){return this.data.x}set x(v){this.data.x=v}get y(){return this.data.y}set y(v){this.data.y=v}update(){return aa(this),sa(this),this}}}(),l,w=>w.children);return C.update(),C.data}function a(){const l=e("nodeSize"),C=e("spacing");return class ba extends dr.prototype.constructor{constructor(v){super(v)}copy(){const v=c(this.constructor,this,B=>B.children);return v.each(B=>B.data=B.data.data),v}get size(){return l(this)}spacing(v){return C(this,v)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const v=this.ancestors();return v[v.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return null===this.children}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((v,B)=>ba.maxExtents(v,B.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(v,B){return{top:Math.min(v.top,B.top),bottom:Math.max(v.bottom,B.bottom),left:Math.min(v.left,B.left),right:Math.max(v.right,B.right)}}}}function c(l,C,w){const v=(B,X)=>{const $=new l(B);Object.assign($,{parent:X,depth:null===X?0:X.depth+1,height:0,length:1});const ut=w(B)||[];return $.children=0===ut.length?null:ut.map(yt=>v(yt,$)),$.children&&Object.assign($,$.children.reduce((yt,et)=>({height:Math.max(yt.height,et.height+1),length:yt.length+et.length}),$)),$};return v(C,null)}return Object.assign(r,{nodeSize(l){return arguments.length?(n.nodeSize=l,r):n.nodeSize},spacing(l){return arguments.length?(n.spacing=l,r):n.spacing},children(l){return arguments.length?(n.children=l,r):n.children},hierarchy(l,C){const w=typeof C>"u"?n.children:C;return c(a(),l,w)},dump(l){const C=e("nodeSize"),w=v=>B=>{const X=v+"  ",$=v+"    ",{x:ut,y:yt}=B,et=C(B),J=B.children||[],_t=0===J.length?" ":`,${X}children: [${$}${J.map(w($)).join($)}${X}],${v}`;return`{ size: [${et.join(", ")}],${X}x: ${ut}, y: ${yt}${_t}},`};return w("\n")(l)}}),r}ra.version=$o;const aa=(t,n=0)=>(t.y=n,(t.children||[]).reduce((e,r)=>{const[a,s]=e;aa(r,t.y+t.ySize);const c=(0===a?r.lExt:r.rExt).bottom;return 0!==a&&Vo(t,a,s),[a+1,Jo(c,a,s)]},[0,null]),Ho(t),qo(t),t),sa=(t,n,e)=>{typeof n>"u"&&(n=-t.relX-t.prelim,e=0);const r=n+t.relX;return t.relX=r+t.prelim-e,t.prelim=0,t.x=e+t.relX,(t.children||[]).forEac
1h(a=>sa(a,r,t.x)),t},Ho=t=>{(t.children||[]).reduce((n,e)=>{const[r,a]=n,s=r+e.shift,c=a+s+e.change;return e.relX+=c,[s,c]},[0,0])},Vo=(t,n,e)=>{const r=t.children[n-1],a=t.children[n];let s=r,c=r.relX,l=a,C=a.relX,w=!0;for(;s&&l;){s.bottom>e.lowY&&(e=e.next);const v=c+s.prelim-(C+l.prelim)+s.xSize/2+l.xSize/2+s.spacing(l);(v>0||v<0&&w)&&(C+=v,jo(a,v),Go(t,n,e.index,v)),w=!1;const B=s.bottom,X=l.bottom;B<=X&&(s=Wo(s),s&&(c+=s.relX)),B>=X&&(l=Xo(l),l&&(C+=l.relX))}!s&&l?Zo(t,n,l,C):s&&!l&&Yo(t,n,s,c)},jo=(t,n)=>{t.relX+=n,t.lExtRelX+=n,t.rExtRelX+=n},Go=(t,n,e,r)=>{const a=t.children[n],s=n-e;if(s>1){const c=r/s;t.children[e+1].shift+=c,a.shift-=c,a.change-=r-c}},Xo=t=>t.hasChildren?t.firstChild:t.lThr,Wo=t=>t.hasChildren?t.lastChild:t.rThr,Zo=(t,n,e,r)=>{const a=t.firstChild,s=a.lExt,c=t.children[n];s.lThr=e;const l=r-e.relX-a.lExtRelX;s.relX+=l,s.prelim-=l,a.lExt=c.lExt,a.lExtRelX=c.lExtRelX},Yo=(t,n,e,r)=>{const a=t.children[n],s=a.rExt,c=t.children[n-1];s.rThr=e;const l=r-e.relX-a.rExtRelX;s.relX+=l,s.prelim-=l,a.rExt=c.rExt,a.rExtRelX=c.rExtRelX},qo=t=>{if(t.hasChildren){const n=t.firstChild,e=t.lastChild;Object.assign(t,{prelim:(n.prelim+n.relX-n.xSize/2+e.relX+e.prelim+e.xSize/2)/2,lExt:n.lExt,lExtRelX:n.lExtRelX,rExt:e.rExt,rExtRelX:e.rExtRelX})}},Jo=(t,n,e)=>{for(;null!==e&&t>=e.lowY;)e=e.next;return{lowY:t,index:n,next:e}};var Ko=Array.prototype.slice;function oa(t){return function(){return t}}class la{constructor(n,e){this._context=n,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+n)/2,this._y0,this._x0,e,n,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,n,this._y0,n,e)}this._x0=n,this._y0=e}}function tl(t){return new la(t,!0)}const fr=Math.PI,pr=2*fr,Ze=1e-6,el=pr-Ze;function ca(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}class Qn{constructor(n){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==n?ca:function nl(t){let n=Math.floor(t);if(!(n>=0))throw new Error(`invalid digits: ${t}`);if(n>15)return ca;const e=10**n;return function(r){this._+=r[0];for(let a=1,s=r.length;a<s;++a)this._+=Math.round(arguments[a]*e)/e+r[a]}}(n)}moveTo(n,e){this._append`M${this._x0=this._x1=+n},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(n,e){this._append`L${this._x1=+n},${this._y1=+e}`}quadraticCurveTo(n,e,r,a){this._append`Q${+n},${+e},${this._x1=+r},${this._y1=+a}`}bezierCurveTo(n,e,r,a,s,c){this._append`C${+n},${+e},${+r},${+a},${this._x1=+s},${this._y1=+c}`}arcTo(n,e,r,a,s){if(n=+n,e=+e,r=+r,a=+a,(s=+s)<0)throw new Error(`negative radius: ${s}`);let c=this._x1,l=this._y1,C=r-n,w=a-e,v=c-n,B=l-e,X=v*v+B*B;if(null===this._x1)this._append`M${this._x1=n},${this._y1=e}`;else if(X>Ze)if(Math.abs(B*C-w*v)>Ze&&s){let $=r-c,ut=a-l,yt=C*C+w*w,et=$*$+ut*ut,J=Math.sqrt(yt),_t=Math.sqrt(X),wt=s*Math.tan((fr-Math.acos((yt+X-et)/(2*J*_t)))/2),Et=wt/_t,Dt=wt/J;Math.abs(Et-1)>Ze&&this._append`L${n+Et*v},${e+Et*B}`,this._append`A${s},${s},0,0,${+(B*$>v*ut)},${this._x1=n+Dt*C},${this._y1=e+Dt*w}`}else this._append`L${this._x1=n},${this._y1=e}`}arc(n,e,r,a,s,c){if(n=+n,e=+e,c=!!c,(r=+r)<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(a),C=r*Math.sin(a),w=n+l,v=e+C,B=1^c,X=c?a-s:s-a;null===this._x1?this._append`M${w},${v}`:(Math.abs(this._x1-w)>Ze||Math.abs(this._y1-v)>Ze)&&this._append`L${w},${v}`,r&&(X<0&&(X=X%pr+pr),X>el?this._append`A${r},${r},0,1,${B},${n-l},${e-C}A${r},${r},0,1,${B},${this._x1=w},${this._y1=v}`:X>Ze&&this._append`A${r},${r},0,${+(X>=fr)},${B},${this._x1=n+r*Math.cos(s)},${this._y1=e+r*Math.sin(s)}`)}rect(n,e,r,a){this._append`M${this._x0=this._x1=+n},${this._y0=this._y1=+e}h${r=+r}v${+a}h${-r}Z`}toString(){return this._}}function al(t){return t[0]}function sl(t){return t[1]}function cl(t){return t.source}function ul(t){return t.target}const qt={selection:Pe,select:se,max:function Ei(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let a of t)null!=(a=n(a,++r,t))&&(e<a||void 0===e&&a>=a)&&(e=a)}return e},min:function Ti(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e>r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let a of t)null!=(a=n(a,++r,t))&&(e>a||void 0===e&&a>=a)&&(e=a)}return e},sum:function Ii(t,n){let e=0;if(void 0===n)for(let r of t)(r=+r)&&(e+=r);else{let r=-1;for(let a of t)(a=+n(a,++r,t))&&(e+=a)}return e},cumsum:function zi(t,n){var e=0,r=0;return Float64Array.from(t,void 0===n?a=>e+=+a||0:a=>e+=+n(a,r++,t)||0)},tree:function k(){var t=Zi,n=1,e=1,r=null;function a(w){var v=function u(t){for(var e,a,s,c,l,n=new mt(t,0),r=[n];e=r.pop();)if(s=e._.children)for(e.children=new Array(l=s.length),c=l-1;c>=0;--c)r.push(a=e.children[c]=new mt(s[c],c)),a.parent=e;return(n.parent=new mt(null,0)).children=[n],n}(w);if(v.eachAfter(s),v.parent.m=-v.z,v.eachBefore(c),r)w.eachBefore(C);else{var B=w,X=w,$=w;w.eachBefore(function(_t){_t.x<B.x&&(B=_t),_t.x>X.x&&(X=_t),_t.depth>$.depth&&($=_t)});var ut=B===X?1:t(B,X)/2,yt=ut-B.x,et=n/(X.x+ut+yt),J=e/($.depth||1);w.eachBefore(function(_t){_t.x=(_t.x+yt)*et,_t.y=_t.depth*J})}return w}function s(w){var v=w.children,B=w.parent.children,X=w.i?B[w.i-1]:null;if(v){!function qi(t){for(var s,n=0,e=0,r=t.children,a=r.length;--a>=0;)(s=r[a]).z+=n,s.m+=n,n+=s.s+(e+=s.c)}(w);var $=(v[0].z+v[v.length-1].z)/2;X?(w.z=X.z+t(w._,X._),w.m=w.z-$):w.z=$}else X&&(w.z=X.z+t(w._,X._));w.parent.A=function l(w,v,B){if(v){for(var Et,X=w,$=w,ut=v,yt=X.parent.children[0],et=X.m,J=$.m,_t=ut.m,wt=yt.m;ut=cn(ut),X=ln(X),ut&&X;)yt=ln(yt),($=cn($)).a=w,(Et=ut.z+_t-X.z-et+t(ut._,X._))>0&&(Yi(m(ut,w,B),w,Et),et+=Et,J+=Et),_t+=ut.m,et+=X.m,wt+=yt.m,J+=$.m;ut&&!cn($)&&($.t=ut,$.m+=_t-J),X&&!ln(yt)&&(yt.t=X,yt.m+=et-wt,B=w)}return B}(w,X,w.parent.A||B[0])}function c(w){w._.x=w.z+w.parent.m,w.m+=w.parent.m}function C(w){w.x*=n,w.y=w.depth*e}return a.separation=function(w){return arguments.length?(t=w,a):t},a.size=function(w){return arguments.length?(r=!1,n=+w[0],e=+w[1],a):r?null:[n,e]},a.nodeSize=function(w){return arguments.length?(r=!0,n=+w[0],e=+w[1],a):r?[n,e]:null},a},stratify:function hn(){var e,t=xe,n=un;function r(a){var C,w,v,B,X,$,ut,yt,s=Array.from(a),c=t,l=n,et=new Map;if(null!=e){const J=s.map((Et,Dt)=>function Ji(t){let n=(t=`${t}`).length;
1return dn(t,n-1)&&!dn(t,n-2)&&(t=t.slice(0,-1)),"/"===t[0]?t:`/${t}`}(e(Et,Dt,a))),_t=J.map(Rn),wt=new Set(J).add("");for(const Et of _t)wt.has(Et)||(wt.add(Et),J.push(Et),_t.push(Rn(Et)),s.push(Kt));c=(Et,Dt)=>J[Dt],l=(Et,Dt)=>_t[Dt]}for(v=0,C=s.length;v<C;++v)$=s[v]=new $e(w=s[v]),null!=(ut=c(w,v,a))&&(ut+="")&&(yt=$.id=ut,et.set(yt,et.has(yt)?Xt:$)),null!=(ut=l(w,v,a))&&(ut+="")&&($.parent=ut);for(v=0;v<C;++v)if(ut=($=s[v]).parent){if(!(X=et.get(ut)))throw new Error("missing: "+ut);if(X===Xt)throw new Error("ambiguous: "+ut);X.children?X.children.push($):X.children=[$],$.parent=X}else{if(B)throw new Error("multiple roots");B=$}if(!B)throw new Error("no root");if(null!=e){for(;B.data===Kt&&1===B.children.length;)B=B.children[0],--C;for(let J=s.length-1;J>=0&&($=s[J]).data===Kt;--J)$.data=null}if(B.parent=Ot,B.eachBefore(function(J){J.depth=J.parent.depth+1,--C}).eachBefore(On),B.parent=null,C>0)throw new Error("cycle");return B}return r.id=function(a){return arguments.length?(t=L(a),r):t},r.parentId=function(a){return arguments.length?(n=L(a),r):n},r.path=function(a){return arguments.length?(e=L(a),r):e},r},zoom:function xo(){var v,B,X,t=_o,n=go,e=bo,r=vo,a=yo,s=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],l=250,C=za,w=Sr("start","zoom","end"),yt=0,et=10;function J(j){j.property("__zoom",ia).on("wheel.zoom",Gt,{passive:!1}).on("mousedown.zoom",ce).on("dblclick.zoom",jt).filter(a).on("touchstart.zoom",Qt).on("touchmove.zoom",oe).on("touchend.zoom touchcancel.zoom",re).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _t(j,St){return(St=Math.max(s[0],Math.min(s[1],St)))===j.k?j:new Ne(St,j.x,j.y)}function wt(j,St,at){var bt=St[0]-at[0]*j.k,V=St[1]-at[1]*j.k;return bt===j.x&&V===j.y?j:new Ne(j.k,bt,V)}function Et(j){return[(+j[0][0]+ +j[1][0])/2,(+j[0][1]+ +j[1][1])/2]}function Dt(j,St,at,bt){j.on("start.zoom",function(){Ut(this,arguments).event(bt).start()}).on("interrupt.zoom end.zoom",function(){Ut(this,arguments).event(bt).end()}).tween("zoom",function(){var V=this,gt=arguments,xt=Ut(V,gt).event(bt),Tt=n.apply(V,gt),Nt=null==at?Et(Tt):"function"==typeof at?at.apply(V,gt):at,ve=Math.max(Tt[1][0]-Tt[0][0],Tt[1][1]-Tt[0][1]),te=V.__zoom,pe="function"==typeof St?St.apply(V,gt):St,ye=C(te.invert(Nt).concat(ve/te.k),pe.invert(Nt).concat(ve/pe.k));return function(Zt){if(1===Zt)Zt=pe;else{var _e=ye(Zt),nn=ve/_e[2];Zt=new Ne(nn,Nt[0]-_e[0]*nn,Nt[1]-_e[1]*nn)}xt.zoom(null,Zt)}})}function Ut(j,St,at){return!at&&j.__zooming||new ie(j,St)}function ie(j,St){this.that=j,this.args=St,this.active=0,this.sourceEvent=null,this.extent=n.apply(j,St),this.taps=0}function Gt(j,...St){if(t.apply(this,arguments)){var at=Ut(this,St).event(j),bt=this.__zoom,V=Math.max(s[0],Math.min(s[1],bt.k*Math.pow(2,r.apply(this,arguments)))),gt=je(j);if(at.wheel)(at.mouse[0][0]!==gt[0]||at.mouse[0][1]!==gt[1])&&(at.mouse[1]=bt.invert(at.mouse[0]=gt)),clearTimeout(at.wheel);else{if(bt.k===V)return;at.mouse=[gt,bt.invert(gt)],Hn(this),at.start()}xn(j),at.wheel=setTimeout(function xt(){at.wheel=null,at.end()},150),at.zoom("mouse",e(wt(_t(bt,V),at.mouse[0],at.mouse[1]),at.extent,c))}}function ce(j,...St){if(!X&&t.apply(this,arguments)){var at=j.currentTarget,bt=Ut(this,St,!0).event(j),V=se(j.view).on("mousemove.zoom",function Nt(te){if(xn(te),!bt.moved){var pe=te.clientX-xt,ye=te.clientY-Tt;bt.moved=pe*pe+ye*ye>yt}bt.event(te).zoom("mouse",e(wt(bt.that.__zoom,bt.mouse[0]=je(te,at),bt.mouse[1]),bt.extent,c))},!0).on("mouseup.zoom",function ve(te){V.on("mousemove.zoom mouseup.zoom",null),function Sa(t,n){var e=t.document.documentElement,r=se(t).on("dragstart.drag",null);n&&(r.on("click.drag",Qi,Ki),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}(te.view,bt.moved),xn(te),bt.event(te).end()},!0),gt=je(j,at),xt=j.clientX,Tt=j.clientY;(function ka(t){var n=t.document.documentElement,e=se(t).on("dragstart.drag",Qi,Ki);"onselectstart"in n?e.on("selectstart.drag",Qi,Ki):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")})(j.view),hr(j),bt.mouse=[gt,this.__zoom.invert(gt)],Hn(this),bt.start()}}function jt(j,...St){if(t.apply(this,arguments)){var at=this.__zoom,bt=je(j.changedTouches?j.changedTouches[0]:j,this),V=at.invert(bt),xt=e(wt(_t(at,at.k*(j.shiftKey?.5:2)),bt,V),n.apply(this,St),c);xn(j),l>0?se(this).transition().duration(l).call(Dt,xt,bt,j):se(this).call(J.transform,xt,bt,j)}}function Qt(j,...St){if(t.apply(this,arguments)){var gt,xt,Tt,Nt,at=j.touches,bt=at.length,V=Ut(this,St,j.changedTouches.length===bt).event(j);for(hr(j),xt=0;xt<bt;++xt)Nt=[Nt=je(Tt=at[xt],this),this.__zoom.invert(Nt),Tt.identifier],V.touch0?!V.touch1&&V.touch0[2]!==Nt[2]&&(V.touch1=Nt,V.taps=0):(V.touch0=Nt,gt=!0,V.taps=1+!!v);v&&(v=clearTimeout(v)),gt&&(V.taps<2&&(B=Nt[0],v=setTimeout(function(){v=null},500)),Hn(this),V.start())}}function oe(j,...St){if(this.__zooming){var gt,xt,Tt,Nt,at=Ut(this,St).event(j),bt=j.changedTouches,V=bt.length;for(xn(j),gt=0;gt<V;++gt)Tt=je(xt=bt[gt],this),at.touch0&&at.touch0[2]===xt.identifier?at.touch0[0]=Tt:at.touch1&&at.touch1[2]===xt.identifier&&(at.touch1[0]=Tt);if(xt=at.that.__zoom,at.touch1){var ve=at.touch0[0],te=at.touch0[1],pe
vendor: 4,295 bytes, line 1
1=at.touch1[0],ye=at.touch1[1],Zt=(Zt=pe[0]-ve[0])*Zt+(Zt=pe[1]-ve[1])*Zt,_e=(_e=ye[0]-te[0])*_e+(_e=ye[1]-te[1])*_e;xt=_t(xt,Math.sqrt(Zt/_e)),Tt=[(ve[0]+pe[0])/2,(ve[1]+pe[1])/2],Nt=[(te[0]+ye[0])/2,(te[1]+ye[1])/2]}else{if(!at.touch0)return;Tt=at.touch0[0],Nt=at.touch0[1]}at.zoom("touch",e(wt(xt,Tt,Nt),at.extent,c))}}function re(j,...St){if(this.__zooming){var gt,xt,at=Ut(this,St).event(j),bt=j.changedTouches,V=bt.length;for(hr(j),X&&clearTimeout(X),X=setTimeout(function(){X=null},500),gt=0;gt<V;++gt)xt=bt[gt],at.touch0&&at.touch0[2]===xt.identifier?delete at.touch0:at.touch1&&at.touch1[2]===xt.identifier&&delete at.touch1;if(at.touch1&&!at.touch0&&(at.touch0=at.touch1,delete at.touch1),at.touch0)at.touch0[1]=this.__zoom.invert(at.touch0[0]);else if(at.end(),2===at.taps&&(xt=je(xt,this),Math.hypot(B[0]-xt[0],B[1]-xt[1])<et)){var Tt=se(this).on("dblclick.zoom");Tt&&Tt.apply(this,arguments)}}}return J.transform=function(j,St,at,bt){var V=j.selection?j.selection():j;V.property("__zoom",ia),j!==V?Dt(j,St,at,bt):V.interrupt().each(function(){Ut(this,arguments).event(bt).start().zoom(null,"function"==typeof St?St.apply(this,arguments):St).end()})},J.scaleBy=function(j,St,at,bt){J.scaleTo(j,function(){return this.__zoom.k*("function"==typeof St?St.apply(this,arguments):St)},at,bt)},J.scaleTo=function(j,St,at,bt){J.transform(j,function(){var V=n.apply(this,arguments),gt=this.__zoom,xt=null==at?Et(V):"function"==typeof at?at.apply(this,arguments):at,Tt=gt.invert(xt),Nt="function"==typeof St?St.apply(this,arguments):St;return e(wt(_t(gt,Nt),xt,Tt),V,c)},at,bt)},J.translateBy=function(j,St,at,bt){J.transform(j,function(){return e(this.__zoom.translate("function"==typeof St?St.apply(this,arguments):St,"function"==typeof at?at.apply(this,arguments):at),n.apply(this,arguments),c)},null,bt)},J.translateTo=function(j,St,at,bt,V){J.transform(j,function(){var gt=n.apply(this,arguments),xt=this.__zoom,Tt=null==bt?Et(gt):"function"==typeof bt?bt.apply(this,arguments):bt;return e(qn.translate(Tt[0],Tt[1]).scale(xt.k).translate("function"==typeof St?-St.apply(this,arguments):-St,"function"==typeof at?-at.apply(this,arguments):-at),gt,c)},bt,V)},ie.prototype={event:function(j){return j&&(this.sourceEvent=j),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(j,St){return this.mouse&&"mouse"!==j&&(this.mouse[1]=St.invert(this.mouse[0])),this.touch0&&"touch"!==j&&(this.touch0[1]=St.invert(this.touch0[0])),this.touch1&&"touch"!==j&&(this.touch1[1]=St.invert(this.touch1[0])),this.that.__zoom=St,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(j){var St=se(this.that).datum();w.call(j,this.that,new po(j,{sourceEvent:this.sourceEvent,target:J,type:j,transform:this.that.__zoom,dispatch:w}),St)}},J.wheelDelta=function(j){return arguments.length?(r="function"==typeof j?j:Yn(+j),J):r},J.filter=function(j){return arguments.length?(t="function"==typeof j?j:Yn(!!j),J):t},J.touchable=function(j){return arguments.length?(a="function"==typeof j?j:Yn(!!j),J):a},J.extent=function(j){return arguments.length?(n="function"==typeof j?j:Yn([[+j[0][0],+j[0][1]],[+j[1][0],+j[1][1]]]),J):n},J.scaleExtent=function(j){return arguments.length?(s[0]=+j[0],s[1]=+j[1],J):[s[0],s[1]]},J.translateExtent=function(j){return arguments.length?(c[0][0]=+j[0][0],c[1][0]=+j[1][0],c[0][1]=+j[0][1],c[1][1]=+j[1][1],J):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},J.constrain=function(j){return arguments.length?(e=j,J):e},J.duration=function(j){return arguments.length?(l=+j,J):l},J.interpolate=function(j){return arguments.length?(C=j,J):C},J.on=function(){var j=w.on.apply(w,arguments);return j===w?J:j},J.clickDistance=function(j){return arguments.length?(yt=(j=+j)*j,J):Math.sqrt(yt)},J.tapDistance=function(j){return arguments.length?(et=+j,J):et},J},zoomIdentity:qn,linkHorizontal:function hl(){return function mr(t){let n=cl,e=ul,r=al,a=sl,s=null,c=null,l=function rl(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const r=Math.floor(e);if(!(r>=0))throw new RangeError(`invalid digits: ${e}`);n=r}return t},()=>new Qn(n)}(C);function C(){let w;const v=Ko.call(arguments),B=n.apply(this,v),X=e.apply(this,v);
1if(null==s&&(c=t(w=l())),c.lineStart(),v[0]=B,c.point(+r.apply(this,v),+a.apply(this,v)),v[0]=X,c.point(+r.apply(this,v),+a.apply(this,v)),c.lineEnd(),w)return c=null,w+""||null}return C.source=function(w){return arguments.length?(n=w,C):n},C.target=function(w){return arguments.length?(e=w,C):e},C.x=function(w){return arguments.length?(r="function"==typeof w?w:oa(+w),C):r},C.y=function(w){return arguments.length?(a="function"==typeof w?w:oa(+w),C):a},C.context=function(w){return arguments.length?(null==w?s=c=null:c=t(s=w),C):s},C}(tl)}};class dl{constructor(){const n={id:`ID${Math.floor(1e6*Math.random())}`,firstDraw:!0,svgWidth:800,svgHeight:window.innerHeight-100,scaleExtent:[.001,20],container:"body",defaultTextFill:"#2C3E50",defaultFont:"Helvetica",ctx:document.createElement("canvas").getContext("2d"),data:null,duration:400,setActiveNodeCentered:!0,expandLevel:1,compact:!0,rootMargin:40,nodeDefaultBackground:"none",connections:[],lastTransform:{x:0,y:0,k:1},nodeId:e=>e.nodeId||e.id,parentNodeId:e=>e.parentNodeId||e.parentId,backgroundColor:"none",zoomBehavior:null,defs:function(e,r){return`<defs>\n                    ${r.map(a=>{const s=this.getTextWidth(a.label,{ctx:e.ctx,fontSize:2,defaultFont:e.defaultFont});return`\n                       <marker id="${a.from+"_"+a.to}" refX="${a._source.x<a._target.x?-7:7}" refY="5" markerWidth="500"  markerHeight="500"  orient="${a._source.x<a._target.x?"auto":"auto-start-reverse"}" >\n                       <rect rx=0.5 width=${a.label?s+3:0} height=3 y=1  fill="#152785"></rect>\n                       <text font-size="2px" x=1 fill="white" y=3>${a.label||""}</text>\n                       </marker>\n\n                       <marker id="arrow-${a.from+"_"+a.to}"  markerWidth="500"  markerHeight="500"  refY="2"  refX="1" orient="${a._source.x<a._target.x?"auto":"auto-start-reverse"}" >\n                       <path transform="translate(0)" d='M0,0 V4 L2,2 Z' fill='#152785' />\n                       </marker>\n                    `}).join("")}\n                    </defs>\n                    `},connectionsUpdate:function(e,r,a){qt.select(this).attr("stroke",s=>"#152785").attr("stroke-linecap","round").attr("stroke-width",s=>"5").attr("pointer-events","none").attr("marker-start",s=>`url(#${s.from+"_"+s.to})`).attr("marker-end",s=>`url(#arrow-${s.from+"_"+s.to})`)},linkUpdate:function(e,r,a){qt.select(this).attr("stroke",s=>s.data._upToTheRootHighlighted?"#152785":"lightgray").attr("stroke-width",s=>s.data._upToTheRootHighlighted?5:2),e.data._upToTheRootHighlighted&&qt.select(this).raise()},nodeUpdate:function(e,r,a){qt.select(this).select(".node-rect").attr("stroke",s=>s.data._highlighted||s.data._upToTheRootHighlighted?"#152785":"none").attr("stroke-width",e.data._highlighted||e.data._upToTheRootHighlighted?10:1)},nodeWidth:e=>250,nodeHeight:e=>150,siblingsMargin:e=>20,childrenMargin:e=>60,neightbourMargin:(e,r)=>80,compactMarginPair:e=>100,compactMarginBetween:e=>20,onNodeClick:e=>e,linkGroupArc:qt.linkHorizontal().x(e=>e.x).y(e=>e.y),nodeContent:e=>`<div style="padding:5px;font-size:10px;">Sample Node(id=${e.id}), override using <br/> <br/> \n            <code>chart<br/>\n            &nbsp;.nodeContent({data}=>{ <br/>\n             &nbsp;&nbsp;&nbsp;&nbsp;return '' // Custom HTML <br/>\n             &nbsp;})</code>\n             <br/> <br/>\n             Or check different <a href="https://github.com/bumbeishvili/org-chart#jump-to-examples" target="_blank">layout examples</a>\n             \n             </div>`,layout:"top",buttonContent:({node:e,state:r})=>`<div style="border-radius:3px;padding:3px;font-size:10px;margin:auto auto;background-color:lightgray"> ${{left:s=>s?'<div style="margin-top:-10px;line-height:1.2;font-size:25px;height:22px">\u2039</div>':'<div style="margin-top:-10px;font-size:25px;height:23px">\u203a</div>',bottom:s=>s?'<div style="margin-top:-20px;font-size:25px">\u02ec</div>':'<div style="margin-top:0px;line-height:1.2;height:11px;font-size:25px">\u02c6</div>',right:s=>s?'<div style="margin-top:-10px;font-size:25px;height:23px">\u203a</div>':'<div style="margin-top:-10px;line-height:1.2;font-size:25px;height:22px">\u2039</div>',top:s=>s?'<div style="margin-top:0px;line-height:1.2;height:11px;font-size:25px">\u02c6</div>':'<div style="margin-top:-20px;font-size:25px">\u02ec</div>'}[r.layout](e.children)}  </div>
1`,layoutBindings:{left:{nodeLeftX:e=>0,nodeRightX:e=>e.width,nodeTopY:e=>-e.height/2,nodeBottomY:e=>e.height/2,nodeJoinX:e=>e.x+e.width,nodeJoinY:e=>e.y-e.height/2,linkJoinX:e=>e.x+e.width,linkJoinY:e=>e.y,linkX:e=>e.x,linkY:e=>e.y,linkCompactXStart:e=>e.x+e.width/2,linkCompactYStart:e=>e.y+(e.compactEven?e.height/2:-e.height/2),compactLinkMidX:(e,r)=>e.firstCompactNode.x,compactLinkMidY:(e,r)=>e.firstCompactNode.y+e.firstCompactNode.flexCompactDim[0]/4+r.compactMarginPair(e)/4,linkParentX:e=>e.parent.x+e.parent.width,linkParentY:e=>e.parent.y,buttonX:e=>e.width,buttonY:e=>e.height/2,centerTransform:({rootMargin:r,centerY:a,scale:s})=>`translate(${r},${a}) scale(${s})`,compactDimension:{sizeColumn:e=>e.height,sizeRow:e=>e.width,reverse:e=>e.slice().reverse()},nodeFlexSize:({height:e,width:r,siblingsMargin:a,childrenMargin:s,state:c,node:l})=>c.compact&&l.flexCompactDim?[l.flexCompactDim[0],l.flexCompactDim[1]]:[e+a,r+s],zoomTransform:({centerY:e,scale:r})=>`translate(0,${e}) scale(${r})`,diagonal:this.hdiagonal.bind(this),swap:e=>{const r=e.x;e.x=e.y,e.y=r},nodeUpdateTransform:({x:e,y:r,height:s})=>`translate(${e},${r-s/2})`},top:{nodeLeftX:e=>-e.width/2,nodeRightX:e=>e.width/2,nodeTopY:e=>0,nodeBottomY:e=>e.height,nodeJoinX:e=>e.x-e.width/2,nodeJoinY:e=>e.y+e.height,linkJoinX:e=>e.x,linkJoinY:e=>e.y+e.height,linkCompactXStart:e=>e.x+(e.compactEven?e.width/2:-e.width/2),linkCompactYStart:e=>e.y+e.height/2,compactLinkMidX:(e,r)=>e.firstCompactNode.x+e.firstCompactNode.flexCompactDim[0]/4+r.compactMarginPair(e)/4,compactLinkMidY:e=>e.firstCompactNode.y,compactDimension:{sizeColumn:e=>e.width,sizeRow:e=>e.height,reverse:e=>e},linkX:e=>e.x,linkY:e=>e.y,linkParentX:e=>e.parent.x,linkParentY:e=>e.parent.y+e.parent.height,buttonX:e=>e.width/2,buttonY:e=>e.height,centerTransform:({rootMargin:r,scale:s,centerX:c})=>`translate(${c},${r}) scale(${s})`,nodeFlexSize:({height:e,width:r,siblingsMargin:a,childrenMargin:s,state:c,node:l})=>c.compact&&l.flexCompactDim?[l.flexCompactDim[0],l.flexCompactDim[1]]:[r+a,e+s],zoomTransform:({centerX:e,scale:r})=>`translate(${e},0}) scale(${r})`,diagonal:this.diagonal.bind(this),swap:e=>{},nodeUpdateTransform:({x:e,y:r,width:a})=>`translate(${e-a/2},${r})`},bottom:{nodeLeftX:e=>-e.width/2,nodeRightX:e=>e.width/2,nodeTopY:e=>-e.height,nodeBottomY:e=>0,nodeJoinX:e=>e.x-e.width/2,nodeJoinY:e=>e.y-e.height-e.height,linkJoinX:e=>e.x,linkJoinY:e=>e.y-e.height,linkCompactXStart:e=>e.x+(e.compactEven?e.width/2:-e.width/2),linkCompactYStart:e=>e.y-e.height/2,compactLinkMidX:(e,r)=>e.firstCompactNode.x+e.firstCompactNode.flexCompactDim[0]/4+r.compactMarginPair(e)/4,compactLinkMidY:e=>e.firstCompactNode.y,linkX:e=>e.x,linkY:e=>e.y,compactDimension:{sizeColumn:e=>e.width,sizeRow:e=>e.height,reverse:e=>e},linkParentX:e=>e.parent.x,linkParentY:e=>e.parent.y-e.parent.height,buttonX:e=>e.width/2,buttonY:e=>0,centerTransform:({rootMargin:r,scale:s,centerX:c,chartHeight:l})=>`translate(${c},${l-r}) scale(${s})`,nodeFlexSize:({height:e,width:r,siblingsMargin:a,childrenMargin:s,state:c,node:l})=>c.compact&&l.flexCompactDim?[l.flexCompactDim[0],l.flexCompactDim[1]]:[r+a,e+s],zoomTransform:({centerX:e,scale:r})=>`translate(${e},0}) scale(${r})`,diagonal:this.diagonal.bind(this),swap:e=>{e.y=-e.y},nodeUpdateTransform:({x:e,y:r,width:a,height:s})=>`translate(${e-a/2},${r-s})`},right:{nodeLeftX:e=>-e.width,nodeRightX:e=>0,nodeTopY:e=>-e.height/2,nodeBottomY:e=>e.height/2,nodeJoinX:e=>e.x-e.width-e.width,nodeJoinY:e=>e.y-e.height/2,linkJoinX:e=>e.x-e.width,linkJoinY:e=>e.y,linkX:e=>e.x,linkY:e=>e.y,linkParentX:e=>e.parent.x-e.parent.width,linkParentY:e=>e.parent.y,buttonX:e=>0,buttonY:e=>e.height/2,linkCompactXStart:e=>e.x-e.width/2,linkCompactYStart:e=>e.y+(e.compactEven?e.height/2:-e.height/2),compactLinkMidX:(e,r)=>e.firstCompactNode.x,compactLinkMidY:(e,r)=>e.firstCompactNode.y+e.firstCompactNode.flexCompactDim[0]/4+r.compactMarginPair(e)/4,centerTransform:({rootMargin:r,centerY:a,scale:s,chartWidth:l})=>`translate(${l-r},${a}) scale(${s})`,nodeFlexSize:({height:e,width:r,siblingsMargin:a,childrenMargin:s,state:c,node:l})=>c.compact&&l.flexCompactDim?[l.flexCompactDim[0],l.flexCompactDim[1]]:[e+a,r+s],compactDimension:{sizeColumn:e=>e.height,sizeRow:e=>e.width,reverse:e=>e.slice().reverse()},zoomTransform:({centerY:e,scale:r})=>`translate(0,${e}) scale(${r})`,diagonal:this.hdiagonal.bind(this),swap:e=>{const r=e.x;e.x=-e.y,e.y=r},nodeUpdateTransform:({x:e,y:r,width:a,height:s})=>`translate(${e-a},${r-s/2})`}}};this.getChartState=()=>
1n,Object.keys(n).forEach(e=>{this[e]=function(r){return arguments.length?(n[e]=r,this):n[e]}}),this.initializeEnterExitUpdatePattern()}initializeEnterExitUpdatePattern(){qt.selection.prototype.patternify=function(n){var r=n.selector,a=n.tag,s=n.data||[r],c=this.selectAll("."+r).data(s,(l,C)=>"object"==typeof l&&l.id?l.id:C);return c.exit().remove(),(c=c.enter().append(a).merge(c)).attr("class",r),c}}getNodeChildren({data:n,children:e,_children:r},a){return a.push(n),e&&e.forEach(s=>{this.getNodeChildren(s,a)}),r&&r.forEach(s=>{this.getNodeChildren(s,a)}),a}initialZoom(n){return this.getChartState().lastTransform.k=n,this}render(){const n=this.getChartState();if(!n.data||0==n.data.length)return console.log("ORG CHART - Data is empty"),this;const e=qt.select(n.container),r=e.node().getBoundingClientRect();r.width>0&&(n.svgWidth=r.width);const a={id:`ID${Math.floor(1e6*Math.random())}`,chartWidth:n.svgWidth,chartHeight:n.svgHeight};if(n.calc=a,a.centerX=a.chartWidth/2,a.centerY=a.chartHeight/2,n.firstDraw){const l={zoom:null};l.zoom=qt.zoom().on("zoom",(C,w)=>this.zoomed(C,w)).scaleExtent(n.scaleExtent),n.zoomBehavior=l.zoom}n.flexTreeLayout=ra({nodeSize:l=>{const C=n.nodeWidth(l),w=n.nodeHeight(l),v=n.siblingsMargin(l),B=n.childrenMargin(l);return n.layoutBindings[n.layout].nodeFlexSize({state:n,node:l,width:C,height:w,siblingsMargin:v,childrenMargin:B})}}).spacing((l,C)=>l.parent==C.parent?0:n.neightbourMargin(l,C)),this.setLayouts({expandNodesFirst:!1});const s=e.patternify({tag:"svg",selector:"svg-chart-container"}).style("background-color",n.backgroundColor).attr("width",n.svgWidth).attr("height",n.svgHeight).attr("font-family",n.defaultFont);n.firstDraw&&s.call(n.zoomBehavior).on("dblclick.zoom",null).attr("cursor","move"),n.svg=s;const c=s.patternify({tag:"g",selector:"chart"});return n.centerG=c.patternify({tag:"g",selector:"center-group"}),n.linksWrapper=n.centerG.patternify({tag:"g",selector:"links-wrapper"}),n.nodesWrapper=n.centerG.patternify({tag:"g",selector:"nodes-wrapper"}),n.connectionsWrapper=n.centerG.patternify({tag:"g",selector:"connections-wrapper"}),n.defsWrapper=s.patternify({tag:"g",selector:"defs-wrapper"}),n.firstDraw&&n.centerG.attr("transform",()=>n.layoutBindings[n.layout].centerTransform({centerX:a.centerX,centerY:a.centerY,scale:n.lastTransform.k,rootMargin:n.rootMargin,root:n.root,chartHeight:a.chartHeight,chartWidth:a.chartWidth})),n.chart=c,this.update(n.root),qt.select(window).on(`resize.${n.id}`,()=>{const l=qt.select(n.container).node().getBoundingClientRect();n.svg.attr("width",l.width)}),n.firstDraw&&(n.firstDraw=!1),this}addNode(n){const e=this.getChartState(),r=e.allNodes.filter(({data:s})=>e.nodeId(s)===e.nodeId(n))[0],a=e.allNodes.filter(({data:s})=>e.nodeId(s)===e.parentNodeId(n))[0];return r?(console.log(`ORG CHART - ADD - Node with id "${e.nodeId(n)}" already exists in tree`),this):a?(n._centered&&!n._expanded&&(n._expanded=!0),e.data.push(n),this.updateNodesState(),this):(console.log(`ORG CHART - ADD - Parent node with i
1d "${e.parentNodeId(n)}" not found in the tree`),this)}removeNode(n){const e=this.getChartState(),r=e.allNodes.filter(({data:c})=>e.nodeId(c)==n)[0];return r?(r.descendants().forEach(c=>c.data._filteredOut=!0),this.getNodeChildren(r,[],e.nodeId).forEach(c=>c._filtered=!0),e.data=e.data.filter(c=>!c._filtered),this.updateNodesState.bind(this)(),this):(console.log(`ORG CHART - REMOVE - Node with id "${n}" not found in the tree`),this)}groupBy(n,e,r){const a={};return n.forEach(s=>{const c=e(s);a[c]||(a[c]=[]),a[c].push(s)}),Object.keys(a).forEach(s=>{a[s]=r(a[s])}),Object.entries(a)}calculateCompactFlexDimensions(n){const e=this.getChartState();n.eachBefore(r=>{r.firstCompact=null,r.compactEven=null,r.flexCompactDim=null,r.firstCompactNode=null}),n.eachBefore(r=>{if(r.children&&r.children.length>1){const a=r.children.filter(v=>!v.children);if(a.length<2)return;a.forEach((v,B)=>{B||(v.firstCompact=!0),v.compactEven=!(B%2),v.row=Math.floor(B/2)});const s=qt.max(a.filter(v=>v.compactEven),e.layoutBindings[e.layout].compactDimension.sizeColumn),c=qt.max(a.filter(v=>!v.compactEven),e.layoutBindings[e.layout].compactDimension.sizeColumn),l=2*Math.max(s,c),C=this.groupBy(a,v=>v.row,v=>qt.max(v,B=>e.layoutBindings[e.layout].compactDimension.sizeRow(B)+e.compactMarginBetween(B))),w=qt.sum(C.map(v=>v[1]));a.forEach(v=>{v.firstCompactNode=a[0],v.flexCompactDim=v.firstCompact?[l+e.compactMarginPair(v),w-e.compactMarginBetween(v)]:[0,0]}),r.flexCompactDim=null}})}calculateCompactFlexPositions(n){const e=this.getChartState();n.eachBefore(r=>{if(r.children){const a=r.children.filter(v=>v.flexCompactDim),s=a[0];if(!s)return;a.forEach((v,B,X)=>{0==B&&(s.x-=s.flexCompactDim[0]/2),B&B%2-1?v.x=s.x+.25*s.flexCompactDim[0]-e.compactMarginPair(v)/4:B&&(v.x=s.x+.75*s.flexCompactDim[0]+e.compactMarginPair(v)/4)});const c=s.x+.5*s.flexCompactDim[0];s.x=s.x+.25*s.flexCompactDim[0]-e.compactMarginPair(s)/4;const l=r.x-c;Math.abs(l)<10&&a.forEach(v=>v.x+=l);const C=this.groupBy(a,v=>v.row,v=>qt.max(v,B=>e.layoutBindings[e.layout].compactDimension.sizeRow(B))),w=qt.cumsum(C.map(v=>v[1]+e.compactMarginBetween(v)));a.forEach((v,B)=>{v.y=v.row?s.y+w[v.row-1]:s.y})}})}update({x0:n,y0:e,x:r=0,y:a=0,width:s,height:c}){const l=this.getChartState();l.compact&&this.calculateCompactFlexDimensions(l.root);const w=l.flexTreeLayout(l.root);l.compact&&this.calculateCompactFlexPositions(l.root);const v=w.descendants(),B=w.descendants().slice(1);v.forEach(l.layoutBindings[l.layout].swap);const X=l.connections,$={};l.allNodes.forEach(V=>$[l.nodeId(V.data)]=V);const ut={};v.forEach(V=>ut[l.nodeId(V.data)]=V),X.forEach(V=>
1{const xt=$[V.to];V._source=$[V.from],V._target=xt});const yt=X.filter(V=>ut[V.from]&&ut[V.to]),et=l.defs.bind(this)(l,yt);et!==l.defsWrapper.html()&&l.defsWrapper.html(et);const _t=l.linksWrapper.selectAll("path.link").data(B,V=>l.nodeId(V.data)),Et=_t.enter().insert("path","g").attr("class","link").attr("d",V=>{const Tt={x:l.layoutBindings[l.layout].linkJoinX({x:n,y:e,width:s,height:c}),y:l.layoutBindings[l.layout].linkJoinY({x:n,y:e,width:s,height:c})};return l.layoutBindings[l.layout].diagonal(Tt,Tt,Tt)}).merge(_t);Et.attr("fill","none"),Et.each(l.linkUpdate),Et.transition().duration(l.duration).attr("d",V=>{const gt=l.compact&&V.flexCompactDim?{x:l.layoutBindings[l.layout].compactLinkMidX(V,l),y:l.layoutBindings[l.layout].compactLinkMidY(V,l)}:{x:l.layoutBindings[l.layout].linkX(V),y:l.layoutBindings[l.layout].linkY(V)},xt={x:l.layoutBindings[l.layout].linkParentX(V),y:l.layoutBindings[l.layout].linkParentY(V)},Tt=l.compact&&V.flexCompactDim?{x:l.layoutBindings[l.layout].linkCompactXStart(V),y:l.layoutBindings[l.layout].linkCompactYStart(V)}:gt;return l.layoutBindings[l.layout].diagonal(gt,xt,Tt)}),_t.exit().transition().duration(l.duration).attr("d",V=>{const Tt={x:l.layoutBindings[l.layout].linkJoinX({x:r,y:a,width:s,height:c}),y:l.layoutBindings[l.layout].linkJoinY({x:r,y:a,width:s,height:c})};return l.layoutBindings[l.layout].diagonal(Tt,Tt)}).remove();const Ut=l.connectionsWrapper.selectAll("path.connection").data(yt),Gt=Ut.enter().insert("path","g").attr("class","connection").attr("d",V=>{const Tt={x:l.layoutBindings[l.layout].linkJoinX({x:n,y:e,width:s,height:c}),y:l.layoutBindings[l.layout].linkJoinY({x:n,y:e,width:s,height:c})};return l.layoutBindings[l.layout].diagonal(Tt,Tt)}).merge(Ut);Gt.attr("fill","none"),Gt.transition().duration(l.duration).attr("d",V=>{const gt=l.layoutBindings[l.layout].linkX({x:V._source.x,y:V._source.y,width:V._source.width,height:V._source.height}),xt=l.layoutBindings[l.layout].linkY({x:V._source.x,y:V._source.y,width:V._source.width,height:V._source.height}),Tt=l.layoutBindings[l.layout].linkJoinX({x:V._target.x,y:V._target.y,width:V._target.width,height:V._target.height}),Nt=l.layoutBindings[l.layout].linkJoinY({x:V._target.x,y:V._target.y,width:V._target.width,height:V._target.height});return l.linkGroupArc({source:{x:gt,y:xt},target:{x:Tt,y:Nt}})}),Gt.each(l.connectionsUpdate),Ut.exit().transition().duration(l.duration).attr("opacity",0).remove();const jt=l.nodesWrapper.selectAll("g.node").data(v,({data:V})=>l.nodeId(V)),Qt=jt.enter().append("g").attr("class","node").attr("transform",V=>V==l.root?`translate(${n},${e})`:`translate(${l.layoutBindings[l.layout].nodeJoinX({x:n,y:e,width:s,height:c})},${l.layoutBindings[l.layout].nodeJoinY({x:n,y:e,width:s,height:c})})`).attr("cursor","pointer").on("click",(V,{data:gt})=>{[...V.srcElement.classList].includes("node-button-foreign-object")||l.onNodeClick(l.nodeId(gt))});Qt.patternify({tag:"rect",selector:"node-rect",data:V=>[V]});const oe=Qt.merge(jt).style("font","12px sans-serif");oe.patternify({tag:"foreignObject",selector:"node-foreign-object",data:V=>[V]}).style("overflow","visible").patternify({tag:"xhtml:div",selector:"node-foreign-object-div",data:V=>[V]}),this.restyleForeignObjectElements();const j=Qt.patternify({tag:"g",selector:"node-button-g",data:V=>[V]}).on("click",(V,gt)=>this.onButtonClick(V,gt)).on("keydown",(V,gt)=>{("Enter"===V.key||" "===V.key||"Spacebar"===V.key)&&this.onButtonClick(V,gt)});j.patternify({tag:"rect",selector:"node-button-rect",data:V=>[V]}).attr("opacity",0).attr("pointer-events","all").attr("width",40).attr("height",40).attr("x",-20).attr("y",-20),j.patternify({tag:"foreignObject",selector:"node-button-foreign-object",data:V=>[V]}).attr("width",40).attr("height",40).attr("x",-20).attr("y",-20).style("overflow","visible").patternify({tag:"xhtml:div",selector:"node-button-div",data:V=>[V]}).style("pointer-events","none").style("display","flex").style("width","100%").style("height","100%"),oe.transition().attr("opacity",0).duration(l.duration).attr("transform",({x:V,y:gt,width:xt,height:Tt})=>l.layoutBindings[l.layout].nodeUpdateTransform({x:V,y:gt,width:xt,height:Tt})).attr("opacity",1),oe.select(".node-rect").attr("width",({width:V})=>V).attr("height",({height:V})=>V).attr("x",({})=>0).attr("y",({})=>0).attr("cursor","pointer").attr("rx",3).attr("fill",l.nodeDefaultBackgroun
1d),oe.select(".node-button-g").attr("transform",({width:gt,height:xt})=>`translate(${l.layoutBindings[l.layout].buttonX({width:gt,height:xt})},${l.layoutBindings[l.layout].buttonY({width:gt,height:xt})})`).attr("display",({data:V})=>V._directSubordinates>0?null:"none").attr("opacity",({children:V,_children:gt})=>V||gt?1:0),oe.select(".node-button-foreign-object .node-button-div").html(V=>l.buttonContent({node:V,state:l})),oe.select(".node-button-text").attr("text-anchor","middle").attr("alignment-baseline","middle").attr("fill",l.defaultTextFill).attr("font-size",({children:V})=>V?40:26).text(({children:V})=>V?"-":"+").attr("y",this.isEdge()?10:0),oe.each(l.nodeUpdate),jt.exit().attr("opacity",1).transition().duration(l.duration).attr("transform",V=>`translate(${l.layoutBindings[l.layout].nodeJoinX({x:r,y:a,width:s,height:c})},${l.layoutBindings[l.layout].nodeJoinY({x:r,y:a,width:s,height:c})})`).on("end",function(){qt.select(this).remove()}).attr("opacity",0),v.forEach(V=>{V.x0=V.x,V.y0=V.y});const bt=l.allNodes.filter(V=>V.data._centered)[0];if(bt){const V=bt.data._centeredWithDescendants?bt.descendants().filter((gt,xt)=>xt<7):[bt];bt.data._centeredWithDescendants=null,bt.data._centered=null,this.fit({animate:!0,scale:!1,nodes:V})}}isEdge(){return window.navigator.userAgent.includes("Edge")}hdiagonal(n,e,r){const a=n.x,s=n.y,c=e.x,l=e.y;let C=r&&r.x||a,w=r&&r.y||s,v=c-a<0?-1:1,B=l-s<0?-1:1,$=Math.abs(c-a)/2<35?Math.abs(c-a)/2:35;$=Math.abs(l-s)/2<$?Math.abs(l-s)/2:$,Math.abs(l-s);let yt=Math.abs(c-a)/2-$;return`\n                  M ${C} ${w}\n                  L ${C} ${s}\n                  L ${a} ${s}\n                  L ${a+yt*v} ${s}\n                  C ${a+yt*v+$*v} ${s} \n                    ${a+yt*v+$*v} ${s} \n                    ${a+yt*v+$*v} ${s+$*B}\n                  L ${a+yt*v+$*v} ${l-$*B} \n                  C ${a+yt*v+$*v}  ${l} \n                    ${a+yt*v+$*v}  ${l} \n                    ${c-yt*v}  ${l}\n                  L ${c} ${l}\n       `}diagonal(n,e,r){const a=n.x,s=n.y,c=e.x,l=e.y;let C=r&&r.x||a,w=r&&r.y||s,v=c-a<0?-1:1,B=l-s<0?-1:1,$=Math.abs(c-a)/2<35?Math.abs(c-a)/2:35;$=Math.abs(l-s)/2<$?Math.abs(l-s)/2:$;let ut=Math.abs(l-s)/2-$;return`\n                  M ${C} ${w}\n                  L ${a} ${w}\n                  L ${a} ${s}\n                  L ${a} ${s+ut*B}\n                  C  ${a} ${s+ut*B+$*B} ${a} ${s+ut*B+$*B} ${a+$*v} ${s+ut*B+$*B}\n                  L ${a+(Math.abs(c-a)-2*$)*v+$*v} ${s+ut*B+$*B}\n                  C  ${c}  ${s+ut*B+$*B} ${c}  ${s+ut*B+$*B} ${c} ${l-ut*B}\n                  L ${c} ${l}\n       `}restyleForeignObjectElements(){const n=this.getChartState();n.svg.selectAll(".node-foreign-object").attr("width",({width:e})=>e).attr("height",({height:e})=>e).attr("x",({})=>0).attr("y",({})=>0),n.svg.selectAll(".node-foreign-object-div").style("width",({width:e})=>`${e}px`).style("height",({height:e})=>`${e}px`).html(function(e,r,a){return n.nodeContent.bind(this)(e,r,a,n)})}onButtonClick(n,e){this.getChartState().setActiveNodeCentered&&(e.data._centered=!0,e.data._centeredWithDescendants=!0),e.children?(e._children=e.children,e.children=null,this.setExpansionFlagToChildren(e,!1)):(e.children=e._children,e._children=null,e.children&&e.children.forEach(({data:a})=>a._expanded=!0)),this.update(e)}setExpansionFlagToChildren({data:n,children:e,_children:r},a){n._expanded=a,e&&e.forEach(s=>{this.setExpansionFlagToChildren(s,a)}),r&&r.forEach(s=>{this.setExpansionFlagToChildren(s,a)})}expandSomeNodes(n){if(n.data._expanded){let e=n.parent;for(;e;)e._children&&(e.children=e._children),e=e.parent}n._children&&n._children.forEach(e=>this.expandSomeNodes(e)),n.children&&n.children.forEach(e=>this.expandSomeNodes(e))}updateNodesState(){const n=this.getChartState();this.setLayouts({expandNodesFirst:!0}),this.update(n.root)}setLayouts({expandNodesFirst:n=!0}){const e=this.getChartState();e.root=qt.stratify().id(r=>e.nodeId(r)).parentId(r=>e.parentNodeId(r))(e.data),e.root.each((r,a,s)=>{let c=e.nodeWidth(r),l=e.nodeHeight(r);Object.assign(r,{width:c,height:l})}),e.root.x0=0,e.root.y0=0,e.allNodes=e.root.descendants(),e.allNodes.forEac
1h(r=>{Object.assign(r.data,{_directSubordinates:r.children?r.children.length:0,_totalSubordinates:r.descendants().length-1})}),e.root.children&&(n&&e.root.children.forEach(this.expand),e.root.children.forEach(r=>this.collapse(r)),0==e.expandLevel&&(e.root._children=e.root.children,e.root.children=null),[e.root].forEach(r=>this.expandSomeNodes(r)))}collapse(n){n.children&&(n._children=n.children,n._children.forEach(e=>this.collapse(e)),n.children=null)}expand(n){n._children&&(n.children=n._children,n.children.forEach(e=>this.expand(e)),n._children=null)}zoomed(n,e){const r=this.getChartState(),a=r.chart,s=n.transform;r.lastTransform=s,a.attr("transform",s),this.isEdge()&&this.restyleForeignObjectElements()}zoomTreeBounds({x0:n,x1:e,y0:r,y1:a,params:s={animate:!0,scale:!0}}){const{centerG:c,svgWidth:l,svgHeight:C,svg:w,zoomBehavior:v,duration:B,lastTransform:X}=this.getChartState();let $=Math.min(8,.9/Math.max((e-n)/l,(a-r)/C)),ut=qt.zoomIdentity.translate(l/2,C/2);ut=ut.scale(s.scale?$:X.k),ut=ut.translate(-(n+e)/2,-(r+a)/2),w.transition().duration(s.animate?B:0).call(v.transform,ut),c.transition().duration(s.animate?B:0).attr("transform","translate(0,0)")}fit({animate:n=!0,nodes:e,scale:r=!0}={}){const a=this.getChartState(),{root:s}=a;let c=e||s.descendants();const l=qt.min(c,B=>B.x+a.layoutBindings[a.layout].nodeLeftX(B)),C=qt.max(c,B=>B.x+a.layoutBindings[a.layout].nodeRightX(B)),w=qt.min(c,B=>B.y+a.layoutBindings[a.layout].nodeTopY(B)),v=qt.max(c,B=>B.y+a.layoutBindings[a.layout].nodeBottomY(B));return this.zoomTreeBounds({params:{animate:n,scale:r},x0:l-50,x1:C+50,y0:w-50,y1:v+50}),this}setExpanded(n,e=!0){const r=this.getChartState(),a=r.allNodes.filter(({data:s})=>r.nodeId(s)==n)[0];return a?(a.data._expanded=e,this):(console.log(`ORG CHART - ${e?"EXPAND":"COLLAPSE"} - Node with id (${n})  not found in the tree`),this)}setCentered(n){const e=this.getChartState(),r=e.allNodes.filter(a=>e.nodeId(a.data)===n)[0];return r?(r.data._centered=!0,r.data._expanded=!0,this):(console.log(`ORG CHART - CENTER - Node with id (${n}) not found in the tree`),this)}setHighlighted(n){const e=this.getChartState(),r=e.allNodes.filter(a=>e.nodeId(a.data)===n)[0];return r?(r.data._highlighted=!0,r.data._expanded=!0,r.data._centered=!0,this):(console.log(`ORG CHART - HIGHLIGHT - Node with id (${n})  not found in the tree`),this)}setUpToTheRootHighlighted(n){const e=this.getChartState(),r=e.allNodes.filter(a=>e.nodeId(a.data)===n)[0];return r?(r.data._upToTheRootHighlighted=!0,r.data._expanded=!0,r.ancestors().forEach(a=>a.data._upToTheRootHighlighted=!0),this):(console.log(`ORG CHART - HIGHLIGHTROOT - Node with id (${n}) not found in the tree`),this)}clearHighlighting(){const n=this.getChartState();n.allNodes.forEach(e=>{e.data._highlighted=!1,e.data._upToTheRootHighlighted=!1}),this.update(n.root)}fullscreen(n){const e=this.getChartState(),r=qt.select(n||e.container).node();qt.select(document).on("fullscreenchange."+e.id,function(a){(document.fullscreenElement||document.mozFullscreenElement||document.webkitFullscreenElement)==r?setTimeout(c=>{e.svg.attr("height",window.innerHeight-40)},500):e.svg.attr("height",e.svgHeight)}),r.requestFullscreen?r.requestFullscreen():r.mozRequestFullScreen?r.mozRequestFullScreen():r.webkitRequestFullscreen?r.webkitRequestFullscreen():r.msRequestFullscreen&&r.msRequestFullscreen()}zoomIn(){const{svg:n,zoomBehavior:e}=this.getChartState();n.transition().call(e.scaleBy,1.3)}zoomOut(){const{svg:n,zoomBehavior:e}=this.getChartState();n.transition().call(e.scaleBy,.78)}toDataURL(n,e){var r=new XMLHttpRequest;r.onload=function(){var a=new FileReader;a.onloadend=function(){e(a.result)},a.readAsDataURL(r.response)},r.open("GET",n),r.responseType="blob",r.send()}exportImg({full:n=!1,scale:e=3,onLoad:r=s=>s,save:a=!0}={}){const s=this,c=this.getChartState(),{svg:l,root:C}=c;let w=0;const v=l.selectAll("img");let B=v.size();const X=()=>{JSON.parse(JSON.stringify(s.lastTransform()));const ut=s.duration();n&&s.fit();const{svg:yt}=s.getChartState();setTimeout(et=>{s.downloadImage({node:yt.node(),scale:e,isSvg:!1,onAlreadySerialized:J=>{s.update(C)},onLoad:r,save:a})},n?ut+10:0)};B>0?v.each(function(){s.toDataURL(this.src,$=>{this.src=$,++w==B&&X()})}):X()}exportSvg(){const{svg:n}
1=this.getChartState();return this.downloadImage({node:n.node(),scale:3,isSvg:!0}),this}expandAll(){const{allNodes:n}=this.getChartState();return n.forEach(r=>r.data._expanded=!0),this.render(),this}collapseAll(){const{allNodes:n}=this.getChartState();return n.forEach(r=>r.data._expanded=!1),this.expandLevel(0),this.render(),this}downloadImage({node:n,scale:e=2,isSvg:r=!1,save:a=!0,onAlreadySerialized:s=l=>{},onLoad:c=l=>{}}){const l=n;if(r){let $=X(l);return $='<?xml version="1.0" standalone="no"?>\r\n'+$,B(v="data:image/svg+xml;charset=utf-8,"+encodeURIComponent($),"graph.svg"),void s()}const C=e,w=document.createElement("img");w.onload=function(){const $=document.createElement("canvas"),ut=l.getBoundingClientRect();$.width=ut.width*C,$.height=ut.height*C;const yt=$.getContext("2d");yt.fillStyle="#FAFAFA",yt.fillRect(0,0,ut.width*C,ut.height*C),yt.drawImage(w,0,0,ut.width*C,ut.height*C);let et=$.toDataURL("image/png");c&&c(et),a&&B(et,"graph.png")};var v="data:image/svg+xml; charset=utf8, "+encodeURIComponent(X(l));function B($,ut){var yt=document.createElement("a");"string"==typeof yt.download?(document.body.appendChild(yt),yt.download=ut,yt.href=$,yt.click(),document.body.removeChild(yt)):location.replace($)}function X($){const ut="http://www.w3.org/2000/xmlns/";$=$.cloneNode(!0);const J=window.location.href+"#",_t=document.createTreeWalker($,NodeFilter.SHOW_ELEMENT,null,!1);for(;_t.nextNode();)for(const Dt of _t.currentNode.attributes)Dt.value.includes(J)&&(Dt.value=Dt.value.replace(J,"#"));return $.setAttributeNS(ut,"xmlns","http://www.w3.org/2000/svg"),$.setAttributeNS(ut,"xmlns:xlink","http://www.w3.org/1999/xlink"),(new XMLSerializer).serializeToString($)}s(),w.src=v}getTextWidth(n,{fontSize:e=14,fontWeight:r=400,defaultFont:a="Helvetice",ctx:s}={}){return s.font=`${r||""} ${e}px ${a} `,s.measureText(n).width}}Math;function Cn(t){return{type:t}}["w","e"].map(Cn),["n","s"].map(Cn),["n","w","e","s","nw","ne","sw","se"].map(Cn);const El=["chartContainer"];function Tl(t,n){if(1&t){const e=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"div",2)(1,"i",4),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(e);const a=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(a.zoomed(!0))}),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(2,"i",5),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(e);const a=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(a.zoomed(!1))}),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"i",6),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(e);const a=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(a.swapGraph())}),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(4,"i",7),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(e);const a=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(a.fitGraph())}),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(5,"i",8),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(e);const a=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(a.restartGraph())}),f.\u0275\u0275elementEnd()()}2&t&&(f.\u0275\u0275advance(),f.\u0275\u0275property("title","Zoom In"),f.\u0275\u0275advance(),f.\u0275\u0275property("title","Zoom Out"),f.\u0275\u0275advance(),f.\u0275\u0275property("title","Swap"),f.\u0275\u0275advance(2),f.\u0275\u0275property("title","Restore"))}function Il(t,n){1&t&&(f.\u0275\u0275elementStart(0,"div",3),f.\u0275\u0275text(1," No data to display "),f.\u0275\u0275elementEnd())}let zl=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=f.\u0275\u0275defineComponent({type:t,selectors:[["vcn-event-device-icon"]],inputs:{customClass:"customClass"},standalone:!1,decls:22,vars:2,consts:[["viewBox","0 0 30 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["filter","url(#filter0_di_2301_5659)"],["d","M25.8312 0.147949H3.60894C2.38209 0.147949 1.38672 1.14332 1.38672 2.37017V17.185C1.38672 18.4118 2.38209 19.4072 3.60894 19.4072H12.4978L11.7571 21.6294H8.42376C7.80802 21.6294 7.31264 22.1248 7.31264 22.7405C7.31264 23.3563 7.80802 23.8517 8.42376 23.8517H21.0163C21.6321 23.8517 22.1275 23.3563 22.1275 22.7405C22.1275 22.1248 21.6321 21.6294 21.0163 21.6294H17.683L16.9423 19.4072H25.8312C27.058 19.4072 28.0534 18.4118 28.0534 17.185V2.37017C28.0534 1.14332 27.058 0.147949 25.8312 0.147949ZM25.0904 16.4442H4.34968V3.11091H25.0904V16.4442Z","fill","url(#paint0_linear_2301_5659)"],["
1id","filter0_di_2301_5659","x","0.386719","y","0.147949","width","28.668","height","25.7036","filterUnits","userSpaceOnUse","color-interpolation-filters","sRGB"],["flood-opacity","0","result","BackgroundImageFix"],["in","SourceAlpha","type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0","result","hardAlpha"],["dy","1"],["stdDeviation","0.5"],["in2","hardAlpha","operator","out"],["type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"],["mode","normal","in2","BackgroundImageFix","result","effect1_dropShadow_2301_5659"],["mode","normal","in","SourceGraphic","in2","effect1_dropShadow_2301_5659","result","shape"],["stdDeviation","1"],["in2","hardAlpha","operator","arithmetic","k2","-1","k3","1"],["type","matrix","values","0 0 0 0 0.675 0 0 0 0 0.675 0 0 0 0 0.675 0 0 0 0.15 0"],["mode","normal","in2","shape","result","effect2_innerShadow_2301_5659"],["id","paint0_linear_2301_5659","x1","14.7201","y1","0.147949","x2","14.7201","y2","23.8517","gradientUnits","userSpaceOnUse"],["stop-color","#AEAEAE"],["offset","1","stop-color","#595A5A"]],template:function(r,a){1&r&&(f.\u0275\u0275namespaceSVG(),f.\u0275\u0275elementStart(0,"svg",0)(1,"g",1),f.\u0275\u0275element(2,"path",2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"defs")(4,"filter",3),f.\u0275\u0275element(5,"feFlood",4)(6,"feColorMatrix",5)(7,"feOffset",6)(8,"feGaussianBlur",7)(9,"feComposite",8)(10,"feColorMatrix",9)(11,"feBlend",10)(12,"feBlend",11)(13,"feColorMatrix",5)(14,"feOffset")(15,"feGaussianBlur",12)(16,"feComposite",13)(17,"feColorMatrix",14)(18,"feBlend",15),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(19,"linearGradient",16),f.\u0275\u0275element(20,"stop",17)(21,"stop",18),f.\u0275\u0275elementEnd()()()),2&r&&f.\u0275\u0275classMap(a.customClass)},encapsulation:2,changeDetection:0})}}return t})(),Al=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=f.\u0275\u0275defineComponent({type:t,selectors:[["vcn-event-file-icon"]],inputs:{customClass:"customClass"},standalone:!1,decls:22,vars:2,consts:[["width","18","height","22","viewBox","0 0 18 22","fill","none","xmlns","http://www.w3.org/2000/svg"],["filter","url(#filter0_di_2211_525)"],["d","M10.25 5.3125V0H2.4375C1.91797 0 1.5 0.417969 1.5 0.9375V19.0625C1.5 19.582 1.91797 20 2.4375 20H15.5625C16.082 20 16.5 19.582 16.5 19.0625V6.25H11.1875C10.6719 6.25 10.25 5.82812 10.25 5.3125ZM16.5 4.76172V5H11.5V0H11.7383C11.9883 0 12.2266 0.0976562 12.4023 0.273438L16.2266 4.10156C16.4023 4.27734 16.5 4.51563 16.5 4.76172Z","fill","url(#paint0_radial_2211_525)"],["id","filter0_di_2211_525","x","0.5","y","0","width","17","height","22","filterUnits","userSpaceOnUse","color-interpolation-filters","sRGB"],["flood-opacity","0","result","BackgroundImageFix"],["in","SourceAlpha","type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0","result","hardAlpha"],["dy","1"],["stdDeviation","0.5"],["in2","hardAlpha","operator","out"],["type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"],["mode","normal","in2","BackgroundImageFix","result","effect1_dropShadow_2211_525"],["mode","normal","in","SourceGraphic","in2","effect1_dropShadow_2211_525","result","shape"],["in2","hardAlpha","operator","arithmetic","k2","-1","k3","1"],["mode","normal","in2","shape","result","effect2_innerShadow_2211_525"],["id","paint0_radial_2211_525","cx","0","cy","0","r","1","gradientUnits","userSpaceOnUse","gradientTransform","translate(8.47853) rotate(88.5064) scale(20.0068 25.9506)"],["stop-color","#EBEBEB"],["offset","1","stop-color","#BBB9B9"]],template:function(r,a){1&r&&(f.\u0275\u0275namespaceSVG(),f.\u0275\u0275elementStart(0,"svg",0)(1,"g",1),f.\u0275\u0275element(2,"path",2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"defs")(4,"filter",3),f.\u0275\u0275element(5,"feFlood",4)(6,"feColorMatrix",5)(7,"feOffset",6)(8,"feGaussianBlur",7)(9,"feComposite",8)(10,"feColorMatrix",9)(11,"feBlend",10)(12,"feBlend",11)(13,"feColorMatrix",5)(14,"feOffset")(15,"feGaussianBlur",7)(16,"feComposite",12)(17,"feColorMatrix",9)(18,"feBlend",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(19,"radialGradient",14),f.\u0275\u0275element(2
10,"stop",15)(21,"stop",16),f.\u0275\u0275elementEnd()()()),2&r&&f.\u0275\u0275classMap(a.customClass)},encapsulation:2,changeDetection:0})}}return t})(),Dl=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=f.\u0275\u0275defineComponent({type:t,selectors:[["vcn-event-network-icon"]],inputs:{customClass:"customClass"},standalone:!1,decls:6,vars:2,consts:[["fill","currentColor","viewBox","0 0 26 26","xmlns","http://www.w3.org/2000/svg"],["id","event-network-gradient","x1","0%","y1","0%","x2","0%","y2","100%"],["offset","0%","stop-color","#5C80A1"],["offset","100%","stop-color","#CADBEB"],["d","M 13.00,0.50\n      C 6.10,0.50 0.50,6.10 0.50,13.00\n        0.50,19.90 6.10,25.50 13.00,25.50\n        19.90,25.50 25.50,19.90 25.50,13.00\n        25.50,6.10 19.90,0.50 13.00,0.50 Z\n      M 17.15,18.52\n      C 16.95,18.72 16.74,18.92 16.58,19.09\n        16.43,19.24 16.32,19.43 16.27,19.63\n        16.19,19.92 16.13,20.21 16.03,20.48\n        16.03,20.48 15.15,22.84 15.15,22.84\n        14.46,23.00 13.74,23.08 13.00,23.08\n        13.00,23.08 13.00,21.70 13.00,21.70\n        13.09,21.06 12.61,19.87 11.86,19.12\n        11.56,18.82 11.39,18.40 11.39,17.98\n        11.39,17.98 11.39,16.36 11.39,16.36\n        11.39,15.78 11.07,15.24 10.56,14.95\n        9.83,14.55 8.80,13.99 8.10,13.64\n        7.52,13.35 6.98,12.98 6.50,12.54\n        6.50,12.54 6.46,12.51 6.46,12.51\n        6.12,12.19 5.81,11.84 5.55,11.46\n        5.08,10.77 4.31,9.62 3.81,8.88\n        4.84,6.59 6.70,4.75 9.01,3.75\n        9.01,3.75 10.22,4.35 10.22,4.35\n        10.76,4.62 11.39,4.23 11.39,3.63\n        11.39,3.63 11.39,3.06 11.39,3.06\n        11.79,3.00 12.20,2.95 12.62,2.94\n        12.62,2.94 14.04,4.37 14.04,4.37\n        14.36,4.68 14.36,5.19 14.04,5.51\n        14.04,5.51 13.81,5.74 13.81,5.74\n        13.81,5.74 13.29,6.26 13.29,6.26\n        13.13,6.42 13.13,6.68 13.29,6.83\n        13.29,6.83 13.52,7.07 13.52,7.07\n        13.68,7.23 13.68,7.48 13.52,7.64\n        13.52,7.64 13.12,8.04 13.12,8.04\n        13.04,8.12 12.94,8.16 12.83,8.16\n        12.83,8.16 12.38,8.16 12.38,8.16\n        12.28,8.16 12.17,8.20 12.10,8.28\n        12.10,8.28 11.60,8.76 11.60,8.76\n        11.54,8.82 11.50,8.90 11.48,8.98\n        11.47,9.07 11.48,9.15 11.52,9.23\n        11.52,9.23 12.30,10.80 12.30,10.80\n        12.44,11.07 12.24,11.39 11.94,11.39\n        11.94,11.39 11.66,11.39 11.66,11.39\n        11.56,11.39 11.47,11.35 11.40,11.29\n        11.40,11.29 10.93,10.88 10.93,10.88\n        10.82,10.79 10.69,10.73 10.56,10.70\n        10.42,10.67 10.28,10.68 10.14,10.73\n        10.14,10.73 8.57,11.25 8.57,11.25\n        8.45,11.29 8.35,11.37 8.28,11.47\n        8.20,11.57 8.16,11.69 8.16,11.82\n        8.16,12.05 8.29,12.26 8.49,12.36\n        8.49,12.36 9.05,12.64 9.05,12.64\n        9.53,12.88 10.
105,13.00 10.58,13.00\n        11.11,13.00 11.72,14.38 12.19,14.61\n        12.19,14.61 15.56,14.61 15.56,14.61\n        15.99,14.61 16.40,14.78 16.70,15.08\n        16.70,15.08 17.39,15.77 17.39,15.77\n        17.68,16.06 17.84,16.45 17.84,16.86\n        17.84,17.17 17.78,17.48 17.66,17.76\n        17.54,18.05 17.37,18.31 17.15,18.52\n        17.15,18.52 17.15,18.52 17.15,18.52 Z\n      M 21.52,13.92\n      C 21.23,13.85 20.97,13.67 20.80,13.42\n        20.80,13.42 19.90,12.06 19.90,12.06\n        19.77,11.86 19.70,11.63 19.70,11.39\n        19.70,11.15 19.77,10.91 19.90,10.72\n        19.90,10.72 20.89,9.24 20.89,9.24\n        21.00,9.06 21.16,8.92 21.35,8.82\n        21.35,8.82 22.01,8.50 22.01,8.50\n        22.69,9.85 23.08,11.38 23.08,13.00\n        23.08,13.44 23.04,13.86 22.99,14.29\n        22.99,14.29 21.52,13.92 21.52,13.92 Z"]],template:function(r,a){1&r&&(f.\u0275\u0275namespaceSVG(),f.\u0275\u0275elementStart(0,"svg",0)(1,"defs")(2,"linearGradient",1),f.\u0275\u0275element(3,"stop",2)(4,"stop",3),f.\u0275\u0275elementEnd()(),f.\u0275\u0275element(5,"path",4),f.\u0275\u0275elementEnd()),2&r&&f.\u0275\u0275classMap(a.customClass)},styles:["path[_ngcontent-%COMP%]{fill:url(#event-network-gradient)}"],changeDetection:0})}}return t})(),Ol=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=f.\u0275\u0275defineComponent({type:t,selectors:[["vcn-event-process-icon"]],inputs:{customClass:"customClass"},standalone:!1,decls:22,vars:2,consts:[["width","22","height","22","viewBox","0 0 22 22","fill","none","xmlns","http://www.w3.org/2000/svg"],["filter","url(#filter0_di_2211_1310)"],["d","M20.3714 6.50781C20.5003 6.84375 20.3909 7.22266 20.1253 7.46875L18.4339 9.00781C18.4769 9.33203 18.5003 9.66406 18.5003 10C18.5003 10.3359 18.4769 10.668 18.4339 10.9922L20.1253 12.5312C20.3909 12.7773 20.5003 13.1562 20.3714 13.4922C20.1995 13.957 19.9925 14.4063 19.7581 14.832L19.5745 15.1484C19.3167 15.5781 19.0276 15.9844 18.7112 16.3711C18.4769 16.6484 18.0979 16.7461 17.7542 16.6367L15.5784 15.9414C15.055 16.3438 14.4417 16.6797 13.8597 16.9375L13.3714 19.168C13.2933 19.5195 13.0198 19.7695 12.6604 19.8633C12.1214 19.9531 11.5667 20 10.9651 20C10.4339 20 9.8792 19.9531 9.34014 19.8633C8.98076 19.7695 8.70732 19.5195 8.6292 19.168L8.14092 16.9375C7.52373 16.6797 6.9456 16.3438 6.42217 15.9414L4.24795 16.6367C3.90263 16.7461 3.52178 16.6484 3.29053 16.3711C2.97373 15.9844 2.68467 15.5781 2.42685 15.1484L2.24404 14.832C2.00693 14.4063 1.80068 13.957 1.62763 13.4922C1.50107 13.1562 1.60771 12.7773 1.87568 12.5312L3.56553 10.9922C3.52256 10.668 3.50029 10.3359 3.50029 10C3.50029 9.664
106 3.52256 9.33203 3.56553 9.00781L1.87568 7.46875C1.60771 7.22266 1.50107 6.84766 1.62763 6.50781C1.80068 6.04297 2.00732 5.59375 2.24404 5.16797L2.42646 4.85156C2.68467 4.42188 2.97373 4.01562 3.29053 3.63086C3.52178 3.35156 3.90263 3.25469 4.24795 3.36484L6.42217 4.05859C6.9456 3.65469 7.52373 3.31875 8.14092 3.06367L8.6292 0.833203C8.70732 0.478516 8.98076 0.196875 9.34014 0.137109C9.8792 0.0469141 10.4339 0 11.0003 0C11.5667 0 12.1214 0.0469141 12.6604 0.137109C13.0198 0.196875 13.2933 0.478516 13.3714 0.833203L13.8597 3.06367C14.4417 3.31875 15.055 3.65469 15.5784 4.05859L17.7542 3.36484C18.0979 3.25469 18.4769 3.35156 18.7112 3.63086C19.0276 4.01562 19.3167 4.42188 19.5745 4.85156L19.7581 5.16797C19.9925 5.59375 20.1995 6.04297 20.3714 6.50781ZM11.0003 13.125C12.7269 13.125 14.1253 11.7266 14.1253 9.96484C14.1253 8.27344 12.7269 6.83984 11.0003 6.83984C9.27373 6.83984 7.87529 8.27344 7.87529 9.96484C7.87529 11.7266 9.27373 13.125 11.0003 13.125Z","fill","url(#paint0_linear_2211_1310)"],["id","filter0_di_2211_1310","x","0.574585","y","0","width","20.8508","height","22","filterUnits","userSpaceOnUse","color-interpolation-filters","sRGB"],["flood-opacity","0","result","BackgroundImageFix"],["in","SourceAlpha","type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0","result","hardAlpha"],["dy","1"],["stdDeviation","0.5"],["in2","hardAlpha","operator","out"],["type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"],["mode","normal","in2","BackgroundImageFix","result","effect1_dropShadow_2211_1310"],["mode","normal","in","SourceGraphic","in2","effect1_dropShadow_2211_1310","result","shape"],["stdDeviation","1"],["in2","hardAlpha","operator","arithmetic","k2","-1","k3","1"],["type","matrix","values","0 0 0 0 0.592157 0 0 0 0 0.419608 0 0 0 0 0.67451 0 0 0 0.15 0"],["mode","normal","in2","shape","result","effect2_innerShadow_2211_1310"],["id","paint0_linear_2211_1310","x1","11","y1","0","x2","11","y2","20","gradientUnits","userSpaceOnUse"],["stop-color","#E0CAEB"],["offset","1","stop-color","#8B5CA2"]],template:function(r,a){1&r&&(f.\u0275\u0275namespaceSVG(),f.\u0275\u0275elementStart(0,"svg",0)(1,"g",1),f.\u0275\u0275element(2,"path",2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"defs")(4,"filter",3),f.\u0275\u0275element(5,"feFlood",4)(6,"feColorMatrix",5)(7,"feOffset",6)(8,"feGaussianBlur",7)(9,"feComposite",8)(10,"feColorMatrix",9)(11,"feBlend",10)(12,"feBlend",11)(13,"feColorMatrix",5)(14,"feOffset")(15,"feGaussianBlur",12)(16,"feComposite",13)(17,"feColorMatrix",14)(18,"feBlend",15),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(19,"linearGradient",16),f.\u0275\u0275element(20,"stop",17)(21,"stop",18),f.\u0275\u0275elementEnd()()()),2&r&&f.\u0275\u0275classMap(a.customClass)},encapsulation:2,changeDetection:0})}}return t})(),Rl=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=f.\u0275\u0275defineComponent({type:t,selectors:[["vcn-event-registry-icon"]],inputs:{customClass:"customClass"},standalone:!1,decls:34,vars:2,consts:[["width","19","height","23","viewBox","0 0 19 23","fill","none","xmlns","http://www.w3.org/2000/svg"],["filter","url(#filter0_di_2211_1311)"],["d","M5.19995 10.168C4.50928 10.168 3.89795 9.99066 3.36595 9.63599C2.84328 9.28133 2.43262 8.75866 2.13395 8.06799C1.84462 7.37733 1.69995 6.52799 1.69995 5.51999C1.69995 3.99866 2.02195 2.85999 2.66595 2.10399C3.30995 1.33866 4.15462 0.955994 5.19995 0.955994C6.24528 0.955994 7.08995 1.33866 7.73395 2.10399C8.37795 2.85999 8.69995 3.99866 8.69995 5.51999C8.69995 6.52799 8.55062 7.37733 8.25195 8.06799C7.96262 8.75866 7.55662 9.28133 7.03395 9.63599C6.51129 9.99066 5.89995 10.168 5.19995 10.168ZM5.19995 8.31999C5.45195 8.31999 5.68062 8.24066 5.88595 8.08199C6.09128 7.92333 6.25462 7.64333 6.37595 7.24199C6.50662 6.83133 6.57195 6.25733 6.57195 5.51999C6.57195 4.78266 6.50662 4.21799 6.37595 3.82599C6.25462 3.43399 6.09128 3.16799 5.88595 3.02799C5.68062 2.87866 5.45195 2.80399 5.19995 2.80399C4.95728 2.80399 4.72862 2.87866 4.51395 3.02799C4.30862 3.16799 4.14062 3.43399 4.00995 3.82599C3.88862 4.21799 3.82795 4.78266 3.82795 5.51999C3.82795 6.25733 3.88862 6.83133 4.00995 7.24199C4.14062 7.64333 4.30862 7.92333 4.51395 8.08199C4.72862 8.24066 4.95728 8.31999 5.19995 8.31999ZM5.19995 6.63999C4.88262 6.63999 4.61662 6.53733 4.40195 6.33199C4.18728 6.12666 4.07995 5.85599 4.07995 5.51999C4.07995 5.18399 4.18728 4.91333 4.40195 4.70799C4.61662 4.50266 4.88262 4.39999 5.19995 4.39999C5.52662 4.39999 5.79262 4.50266 5.99795 4.70799C6.21262 4.91333 6.31995 5.18399 6.31995 5.51999C6.31995 5.85599 6.21262 6.12666 5.99795 6.33199C5.79262 6.53733 5.52662 6.63999 5.
119995 6.63999Z","fill","url(#paint0_linear_2211_1311)"],["d","M10.4025 9.99999V8.06799H12.7265V3.47599H10.7665V1.99199C11.1865 1.92666 11.5458 1.85666 11.8445 1.78199C12.1431 1.70733 12.4091 1.61866 12.6425 1.51599C12.8851 1.40399 13.1278 1.27333 13.3705 1.12399H15.1345V8.06799H17.0385V9.99999H10.4025Z","fill","url(#paint1_linear_2211_1311)"],["d","M2.00795 21V19.068H4.33195V14.476H2.37195V12.992C2.79195 12.9267 3.15128 12.8567 3.44995 12.782C3.74862 12.7073 4.01462 12.6187 4.24795 12.516C4.49062 12.404 4.73328 12.2733 4.97595 12.124H6.73995V19.068H8.64395V21H2.00795Z","fill","url(#paint2_linear_2211_1311)"],["d","M13.5945 21.168C12.9038 21.168 12.2925 20.9907 11.7605 20.636C11.2378 20.2813 10.8271 19.7587 10.5285 19.068C10.2391 18.3773 10.0945 17.528 10.0945 16.52C10.0945 14.9987 10.4165 13.86 11.0605 13.104C11.7045 12.3387 12.5491 11.956 13.5945 11.956C14.6398 11.956 15.4845 12.3387 16.1285 13.104C16.7725 13.86 17.0945 14.9987 17.0945 16.52C17.0945 17.528 16.9451 18.3773 16.6465 19.068C16.3571 19.7587 15.9511 20.2813 15.4285 20.636C14.9058 20.9907 14.2945 21.168 13.5945 21.168ZM13.5945 19.32C13.8465 19.32 14.0751 19.2407 14.2805 19.082C14.4858 18.9233 14.6491 18.6433 14.7705 18.242C14.9011 17.8313 14.9665 17.2573 14.9665 16.52C14.9665 15.7827 14.9011 15.218 14.7705 14.826C14.6491 14.434 14.4858 14.168 14.2805 14.028C14.0751 13.8787 13.8465 13.804 13.5945 13.804C13.3518 13.804 13.1231 13.8787 12.9085 14.028C12.7031 14.168 12.5351 14.434 12.4045 14.826C12.2831 15.218 12.2225 15.7827 12.2225 16.52C12.2225 17.2573 12.2831 17.8313 12.4045 18.242C12.5351 18.6433 12.7031 18.9233 12.9085 19.082C13.1231 19.2407 13.3518 19.32 13.5945 19.32ZM13.5945 17.64C13.2771 17.64 13.0111 17.5373 12.7965 17.332C12.5818 17.1267 12.4745 16.856 12.4745 16.52C12.4745 16.184 12.5818 15.9133 12.7965 15.708C13.0111 15.5027 13.2771 15.4 13.5945 15.4C13.9211 15.4 14.1871 15.5027 14.3925 15.708C14.6071 15.9133 14.7145 16.184 14.7145 16.52C14.7145 16.856 14.6071 17.1267 14.3925 17.332C14.1871 17.5373 13.9211 17.64 13.5945 17.64Z","fill","url(#paint3_linear_2211_1311)"],["id","filter0_di_2211_1311","x","0.699951","y","0.955994","width","17.3945","height","22.212","filterUnits","userSpaceOnUse","color-interpolation-filters","sRGB"],["flood-opacity","0","result","BackgroundImageFix"],["in","SourceAlpha","type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0","result","hardAlpha"],["dy","1"],["stdDeviation","0.5"],["in2","hardAlpha","operator","out"],["type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"],["mode","normal","in2","BackgroundImageFix","result","effect1_dropShadow_2211_1311"],["mode","normal","in","SourceGraphic","in2","effect1_dropShadow_2211_1311","result","shape"],["stdDeviation","1"],["in2","hardAlpha","operator","arithmetic","k2","-1","k3","1"],["type","matrix","values","0 0 0 0 0.376471 0 0 0 0 0.643137 0 0 0 0 0.596078 0 0 0 0.15 0"],["mode","normal","in2","shape","result","effect2_innerShadow_2211_1311"],["id","paint0_linear_2211_1311","x1","9.39722","y1","0.955994","x2","9.39722","y2","21.168","gradientUnits","userSpaceOnUse"],["stop-color","#CAEBE5"],["offset","1","stop-color","#5CA295"],["id","paint1_linear_2211_1311","x1","9.39722","y1","0.955994","x2","9.39722","y2","21.168","gradientUnits","userSpaceOnUse"],["id","paint2_linear_2211_1311","x1","9.39722","y1","0.955994","x2","9.39722","y2","21.168","gradientUnits","userSpaceOnUse"],["id","paint3_linear_2211_1311","x1","9.39722","y1","0.955994","x2","9.39722","y2","21.168","gradientUnits","userSpaceOnUse"]],template:function(r,a){1&r&&(f.\u0275\u0275namespaceSVG(),f.\u0275\u0275elementStart(0,"svg",0)(1,"g",1),f.\u0275\u0275element(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(6,"defs")(7,"filter",6),f.\u0275\u0275element(8,"feFlood",7)(9,"feColorMatrix",8)(10,"feOffset",9)(11,"feGaussianBlur",10)(12,"feComposite",11)(13,"feColorMatrix",12)(14,"feBlend",13)(15,"feBlend",14)(16,"feColorMatrix",8)(17,"feOffset")(18,"feGaussianBlur",15)(19,"feComposite",16)(20,"feColorMatrix",17)(21,"feBlend",18),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(22,"linearGradient",19),f.\u0275\u0275element(23,"stop",20)(24,"stop",21),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(25,"linearGradient",22),f.\u0275\u0275element(26,"stop",20)(27,"stop",21),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(28,"linearGradient",23),f.\u0275\u0275element(29,"stop",20)(30,"stop",21),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(31,"linearGradient",24),f.\u0275\u0275element(32,"stop",20)(33,"stop",21),f.\u0275\u0275elementEnd()()()),2&r&&f.\u0275\u0275classMap(a.customClass)},encapsulation:2,changeDetection:0})}}return t})();var wr=function(t){return t.DEVICE="Device",t.FILE_CREATE="File Create",t.FILE_DELETE="File Delete",t.FILE_READ="File Read",t.FILE_RENAME="File Rename",t.FILE_WRITE="File Write",t.NET_CONNECT="Net Connect",t.PROCESS_CREATE="Process Create",t.PROCESS_INJECT="Process Inject",t.REGISTRY_CREATE="Registry Create",t.REGISTRY_DELETE="Registry Delete",t.REGISTRY_READ="Registry Read",t.REGISTRY_WRITE="Registry Write",t.RESOURCE_DOWNLOAD="Resource Download",t.UNDEFINED="Undef
1ined",t}(wr||{});let Ml=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=f.\u0275\u0275defineNgModule({type:t})}static{this.\u0275inj=f.\u0275\u0275defineInjector({})}}return t})(),Nl=(()=>{class t{constructor(e){this.viewContainerRef=e,this.clickNode=new f.EventEmitter,this.getInstance=new f.EventEmitter,this.clickExpand=new f.EventEmitter,this.restart=new f.EventEmitter,this.swap=new f.EventEmitter,this.fit=new f.EventEmitter,this.indexLayout=1}ngAfterViewInit(){this.chart||(this.chart=new dl,this.getInstance.emit(this.chart)),this.setNodeType(),this.buildChart()}ngOnChanges(){this.buildChart()}ngOnDestroy(){this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)}zoomed(e){e?this.chart.zoomIn():this.chart.zoomOut()}swapGraph(){this.swap.observed?this.swap.emit():this.chart.layout(["left","top"][this.indexLayout++%2]).render().fit()}fitGraph(){this.fit.observed?this.fit.emit():this.chart.fit()}restartGraph(){this.restart.observed?(this.selectedLocalId=this.selectedId,this.restart.emit()):(this.chart.layout("left"),this.chart.collapseAll(),this.setInitialSelectedNode(this.selectedId),this.clickNode.emit(this.selectedId))}buildChart(){this.data&&this.chart&&(this.chart.container(this.chartContainer.nativeElement).data(this.data).nodeWidth(()=>162).nodeHeight(()=>52).expandLevel(0).svgHeight(this.svgHeight||window.innerHeight-208).siblingsMargin(()=>40).layout("left").compact(!1).linkUpdate(function(r){const{data:a}=r;se(this).attr("stroke-width",2).attr("stroke",s=>s.data._highlighted?"#0072de":s.data._upToTheRootHighlighted?"#406285":"#edf0f4"),a._upToTheRootHighlighted&&se(this).raise()}).nodeUpdate(function(){se(this).select(".node-button-foreign-object").attr("pointer-events",r=>{if(r.data.noStyles)return"none"}).on("click",(r,a)=>{a&&(a.isExpanded=!0)}),se(this).select(".node-button-rect").attr("pointer-events",r=>{if(r.data.noStyles)return"none"}),se(this).select(".tree-node").style("font-family","rubik").attr("class",r=>{let a="tree-node";return r.data.trigger?a=`${a} tree-node--trigger`:r.data.attackEntry&&(a=`${a} tree-node--origin`),r.data._highlighted?`${a} tree-node--selected`:r.data._upToTheRootHighlighted?`${a} tree-node--root`:a})}).buttonContent(({node:r})=>this.buildButtonContent(r)).onNodeClick(r=>{this.data.find(s=>s.id===r).noStyles||this.selectedLocalId!==r&&(this.setSelectedNode(r),this.clickNode.emit(r))}).nodeContent(r=>this.buildNodeContent(r)).render(),this.selectedLocalId=this.selectedId,this.disabledWheelZoom(),this.setInitialSelectedNode(this.selectedId))}disabledWheelZoom(){const e=this.chart.getChartState().svg;e&&e.on("wheel.zoom",null)}setInitialSelectedNode(e){e&&(this.selectedLocalId=e,this.setRootHighlighted(e),this.getInstance.observed||this.chart.render().fit())}setSelectedNode(e,r=!1){this.selectedLocalId=e,r?(this.setRootHighlighted(e,r),this.getInstance.observed||this.chart.initialZoom(1).render()):(this.setRootHighlighted(e,r),this.chart.render())}setRootHighlighted(e,r=!1){this.chart.clearHighlighting(),r?this.chart.setHighlighted(e):this.localSetHighlighted(e),this.chart.setUpToTheRootHighlighted(e)}localSetHighlighted(e){const r=this.chart.getChartState(),[a]=r.data.filter(s=>s.id===e);a&&(a._highlighted=!0,a._expanded=!0)}buildNodeContent(e){const{data:r,height:a,width:s}=e;if(r.noStyles)return`<div class='tree-graph__node-line'>${r.name}</div>`;let c="",l="";return r.trigger?c="TRIGGER":r.attackEntry&&(c="ORIGIN"),l=wr[r.subType?.toUpperCase()]?wr[r.subType.toUpperCase()]:r.subType,`<div style="width:${s}px;height:${a}px" class="tree-node">\n        <div class="tree-node__content">\n        ${r.type?`<div class="mx-2 tree-node__content__icon">${this.nodeType[r.type].icon}</div>`:'<div class="ps-2"></div>'}\n          <div class="tree-node__content__text truncate-text">\n            <div class="truncate-text tree-node__content__label" title="${this.replaceTags(r.name)}"> ${this.replaceTags(r.name)} </div>\n            ${r.subType?`<div class="truncate-text tree-node__content__sub-label" title="${l}">${l}</div>`:""}\n          </div>\n        </div>\n        <div class="tree-node__flag">\n          ${c?`<div class="tree-node__flag__type"> ${c} </div>`:""}\n          ${r.alertCount?`<div class="tree-node__flag__alert">\n                  <i class="fas fa-exclamation-triangle"></i>\n                  ${r.alertCount}\n                </div>`:""}\n        </div>\n      </div>`}setNodeType(){this.nodeType={node_process:{icon:this.createIcon(Ol)},node_registry:{icon:this.createIcon(Rl)},node_file:{icon:this.createIcon(Al)},node_network:{icon:this.createIcon(Dl)},node_device:{icon:this.createIcon(zl)},UNDEFINED:{icon:'<i class="fas fa-question"></i>'}}}createIcon(e){return this.componentRef=this.viewContainerRef.createComponent(e),this.viewContainerRef.clear(),this.componentRef.location.nativeElement.innerHTML}buildButtonContent(e){return this.verifyExpandedNode(e),e.data.noStyles?"":`<div class="tree-node__button ${e.children?"tree-node__button--selected":""}"> ${e.data._directSubordinates} </div>`}replaceTags(e){return e.replace(/[<>]/g,"")}verifyExpandedNode(e){e.isExpanded&&(e.isExpanded=!1,this.selectedLocalId!==e.data.id&&this.clickNode.emit(e.data.id),this.clickExpand.emit(e),this.setSelectedNode(e.data.id,!0))}static{this.\u0275fac=function(r){return new(r||t)(f.\u0275\u0275directiveInject(f.ViewContainerRef))}}static{this.\u0275cmp=f.\u0275\u0275defineComponent({type:t,selectors:[["vcn-tree-graph"]],viewQuery:function(r,a){
1if(1&r&&f.\u0275\u0275viewQuery(El,5),2&r){let s;f.\u0275\u0275queryRefresh(s=f.\u0275\u0275loadQuery())&&(a.chartContainer=s.first)}},inputs:{data:"data",loading:"loading",selectedId:"selectedId",svgHeight:"svgHeight"},outputs:{clickNode:"clickNode",getInstance:"getInstance",clickExpand:"clickExpand",restart:"restart",swap:"swap",fit:"fit"},standalone:!1,features:[f.\u0275\u0275NgOnChangesFeature],decls:4,vars:1,consts:[["chartContainer",""],[1,"tree-graph"],[1,"tree-graph__actions"],[1,"tree-graph__no-data"],[1,"fas","fa-plus","tree-graph__actions__action",3,"click","title"],[1,"fas","fa-minus","tree-graph__actions__action",3,"click","title"],[1,"fas","fa-retweet","tree-graph__actions__action",3,"click","title"],["title","Fit",1,"fas","fa-sync","tree-graph__actions__action",3,"click"],[1,"fas","fa-redo","tree-graph__actions__action",3,"click","title"]],template:function(r,a){1&r&&(f.\u0275\u0275elementStart(0,"div",1,0),f.\u0275\u0275conditionalCreate(2,Tl,6,4,"div",2)(3,Il,2,0,"div",3),f.\u0275\u0275elementEnd()),2&r&&(f.\u0275\u0275advance(2),f.\u0275\u0275conditional(null!=a.data&&a.data.length?2:a.loading?-1:3))},styles:[".tree-graph{box-shadow:inset 0 4px 8px #0000000a;
1height:100%;position:relative;width:100%;min-height:160px}.tree-graph .tree-graph__node-line{align-items:center;cursor:move;display:flex;height:100%;justify-content:center;width:100%}.tree-graph .tree-graph__no-data{align-items:center;color:#666;display:flex;font-size:.75rem;font-weight:600;height:100%;justify-content:center;width:100%}.tree-graph .tree-graph__actions{bottom:0;display:flex;flex-direction:column;position:absolute;right:0;z-index:900}.tree-graph .tree-graph__actions .tree-graph__actions__action{align-items:center;color:#213a54;cursor:pointer;background:#dce7f2;border-radius:50px;box-shadow:1px 7px 12px -6px #000000bf;display:flex;height:44px;justify-content:center;margin:0 8px 8px;padding:12px;width:44px}.tree-graph .tree-graph__actions .tree-graph__actions__action:hover{background:#f2f9ff}.tree-graph .svg-chart-container{position:relative;min-height:50px;height:100%;width:100%}.tree-graph .tree-node{align-items:center;background:linear-gradient(180deg,#fafafa,#e6ecf2);border:2px solid #ffffff;border-radius:4px;box-shadow:0 4px 4px #00000040;display:flex;font-size:14px;font-weight:400;line-height:100%}.tree-graph .tree-node:hover{border:2px solid #0072de!important}.tree-graph .tree-node.tree-node--root{border:2px solid #2e4d6c}.tree-graph .tree-node.tree-node--selected{border:3px solid #0072de!important}.tree-graph .tree-node.tree-node--origin{border:2px solid #39705d}.tree-graph .tree-node.tree-node--origin .tree-node__flag__type{background:#39705d}.tree-graph .tree-node.tree-node--trigger{border:2px solid #a3003b}.tree-graph .tree-node.tree-node--trigger .tree-node__flag__type{background:#a3003b}.tree-graph .tree-node .tree-node__flag{border-radius:3px;box-shadow:0 1px 1px #00000040;display:flex;margin:-64px 0 0 -152px}.tree-graph .tree-node .tree-node__flag .tree-node__flag__type{border-radius:3px 0 0 3px;color:#fff;font-size:12px;font-weight:500;letter-spacing:.05em;padding:4px}.tree-graph .tree-node .tree-node__flag .tree-node__flag__type:first-of-type+div{border-radius:0 3px 3px 0}.tree-graph .tree-node .tree-node__flag .tree-node__flag__alert{background:#fff5da;border-radius:3px;color:#806f3f;font-size:10px;font-weight:500;padding:4px}.tree-graph .tree-node .tree-node__content{align-items:center;display:flex;margin-left:-2px;width:calc(100% - 12px)}.tree-graph .tree-node .tree-node__content .tree-node__content__text{color:#2e4d6c;font-size:15px;line-height:normal}.tree-graph .tree-node .tree-node__content .tree-node__content__text .tree-node__content__label{font-weight:600}.tree-graph .tree-node .tree-node__content .tree-node__content__text .tree-node__content__sub-label{color:gray;font-size:12px}.tree-graph .tree-node .tree-node__content .tree-node__content__icon{align-items:center;display:flex;height:24px;justify-content:center;min-width:24px;width:24px}.tree-graph .tree-node .tree-node__content .tree-node__content__icon svg{height:24px;width:24px}.tree-graph .tree-node__button{align-items:center;background:#fff;border-radius:50px;box-shadow:0 1px 1px #00000026;color:#7294b6;display:flex;font-size:15px;font-weight:500;height:24px;justify-content:center;margin:auto;width:24px}.tree-graph .tree-node__button.tree-node__button--selected{border:2px solid #2e4d6c}\n"],encapsulation:2,changeDetection:0})}}return t})(),Bl=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=f.\u0275\u0275defineNgModule({type:t})}static{this.\u0275inj=f.\u0275\u0275defineInjector({imports:[y.CommonModule,Ml]})}}return 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.