-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path719.5e419eb87357a232.js
1 lines (1 loc) · 5.99 KB
/
719.5e419eb87357a232.js
1
"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[719],{4719:(x,w,t)=>{t.d(w,{G:()=>U});var r=t(177),i=t(7315),h=t(9417),v=t(3044),R=t(4710),L=t(4438);let U=(()=>{class u{static#a=this.\u0275fac=function(I){return new(I||u)};static#l=this.\u0275mod=L.$C({type:u});static#i=this.\u0275inj=L.G2t({imports:[r.MD,i.G,h.YN,h.X1,v.i6.withIcons({heroArrowUpRight:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em);stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25"/></svg>',heroArrowDownRight:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em);stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 4.5l15 15m0 0V8.25m0 11.25H8.25"/></svg>',heroUser:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em);stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"/></svg>',heroUserSolid:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)"><path fill-rule="evenodd" d="M7.5 6a4.5 4.5 0 119 0 4.5 4.5 0 01-9 0zM3.751 20.105a8.25 8.25 0 0116.498 0 .75.75 0 01-.437.695A18.683 18.683 0 0112 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 01-.437-.695z" clip-rule="evenodd"/></svg>',bootstrapDice5:'<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-dice-5" viewBox="0 0 16 16" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)"><path d="M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/><path d="M5.5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm4-4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/></svg>',bootstrapBoxArrowUpRight:'<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-box-arrow-up-right" viewBox="0 0 16 16" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)"><path fill-rule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z"/><path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z"/></svg>'}),R.iI,h.X1,h.YN,v.i6]})}return u})()},4843:(x,w,t)=>{t.d(w,{_:()=>h});var r=t(9350),i=t(7707);function h(v,c){const m="object"==typeof c;return new Promise((_,d)=>{const g=new i.Ms({next:p=>{_(p),g.unsubscribe()},error:d,complete:()=>{m?_(c.defaultValue):d(new r.G)}});v.subscribe(g)})}},3044:(x,w,t)=>{t.d(w,{$e:()=>M,i6:()=>Z});var r=t(467),i=t(4438),h=t(4402),v=t(4843);const c=new i.nKC("Ng Icon Config"),m={size:"1em"},g=new i.nKC("Ng Icon Loader Token"),b=new i.nKC("Ng Icon Cache Token");function f(a){return[{provide:z,useFactory:o=>({...o?.reduce((l,e)=>({...l,...e}),{}),...a}),deps:[[z,new i.Xx1,new i.kdw]],multi:!0}]}const z=new i.nKC("Icons Token");let M=(()=>{class a{constructor(){this.config=function d(){return(0,i.WQX)(c,{optional:!0})??m}(),this.icons=function C(){return(0,i.WQX)(z,{optional:!0})??[]}(),this.loader=function V(){return(0,i.WQX)(g,{optional:!0})}(),this.cache=function H(){return(0,i.WQX)(b,{optional:!0})}(),this.injector=(0,i.WQX)(i.zZn),this.elementRef=(0,i.WQX)(i.aKT),this._size=this.config.size,this.color=this.config.color}set name(l){this.setIcon(l)}set size(l){this._size=function B(a){return null==a?"":/^\d+$/.test(a)?`${a}px`:a}(l)}get size(){return this._size}setIcon(l){var e=this;return(0,r.A)(function*(){const s=function y(a){return a.replace(/([^a-zA-Z0-9])+(.)?/g,(o,l,e)=>e?e.toUpperCase():"").replace(/[^a-zA-Z\d]/g,"").replace(/^([A-Z])/,o=>o.toLowerCase())}(l);for(const n of[...e.icons].reverse())if(n[s])return void(e.elementRef.nativeElement.innerHTML=n[s]);if(e.cache?.has(l))e.elementRef.nativeElement.innerHTML=e.cache.get(l);else{if(e.loader){const n=yield e.requestIconFromLoader(l);if(null!==n)return e.cache?.set(l,n),void(e.elementRef.nativeElement.innerHTML=n)}console.warn(`No icon named ${l} was found. You may need to import it using the withIcons function.`)}})()}requestIconFromLoader(l){var e=this;return new Promise(s=>{(0,i.N4e)(this.injector,(0,r.A)(function*(){const n=yield function A(a){return"string"==typeof a?Promise.resolve(a):(0,h.A)(a)?(0,v._)(a):a}(e.loader(l));s(n)}))})}static#a=this.\u0275fac=function(e){return new(e||a)};static#l=this.\u0275cmp=i.VBU({type:a,selectors:[["ng-icon"]],hostVars:6,hostBindings:function(e,s){2&e&&i.xc7("--ng-icon__size",s.size)("--ng-icon__stroke-width",s.strokeWidth)("color",s.color)},inputs:{name:"name",size:"size",strokeWidth:"strokeWidth",color:"color"},standalone:!0,features:[i.aNF],decls:0,vars:0,template:function(e,s){},styles:["[_nghost-%COMP%]{display:inline-block;width:var(--ng-icon__size);height:var(--ng-icon__size)}"],changeDetection:0})}return a})(),Z=(()=>{class a{constructor(l){if(0===Object.keys(l).length)throw new Error("No icons have been provided. Ensure to include some icons by importing them using NgIconsModule.withIcons({ ... }).")}static withIcons(l){return{ngModule:a,providers:f(l)}}static#a=this.\u0275fac=function(e){return new(e||a)(i.KVO(z))};static#l=this.\u0275mod=i.$C({type:a});static#i=this.\u0275inj=i.G2t({})}return a})()}}]);