marketplacepos 3.13.2 → 3.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/chunk-2LGY3VGP.js +1 -0
- package/Marketplace/{chunk-FG5CLZ6F.js → chunk-2V6KLDRW.js} +1 -1
- package/Marketplace/{chunk-FX43R2N5.js → chunk-2YXHLXID.js} +1 -1
- package/Marketplace/{chunk-VOVI2B6O.js → chunk-3E32TXFL.js} +1 -1
- package/Marketplace/chunk-3IYAATQI.js +35 -0
- package/Marketplace/chunk-4R22UO7N.js +2 -0
- package/Marketplace/chunk-56OKLP66.js +3 -0
- package/Marketplace/{chunk-NNPT3RN6.js → chunk-5WXM6HSA.js} +1 -1
- package/Marketplace/{chunk-5TLAX43C.js → chunk-6BYODQW7.js} +1 -1
- package/Marketplace/{chunk-OFRBPREK.js → chunk-6U6JR5K6.js} +1 -1
- package/Marketplace/chunk-74C3CXV4.js +1 -0
- package/Marketplace/{chunk-KK2VCYNM.js → chunk-7V7R7T2V.js} +1 -1
- package/Marketplace/chunk-A2TGQ4MU.js +1 -0
- package/Marketplace/chunk-B3LBEB32.js +1 -0
- package/Marketplace/chunk-C3YE27TZ.js +8 -0
- package/Marketplace/{chunk-3LRKHZJF.js → chunk-D7X76LHU.js} +1 -1
- package/Marketplace/{chunk-IPX66YIX.js → chunk-DSF55IXM.js} +1 -1
- package/Marketplace/chunk-DUHXHNDB.js +2 -0
- package/Marketplace/{chunk-4VJSS2RP.js → chunk-E2QD6KYS.js} +1 -1
- package/Marketplace/{chunk-ENMVK7WN.js → chunk-EEAB43LH.js} +1 -1
- package/Marketplace/chunk-EKCNJX26.js +1 -0
- package/Marketplace/chunk-F4WIW6HA.js +1 -0
- package/Marketplace/{chunk-F2CKDRNC.js → chunk-F63GNFZE.js} +1 -1
- package/Marketplace/{chunk-FCVAME75.js → chunk-FZ7LVL4C.js} +1 -1
- package/Marketplace/{chunk-L536HOP7.js → chunk-G6HY2OKZ.js} +1 -1
- package/Marketplace/{chunk-AATQG55J.js → chunk-HH5OTDOQ.js} +1 -1
- package/Marketplace/{chunk-TX43EE6N.js → chunk-HXDXTE2F.js} +1 -1
- package/Marketplace/{chunk-M4VGME5L.js → chunk-IPYNDMGQ.js} +1 -1
- package/Marketplace/{chunk-VPYKYYBH.js → chunk-IYV3772A.js} +1 -1
- package/Marketplace/{chunk-VXKEHQ73.js → chunk-JCWZSFSB.js} +1 -1
- package/Marketplace/chunk-JTJLVSTV.js +1 -0
- package/Marketplace/{chunk-BMPACBBM.js → chunk-K7EHVRIN.js} +1 -1
- package/Marketplace/{chunk-HBHGO2RV.js → chunk-KCDL7SWP.js} +1 -1
- package/Marketplace/{chunk-GP3CFNYA.js → chunk-KCFS3M2K.js} +1 -1
- package/Marketplace/chunk-KEW3SGQJ.js +1 -0
- package/Marketplace/chunk-KWFES5F7.js +4 -0
- package/Marketplace/chunk-LYF2MCUF.js +1 -0
- package/Marketplace/{chunk-FON6ZRGN.js → chunk-MIZ2DGVO.js} +2 -2
- package/Marketplace/{chunk-CP7VAKTQ.js → chunk-MLGEX4PW.js} +1 -1
- package/Marketplace/{chunk-IP2WADIR.js → chunk-MSVZKMTY.js} +1 -1
- package/Marketplace/chunk-MVPTQRFO.js +1 -0
- package/Marketplace/{chunk-LCOFOENF.js → chunk-NSKF7OXH.js} +1 -1
- package/Marketplace/chunk-NZ5YWVLF.js +2 -0
- package/Marketplace/{chunk-FQUPOWRE.js → chunk-O44GD7BQ.js} +1 -1
- package/Marketplace/chunk-ON2NN4QX.js +1 -0
- package/Marketplace/{chunk-7CEWM7GE.js → chunk-PIIJRFHM.js} +1 -1
- package/Marketplace/{chunk-2UXFUEON.js → chunk-QPRFFPO5.js} +1 -1
- package/Marketplace/{chunk-M67NQISG.js → chunk-QW3M4EZ2.js} +1 -1
- package/Marketplace/chunk-QZKWUCMY.js +1 -0
- package/Marketplace/chunk-R7MYFLXJ.js +3 -0
- package/Marketplace/{chunk-NUHOGS4I.js → chunk-R7NUZJ6Z.js} +1 -1
- package/Marketplace/{chunk-5WVUQE43.js → chunk-RMD2ZXUN.js} +1 -1
- package/Marketplace/{chunk-Y4SOX2BE.js → chunk-RXRML6X2.js} +1 -1
- package/Marketplace/chunk-RZ7FKABW.js +1 -0
- package/Marketplace/chunk-S5GA4AVB.js +2 -0
- package/Marketplace/{chunk-ABGYQNLC.js → chunk-TSN4V54G.js} +1 -1
- package/Marketplace/chunk-U3LBIFGI.js +1 -0
- package/Marketplace/{chunk-CVLA5R75.js → chunk-V4UFHWKE.js} +1 -1
- package/Marketplace/chunk-V6L3NRY3.js +1 -0
- package/Marketplace/{chunk-WJI6JIBR.js → chunk-VOWLO2M7.js} +1 -1
- package/Marketplace/{chunk-DZHNXVSW.js → chunk-VQUUMT5F.js} +1 -1
- package/Marketplace/{chunk-7NHG2S26.js → chunk-WXUKZFAH.js} +1 -1
- package/Marketplace/{chunk-2GZOVNPU.js → chunk-YG3KQ63T.js} +1 -1
- package/Marketplace/{chunk-CS5AGUUI.js → chunk-YJSTLOLP.js} +1 -1
- package/Marketplace/{chunk-N23ZYP7G.js → chunk-YZ42FKNJ.js} +1 -1
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main-6U2BHS4K.js → main-CKEU3YNI.js} +1 -1
- package/Marketplace/polyfills-MH5IBZ74.js +2 -0
- package/Marketplace/styles-BHJH7JG5.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-2Y4N4NSS.js +0 -2
- package/Marketplace/chunk-43TMSPFC.js +0 -1
- package/Marketplace/chunk-4TYJR476.js +0 -1
- package/Marketplace/chunk-77JORVC2.js +0 -8
- package/Marketplace/chunk-7GNI4BOW.js +0 -3
- package/Marketplace/chunk-7NWB2VB2.js +0 -1
- package/Marketplace/chunk-AAIK6JQ3.js +0 -4
- package/Marketplace/chunk-ARA3PK2O.js +0 -1
- package/Marketplace/chunk-BRTVFFDI.js +0 -1
- package/Marketplace/chunk-DXJFMERC.js +0 -1
- package/Marketplace/chunk-F5YRASNU.js +0 -1
- package/Marketplace/chunk-G6CZHXQI.js +0 -1
- package/Marketplace/chunk-GEEAZIV4.js +0 -1
- package/Marketplace/chunk-HYSXRUQ5.js +0 -1
- package/Marketplace/chunk-KRNA3GN5.js +0 -2
- package/Marketplace/chunk-LIS3LB3F.js +0 -1
- package/Marketplace/chunk-MEGPKKGI.js +0 -1
- package/Marketplace/chunk-MFCHLZW7.js +0 -3
- package/Marketplace/chunk-MUFSHB3B.js +0 -1
- package/Marketplace/chunk-OOBUECHW.js +0 -2
- package/Marketplace/chunk-PIDUM6XT.js +0 -2
- package/Marketplace/chunk-PMOYSZXY.js +0 -47
- package/Marketplace/chunk-TOGKMWQK.js +0 -1
- package/Marketplace/chunk-WMVEBC4Z.js +0 -1
- package/Marketplace/polyfills-KTKZVV2N.js +0 -2
- package/Marketplace/styles-4NMVKKKY.css +0 -1
- /package/Marketplace/{chunk-CRRJCY55.js → chunk-GNOSNGXM.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ja as a,Oa as O,Pb as f,Ua as A,Wa as c,Z as U,_ as h,_a as oe,aa as H,ba as D,bb as ae,c as ve,dc as Ve,ha as L,ia as u,ic as De,jc as W,lc as M,m as ye,mc as v,na as $,pc as le,q as _e,sa as m,ub as y,w as Ce,ya as S,za as b}from"./chunk-C3YE27TZ.js";import{a as d,b as p}from"./chunk-GNOSNGXM.js";var xe=(()=>{let e=class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(r){return new(r||e)(a(O),a(S))},e.\u0275dir=u({type:e});let i=e;return i})(),R=(()=>{let e=class e extends xe{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,features:[c]});let i=e;return i})(),F=new D(""),nt={provide:F,useExisting:h(()=>rt),multi:!0},rt=(()=>{let e=class e extends R{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,s){r&1&&y("change",function(l){return s.onChange(l.target.checked)})("blur",function(){return s.onTouched()})},features:[f([nt]),c]});let i=e;return i})(),st={provide:F,useExisting:h(()=>Ne),multi:!0};function ot(){let i=le()?le().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var at=new D(""),Ne=(()=>{let e=class e extends xe{constructor(t,r,s){super(t,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!ot())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(r){return new(r||e)(a(O),a(S),a(at,8))},e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,s){r&1&&y("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[f([st]),c]});let i=e;return i})();function _(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Pe(i){return i!=null&&typeof i.length=="number"}var I=new D(""),he=new D(""),lt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,be=class{static min(e){return ut(e)}static max(e){return ct(e)}static required(e){return ke(e)}static requiredTrue(e){return dt(e)}static email(e){return Ge(e)}static minLength(e){return ht(e)}static maxLength(e){return ft(e)}static pattern(e){return Te(e)}static nullValidator(e){return z(e)}static compose(e){return Le(e)}static composeAsync(e){return $e(e)}};function ut(i){return e=>{if(_(e.value)||_(i))return null;let n=parseFloat(e.value);return!isNaN(n)&&n<i?{min:{min:i,actual:e.value}}:null}}function ct(i){return e=>{if(_(e.value)||_(i))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>i?{max:{max:i,actual:e.value}}:null}}function ke(i){return _(i.value)?{required:!0}:null}function dt(i){return i.value===!0?null:{required:!0}}function Ge(i){return _(i.value)||lt.test(i.value)?null:{email:!0}}function ht(i){return e=>_(e.value)||!Pe(e.value)?null:e.value.length<i?{minlength:{requiredLength:i,actualLength:e.value.length}}:null}function ft(i){return e=>Pe(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function Te(i){if(!i)return z;let e,n;return typeof i=="string"?(n="",i.charAt(0)!=="^"&&(n+="^"),n+=i,i.charAt(i.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=i.toString(),e=i),t=>{if(_(t.value))return null;let r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function z(i){return null}function Re(i){return i!=null}function je(i){return Ve(i)?ye(i):i}function Be(i){let e={};return i.forEach(n=>{e=n!=null?d(d({},e),n):e}),Object.keys(e).length===0?null:e}function Ue(i,e){return e.map(n=>n(i))}function pt(i){return!i.validate}function He(i){return i.map(e=>pt(e)?e:n=>e.validate(n))}function Le(i){if(!i)return null;let e=i.filter(Re);return e.length==0?null:function(n){return Be(Ue(n,e))}}function fe(i){return i!=null?Le(He(i)):null}function $e(i){if(!i)return null;let e=i.filter(Re);return e.length==0?null:function(n){let t=Ue(n,e).map(je);return Ce(t).pipe(_e(Be))}}function pe(i){return i!=null?$e(He(i)):null}function Ae(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function We(i){return i._rawValidators}function qe(i){return i._rawAsyncValidators}function ue(i){return i?Array.isArray(i)?i:[i]:[]}function Z(i,e){return Array.isArray(i)?i.includes(e):i===e}function Me(i,e){let n=ue(e);return ue(i).forEach(r=>{Z(n,r)||n.push(r)}),n}function Ee(i,e){return ue(e).filter(n=>!Z(i,n))}var X=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=fe(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},C=class extends X{get formDirective(){return null}get path(){return null}},T=class extends X{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Y=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},gt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mi=p(d({},gt),{"[class.ng-submitted]":"isSubmitted"}),vi=(()=>{let e=class e extends Y{constructor(t){super(t)}};e.\u0275fac=function(r){return new(r||e)(a(T,2))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&ae("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[c]});let i=e;return i})(),yi=(()=>{let e=class e extends Y{constructor(t){super(t)}};e.\u0275fac=function(r){return new(r||e)(a(C,10))},e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,s){r&2&&ae("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[c]});let i=e;return i})();var x="VALID",q="INVALID",E="PENDING",N="DISABLED",V=class{},K=class extends V{constructor(e,n){super(),this.value=e,this.source=n}},k=class extends V{constructor(e,n){super(),this.pristine=e,this.source=n}},G=class extends V{constructor(e,n){super(),this.touched=e,this.source=n}},w=class extends V{constructor(e,n){super(),this.status=e,this.source=n}},ce=class extends V{constructor(e){super(),this.source=e}},de=class extends V{constructor(e){super(),this.source=e}};function ze(i){return(ne(i)?i.validators:i)||null}function mt(i){return Array.isArray(i)?fe(i):i||null}function Ze(i,e){return(ne(e)?e.asyncValidators:i)||null}function vt(i){return Array.isArray(i)?pe(i):i||null}function ne(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function yt(i,e,n){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new U(1e3,"");if(!t[n])throw new U(1001,"")}function _t(i,e,n){i._forEachChild((t,r)=>{if(n[r]===void 0)throw new U(1002,"")})}var J=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=M(()=>this.statusReactive()),this.statusReactive=A(void 0),this._pristine=M(()=>this.pristineReactive()),this.pristineReactive=A(!0),this._touched=M(()=>this.touchedReactive()),this.touchedReactive=A(!1),this._events=new ve,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return v(this.statusReactive)}set status(e){v(()=>this.statusReactive.set(e))}get valid(){return this.status===x}get invalid(){return this.status===q}get pending(){return this.status==E}get disabled(){return this.status===N}get enabled(){return this.status!==N}get pristine(){return v(this.pristineReactive)}set pristine(e){v(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return v(this.touchedReactive)}set touched(e){v(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Me(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Me(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ee(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ee(e,this._rawAsyncValidators))}hasValidator(e){return Z(this._rawValidators,e)}hasAsyncValidator(e){return Z(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let n=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(p(d({},e),{sourceControl:t})),n&&e.emitEvent!==!1&&this._events.next(new G(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),n&&e.emitEvent!==!1&&this._events.next(new G(!1,t))}markAsDirty(e={}){let n=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(p(d({},e),{sourceControl:t})),n&&e.emitEvent!==!1&&this._events.next(new k(!1,t))}markAsPristine(e={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),n&&e.emitEvent!==!1&&this._events.next(new k(!0,t))}markAsPending(e={}){this.status=E;let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new w(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(p(d({},e),{sourceControl:n}))}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=N,this.errors=null,this._forEachChild(r=>{r.disable(p(d({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new K(this.value,t)),this._events.next(new w(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(d({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=x,this._forEachChild(t=>{t.enable(p(d({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(d({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===x||this.status===E)&&this._runAsyncValidator(t,e.emitEvent)}let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new K(this.value,n)),this._events.next(new w(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(p(d({},e),{sourceControl:n}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?N:x}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=E,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let t=je(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((t,r)=>t&&t._find(r),this)}getError(e,n){let t=n?this.get(n):this;return t&&t.errors?t.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new w(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,t)}_initObservables(){this.valueChanges=new b,this.statusChanges=new b}_calculateStatus(){return this._allControlsDisabled()?N:this.errors?q:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(E)?E:this._anyControlsHaveStatus(q)?q:x}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){let t=!this._anyControlsDirty(),r=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&this._events.next(new k(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new G(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ne(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=mt(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=vt(this._rawAsyncValidators)}},Q=class extends J{constructor(e,n,t){super(ze(n),Ze(t,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,t={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){_t(this,!0,e),Object.keys(e).forEach(t=>{yt(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(t=>{let r=this.controls[t];r&&r.patchValue(e[t],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((t,r)=>{t.reset(e?e[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,t)=>(e[t]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,t)=>t._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let t=this.controls[n];t&&e(t,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,t]of Object.entries(this.controls))if(this.contains(n)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,t,r)=>((t.enabled||this.disabled)&&(n[r]=t.value),n))}_reduceChildren(e,n){let t=e;return this._forEachChild((r,s)=>{t=n(t,r,s)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var j=new D("CallSetDisabledState",{providedIn:"root",factory:()=>re}),re="always";function Ct(i,e){return[...e.path,i]}function ee(i,e,n=re){ge(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),Dt(i,e),At(i,e),bt(i,e),Vt(i,e)}function we(i,e,n=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),ie(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function te(i,e){i.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Vt(i,e){if(e.valueAccessor.setDisabledState){let n=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(n),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(n)})}}function ge(i,e){let n=We(i);e.validator!==null?i.setValidators(Ae(n,e.validator)):typeof n=="function"&&i.setValidators([n]);let t=qe(i);e.asyncValidator!==null?i.setAsyncValidators(Ae(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let r=()=>i.updateValueAndValidity();te(e._rawValidators,r),te(e._rawAsyncValidators,r)}function ie(i,e){let n=!1;if(i!==null){if(e.validator!==null){let r=We(i);if(Array.isArray(r)&&r.length>0){let s=r.filter(o=>o!==e.validator);s.length!==r.length&&(n=!0,i.setValidators(s))}}if(e.asyncValidator!==null){let r=qe(i);if(Array.isArray(r)&&r.length>0){let s=r.filter(o=>o!==e.asyncValidator);s.length!==r.length&&(n=!0,i.setAsyncValidators(s))}}}let t=()=>{};return te(e._rawValidators,t),te(e._rawAsyncValidators,t),n}function Dt(i,e){e.valueAccessor.registerOnChange(n=>{i._pendingValue=n,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Xe(i,e)})}function bt(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Xe(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function Xe(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function At(i,e){let n=(t,r)=>{e.valueAccessor.writeValue(t),r&&e.viewToModelUpdate(t)};i.registerOnChange(n),e._registerOnDestroy(()=>{i._unregisterOnChange(n)})}function Ye(i,e){i==null,ge(i,e)}function Mt(i,e){return ie(i,e)}function Et(i,e){if(!i.hasOwnProperty("model"))return!1;let n=i.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function wt(i){return Object.getPrototypeOf(i.constructor)===R}function Ke(i,e){i._syncPendingControls(),e.forEach(n=>{let t=n.control;t.updateOn==="submit"&&t._pendingChange&&(n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Ft(i,e){if(!e)return null;Array.isArray(e);let n,t,r;return e.forEach(s=>{s.constructor===Ne?n=s:wt(s)?t=s:r=s}),r||t||n||null}function It(i,e){let n=i.indexOf(e);n>-1&&i.splice(n,1)}var St={provide:C,useExisting:h(()=>Ot)},P=Promise.resolve(),Ot=(()=>{let e=class e extends C{get submitted(){return v(this.submittedReactive)}constructor(t,r,s){super(),this.callSetDisabledState=s,this._submitted=M(()=>this.submittedReactive()),this.submittedReactive=A(!1),this._directives=new Set,this.ngSubmit=new b,this.form=new Q({},fe(t),pe(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){P.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ee(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){P.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){P.then(()=>{let r=this._findContainer(t.path),s=new Q({});Ye(s,t),r.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){P.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){P.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),Ke(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(r){return new(r||e)(a(I,10),a(he,10),a(j,8))},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,s){r&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f([St]),c]});let i=e;return i})();function Fe(i,e){let n=i.indexOf(e);n>-1&&i.splice(n,1)}function Ie(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Je=class extends J{constructor(e=null,n,t){super(ze(n),Ze(t,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ne(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Ie(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Fe(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Fe(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ie(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var xt=i=>i instanceof Je;var Nt={provide:T,useExisting:h(()=>Pt)},Se=Promise.resolve(),Pt=(()=>{let e=class e extends T{constructor(t,r,s,o,l,g){super(),this._changeDetectorRef=l,this.callSetDisabledState=g,this.control=new Je,this._registered=!1,this.name="",this.update=new b,this._parent=t,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=Ft(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Et(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ee(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Se.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,s=r!==0&&W(r);Se.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Ct(t,this._parent):[t]}};e.\u0275fac=function(r){return new(r||e)(a(C,9),a(I,10),a(he,10),a(F,10),a(De,8),a(j,8))},e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[f([Nt]),c,$]});let i=e;return i})(),Ci=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),kt={provide:F,useExisting:h(()=>Gt),multi:!0},Gt=(()=>{let e=class e extends R{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,s){r&1&&y("input",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},features:[f([kt]),c]});let i=e;return i})();var Tt=new D("");var Rt={provide:C,useExisting:h(()=>jt)},jt=(()=>{let e=class e extends C{get submitted(){return v(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,s){super(),this.callSetDisabledState=s,this._submitted=M(()=>this._submittedReactive()),this._submittedReactive=A(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new b,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ie(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let r=this.form.get(t.path);return ee(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){we(t.control||null,t,!1),It(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),Ke(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new ce(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new de(this.form))}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,s=this.form.get(t.path);r!==s&&(we(r||null,t),xt(s)&&(ee(s,t,this.callSetDisabledState),t.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);Ye(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let r=this.form.get(t.path);r&&Mt(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ge(this.form,this),this._oldForm&&ie(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(a(I,10),a(he,10),a(j,8))},e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,s){r&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f([Rt]),c,$]});let i=e;return i})();var Bt={provide:F,useExisting:h(()=>et),multi:!0};function Qe(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Ut(i){return i.split(":")[0]}var et=(()=>{let e=class e extends R{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let r=this._getOptionId(t),s=Qe(r,t);this.setProperty("value",s)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){let r=Ut(t);return this._optionMap.has(r)?this._optionMap.get(r):t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,s){r&1&&y("change",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[f([Bt]),c]});let i=e;return i})(),Vi=(()=>{let e=class e{constructor(t,r,s){this._element=t,this._renderer=r,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Qe(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(r){return new(r||e)(a(S),a(O),a(et,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Ht={provide:F,useExisting:h(()=>tt),multi:!0};function Oe(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Lt(i){return i.split(":")[0]}var tt=(()=>{let e=class e extends R{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let r;if(Array.isArray(t)){let s=t.map(o=>this._getOptionId(o));r=(o,l)=>{o._setSelected(s.indexOf(l.toString())>-1)}}else r=(s,o)=>{s._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{let s=[],o=r.selectedOptions;if(o!==void 0){let l=o;for(let g=0;g<l.length;g++){let B=l[g],se=this._getOptionValue(B.value);s.push(se)}}else{let l=r.options;for(let g=0;g<l.length;g++){let B=l[g];if(B.selected){let se=this._getOptionValue(B.value);s.push(se)}}}this.value=s,t(s)}}_registerOption(t){let r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){let r=Lt(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,s){r&1&&y("change",function(l){return s.onChange(l.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[f([Ht]),c]});let i=e;return i})(),Di=(()=>{let e=class e{constructor(t,r,s){this._element=t,this._renderer=r,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(Oe(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Oe(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(r){return new(r||e)(a(S),a(O),a(tt,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();var me=(()=>{let e=class e{constructor(){this._validator=z}ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):z,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=u({type:e,features:[$]});let i=e;return i})();var $t={provide:I,useExisting:h(()=>Wt),multi:!0};var Wt=(()=>{let e=class e extends me{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=W,this.createValidator=t=>ke}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,s){r&2&&oe("required",s._enabled?"":null)},inputs:{required:"required"},features:[f([$t]),c]});let i=e;return i})();var qt={provide:I,useExisting:h(()=>zt),multi:!0},zt=(()=>{let e=class e extends me{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=W,this.createValidator=t=>Ge}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[f([qt]),c]});let i=e;return i})();var Zt={provide:I,useExisting:h(()=>Xt),multi:!0},Xt=(()=>{let e=class e extends me{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>Te(t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=m(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,s){r&2&&oe("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[f([Zt]),c]});let i=e;return i})();var it=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=L({type:e}),e.\u0275inj=H({});let i=e;return i})();var bi=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:j,useValue:t.callSetDisabledState??re}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=L({type:e}),e.\u0275inj=H({imports:[it]});let i=e;return i})(),Ai=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:Tt,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:j,useValue:t.callSetDisabledState??re}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=L({type:e}),e.\u0275inj=H({imports:[it]});let i=e;return i})();export{F as a,rt as b,Ne as c,I as d,be as e,C as f,T as g,vi as h,yi as i,Ot as j,Pt as k,Ci as l,Gt as m,jt as n,et as o,Vi as p,Di as q,Wt as r,zt as s,Xt as t,bi as u,Ai as v};
|