ng-implementation/angular18/dist/easy-angular/main.15a24a4830eefcc2.js

1 line
487 KiB
JavaScript
Raw Normal View History

2025-10-15 11:17:29 +02:00
"use strict";(self.webpackChunkEasyAngular=self.webpackChunkEasyAngular||[]).push([[792],{2840:(yt,Se,x)=>{x.d(Se,{t:()=>ge});var o=x(4438);class S{constructor(X,le,Ne=!1){this.withHeader=!0,this.body=X,this.type=le??"danger",this.autoHide=Ne,this.delay=1e4,this.headerKey=this.type.toUpperCase()}}let ge=(()=>{class ce{constructor(){this.toasts=[],this.counter=0}show(le){le.id=this.counter++,this.toasts.push(le)}quickShow(le,Ne,Pe=!1){const Ie=new S(le,Ne,Pe);this.show(Ie)}remove(le){this.toasts=this.toasts.filter(Ne=>Ne.id!==le)}static#e=this.\u0275fac=function(Ne){return new(Ne||ce)};static#t=this.\u0275prov=o.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})()},6825:(yt,Se,x)=>{x.d(Se,{d:()=>Bi});var o={};x.r(o),x.d(o,{hasBrowserEnv:()=>qe,hasStandardBrowserEnv:()=>Zt,hasStandardBrowserWebWorkerEnv:()=>pn});var S=x(467);function ge(F,B){return function(){return F.apply(B,arguments)}}const{toString:ce}=Object.prototype,{getPrototypeOf:X}=Object,le=(F=>B=>{const z=ce.call(B);return F[z]||(F[z]=z.slice(8,-1).toLowerCase())})(Object.create(null)),Ne=F=>(F=F.toLowerCase(),B=>le(B)===F),Pe=F=>B=>typeof B===F,{isArray:Ie}=Array,Ae=Pe("undefined"),Be=Ne("ArrayBuffer"),He=Pe("string"),We=Pe("function"),St=Pe("number"),jt=F=>null!==F&&"object"==typeof F,Kt=F=>{if("object"!==le(F))return!1;const B=X(F);return!(null!==B&&B!==Object.prototype&&null!==Object.getPrototypeOf(B)||Symbol.toStringTag in F||Symbol.iterator in F)},Nn=Ne("Date"),Ge=Ne("File"),$e=Ne("Blob"),st=Ne("FileList"),it=Ne("URLSearchParams");function Et(F,B,{allOwnKeys:z=!1}={}){if(null===F||typeof F>"u")return;let $,de;if("object"!=typeof F&&(F=[F]),Ie(F))for($=0,de=F.length;$<de;$++)B.call(null,F[$],$,F);else{const ye=z?Object.getOwnPropertyNames(F):Object.keys(F),_e=ye.length;let tt;for($=0;$<_e;$++)tt=ye[$],B.call(null,F[tt],tt,F)}}function $t(F,B){B=B.toLowerCase();const z=Object.keys(F);let de,$=z.length;for(;$-- >0;)if(de=z[$],B===de.toLowerCase())return de;return null}const Qt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Wn=F=>!Ae(F)&&F!==Qt,U=(F=>B=>F&&B instanceof F)(typeof Uint8Array<"u"&&X(Uint8Array)),Le=Ne("HTMLFormElement"),vn=(({hasOwnProperty:F})=>(B,z)=>F.call(B,z))(Object.prototype),gt=Ne("RegExp"),fn=(F,B)=>{const z=Object.getOwnPropertyDescriptors(F),$={};Et(z,(de,ye)=>{let _e;!1!==(_e=B(de,ye,F))&&($[ye]=_e||de)}),Object.defineProperties(F,$)},bt="abcdefghijklmnopqrstuvwxyz",mn="0123456789",yi={DIGIT:mn,ALPHA:bt,ALPHA_DIGIT:bt+bt.toUpperCase()+mn},pi=Ne("AsyncFunction"),xe={isArray:Ie,isArrayBuffer:Be,isBuffer:function Me(F){return null!==F&&!Ae(F)&&null!==F.constructor&&!Ae(F.constructor)&&We(F.constructor.isBuffer)&&F.constructor.isBuffer(F)},isFormData:F=>{let B;return F&&("function"==typeof FormData&&F instanceof FormData||We(F.append)&&("formdata"===(B=le(F))||"object"===B&&We(F.toString)&&"[object FormData]"===F.toString()))},isArrayBufferView:function ct(F){let B;return B=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(F):F&&F.buffer&&Be(F.buffer),B},isString:He,isNumber:St,isBoolean:F=>!0===F||!1===F,isObject:jt,isPlainObject:Kt,isUndefined:Ae,isDate:Nn,isFile:Ge,isBlob:$e,isRegExp:gt,isFunction:We,isStream:F=>jt(F)&&We(F.pipe),isURLSearchParams:it,isTypedArray:U,isFileList:st,forEach:Et,merge:function Cn(){const{caseless:F}=Wn(this)&&this||{},B={},z=($,de)=>{const ye=F&&$t(B,de)||de;B[ye]=Kt(B[ye])&&Kt($)?Cn(B[ye],$):Kt($)?Cn({},$):Ie($)?$.slice():$};for(let $=0,de=arguments.length;$<de;$++)arguments[$]&&Et(arguments[$],z);return B},extend:(F,B,z,{allOwnKeys:$}={})=>(Et(B,(de,ye)=>{F[ye]=z&&We(de)?ge(de,z):de},{allOwnKeys:$}),F),trim:F=>F.trim?F.trim():F.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:F=>(65279===F.charCodeAt(0)&&(F=F.slice(1)),F),inherits:(F,B,z,$)=>{F.prototype=Object.create(B.prototype,$),F.prototype.constructor=F,Object.defineProperty(F,"super",{value:B.prototype}),z&&Object.assign(F.prototype,z)},toFlatObject:(F,B,z,$)=>{let de,ye,_e;const tt={};if(B=B||{},null==F)return B;do{for(de=Object.getOwnPropertyNames(F),ye=de.length;ye-- >0;