dealpos 1.0.0
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/POS/3rdpartylicenses.txt +1645 -0
- package/POS/assets/icons/icon-128x128.png +0 -0
- package/POS/assets/icons/icon-144x144.png +0 -0
- package/POS/assets/icons/icon-152x152.png +0 -0
- package/POS/assets/icons/icon-192x192.png +0 -0
- package/POS/assets/icons/icon-384x384.png +0 -0
- package/POS/assets/icons/icon-512x512.png +0 -0
- package/POS/assets/icons/icon-72x72.png +0 -0
- package/POS/assets/icons/icon-96x96.png +0 -0
- package/POS/chunk-26YXEYJK.js +1 -0
- package/POS/chunk-2DNKBN6G.js +1 -0
- package/POS/chunk-2FKYC63K.js +1 -0
- package/POS/chunk-2FWFPV5I.js +1 -0
- package/POS/chunk-2OSKJOSS.js +1 -0
- package/POS/chunk-2OXMYDYT.js +1 -0
- package/POS/chunk-2OZMF5DL.js +1 -0
- package/POS/chunk-2W3MAOOP.js +1 -0
- package/POS/chunk-33XCA4ER.js +14 -0
- package/POS/chunk-35V3VL6F.js +1 -0
- package/POS/chunk-3A7KA4YN.js +1 -0
- package/POS/chunk-3BODNSIH.js +1 -0
- package/POS/chunk-3FOIEYAT.js +4 -0
- package/POS/chunk-3PFXZUB6.js +7 -0
- package/POS/chunk-3QABPVXZ.js +3 -0
- package/POS/chunk-4BDQDYVB.js +1 -0
- package/POS/chunk-4CBDK52E.js +4 -0
- package/POS/chunk-4G26RHGA.js +1 -0
- package/POS/chunk-4MX7Q77M.js +2 -0
- package/POS/chunk-4UAHOTBD.js +1 -0
- package/POS/chunk-56EQRIAH.js +1 -0
- package/POS/chunk-5KBFQLSN.js +1 -0
- package/POS/chunk-5W7F4VJH.js +1 -0
- package/POS/chunk-64PDX5ZX.js +1 -0
- package/POS/chunk-65YDOCXF.js +1 -0
- package/POS/chunk-67VBXFVT.js +6 -0
- package/POS/chunk-6BQZINLH.js +1 -0
- package/POS/chunk-6L6CIH5M.js +1 -0
- package/POS/chunk-6PXJEE4K.js +1 -0
- package/POS/chunk-6S4Q5VRA.js +1 -0
- package/POS/chunk-75STMWUR.js +6 -0
- package/POS/chunk-76C33PK5.js +1 -0
- package/POS/chunk-77D6X2SQ.js +11 -0
- package/POS/chunk-7DWKYGA4.js +1 -0
- package/POS/chunk-7M6CWVRI.js +1 -0
- package/POS/chunk-7Q3437BR.js +1 -0
- package/POS/chunk-AA32I4UN.js +1 -0
- package/POS/chunk-AJMKP7YZ.js +1 -0
- package/POS/chunk-AOJW6WJT.js +1 -0
- package/POS/chunk-AOPKPEVH.js +1 -0
- package/POS/chunk-APJK7OH2.js +2 -0
- package/POS/chunk-APYNCJ2H.js +1 -0
- package/POS/chunk-AUYYX2UQ.js +45 -0
- package/POS/chunk-AVDGNFC7.js +1 -0
- package/POS/chunk-AWGZKLLY.js +1 -0
- package/POS/chunk-AYKDALBT.js +1 -0
- package/POS/chunk-B2OT7HA4.js +4 -0
- package/POS/chunk-B36XIZVJ.js +1 -0
- package/POS/chunk-B5FODXLM.js +1 -0
- package/POS/chunk-B7RM5KKA.js +1 -0
- package/POS/chunk-BCVO66L3.js +5 -0
- package/POS/chunk-BETKNHFK.js +1 -0
- package/POS/chunk-BH2ZVZIU.js +1 -0
- package/POS/chunk-BHXS5IA6.js +1 -0
- package/POS/chunk-BLZEDUEI.js +1 -0
- package/POS/chunk-BYXBJQAS.js +0 -0
- package/POS/chunk-BZC5JINN.js +5 -0
- package/POS/chunk-C43IYFVU.js +1 -0
- package/POS/chunk-CBW7IA6S.js +1 -0
- package/POS/chunk-CCGPOEE3.js +4 -0
- package/POS/chunk-CFIFFKWA.js +1 -0
- package/POS/chunk-CI45CZMG.js +1 -0
- package/POS/chunk-CJO25BBP.js +1 -0
- package/POS/chunk-CLL3TEL5.js +1 -0
- package/POS/chunk-CPUGWH3I.js +1 -0
- package/POS/chunk-CPW6IWAB.js +1 -0
- package/POS/chunk-CRSUSQ3W.js +1 -0
- package/POS/chunk-CW27R4N3.js +2 -0
- package/POS/chunk-CWU5DTSS.js +1 -0
- package/POS/chunk-CY2FQLP4.js +1 -0
- package/POS/chunk-DRGWLGRP.js +1 -0
- package/POS/chunk-DXF4M3Z6.js +1 -0
- package/POS/chunk-E72IOARD.js +1 -0
- package/POS/chunk-EA7CLJMQ.js +18 -0
- package/POS/chunk-ECMSF3OR.js +1 -0
- package/POS/chunk-EOFWQEK7.js +1 -0
- package/POS/chunk-EQOB7536.js +156 -0
- package/POS/chunk-ESD5O3BQ.js +1 -0
- package/POS/chunk-EZCHVNC5.js +3 -0
- package/POS/chunk-F3ZYFWTM.js +1 -0
- package/POS/chunk-F6GAPEFT.js +1 -0
- package/POS/chunk-FBR7TAEJ.js +5 -0
- package/POS/chunk-FE5LZK5I.js +1 -0
- package/POS/chunk-FOEYBSQT.js +2 -0
- package/POS/chunk-FWVI7M5F.js +1 -0
- package/POS/chunk-G4DDQBH4.js +1 -0
- package/POS/chunk-GDFWXFK2.js +1 -0
- package/POS/chunk-GHQFOULJ.js +2 -0
- package/POS/chunk-GNSQPTDB.js +1 -0
- package/POS/chunk-GSLPZSSX.js +1 -0
- package/POS/chunk-GVXSG66Q.js +1 -0
- package/POS/chunk-H55AJAX5.js +8 -0
- package/POS/chunk-HIRUHGYD.js +2 -0
- package/POS/chunk-HKR2C3HA.js +1 -0
- package/POS/chunk-HSOC6U4B.js +1 -0
- package/POS/chunk-I6CGSFEU.js +1 -0
- package/POS/chunk-I6YPWC52.js +1 -0
- package/POS/chunk-IDDHFZWG.js +1 -0
- package/POS/chunk-IE5R6YWY.js +1 -0
- package/POS/chunk-IOQ3OION.js +1 -0
- package/POS/chunk-IUKSWU5B.js +1 -0
- package/POS/chunk-IY6EDHBT.js +1 -0
- package/POS/chunk-IZGPRDGN.js +2 -0
- package/POS/chunk-J3W6DQKW.js +1 -0
- package/POS/chunk-JLWKTGB2.js +1 -0
- package/POS/chunk-JM3SJLS7.js +1 -0
- package/POS/chunk-JNUC6PO5.js +1 -0
- package/POS/chunk-K5XVN3MT.js +1 -0
- package/POS/chunk-KBQ5ZM55.js +1 -0
- package/POS/chunk-KCNSCS4R.js +1 -0
- package/POS/chunk-KI2MQKDF.js +1 -0
- package/POS/chunk-KNRLGMUT.js +1 -0
- package/POS/chunk-KR4OPCRF.js +1 -0
- package/POS/chunk-KW4B7WMB.js +1 -0
- package/POS/chunk-KYX6U2UX.js +1 -0
- package/POS/chunk-KZNSGBGF.js +2 -0
- package/POS/chunk-L3UWNQXB.js +1 -0
- package/POS/chunk-LHWN2J4H.js +15 -0
- package/POS/chunk-LJUP6CCS.js +1 -0
- package/POS/chunk-LY4FOMQ6.css +1 -0
- package/POS/chunk-LZ3SKBTU.js +1 -0
- package/POS/chunk-M5ONTRWK.js +1 -0
- package/POS/chunk-MA7NEQCZ.js +1 -0
- package/POS/chunk-MDKYCLYA.js +17 -0
- package/POS/chunk-MGDA6GY6.js +1 -0
- package/POS/chunk-MWWGZRMN.js +1 -0
- package/POS/chunk-NCATMO6T.js +1 -0
- package/POS/chunk-NDAI7L23.js +1 -0
- package/POS/chunk-NHUK6IK5.js +40 -0
- package/POS/chunk-NUZ5K7GT.js +1 -0
- package/POS/chunk-O2PELRQA.js +1 -0
- package/POS/chunk-OUOP65JB.js +1 -0
- package/POS/chunk-OXSD6KML.js +1 -0
- package/POS/chunk-PEOMRJUI.js +3 -0
- package/POS/chunk-PHGK3EAU.js +1 -0
- package/POS/chunk-PLC4GZ67.js +1 -0
- package/POS/chunk-PTF6AQY6.js +1 -0
- package/POS/chunk-PTXKBWBA.js +1 -0
- package/POS/chunk-Q3SJOSAG.js +1 -0
- package/POS/chunk-QBDEGNJP.js +1 -0
- package/POS/chunk-QCTMAR3L.js +1 -0
- package/POS/chunk-QZWOQRAM.js +1 -0
- package/POS/chunk-R5VG3XDC.js +1 -0
- package/POS/chunk-R7NR3M2Q.js +1 -0
- package/POS/chunk-RBKYZOZX.js +3 -0
- package/POS/chunk-RHQGCHFI.js +1 -0
- package/POS/chunk-RL3GYZVU.js +8 -0
- package/POS/chunk-RRKCUSBB.js +1 -0
- package/POS/chunk-S4OLP2TR.js +18 -0
- package/POS/chunk-SDH32O74.js +1 -0
- package/POS/chunk-SE7OFLAL.js +1 -0
- package/POS/chunk-SEVYM4GA.js +1 -0
- package/POS/chunk-SGRJ5YG2.js +1 -0
- package/POS/chunk-SNNLFZQ3.js +3 -0
- package/POS/chunk-SVNOJVQF.js +1 -0
- package/POS/chunk-TCLYGBIP.js +1 -0
- package/POS/chunk-TIDDF777.js +1 -0
- package/POS/chunk-TJQIORGG.js +1 -0
- package/POS/chunk-TK5H65DN.js +1 -0
- package/POS/chunk-TLHNFDPP.js +1 -0
- package/POS/chunk-TVNDX4KA.js +3 -0
- package/POS/chunk-TX6G2LAN.js +1 -0
- package/POS/chunk-U3O6FO5X.js +1 -0
- package/POS/chunk-UJMXJABS.js +1 -0
- package/POS/chunk-UNGT7KQO.js +1 -0
- package/POS/chunk-UPRH3DLS.js +1 -0
- package/POS/chunk-UVFDCVT4.js +2 -0
- package/POS/chunk-V22EVF6N.js +1 -0
- package/POS/chunk-V4RKZMUB.js +11 -0
- package/POS/chunk-VBOV2ZGQ.js +1 -0
- package/POS/chunk-VGGNSOCP.js +1 -0
- package/POS/chunk-VLGOEX3D.js +24 -0
- package/POS/chunk-VPAQFQA7.js +1 -0
- package/POS/chunk-VSMYP4AC.js +1 -0
- package/POS/chunk-VXCP4DBC.js +1 -0
- package/POS/chunk-W43P2XHR.js +1 -0
- package/POS/chunk-W7PIRMKD.js +1 -0
- package/POS/chunk-WG6PV6VL.js +4 -0
- package/POS/chunk-WK4T26FX.js +2 -0
- package/POS/chunk-WKS7JIOA.js +1 -0
- package/POS/chunk-WKXE4B24.js +1 -0
- package/POS/chunk-WLRXTHLM.js +1 -0
- package/POS/chunk-WSZGVB3P.js +1 -0
- package/POS/chunk-WXHOQKTU.js +1 -0
- package/POS/chunk-X55EKFUZ.js +1 -0
- package/POS/chunk-X7QMXCEW.js +4 -0
- package/POS/chunk-XIGLLWLV.js +1 -0
- package/POS/chunk-XRKZOON6.js +4 -0
- package/POS/chunk-XW2QKXZF.js +5 -0
- package/POS/chunk-XZPCPUT7.js +1 -0
- package/POS/chunk-Y5SPDICN.js +2 -0
- package/POS/chunk-Y7XBMFXR.js +1 -0
- package/POS/chunk-YATUCULL.js +1 -0
- package/POS/chunk-YBFOOZH4.js +2 -0
- package/POS/chunk-YBINYTS7.js +1 -0
- package/POS/chunk-YE2HNBMX.js +1 -0
- package/POS/chunk-YENHZRM5.js +9 -0
- package/POS/chunk-YHCFOJEX.js +1 -0
- package/POS/chunk-YKBQYDEJ.js +2 -0
- package/POS/chunk-YPFXYXHP.js +8 -0
- package/POS/chunk-YRHYSRBM.js +1 -0
- package/POS/chunk-YRITVFOW.js +1 -0
- package/POS/chunk-YRNTUREW.js +1 -0
- package/POS/chunk-YXRRTX7W.js +1 -0
- package/POS/chunk-Z426RGUL.js +24 -0
- package/POS/chunk-ZB45Y55B.js +1 -0
- package/POS/chunk-ZGRVB4IB.js +1 -0
- package/POS/chunk-ZJ3TX62Q.js +1 -0
- package/POS/chunk-ZKWXTWYY.js +1 -0
- package/POS/index.html +33 -0
- package/POS/main-CNMNNNEI.js +4 -0
- package/POS/main-VPAR6OBK.css +1 -0
- package/POS/manifest.webmanifest +59 -0
- package/POS/media/color-727V6BA6.png +0 -0
- package/POS/media/hue-3YTJE6JS.png +0 -0
- package/POS/media/primeicons-4GST5W3O.woff2 +0 -0
- package/POS/media/primeicons-DHQU4SEP.svg +345 -0
- package/POS/media/primeicons-GEFHGEHP.ttf +0 -0
- package/POS/media/primeicons-P53SE5CV.woff +0 -0
- package/POS/media/primeicons-RSSEDYLY.eot +0 -0
- package/POS/polyfills-FHOOFFEX.js +2 -0
- package/POS/scripts-3E2G6IZ4.js +10 -0
- package/POS/styles-T7FPZRNG.css +25 -0
- package/Styles/Master/app_custom.css +18 -0
- package/Styles/Master/login_custom.css +0 -0
- package/Styles/Print/PaperSize8cm_custom.css +1 -0
- package/Styles/Print/PaperSizeA4_custom.css +1 -0
- package/StylesB/Master/app_custom.css +0 -0
- package/package.json +1 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ha as l}from"./chunk-H55AJAX5.js";import{a as c,b as p}from"./chunk-KW4B7WMB.js";var r=class a{static{this.emailRegex=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}static{this.phoneNumberRegex=/^\d+$/}static{this.GuidEmpty="00000000-0000-0000-0000-000000000000"}static{this.DecimalMinValue="-7.922816251426434e+28"}static{this.InputLockTimeSpan=500}static{this.MinDate="0001-01-01T00:00:00"}static{this.MinTime="00:00:00"}static{this.MinDecimal="-79228162514264337593543950335"}static StringFormat(t,...e){for(let i=0;i<e.length;i++)t=t.replace(`{${i}}`,e[i]);return t}static{this.isMobileDevice=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}static IsNotEmpty(t){return t!=""&&!a.containsOnlySpaces(t)&&t!=a.GuidEmpty&&t!=null&&t!=null}static IsEmpty(t){return!!(t==""||a.containsOnlySpaces(t)||t==null||t==null||t==a.GuidEmpty)}static isGuid(t){let e=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi,i=!1;return t&&(i=e.test(t)),i}static containsOnlySpaces(t){return/^\s*$/.test(t)}static FilterByID(t,e){try{let i=t.filter(s=>s.ID==e);if(i.length>0)return i[0]}catch{}return null}static{this.Months=[{ID:1,Label:"January"},{ID:2,Label:"February"},{ID:3,Label:"March"},{ID:4,Label:"April"},{ID:5,Label:"May"},{ID:6,Label:"June"},{ID:7,Label:"July"},{ID:8,Label:"August"},{ID:9,Label:"September"},{ID:10,Label:"October"},{ID:11,Label:"November"},{ID:12,Label:"December"}]}static GenerateYears(t,e,i){let s=-1;(e==null||e==null)&&(e=11),(i==null||i==null||!i)&&(s=1);let o=[];for(let n=0;n<e;n++)o.push(t+n*s);return o}static DateOnly(t){return t?new Date(new Date(t).toDateString()):new Date(new Date().toDateString())}static differentInDays(t,e){let i=e.getTime()-t.getTime();return Math.floor(i/(1e3*3600*24))}static minutesDiff(t,e){let i=(e.getTime()-t.getTime())/6e4;return Math.ceil(i)}static hoursDiff(t,e){let s=(e.getTime()-t.getTime())/(1e3*3600);return parseFloat(s.toFixed(1))}static Guid_NewGuid(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){var s=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(i=="x"?s:s&3|8).toString(16)})}static parseJwt(t){var e=t.split(".")[1],i=e.replace(/-/g,"+").replace(/_/g,"/"),s=decodeURIComponent(atob(i).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(s)}static numberOnly(t){let e=t.which?t.which:t.keyCode;return!(e>31&&(e<48||e>57))}static formatNumber(t){let e="",i="",s=Math.abs(t);return s>999&&s<1e6?(i="K",e=(s/1e3).toFixed(0)):s>=1e6?(i="M",e=(s/1e6).toFixed(0)):s<999&&(e=s.toString()),t<0&&(e="-"+e),e.replace(/\B(?=(\d{3})+(?!\d))/g,",")+i}static isToDay(t){if(t){let e=new Date;return e.setHours(0,0,0,0),e.getTime()==t.getTime()}return!1}static setToLatestTime(t){let e=new Date(t);return e.setHours(23,59,59),e}static setToFirstTime(t){let e=new Date(t);return e.setHours(0,0,0),e}static compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}static generateSerialasNote(t=[]){let e="";return t&&t.length>0&&(e=`[${t.map((s,o)=>`${o>0?" ":""}${s.Number}${s.Quantity>1||s.Quantity<0?"*"+s.Quantity:""}`)}]`),e}static getDatesInRange(t,e){let i=new Date(t.getTime()),s=[];for(;i<=e;)s.push(new Date(i)),i.setDate(i.getDate()+1);return s}static getDaysBefore(t,e){return new Date(t.setDate(new Date().getDate()-e))}static getRangeDate(t,e){let i=new Date;i.setMonth(t),i.setFullYear(e);let s=new Date(i.getFullYear(),i.getMonth()-1,1),o=new Date(i.getFullYear(),i.getMonth(),0);return{firstDay:s,lastDay:o}}static setDateTime(t,e){let i=new Date;e&&(i=new Date(e));let s=t.split(":");return i.setHours(parseInt(s[0])),i.setMinutes(parseInt(s[1])),i}static isMaskingField(t=""){return t.includes("?")}static generateMaskingField(t=[]){let e={};return t.forEach((i,s)=>{i=i.split(" ")?.join(""),e=p(c({},e),{[i]:!0})}),e}static checkJSApiSupported(t){let e;return t in window?e=!0:e=!1,e}static cloneObject(t){let e;return this.checkJSApiSupported("structuredClone")?e=structuredClone(t):e=JSON.parse(JSON.stringify(t)),e}static formatTitleFromDate(t,e){let i=null,s=new Date(t),o=new Date(e);return s.getDate()!=o.getDate()&&(i="d"),s.getMonth()!=o.getMonth()&&(i="d MMM"),s.getFullYear()!=o.getFullYear()&&(i="d MMM yyyy"),i}};function y(a){return new Promise((t,e)=>{let i=new Image;i.src=a,i.decode().then(()=>{t({img:a,height:i.height,width:i.width})}).catch(()=>{e(new Error(`Image load error for ${a}`))})})}var u={dashboard:{View:"DashV"},estimate:{Create:"EstC",Edit:"EstE",Delete:"EstD"},report:{View:"Rep",Advanced:"RepA",Profit:"RepF"},shift:{View:"Shift",Create:"ShiftC",Edit:"ShiftE",Void:"ShiftVo"},contact:{View:"Con",Create:"ConC",Edit:"ConE",Delete:"ConD",LoyaltyPointEditor:"LoyPE",ContactDetail:"ContD",ContactImageEditor:"ContE",Supplier:"Supp",SalesPerson:"SalP"},sell:{Create:"Sell",PricebookSelector:"PricebS",Edit:"SellE",Delete:"SellD",Number:"NumE",SalesPerson:"SalesmanE",Return:"Return",Discount:"Disc",UnitPriceEditor:"UnitPE",Commission:"Comms",Tax:"Tax",CustomerInputLock:"CustL",Payment:"PayR",PriceVisible:"PriceV",PriceMinimum:"PriceM",Email:"Email",DeleteItem:"DelItm",Shipping:"Ship",PaymentCodeLock:"PayCL",EraseVoidOrd:"EraseVO",RestoreVoidOrd:"RestVO",RetrieveR:"RetrieveR",BundlingPrice:"BundlP",ClearCartRestriction:"ClearCartRestriction",CreditSalesLock:"CredSL",CouponInputLock:"CouponInputLock",Park:"Park"},orders:{View:"Ord",SupplierBill:"OrdB",VoidInvoice:"OrdVo",Print:"OrdRpr",NoteEditor:"OrdNe",Invoice:"OrdIr",Erase:"EraseVO"},product:{View:"Prod",Delete:"ProdD",ImageEditor:"ImgE",Create:"ProdC",Edit:"ProdE",Cost:"Cost",BarcodePrinting:"BarP",DeleteAllOutletPrice:"DeleteAllOutletPrice",Expense:"Expense",CommissionView:"CommV",Price:"PriceV"},payment:{View:"Pay",Delete:"PayD",Create:"PayC",Edit:"PayE"},adjustment:{View:"Adj",Delete:"AdjD",Create:"AdjC",Edit:"AdjE",Approval:"AdjApp",InventoryProductCount:"InvPC"},buy:{Delete:"BuyD",Create:"Buy",Edit:"BuyE",ShippingRestriction:"BuySh",Approval:"PurA",Report:"BuyR"},logistics:{View:"Del",Create:"DelC",Edit:"DelE",Delete:"DelD",TransferOrderEditor:"DelRE",Outbound:"FulF",TransferOrderApproval:"DelA",TransferOrderReceiver:"DelR"},debt:{View:"Debt",Delete:"DebtD",Create:"DebtC",Edit:"DebtE"},prepaidPackage:{View:"Tre",Create:"TreC",Edit:"TreE",Delete:"TreD",TreatmentIncentive:"TreI",SharePackageEditor:"SharPacE",TreatmentNote:"TreN",Doctor:"Doct"},inventory:{View:"Inv",Edit:"InvE"},promotion:{View:"Prom",Create:"PromC",Edit:"PromE",Delete:"PromD",Coupon:"Cou",Pricebook:"Pri"},accounting:{View:"Act",Create:"ActC",Edit:"ActE",Delete:"ActD",Report:"ActRep",Ledger:"ActL",EmptyOutlet:"ActEO",ClosingEditor:"ActCE",Advanced:"ActRA",Recurring:"ActRec"},users:{View:"Use",Create:"UseC",Edit:"UseE",Delete:"UseD",Groups:"Gro",LoginTimeRestriction:"LogTR",UserIPRestriction:"UseIR",GroupsRestriction:"UseG",LogRestriction:"LogResct"},outlets:{View:"Out",Create:"OutC",Edit:"OutE",Delete:"OutD"},setup:{View:"Stp",Create:"StpC",Edit:"StpE",Delete:"StpD",Webhook:"StpWh",Developer:"StpDev"},service:{View:"Serv"},myProfile:{View:"Prof",Notification:"Notf",Subscription:"Subs",Activity:"Actv"},customerDisplay:{View:"Disp"},orderDisplay:{View:"KitD"},global:{Export:"Export",Number:"NumE",Date:"DateE",Print:"OrdRpr",SensitiveField:"GlobalSF"},apps:{Marketplace:"Mrp",Jurnal:"Jurnal",Tools:"Tools"},fulfillment:{View:"Ful",Edit:"FulE",Create:"FulC",Delete:"FulD",Ship:"FulS"},manufacture:{View:"Man",Create:"ManC",Edit:"ManE",Delete:"ManD"},developer:{Api:"API",View:"Dev",Edit:"DevE"}};var m=class a{_roles=[];constructor(){this.parseJWTRoles()}parseJWTRoles(){let t=localStorage.getItem("Token");if(r.IsNotEmpty(t)){var e=r.parseJwt(t);this._roles=e["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]}}isInRole(t,e){let i={};return e.forEach((s,o)=>i[t[o]]=typeof s=="string"?this._roles.includes(s):s(this._roles)),i}isUserHasRole(t){return this._roles.includes(t)}_product;get product(){return r.IsEmpty(this._product)&&(this._product=this.setBulkRole("product")),this._product}_contact;get contact(){return r.IsEmpty(this._contact)&&(this._contact=this.setBulkRole("contact")),this._contact}_promotion;get promotion(){return r.IsEmpty(this._promotion)&&(this._promotion=this.setBulkRole("promotion")),this._promotion}_accounting;get accounting(){return r.IsEmpty(this._accounting)&&(this._accounting=this.setBulkRole("accounting")),this._accounting}_users;get users(){return r.IsEmpty(this._users)&&(this._users=this.setBulkRole("users")),this._users}_outlets;get outlets(){return r.IsEmpty(this._outlets)&&(this._outlets=this.setBulkRole("outlets")),this._outlets}_setup;get setup(){return r.IsEmpty(this._setup)&&(this._setup=this.setBulkRole("setup")),this._setup}_service;get service(){return r.IsEmpty(this._service)&&(this._service=this.setBulkRole("service")),this._service}_profile;get profile(){return r.IsEmpty(this._profile)&&(this._profile=this.setBulkRole("myProfile")),this._profile}_customerDisplay;get customerDisplay(){return r.IsEmpty(this._customerDisplay)&&(this._customerDisplay=this.setBulkRole("customerDisplay")),this._customerDisplay}_orderDisplay;get orderDisplay(){return r.IsEmpty(this._orderDisplay)&&(this._orderDisplay=this.setBulkRole("orderDisplay")),this._orderDisplay}_global;get global(){return r.IsEmpty(this._global)&&(this._global=this.setBulkRole("global")),this._global}_apps;get apps(){return r.IsEmpty(this._apps)&&(this._apps=this.setBulkRole("apps")),this._apps}_fulfillment;get fulfillment(){return r.IsEmpty(this._fulfillment)&&(this._fulfillment=this.setBulkRole("fulfillment")),this._fulfillment}_manufacture;get manufacture(){return r.IsEmpty(this._manufacture)&&(this._manufacture=this.setBulkRole("manufacture")),this._manufacture}_inventory;get inventory(){return r.IsEmpty(this._inventory)&&(this._inventory=this.setBulkRole("inventory")),this._inventory}_sell;get sell(){return r.IsEmpty(this._sell)&&(this._sell=this.setBulkRole("sell")),this._sell}_report;get report(){return r.IsEmpty(this._report)&&(this._report=this.setBulkRole("report")),this._report}_buy;get buy(){return r.IsEmpty(this._buy)&&(this._buy=this.setBulkRole("buy")),this._buy}_adjustment;get adjustment(){return r.IsEmpty(this._adjustment)&&(this._adjustment=this.setBulkRole("adjustment")),this._adjustment}_debt;get debt(){return r.IsEmpty(this._debt)&&(this._debt=this.setBulkRole("debt")),this._debt}_payment;get payment(){return r.IsEmpty(this._payment)&&(this._payment=this.setBulkRole("payment")),this._payment}_prepaidPackage;get prepaidPackage(){return r.IsEmpty(this._prepaidPackage)&&(this._prepaidPackage=this.setBulkRole("prepaidPackage")),this._prepaidPackage}_order;get order(){return r.IsEmpty(this._order)&&(this._order=this.setBulkRole("orders")),this._order}_logistic;get logistic(){return r.IsEmpty(this._logistic)&&(this._logistic=this.setBulkRole("logistics")),this._logistic}_estimate;get estimate(){return r.IsEmpty(this._estimate)&&(this._estimate=this.setBulkRole("estimate")),this._estimate}_shift;get shift(){return r.IsEmpty(this._shift)&&(this._shift=this.setBulkRole("shift")),this._shift}_developer;get developer(){return r.IsEmpty(this._developer)&&(this._developer=this.setBulkRole("developer")),this._developer}_dashboard;get dashboard(){return r.IsEmpty(this._dashboard)&&(this._dashboard=this.setBulkRole("dashboard")),this._dashboard}setBulkRole(t){let e={};for(let i in u[t])e[i]=this.isUserHasRole(u[t][i]);return e}get isSystemUser(){let t=localStorage.getItem("Token");return r.parseJwt(t).Type=="System"}resetRoles(){this._roles=[],this._accounting=null,this._adjustment=null,this._apps=null,this._buy=null,this._contact=null,this._customerDisplay=null,this._debt=null,this._fulfillment=null,this._estimate=null,this._global=null,this._inventory=null,this._logistic=null,this._manufacture=null,this._order=null,this._orderDisplay=null,this._outlets=null,this._payment=null,this._product=null,this._prepaidPackage=null,this._profile=null,this._promotion=null,this._report=null,this._sell=null,this._service=null,this._setup=null,this._shift=null,this._users=null,this._developer=null,this._dashboard=null}toJSON(){return{product:this.product,contact:this.contact,promotion:this.promotion,accounting:this.accounting,users:this.users,outlets:this.outlets,setup:this.setup,service:this.service,profile:this.profile,customerDisplay:this.customerDisplay,orderDisplay:this.orderDisplay,global:this.global,apps:this.apps,fulfillment:this.fulfillment,manufacture:this.manufacture,inventory:this.inventory,sell:this.sell,report:this.report,buy:this.buy,adjustment:this.adjustment,debt:this.debt,payment:this.payment,prepaidPackage:this.prepaidPackage,order:this.order,logistic:this.logistic,estimate:this.estimate,shift:this.shift,developer:this.developer,dashboard:this.dashboard}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=l({token:a,factory:a.\u0275fac,providedIn:"root"})};var h=class a{quantity={minimumFraction:0,maximumFraction:0};amount={minimumFraction:0,maximumFraction:0};constructor(){let t=localStorage.getItem("quantityFraction"),e=localStorage.getItem("amountFraction");if(t){let i=JSON.parse(t);this.setQuantityFraction(i.Minimum,i.Maximum)}if(e){let i=JSON.parse(e);this.setAmountFraction(i.Minimum,i.Maximum)}}setQuantityFraction(t,e){this.quantity.minimumFraction=t,this.quantity.maximumFraction=e}setAmountFraction(t,e){this.amount.minimumFraction=t,this.amount.maximumFraction=e}static \u0275fac=function(e){return new(e||a)};static \u0275prov=l({token:a,factory:a.\u0275fac,providedIn:"root"})};export{r as a,y as b,u as c,m as d,h as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-CBW7IA6S.js";import{J as o}from"./chunk-H55AJAX5.js";var s=class extends a{constructor(t,e,r,n){super(t);this.httpService=e;this.formDataAPI=r;this.route=n;let p=this.route.snapshot.queryParams;this.menuData$.pipe(o(()=>this.httpService.post(`/api/${this.formDataAPI}`,p))).subscribe(i=>{this.data=i,this.postBindForm(i)})}data={};get formData(){return this.data.Form}set formData(t){this.data.Form=t}get options(){return this.data.Options?this.data.Options:{}}get Roles(){return this.data.Roles?this.data.Roles:{}}postBindForm(t){}onSubmit(t,e=!1){this.preSubmitForm(),this.httpService.post(`/api/${t}`,this.formData).subscribe({next:r=>{this.onSubmitSuccess(r)},error:r=>{this.onSubmitError(r)}})}compare(t,e,r){return(t<e?-1:1)*(r?1:-1)}preSubmitForm(){}onSubmitSuccess(t){}onSubmitError(t){}};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$a as G,$b as di,A as re,Ab as ft,Ac as ui,Bb as Ct,Bc as fi,Ca as W,D as Qe,Dc as Rt,E as U,Ea as S,Fa as v,Fb as ci,Fc as M,G as ae,Gb as li,Ia as b,Ib as Dt,Ic as pi,Ja as de,Jc as _i,Ka as si,Kb as Vt,L as ht,La as ni,Lb as zt,M as ce,Ma as X,Mb as kt,Mc as g,Na as oi,Nc as mi,P as le,Pc as gi,Sb as xt,Tb as Ot,Ua as Z,Ub as At,Va as d,X as Lt,Xa as It,Ya as Nt,Z as he,Zb as Ht,_b as hi,a as j,ab as ue,ba as T,bb as ri,c as Y,ca as qe,cd as vi,d as _,da as Je,dd as bi,e as Ge,eb as jt,fb as V,gb as fe,gc as it,ha as f,hb as ai,ia as E,ib as dt,ja as x,ka as c,la as I,lb as pe,mb as ut,o as wt,ob as z,pa as tt,qa as C,ra as A,t as J,ta as ti,u as $e,ub as Bt,va as Et,wa as ei,x as Ke,xa as ii,zb as et}from"./chunk-H55AJAX5.js";import{a as y,b as Ft}from"./chunk-KW4B7WMB.js";function Yt(s){return s!=null&&`${s}`!="false"}function st(s,i=0){return vs(s)?Number(s):arguments.length===2?i:0}function vs(s){return!isNaN(parseFloat(s))&&!isNaN(Number(s))}function pt(s){return Array.isArray(s)?s:[s]}function D(s){return s==null?"":typeof s=="string"?s:`${s}px`}function L(s){return s instanceof b?s.nativeElement:s}function go(s,i=/\s+/){let t=[];if(s!=null){let e=Array.isArray(s)?s:`${s}`.split(i);for(let n of e){let o=`${n}`.trim();o&&t.push(o)}}return t}var me;try{me=typeof Intl<"u"&&Intl.v8BreakIterator}catch{me=!1}var w=(()=>{class s{constructor(t){this._platformId=t,this.isBrowser=this._platformId?bi(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||me)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(e){return new(e||s)(c(ni))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var _t,yi=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Co(){if(_t)return _t;if(typeof document!="object"||!document)return _t=new Set(yi),_t;let s=document.createElement("input");return _t=new Set(yi.filter(i=>(s.setAttribute("type",i),s.type===i))),_t}var St;function bs(){if(St==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>St=!0}))}finally{St=St||!1}return St}function $(s){return bs()?s:!!s.capture}var N=function(s){return s[s.NORMAL=0]="NORMAL",s[s.NEGATED=1]="NEGATED",s[s.INVERTED=2]="INVERTED",s}(N||{}),Ut,nt;function Wt(){if(nt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return nt=!1,nt;if("scrollBehavior"in document.documentElement.style)nt=!0;else{let s=Element.prototype.scrollTo;s?nt=!/\{\s*\[native code\]\s*\}/.test(s.toString()):nt=!1}}return nt}function mt(){if(typeof document!="object"||!document)return N.NORMAL;if(Ut==null){let s=document.createElement("div"),i=s.style;s.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let t=document.createElement("div"),e=t.style;e.width="2px",e.height="1px",s.appendChild(t),document.body.appendChild(s),Ut=N.NORMAL,s.scrollLeft===0&&(s.scrollLeft=1,Ut=s.scrollLeft===0?N.NEGATED:N.INVERTED),s.remove()}return Ut}var _e;function ys(){if(_e==null){let s=typeof document<"u"?document.head:null;_e=!!(s&&(s.createShadowRoot||s.attachShadow))}return _e}function wi(s){if(ys()){let i=s.getRootNode?s.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Ei(){let s=typeof document<"u"&&document?document.activeElement:null;for(;s&&s.shadowRoot;){let i=s.shadowRoot.activeElement;if(i===s)break;s=i}return s}function P(s){return s.composedPath?s.composedPath()[0]:s.target}function Tt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ws=new x("cdk-dir-doc",{providedIn:"root",factory:Es});function Es(){return I(g)}var Is=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Cs(s){let i=s?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?Is.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var ot=(()=>{class s{constructor(t){if(this.value="ltr",this.change=new S,t){let e=t.body?t.body.dir:null,n=t.documentElement?t.documentElement.dir:null;this.value=Cs(e||n||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(e){return new(e||s)(c(ws,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var K=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({})}}return s})();var Ii=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(i=!1,t,e=!0,n){this._multiple=i,this._emitChanges=e,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new _,t&&t.length&&(i?t.forEach(o=>this._markSelected(o)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(e=>this._markSelected(e));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...i){this._verifyValueAssignment(i),i.forEach(e=>this._unmarkSelected(e));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...i){this._verifyValueAssignment(i);let t=this.selected,e=new Set(i);i.forEach(o=>this._markSelected(o)),t.filter(o=>!e.has(this._getConcreteValue(o,e))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let t=this._hasQueuedChanges();return i&&this._emitChangeEvent(),t}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,t){if(this.compareWith){t=t??this._selection;for(let e of t)if(this.compareWith(i,e))return e;return i}else return i}};var Lo=(()=>{class s{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var Ds=20,vt=(()=>{class s{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new _,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Ds){return this._platform.isBrowser?new Y(e=>{this._globalSubscription||this._addGlobalListener();let n=t>0?this._scrolled.pipe(ae(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):wt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){let n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(U(o=>!o||n.indexOf(o)>-1))}getAncestorScrollContainers(t){let e=[];return this.scrollContainers.forEach((n,o)=>{this._scrollableContainsElement(o,t)&&e.push(o)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=L(e),o=t.getElementRef().nativeElement;do if(n==o)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return re(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(e){return new(e||s)(c(v),c(w),c(g,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),ks=(()=>{class s{constructor(t,e,n,o){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=o,this._destroyed=new _,this._elementScrolled=new Y(r=>this.ngZone.runOutsideAngular(()=>re(this.elementRef.nativeElement,"scroll").pipe(T(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let e=this.elementRef.nativeElement,n=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=n?t.end:t.start),t.right==null&&(t.right=n?t.start:t.end),t.bottom!=null&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&mt()!=N.NORMAL?(t.left!=null&&(t.right=e.scrollWidth-e.clientWidth-t.left),mt()==N.INVERTED?t.left=t.right:mt()==N.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let e=this.elementRef.nativeElement;Wt()?e.scrollTo(t):(t.top!=null&&(e.scrollTop=t.top),t.left!=null&&(e.scrollLeft=t.left))}measureScrollOffset(t){let e="left",n="right",o=this.elementRef.nativeElement;if(t=="top")return o.scrollTop;if(t=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let r=this.dir&&this.dir.value=="rtl";return t=="start"?t=r?n:e:t=="end"&&(t=r?e:n),r&&mt()==N.INVERTED?t==e?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:r&&mt()==N.NEGATED?t==e?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:t==e?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(e){return new(e||s)(d(b),d(vt),d(v),d(ot,8))}}static{this.\u0275dir=A({type:s,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return s})(),xs=20,Zt=(()=>{class s{constructor(t,e,n){this._platform=t,this._change=new _,this._changeListener=o=>{this._change.next(o)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,e=this._getWindow(),n=t.documentElement,o=n.getBoundingClientRect(),r=-o.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,a=-o.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0;return{top:r,left:a}}change(t=xs){return t>0?this._change.pipe(ae(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(e){return new(e||s)(c(w),c(v),c(g,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var Xt=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({})}}return s})(),be=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({imports:[K,Xt,K,Xt]})}}return s})();function Q(s,...i){return i.length?i.some(t=>s[t]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}function As(s){if(s.type==="characterData"&&s.target instanceof Comment)return!0;if(s.type==="childList"){for(let i=0;i<s.addedNodes.length;i++)if(!(s.addedNodes[i]instanceof Comment))return!1;for(let i=0;i<s.removedNodes.length;i++)if(!(s.removedNodes[i]instanceof Comment))return!1;return!0}return!1}var Di=(()=>{class s{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),Rs=(()=>{class s{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map,this._ngZone=I(v)}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){let e=L(t);return new Y(n=>{let r=this._observeElement(e).pipe(J(a=>a.filter(h=>!As(h))),U(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{n.next(a)})});return()=>{r.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let e=new _,n=this._mutationObserverFactory.create(o=>e.next(o));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}static{this.\u0275fac=function(e){return new(e||s)(c(Di))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),ar=(()=>{class s{get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=st(t),this._subscribe()}constructor(t,e){this._contentObserver=t,this._elementRef=e,this.event=new S,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(ht(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(e){return new(e||s)(d(Rs),d(b))}}static{this.\u0275dir=A({type:s,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",M],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[V]})}}return s})(),ki=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({providers:[Di]})}}return s})();var xi=new Set,rt,Ss=(()=>{class s{constructor(t,e){this._platform=t,this._nonce=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ms}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Ts(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(e){return new(e||s)(c(w),c(oi,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function Ts(s,i){if(!xi.has(s))try{rt||(rt=document.createElement("style"),i&&rt.setAttribute("nonce",i),rt.setAttribute("type","text/css"),document.head.appendChild(rt)),rt.sheet&&(rt.sheet.insertRule(`@media ${s} {body{ }}`,0),xi.add(s))}catch(t){console.error(t)}}function Ms(s){return{matches:s==="all"||s==="",media:s,addListener:()=>{},removeListener:()=>{}}}var Ai=(()=>{class s{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new _}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Oi(pt(t)).some(n=>this._registerQuery(n).mql.matches)}observe(t){let n=Oi(pt(t)).map(r=>this._registerQuery(r).observable),o=$e(n);return o=Ke(o.pipe(ce(1)),o.pipe(Lt(1),ht(0))),o.pipe(J(r=>{let a={matches:!1,breakpoints:{}};return r.forEach(({matches:h,query:u})=>{a.matches=a.matches||h,a.breakpoints[u]=h}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let e=this._mediaMatcher.matchMedia(t),o={observable:new Y(r=>{let a=h=>this._zone.run(()=>r.next(h));return e.addListener(a),()=>{e.removeListener(a)}}).pipe(he(e),J(({matches:r})=>({query:t,matches:r})),T(this._destroySubject)),mql:e};return this._queries.set(t,o),o}static{this.\u0275fac=function(e){return new(e||s)(c(Ss),c(v))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function Oi(s){return s.map(i=>i.split(",")).reduce((i,t)=>i.concat(t)).map(i=>i.trim())}var gr={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Li=" ";function qs(s,i,t){let e=Qt(s,i);t=t.trim(),!e.some(n=>n.trim()===t)&&(e.push(t),s.setAttribute(i,e.join(Li)))}function Js(s,i,t){let e=Qt(s,i);t=t.trim();let n=e.filter(o=>o!==t);n.length?s.setAttribute(i,n.join(Li)):s.removeAttribute(i)}function Qt(s,i){return s.getAttribute(i)?.match(/\S+/g)??[]}var Ni="cdk-describedby-message",Gt="cdk-describedby-host",Ee=0,ji=(()=>{class s{constructor(t,e){this._platform=e,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Ee++}`,this._document=t,this._id=I(si)+"-"+Ee++}describe(t,e,n){if(!this._canBeDescribed(t,e))return;let o=ye(e,n);typeof e!="string"?(Ri(e,this._id),this._messageRegistry.set(o,{messageElement:e,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;let o=ye(e,n);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),typeof e=="string"){let r=this._messageRegistry.get(o);r&&r.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${Gt}="${this._id}"]`);for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(Gt);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,e){let n=this._document.createElement("div");Ri(n,this._id),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),this._messagesContainer.appendChild(n),this._messageRegistry.set(ye(t,e),{messageElement:n,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",e=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let o=0;o<e.length;o++)e[o].remove();let n=this._document.createElement("div");n.style.visibility="hidden",n.classList.add(t),n.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&n.setAttribute("platform","server"),this._document.body.appendChild(n),this._messagesContainer=n}_removeCdkDescribedByReferenceIds(t){let e=Qt(t,"aria-describedby").filter(n=>n.indexOf(Ni)!=0);t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){let n=this._messageRegistry.get(e);qs(t,"aria-describedby",n.messageElement.id),t.setAttribute(Gt,this._id),n.referenceCount++}_removeMessageReference(t,e){let n=this._messageRegistry.get(e);n.referenceCount--,Js(t,"aria-describedby",n.messageElement.id),t.removeAttribute(Gt)}_isElementDescribedByMessage(t,e){let n=Qt(t,"aria-describedby"),o=this._messageRegistry.get(e),r=o&&o.messageElement.id;return!!r&&n.indexOf(r)!=-1}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&typeof e=="object")return!0;let n=e==null?"":`${e}`.trim(),o=t.getAttribute("aria-label");return n?!o||o.trim()!==n:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(e){return new(e||s)(c(g),c(w))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function ye(s,i){return typeof s=="string"?`${i||""}/${s}`:s}function Ri(s,i){s.id||(s.id=`${Ni}-${i}-${Ee++}`)}var tn=200,Ie=class{constructor(i,t){this._letterKeyStream=new _,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new _,this.selectedItem=this._selectedItem;let e=typeof t?.debounceInterval=="number"?t.debounceInterval:tn;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(i),this._setupKeyHandler(e)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let t=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Je(t=>this._pressedLetters.push(t)),ht(i),U(()=>this._pressedLetters.length>0),J(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let e=1;e<this._items.length+1;e++){let n=(this._selectedItemIndex+e)%this._items.length,o=this._items[n];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}},qt=class{constructor(i,t){this._items=i,this._activeItemIndex=-1,this._activeItem=ri(null),this._wrap=!1,this._typeaheadSubscription=j.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this.tabOut=new _,this.change=new _,i instanceof de?this._itemChangesSubscription=i.changes.subscribe(e=>this._itemsChanged(e.toArray())):ue(i)&&(this._effectRef=_i(()=>this._itemsChanged(i()),{injector:t}))}skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Ie(t,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.setActiveItem(e)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,t=10){return this._pageUpAndDown={enabled:i,delta:t},this}setActiveItem(i){let t=this._activeItem();this.updateActiveItem(i),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(i){let t=i.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!i[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(o<r?o:r-1,-1);break}else return;default:(n||Q(i,"shiftKey"))&&this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){let t=this._getItemsArray(),e=typeof i=="number"?i:t.indexOf(i),n=t[e];this._activeItem.set(n??null),this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){let t=this._getItemsArray();for(let e=1;e<=t.length;e++){let n=(this._activeItemIndex+i*e+t.length)%t.length,o=t[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex+i,i)}_setActiveItemByIndex(i,t){let e=this._getItemsArray();if(e[i]){for(;this._skipPredicateFn(e[i]);)if(i+=t,!e[i])return;this.setActiveItem(i)}}_getItemsArray(){return ue(this._items)?this._items():this._items instanceof de?this._items.toArray():this._items}_itemsChanged(i){this._typeahead?.setItems(i);let t=this._activeItem();if(t){let e=i.indexOf(t);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Si=class extends qt{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}},Ti=class extends qt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var en=(()=>{class s{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return nn(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let e=sn(un(t));if(e&&(Mi(e)===-1||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),o=Mi(t);return t.hasAttribute("contenteditable")?o!==-1:n==="iframe"||n==="object"||this._platform.WEBKIT&&this._platform.IOS&&!hn(t)?!1:n==="audio"?t.hasAttribute("controls")?o!==-1:!1:n==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,e){return dn(t)&&!this.isDisabled(t)&&(e?.ignoreVisibility||this.isVisible(t))}static{this.\u0275fac=function(e){return new(e||s)(c(w))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function sn(s){try{return s.frameElement}catch{return null}}function nn(s){return!!(s.offsetWidth||s.offsetHeight||typeof s.getClientRects=="function"&&s.getClientRects().length)}function on(s){let i=s.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function rn(s){return cn(s)&&s.type=="hidden"}function an(s){return ln(s)&&s.hasAttribute("href")}function cn(s){return s.nodeName.toLowerCase()=="input"}function ln(s){return s.nodeName.toLowerCase()=="a"}function Bi(s){if(!s.hasAttribute("tabindex")||s.tabIndex===void 0)return!1;let i=s.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function Mi(s){if(!Bi(s))return null;let i=parseInt(s.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function hn(s){let i=s.nodeName.toLowerCase(),t=i==="input"&&s.type;return t==="text"||t==="password"||i==="select"||i==="textarea"}function dn(s){return rn(s)?!1:on(s)||an(s)||s.hasAttribute("contenteditable")||Bi(s)}function un(s){return s.ownerDocument&&s.ownerDocument.defaultView||window}var Ce=class{get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}constructor(i,t,e,n,o=!1,r){this._element=i,this._checker=t,this._ngZone=e,this._document=n,this._injector=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let i=this._startAnchor,t=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let t=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let e=this._getFirstTabbableElement(t);return e?.focus(i),!!e}return t.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let t=this._getRegionBoundary("start");return t&&t.focus(i),!!t}focusLastTabbableElement(i){let t=this._getRegionBoundary("end");return t&&t.focus(i),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let t=i.children;for(let e=0;e<t.length;e++){let n=t[e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[e]):null;if(n)return n}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let t=i.children;for(let e=t.length-1;e>=0;e--){let n=t[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[e]):null;if(n)return n}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,t){i?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?dt(i,{injector:this._injector}):setTimeout(i)}},fn=(()=>{class s{constructor(t,e,n){this._checker=t,this._ngZone=e,this._injector=I(W),this._document=n}create(t,e=!1){return new Ce(t,this._checker,this._ngZone,this._document,e,this._injector)}static{this.\u0275fac=function(e){return new(e||s)(c(en),c(v),c(g))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),Fr=(()=>{class s{get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,I(w).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Ei(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(e){return new(e||s)(d(b),d(fn),d(g))}}static{this.\u0275dir=A({type:s,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",M],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",M]},exportAs:["cdkTrapFocus"],standalone:!0,features:[V,Et]})}}return s})();function De(s){return s.buttons===0||s.detail===0}function ke(s){let i=s.touches&&s.touches[0]||s.changedTouches&&s.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var pn=new x("cdk-input-modality-detector-options"),_n={ignoreKeys:[18,17,224,91,16]},Vi=650,bt=$({passive:!0,capture:!0}),mn=(()=>{class s{get mostRecentModality(){return this._modality.value}constructor(t,e,n,o){this._platform=t,this._mostRecentTarget=null,this._modality=new Ge(null),this._lastTouchMs=0,this._onKeydown=r=>{this._options?.ignoreKeys?.some(a=>a===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=P(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<Vi||(this._modality.next(De(r)?"keyboard":"mouse"),this._mostRecentTarget=P(r))},this._onTouchstart=r=>{if(ke(r)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=P(r)},this._options=y(y({},_n),o),this.modalityDetected=this._modality.pipe(Lt(1)),this.modalityChanged=this.modalityDetected.pipe(le()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,bt),n.addEventListener("mousedown",this._onMousedown,bt),n.addEventListener("touchstart",this._onTouchstart,bt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,bt),document.removeEventListener("mousedown",this._onMousedown,bt),document.removeEventListener("touchstart",this._onTouchstart,bt))}static{this.\u0275fac=function(e){return new(e||s)(c(w),c(v),c(g),c(pn,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),gn=new x("liveAnnouncerElement",{providedIn:"root",factory:vn});function vn(){return null}var bn=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),yn=0,Lr=(()=>{class s{constructor(t,e,n,o){this._ngZone=e,this._defaultOptions=o,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){let n=this._defaultOptions,o,r;return e.length===1&&typeof e[0]=="number"?r=e[0]:[o,r]=e,this.clear(),clearTimeout(this._previousTimeout),o||(o=n&&n.politeness?n.politeness:"polite"),r==null&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof r=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),r)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let o=0;o<e.length;o++)e[o].remove();return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),n.id=`cdk-live-announcer-${yn++}`,this._document.body.appendChild(n),n}_exposeAnnouncerToModals(t){let e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n<e.length;n++){let o=e[n],r=o.getAttribute("aria-owns");r?r.indexOf(t)===-1&&o.setAttribute("aria-owns",r+" "+t):o.setAttribute("aria-owns",t)}}static{this.\u0275fac=function(e){return new(e||s)(c(gn,8),c(v),c(g),c(bn,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var Kt=function(s){return s[s.IMMEDIATE=0]="IMMEDIATE",s[s.EVENTUAL=1]="EVENTUAL",s}(Kt||{}),wn=new x("cdk-focus-monitor-default-options"),$t=$({passive:!0,capture:!0}),xe=(()=>{class s{constructor(t,e,n,o,r){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new _,this._rootNodeFocusAndBlurListener=a=>{let h=P(a);for(let u=h;u;u=u.parentElement)a.type==="focus"?this._onFocus(a,u):this._onBlur(a,u)},this._document=o,this._detectionMode=r?.detectionMode||Kt.IMMEDIATE}monitor(t,e=!1){let n=L(t);if(!this._platform.isBrowser||n.nodeType!==1)return wt();let o=wi(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;let a={checkChildren:e,subject:new _,rootNode:o};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let e=L(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){let o=L(t),r=this._getDocument().activeElement;o===r?this._getClosestElementsInfo(o).forEach(([a,h])=>this._originChanged(a,e,h)):(this._setOrigin(e),typeof o.focus=="function"&&o.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Kt.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,e){t.classList.toggle("cdk-focused",!!e),t.classList.toggle("cdk-touch-focused",e==="touch"),t.classList.toggle("cdk-keyboard-focused",e==="keyboard"),t.classList.toggle("cdk-mouse-focused",e==="mouse"),t.classList.toggle("cdk-program-focused",e==="program")}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&e,this._detectionMode===Kt.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?Vi:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(t,e){let n=this._elementInfo.get(e),o=P(t);!n||!n.checkChildren&&e!==o||this._originChanged(e,this._getFocusOrigin(o),n)}_onBlur(t,e){let n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n,null))}_emitOrigin(t,e){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,$t),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,$t)}),this._rootNodeFocusListenerCount.set(e,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(T(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){let e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){let n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$t),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$t),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){let e=[];return this._elementInfo.forEach((n,o)=>{(o===t||n.checkChildren&&o.contains(t))&&e.push([o,n])}),e}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:e,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!e||e===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let o=t.labels;if(o){for(let r=0;r<o.length;r++)if(o[r].contains(e))return!0}return!1}static{this.\u0275fac=function(e){return new(e||s)(c(v),c(w),c(mn),c(g,8),c(wn,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),Nr=(()=>{class s{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this._focusOrigin=null,this.cdkFocusChange=new S}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>{this._focusOrigin=e,this.cdkFocusChange.emit(e)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(e){return new(e||s)(d(b),d(xe))}}static{this.\u0275dir=A({type:s,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return s})(),at=function(s){return s[s.NONE=0]="NONE",s[s.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",s[s.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",s}(at||{}),Pi="cdk-high-contrast-black-on-white",Fi="cdk-high-contrast-white-on-black",we="cdk-high-contrast-active",Oe=(()=>{class s{constructor(t,e){this._platform=t,this._document=e,this._breakpointSubscription=I(Ai).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return at.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,o=(n&&n.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return at.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return at.BLACK_ON_WHITE}return at.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(we,Pi,Fi),this._hasCheckedHighContrastMode=!0;let e=this.getHighContrastMode();e===at.BLACK_ON_WHITE?t.add(we,Pi):e===at.WHITE_ON_BLACK&&t.add(we,Fi)}}static{this.\u0275fac=function(e){return new(e||s)(c(w),c(g))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),zi=(()=>{class s{constructor(t){t._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(e){return new(e||s)(c(Oe))}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({imports:[ki]})}}return s})();var Cn=["text"],Dn=[[["mat-icon"]],"*"],kn=["mat-icon","*"];function xn(s,i){if(s&1&&Ct(0,"mat-pseudo-checkbox",1),s&2){let t=Vt();ut("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function On(s,i){if(s&1&&Ct(0,"mat-pseudo-checkbox",3),s&2){let t=Vt();ut("disabled",t.disabled)}}function An(s,i){if(s&1&&(et(0,"span",4),Ht(1),ft()),s&2){let t=Vt();Z(),di("(",t.group.label,")")}}var Rn=["mat-internal-form-field",""],Sn=["*"];var oa=(()=>{class s{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return s})(),ra=(()=>{class s{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return s})();function Tn(){return!0}var Mn=new x("mat-sanity-checks",{providedIn:"root",factory:Tn}),ct=(()=>{class s{constructor(t,e,n){this._sanityChecks=e,this._document=n,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return Tt()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}static{this.\u0275fac=function(e){return new(e||s)(c(Oe),c(Mn,8),c(g))}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({imports:[K,K]})}}return s})();var Yi=class{constructor(i,t,e,n,o){this._defaultMatcher=i,this.ngControl=t,this._parentFormGroup=e,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let i=this.errorState,t=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(n,t)??!1;o!==i&&(this.errorState=o,this._stateChanges.next())}};var Ui=new x("MAT_DATE_LOCALE",{providedIn:"root",factory:Pn});function Pn(){return I(fi)}var te=class{constructor(){this._localeChanges=new _,this.localeChanges=this._localeChanges}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,t){return this.getYear(i)-this.getYear(t)||this.getMonth(i)-this.getMonth(t)||this.getDate(i)-this.getDate(t)}sameDate(i,t){if(i&&t){let e=this.isValid(i),n=this.isValid(t);return e&&n?!this.compareDate(i,t):e==n}return i==t}clampDate(i,t,e){return t&&this.compareDate(i,t)<0?t:e&&this.compareDate(i,e)>0?e:i}},Fn=new x("mat-date-formats"),Ln=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ae(s,i){let t=Array(s);for(let e=0;e<s;e++)t[e]=i(e);return t}var Nn=(()=>{class s extends te{constructor(t){super(),this.useUtcForDisplay=!1,this._matDateLocale=I(Ui,{optional:!0}),t!==void 0&&(this._matDateLocale=t),super.setLocale(this._matDateLocale)}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){let e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Ae(12,n=>this._format(e,new Date(2017,n,1)))}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ae(31,e=>this._format(t,new Date(2017,0,e+1)))}getDayOfWeekNames(t){let e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Ae(7,n=>this._format(e,new Date(2017,0,n+1)))}getYearName(t){let e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(e,t)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let t=new Intl.Locale(this.locale),e=(t.getWeekInfo?.()||t.weekInfo)?.firstDay??0;return e===7?0:e}return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){let o=this._createDateWithOverflow(t,e,n);return o.getMonth()!=e,o}today(){return new Date}parse(t,e){return typeof t=="number"?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");let n=new Intl.DateTimeFormat(this.locale,Ft(y({},e),{timeZone:"utc"}));return this._format(n,t)}addCalendarYears(t,e){return this.addCalendarMonths(t,e*12)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if(typeof t=="string"){if(!t)return null;if(Ln.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){let o=new Date;return o.setFullYear(t,e,n),o.setHours(0,0,0,0),o}_2digit(t){return("00"+t).slice(-2)}_format(t,e){let n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}static{this.\u0275fac=function(e){return new(e||s)(c(Ui,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac})}}return s})(),jn={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};var aa=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({providers:[Bn()]})}}return s})();function Bn(s=jn){return[{provide:te,useClass:Nn},{provide:Fn,useValue:s}]}var ca=(()=>{class s{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var F=function(s){return s[s.FADING_IN=0]="FADING_IN",s[s.VISIBLE=1]="VISIBLE",s[s.FADING_OUT=2]="FADING_OUT",s[s.HIDDEN=3]="HIDDEN",s}(F||{}),Te=class{constructor(i,t,e,n=!1){this._renderer=i,this.element=t,this.config=e,this._animationForciblyDisabledThroughCss=n,this.state=F.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Wi=$({passive:!0,capture:!0}),Me=class{constructor(){this._events=new Map,this._delegateEventHandler=i=>{let t=P(i);t&&this._events.get(i.type)?.forEach((e,n)=>{(n===t||n.contains(t))&&e.forEach(o=>o.handleEvent(i))})}}addHandler(i,t,e,n){let o=this._events.get(t);if(o){let r=o.get(e);r?r.add(n):o.set(e,new Set([n]))}else this._events.set(t,new Map([[e,new Set([n])]])),i.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Wi)})}removeHandler(i,t,e){let n=this._events.get(i);if(!n)return;let o=n.get(t);o&&(o.delete(e),o.size===0&&n.delete(t),n.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,Wi)))}},Xi={enterDuration:225,exitDuration:150},Vn=800,Zi=$({passive:!0,capture:!0}),Gi=["mousedown","touchstart"],$i=["mouseup","mouseleave","touchend","touchcancel"],Pe=class s{static{this._eventManager=new Me}constructor(i,t,e,n){this._target=i,this._ngZone=t,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=L(e))}fadeInRipple(i,t,e={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=y(y({},Xi),e.animation);e.centered&&(i=n.left+n.width/2,t=n.top+n.height/2);let r=e.radius||zn(i,t,n),a=i-n.left,h=t-n.top,u=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-r}px`,l.style.top=`${h-r}px`,l.style.height=`${r*2}px`,l.style.width=`${r*2}px`,e.color!=null&&(l.style.backgroundColor=e.color),l.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(l);let p=window.getComputedStyle(l),m=p.transitionProperty,k=p.transitionDuration,R=m==="none"||k==="0s"||k==="0s, 0s"||n.width===0&&n.height===0,O=new Te(this,l,e,R);l.style.transform="scale3d(1, 1, 1)",O.state=F.FADING_IN,e.persistent||(this._mostRecentTransientRipple=O);let q=null;return!R&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Xe=()=>{q&&(q.fallbackTimer=null),clearTimeout(Ze),this._finishRippleTransition(O)},oe=()=>this._destroyRipple(O),Ze=setTimeout(oe,u+100);l.addEventListener("transitionend",Xe),l.addEventListener("transitioncancel",oe),q={onTransitionEnd:Xe,onTransitionCancel:oe,fallbackTimer:Ze}}),this._activeRipples.set(O,q),(R||!u)&&this._finishRippleTransition(O),O}fadeOutRipple(i){if(i.state===F.FADING_OUT||i.state===F.HIDDEN)return;let t=i.element,e=y(y({},Xi),i.config.animation);t.style.transitionDuration=`${e.exitDuration}ms`,t.style.opacity="0",i.state=F.FADING_OUT,(i._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let t=L(i);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,Gi.forEach(e=>{s._eventManager.addHandler(this._ngZone,e,t,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$i.forEach(t=>{this._triggerElement.addEventListener(t,this,Zi)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===F.FADING_IN?this._startFadeOutTransition(i):i.state===F.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let t=i===this._mostRecentTransientRipple,{persistent:e}=i.config;i.state=F.VISIBLE,!e&&(!t||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let t=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=F.HIDDEN,t!==null&&(i.element.removeEventListener("transitionend",t.onTransitionEnd),i.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),i.element.remove()}_onMousedown(i){let t=De(i),e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Vn;!this._target.rippleDisabled&&!t&&!e&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!ke(i)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=i.changedTouches;if(t)for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(i=>{let t=i.state===F.VISIBLE||i.config.terminateOnPointerUp&&i.state===F.FADING_IN;!i.config.persistent&&t&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(Gi.forEach(t=>s._eventManager.removeHandler(t,i,this)),this._pointerUpEventsRegistered&&($i.forEach(t=>i.removeEventListener(t,this,Zi)),this._pointerUpEventsRegistered=!1))}};function zn(s,i,t){let e=Math.max(Math.abs(s-t.left),Math.abs(s-t.right)),n=Math.max(Math.abs(i-t.top),Math.abs(i-t.bottom));return Math.sqrt(e*e+n*n)}var Ji=new x("mat-ripple-global-options"),ts=(()=>{class s{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,e,n,o,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Pe(this,e,t,n)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:y(y(y({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,e,y(y({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,y(y({},this.rippleConfig),t))}static{this.\u0275fac=function(e){return new(e||s)(d(b),d(v),d(w),d(Ji,8),d(X,8))}}static{this.\u0275dir=A({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){e&2&&z("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return s})(),Hn=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({imports:[ct,ct]})}}return s})(),Yn=(()=>{class s{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(e){return new(e||s)(d(X,8))}}static{this.\u0275cmp=tt({type:s,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,n){e&2&&z("mat-pseudo-checkbox-indeterminate",n.state==="indeterminate")("mat-pseudo-checkbox-checked",n.state==="checked")("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal",n.appearance==="minimal")("mat-pseudo-checkbox-full",n.appearance==="full")("_mat-animation-noopable",n._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[it],decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return s})(),Un=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({imports:[ct]})}}return s})(),Wn=new x("MAT_OPTION_PARENT_COMPONENT");var Xn=new x("MatOptgroup");var Zn=0,Fe=class{constructor(i,t=!1){this.source=i,this.isUserInput=t}},la=(()=>{class s{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,e,n,o){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Zn++}`,this.onSelectionChange=new S,this._stateChanges=new _}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,e){let n=this._getHostElement();typeof n.focus=="function"&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Q(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Fe(this,t))}static{this.\u0275fac=function(e){return new(e||s)(d(b),d(Rt),d(Wn,8),d(Xn,8))}}static{this.\u0275cmp=tt({type:s,selectors:[["mat-option"]],viewQuery:function(e,n){if(e&1&&xt(Cn,7),e&2){let o;Ot(o=At())&&(n._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,n){e&1&&Dt("click",function(){return n._selectViaInteraction()})("keydown",function(r){return n._handleKeydown(r)}),e&2&&(li("id",n.id),pe("aria-selected",n.selected)("aria-disabled",n.disabled.toString()),z("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",M]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[V,it],ngContentSelectors:kn,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){e&1&&(zt(Dn),fe(0,xn,1,2,"mat-pseudo-checkbox",1),kt(1),et(2,"span",2,0),kt(4,1),ft(),fe(5,On,1,1,"mat-pseudo-checkbox",3)(6,An,2,1,"span",4),Ct(7,"div",5)),e&2&&(Bt(n.multiple?0:-1),Z(5),Bt(!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator?5:-1),Z(),Bt(n.group&&n.group._inert?6:-1),Z(),ut("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[Yn,ts],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return s})();function ha(s,i,t){if(t.length){let e=i.toArray(),n=t.toArray(),o=0;for(let r=0;r<s+1;r++)e[r].group&&e[r].group===n[o]&&o++;return o}return 0}function da(s,i,t,e){return s<t?s:s+i>t+e?Math.max(0,s-e+i):t}var ua=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({imports:[Hn,ct,Un]})}}return s})(),Ki={capture:!0},Qi=["focus","mousedown","mouseenter","touchstart"],Re="mat-ripple-loader-uninitialized",Se="mat-ripple-loader-class-name",qi="mat-ripple-loader-centered",Jt="mat-ripple-loader-disabled",fa=(()=>{class s{constructor(){this._document=I(g,{optional:!0}),this._animationMode=I(X,{optional:!0}),this._globalRippleOptions=I(Ji,{optional:!0}),this._platform=I(w),this._ngZone=I(v),this._hosts=new Map,this._onInteraction=t=>{let e=P(t);if(e instanceof HTMLElement){let n=e.closest(`[${Re}="${this._globalRippleOptions?.namespace??""}"]`);n&&this._createRipple(n)}},this._ngZone.runOutsideAngular(()=>{for(let t of Qi)this._document?.addEventListener(t,this._onInteraction,Ki)})}ngOnDestroy(){let t=this._hosts.keys();for(let e of t)this.destroyRipple(e);for(let e of Qi)this._document?.removeEventListener(e,this._onInteraction,Ki)}configureRipple(t,e){t.setAttribute(Re,this._globalRippleOptions?.namespace??""),(e.className||!t.hasAttribute(Se))&&t.setAttribute(Se,e.className||""),e.centered&&t.setAttribute(qi,""),e.disabled&&t.setAttribute(Jt,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,e){let n=this._hosts.get(t);if(n){n.disabled=e;return}e?t.setAttribute(Jt,""):t.removeAttribute(Jt)}_createRipple(t){if(!this._document)return;let e=this._hosts.get(t);if(e)return e;t.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",t.getAttribute(Se)),t.append(n);let o=new ts(new b(n),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=t,o.centered=t.hasAttribute(qi),o.disabled=t.hasAttribute(Jt),this.attachRipple(t,o),o}attachRipple(t,e){t.removeAttribute(Re),this._hosts.set(t,e)}destroyRipple(t){let e=this._hosts.get(t);e&&(e.ngOnDestroy(),this._hosts.delete(t))}static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),pa=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275cmp=tt({type:s,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(e,n){e&2&&z("mdc-form-field--align-end",n.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[it],attrs:Rn,ngContentSelectors:Sn,decls:1,vars:0,template:function(e,n){e&1&&(zt(),kt(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return s})();var Mt=class{attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Pt=class extends Mt{constructor(i,t,e,n,o){super(),this.component=i,this.viewContainerRef=t,this.injector=e,this.componentFactoryResolver=n,this.projectableNodes=o}},yt=class extends Mt{constructor(i,t,e,n){super(),this.templateRef=i,this.viewContainerRef=t,this.context=e,this.injector=n}get origin(){return this.templateRef.elementRef}attach(i,t=this.context){return this.context=t,super.attach(i)}detach(){return this.context=void 0,super.detach()}},Le=class extends Mt{constructor(i){super(),this.element=i instanceof b?i.nativeElement:i}},ee=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Pt)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof yt)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof Le)return this._attachedPortal=i,this.attachDomPortal(i)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var ie=class extends ee{constructor(i,t,e,n,o){super(),this.outletElement=i,this._componentFactoryResolver=t,this._appRef=e,this._defaultInjector=n,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}attachComponentPortal(i){let e=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component),n;return i.viewContainerRef?(n=i.viewContainerRef.createComponent(e,i.viewContainerRef.length,i.injector||i.viewContainerRef.injector,i.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=e.create(i.injector||this._defaultInjector||W.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=i,n}attachTemplatePortal(i){let t=i.viewContainerRef,e=t.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return e.rootNodes.forEach(n=>this.outletElement.appendChild(n)),e.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(e);n!==-1&&t.remove(n)}),this._attachedPortal=i,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var Da=(()=>{class s extends yt{constructor(t,e){super(t,e)}static{this.\u0275fac=function(e){return new(e||s)(d(It),d(G))}}static{this.\u0275dir=A({type:s,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[jt]})}}return s})();var ka=(()=>{class s extends ee{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new S,this.attachDomPortal=o=>{this._document;let r=o.element;r.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),r.parentNode.insertBefore(a,r),this._getRootNode().appendChild(r),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(r,a)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(o,e.length,t.injector||e.injector,t.projectableNodes||void 0);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static{this.\u0275fac=function(e){return new(e||s)(d(Nt),d(G),d(g))}}static{this.\u0275dir=A({type:s,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[jt]})}}return s})();var es=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({})}}return s})();var is=Wt(),Ne=class{constructor(i,t){this._viewportRuler=i,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=D(-this._previousScrollPosition.left),i.style.top=D(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,t=this._document.body,e=i.style,n=t.style,o=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),is&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),is&&(e.scrollBehavior=o,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}};var je=class{constructor(i,t,e,n){this._scrollDispatcher=i,this._ngZone=t,this._viewportRuler=e,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(U(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},se=class{enable(){}disable(){}attach(){}};function Be(s,i){return i.some(t=>{let e=s.bottom<t.top,n=s.top>t.bottom,o=s.right<t.left,r=s.left>t.right;return e||n||o||r})}function ss(s,i){return i.some(t=>{let e=s.top<t.top,n=s.bottom>t.bottom,o=s.left<t.left,r=s.right>t.right;return e||n||o||r})}var Ve=class{constructor(i,t,e,n){this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=e,this._config=n,this._scrollSubscription=null}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();Be(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Gn=(()=>{class s{constructor(t,e,n,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new se,this.close=r=>new je(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new Ne(this._viewportRuler,this._document),this.reposition=r=>new Ve(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=o}static{this.\u0275fac=function(e){return new(e||s)(c(vt),c(Zt),c(v),c(g))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),ne=class{constructor(i){if(this.scrollStrategy=new se,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i){let t=Object.keys(i);for(let e of t)i[e]!==void 0&&(this[e]=i[e])}}};var ze=class{constructor(i,t){this.connectionPair=i,this.scrollableViewProperties=t}};var hs=(()=>{class s{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(e){return new(e||s)(c(g))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),$n=(()=>{class s extends hs{constructor(t,e){super(t),this._ngZone=e,this._keydownListener=n=>{let o=this._attachedOverlays;for(let r=o.length-1;r>-1;r--)if(o[r]._keydownEvents.observers.length>0){let a=o[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(n)):a.next(n);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(e){return new(e||s)(c(g),c(v,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),Kn=(()=>{class s extends hs{constructor(t,e,n){super(t),this._platform=e,this._ngZone=n,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=P(o)},this._clickListener=o=>{let r=P(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let h=this._attachedOverlays.slice();for(let u=h.length-1;u>-1;u--){let l=h[u];if(l._outsidePointerEvents.observers.length<1||!l.hasAttached())continue;if(ns(l.overlayElement,r)||ns(l.overlayElement,a))break;let p=l._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(o)):p.next(o)}}}add(t){if(super.add(t),!this._isAttached){let e=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(e)):this._addEventListeners(e),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(e){return new(e||s)(c(g),c(w),c(v,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function ns(s,i){let t=typeof ShadowRoot<"u"&&ShadowRoot,e=i;for(;e;){if(e===s)return!0;e=t&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var ds=(()=>{class s{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Tt()){let n=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<n.length;o++)n[o].remove()}let e=this._document.createElement("div");e.classList.add(t),Tt()?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}static{this.\u0275fac=function(e){return new(e||s)(c(g),c(w))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),He=class{constructor(i,t,e,n,o,r,a,h,u,l=!1,p){this._portalOutlet=i,this._host=t,this._pane=e,this._config=n,this._ngZone=o,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=u,this._animationsDisabled=l,this._injector=p,this._backdropElement=null,this._backdropClick=new _,this._attachments=new _,this._detachments=new _,this._locationChanges=j.EMPTY,this._backdropClickHandler=m=>this._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new _,this._outsidePointerEvents=new _,this._renders=new _,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=pi(()=>ai(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=dt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,i&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=y(y({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Ft(y({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=D(this._config.width),i.height=D(this._config.height),i.minWidth=D(this._config.minWidth),i.minHeight=D(this._config.minHeight),i.maxWidth=D(this._config.maxWidth),i.maxHeight=D(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(i)})}):this._backdropElement.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let i=this._backdropElement;if(i){if(this._animationsDisabled){this._disposeBackdrop(i);return}i.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{i.addEventListener("transitionend",this._backdropTransitionendHandler)}),i.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(i)},500))}}_toggleClasses(i,t,e){let n=pt(t||[]).filter(o=>!!o);n.length&&(e?i.classList.add(...n):i.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let i=this._renders.pipe(T(Qe(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),i.unsubscribe())})})}_disposeScrollStrategy(){let i=this._scrollStrategy;i&&(i.disable(),i.detach&&i.detach())}_disposeBackdrop(i){i&&(i.removeEventListener("click",this._backdropClickHandler),i.removeEventListener("transitionend",this._backdropTransitionendHandler),i.remove(),this._backdropElement===i&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},os="cdk-overlay-connected-position-bounding-box",Qn=/([A-Za-z%]+)$/,Ye=class{get positions(){return this._preferredPositions}constructor(i,t,e,n,o){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new _,this._resizeSubscription=j.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(os),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._originRect,t=this._overlayRect,e=this._viewportRect,n=this._containerRect,o=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(i,n,a),u=this._getOverlayPoint(h,t,a),l=this._getOverlayFit(u,t,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,u,e)){o.push({position:a,origin:h,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleArea<l.visibleArea)&&(r={overlayFit:l,overlayPoint:u,originPoint:h,position:a,overlayRect:t})}if(o.length){let a=null,h=-1;for(let u of o){let l=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);l>h&&(h=l,a=u)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&<(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(os),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,t)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,t,e){let n;if(e.originX=="center")n=i.left+i.width/2;else{let r=this._isRtl()?i.right:i.left,a=this._isRtl()?i.left:i.right;n=e.originX=="start"?r:a}t.left<0&&(n-=t.left);let o;return e.originY=="center"?o=i.top+i.height/2:o=e.originY=="top"?i.top:i.bottom,t.top<0&&(o-=t.top),{x:n,y:o}}_getOverlayPoint(i,t,e){let n;e.overlayX=="center"?n=-t.width/2:e.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let o;return e.overlayY=="center"?o=-t.height/2:o=e.overlayY=="top"?0:-t.height,{x:i.x+n,y:i.y+o}}_getOverlayFit(i,t,e,n){let o=as(t),{x:r,y:a}=i,h=this._getOffset(n,"x"),u=this._getOffset(n,"y");h&&(r+=h),u&&(a+=u);let l=0-r,p=r+o.width-e.width,m=0-a,k=a+o.height-e.height,R=this._subtractOverflows(o.width,l,p),O=this._subtractOverflows(o.height,m,k),q=R*O;return{visibleArea:q,isCompletelyWithinViewport:o.width*o.height===q,fitsInViewportVertically:O===o.height,fitsInViewportHorizontally:R==o.width}}_canFitWithFlexibleDimensions(i,t,e){if(this._hasFlexibleDimensions){let n=e.bottom-t.y,o=e.right-t.x,r=rs(this._overlayRef.getConfig().minHeight),a=rs(this._overlayRef.getConfig().minWidth),h=i.fitsInViewportVertically||r!=null&&r<=n,u=i.fitsInViewportHorizontally||a!=null&&a<=o;return h&&u}return!1}_pushOverlayOnScreen(i,t,e){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let n=as(t),o=this._viewportRect,r=Math.max(i.x+n.width-o.width,0),a=Math.max(i.y+n.height-o.height,0),h=Math.max(o.top-e.top-i.y,0),u=Math.max(o.left-e.left-i.x,0),l=0,p=0;return n.width<=o.width?l=u||-r:l=i.x<this._viewportMargin?o.left-e.left-i.x:0,n.height<=o.height?p=h||-a:p=i.y<this._viewportMargin?o.top-e.top-i.y:0,this._previousPushAmount={x:l,y:p},{x:i.x+l,y:i.y+p}}_applyPosition(i,t){if(this._setTransformOrigin(i),this._setOverlayElementStyles(t,i),this._setBoundingBoxStyles(t,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let e=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!qn(this._lastScrollVisibility,e)){let n=new ze(i,e);this._positionChanges.next(n)}this._lastScrollVisibility=e}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,n=i.overlayY;i.overlayX==="center"?e="center":this._isRtl()?e=i.overlayX==="start"?"right":"left":e=i.overlayX==="start"?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${e} ${n}`}_calculateBoundingBoxRect(i,t){let e=this._viewportRect,n=this._isRtl(),o,r,a;if(t.overlayY==="top")r=i.y,o=e.height-r+this._viewportMargin;else if(t.overlayY==="bottom")a=e.height-i.y+this._viewportMargin*2,o=e.height-a+this._viewportMargin;else{let k=Math.min(e.bottom-i.y+e.top,i.y),R=this._lastBoundingBoxSize.height;o=k*2,r=i.y-k,o>R&&!this._isInitialRender&&!this._growAfterOpen&&(r=i.y-R/2)}let h=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,u=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,l,p,m;if(u)m=e.width-i.x+this._viewportMargin*2,l=i.x-this._viewportMargin;else if(h)p=i.x,l=e.right-i.x;else{let k=Math.min(e.right-i.x+e.left,i.x),R=this._lastBoundingBoxSize.width;l=k*2,p=i.x-k,l>R&&!this._isInitialRender&&!this._growAfterOpen&&(p=i.x-R/2)}return{top:r,left:p,bottom:a,right:m,width:l,height:o}}_setBoundingBoxStyles(i,t){let e=this._calculateBoundingBoxRect(i,t);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=D(e.height),n.top=D(e.top),n.bottom=D(e.bottom),n.width=D(e.width),n.left=D(e.left),n.right=D(e.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=D(o)),r&&(n.maxWidth=D(r))}this._lastBoundingBoxSize=e,lt(this._boundingBox.style,n)}_resetBoundingBoxStyles(){lt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){lt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,t){let e={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let l=this._viewportRuler.getViewportScrollPosition();lt(e,this._getExactOverlayY(t,i,l)),lt(e,this._getExactOverlayX(t,i,l))}else e.position="static";let a="",h=this._getOffset(t,"x"),u=this._getOffset(t,"y");h&&(a+=`translateX(${h}px) `),u&&(a+=`translateY(${u}px)`),e.transform=a.trim(),r.maxHeight&&(n?e.maxHeight=D(r.maxHeight):o&&(e.maxHeight="")),r.maxWidth&&(n?e.maxWidth=D(r.maxWidth):o&&(e.maxWidth="")),lt(this._pane.style,e)}_getExactOverlayY(i,t,e){let n={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,i);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),i.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(o.y+this._overlayRect.height)}px`}else n.top=D(o.y);return n}_getExactOverlayX(i,t,e){let n={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,i);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let r;if(this._isRtl()?r=i.overlayX==="end"?"left":"right":r=i.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=D(o.x);return n}_getScrollVisibility(){let i=this._getOriginRect(),t=this._pane.getBoundingClientRect(),e=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ss(i,e),isOriginOutsideView:Be(i,e),isOverlayClipped:ss(t,e),isOverlayOutsideView:Be(t,e)}}_subtractOverflows(i,...t){return t.reduce((e,n)=>e-Math.max(n,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+i-this._viewportMargin,bottom:e.top+t-this._viewportMargin,width:i-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,t){return t==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&pt(i).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof b)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let t=i.width||0,e=i.height||0;return{top:i.y,bottom:i.y+e,left:i.x,right:i.x+t,height:e,width:t}}};function lt(s,i){for(let t in i)i.hasOwnProperty(t)&&(s[t]=i[t]);return s}function rs(s){if(typeof s!="number"&&s!=null){let[i,t]=s.split(Qn);return!t||t==="px"?parseFloat(i):null}return s||null}function as(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}function qn(s,i){return s===i?!0:s.isOriginClipped===i.isOriginClipped&&s.isOriginOutsideView===i.isOriginOutsideView&&s.isOverlayClipped===i.isOverlayClipped&&s.isOverlayOutsideView===i.isOverlayOutsideView}var Xa=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],Za=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],cs="cdk-global-overlay-wrapper",Ue=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(i){let t=i.getConfig();this._overlayRef=i,this._width&&!t.width&&i.updateSize({width:this._width}),this._height&&!t.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(cs),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:r,maxHeight:a}=e,h=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),u=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,p=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",k="",R="",O="";h?O="flex-start":l==="center"?(O="center",m?R=p:k=p):m?l==="left"||l==="end"?(O="flex-end",k=p):(l==="right"||l==="start")&&(O="flex-start",R=p):l==="left"||l==="start"?(O="flex-start",k=p):(l==="right"||l==="end")&&(O="flex-end",R=p),i.position=this._cssPosition,i.marginLeft=h?"0":k,i.marginTop=u?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=h?"0":R,t.justifyContent=O,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,e=t.style;t.classList.remove(cs),e.justifyContent=e.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},Jn=(()=>{class s{constructor(t,e,n,o){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=o}global(){return new Ue}flexibleConnectedTo(t){return new Ye(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(e){return new(e||s)(c(Zt),c(g),c(w),c(ds))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),to=0,H=(()=>{class s{constructor(t,e,n,o,r,a,h,u,l,p,m,k){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=o,this._keyboardDispatcher=r,this._injector=a,this._ngZone=h,this._document=u,this._directionality=l,this._location=p,this._outsideClickDispatcher=m,this._animationsModuleType=k}create(t){let e=this._createHostElement(),n=this._createPaneElement(e),o=this._createPortalOutlet(n),r=new ne(t);return r.direction=r.direction||this._directionality.value,new He(o,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ti))}position(){return this._positionBuilder}_createPaneElement(t){let e=this._document.createElement("div");return e.id=`cdk-overlay-${to++}`,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(ui)),new ie(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(e){return new(e||s)(c(Gn),c(ds),c(Nt),c(Jn),c($n),c(W),c(v),c(g),c(ot),c(mi),c(Kn),c(X,8))}}static{this.\u0275prov=f({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),eo=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],us=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let s=I(H);return()=>s.scrollStrategies.reposition()}}),ls=(()=>{class s{constructor(t){this.elementRef=t}static{this.\u0275fac=function(e){return new(e||s)(d(b))}}static{this.\u0275dir=A({type:s,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return s})(),Ga=(()=>{class s{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,e,n,o,r){this._overlay=t,this._dir=r,this._backdropSubscription=j.EMPTY,this._attachSubscription=j.EMPTY,this._detachSubscription=j.EMPTY,this._positionSubscription=j.EMPTY,this._disposeOnNavigation=!1,this._ngZone=I(v),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new S,this.positionChange=new S,this.attach=new S,this.detach=new S,this.overlayKeydown=new S,this.overlayOutsideClick=new S,this._templatePortal=new yt(e,n),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=eo);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode===27&&!this.disableClose&&!Q(e)&&(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{let n=this._getOriginElement(),o=P(e);(!n||n!==o&&!n.contains(o))&&this.overlayOutsideClick.next(e)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new ne({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(e.width=this.width),(this.height||this.height===0)&&(e.height=this.height),(this.minWidth||this.minWidth===0)&&(e.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){let e=this.positions.map(n=>({originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||this.offsetX,offsetY:n.offsetY||this.offsetY,panelClass:n.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof ls?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ls?this.origin.elementRef.nativeElement:this.origin instanceof b?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qe(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(e){return new(e||s)(d(H),d(It),d(G),d(us),d(ot,8))}}static{this.\u0275dir=A({type:s,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",M],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",M],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",M],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",M],push:[2,"cdkConnectedOverlayPush","push",M],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",M]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[V,Et]})}}return s})();function io(s){return()=>s.scrollStrategies.reposition()}var so={provide:us,deps:[H],useFactory:io},fs=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({providers:[H,so],imports:[K,es,be,be]})}}return s})();var oo=["tooltip"],ms=20;var gs=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let s=I(H);return()=>s.scrollStrategies.reposition({scrollThrottle:ms})}});function ro(s){return()=>s.scrollStrategies.reposition({scrollThrottle:ms})}var ao={provide:gs,deps:[H],useFactory:ro};function co(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var lo=new x("mat-tooltip-default-options",{providedIn:"root",factory:co});var ps="tooltip-panel",_s=$({passive:!0}),ho=8,uo=8,fo=24,po=200,vc=(()=>{class s{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Yt(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=Yt(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=st(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=st(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,e,n,o,r,a,h,u,l,p,m,k){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=o,this._ngZone=r,this._platform=a,this._ariaDescriber=h,this._focusMonitor=u,this._dir=p,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=_o,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new _,this._injector=I(W),this._scrollStrategy=l,this._document=k,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),p.change.pipe(T(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=ho}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(T(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,_s)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let n=this._createOverlay(e);this._detach(),this._portal=this._portal||new Pt(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=n.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(T(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof b)return this._overlayRef;this._detach()}let e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return n.positionChanges.pipe(T(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:`${this._cssClassPrefix}-${ps}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(T(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(T(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(T(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Q(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,n=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(y(y({},n.main),o.main)),this._addOffset(y(y({},n.fallback),o.fallback))])}_addOffset(t){let e=uo,n=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=n?-e:e:t.originX==="end"&&(t.offsetX=n?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,n;e=="above"||e=="below"?n={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?n={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(n={originX:"end",originY:"center"});let{x:o,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:o,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,n;e=="above"?n={overlayX:"center",overlayY:"bottom"}:e=="below"?n={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?n={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(n={overlayX:"start",overlayY:"center"});let{x:o,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:o,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),dt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:n,originY:o}=t,r;if(e==="center"?this._dir&&this._dir.value==="rtl"?r=n==="end"?"left":"right":r=n==="start"?"left":"right":r=e==="bottom"&&o==="top"?"above":"below",r!==this._currentPosition){let a=this._overlayRef;if(a){let h=`${this._cssClassPrefix}-${ps}-`;a.removePanelClass(h+this._currentPosition),a.addPanelClass(h+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let e=t.targetTouches?.[0],n=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,n)},this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",e=>{let n=e.relatedTarget;(!n||!this._overlayRef?.overlayElement.contains(n))&&this.hide()}],["wheel",e=>this._wheelListener(e)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([e,n])=>{this._elementRef.nativeElement.addEventListener(e,n,_s)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e!==n&&!n.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,n=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),(t==="on"||!e.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(e){return new(e||s)(d(H),d(b),d(vt),d(G),d(v),d(w),d(ji),d(xe),d(gs),d(ot),d(lo,8),d(g))}}static{this.\u0275dir=A({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,n){e&2&&z("mat-mdc-tooltip-disabled",n.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return s})(),_o=(()=>{class s{constructor(t,e,n){this._changeDetectorRef=t,this._elementRef=e,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new _,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=n==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>fo&&t.width>=po}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,n=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:n),e.classList.add(t?n:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(e);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static{this.\u0275fac=function(e){return new(e||s)(d(Rt),d(b),d(X,8))}}static{this.\u0275cmp=tt({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(e,n){if(e&1&&xt(oo,7),e&2){let o;Ot(o=At())&&(n._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,n){e&1&&Dt("mouseleave",function(r){return n._handleMouseLeave(r)})},standalone:!0,features:[it],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,n){if(e&1){let o=ci();et(0,"div",1,0),Dt("animationend",function(a){return ei(o),ii(n._handleAnimationEnd(a))}),et(2,"div",2),Ht(3),ft()()}e&2&&(z("mdc-tooltip--multiline",n._isMultiline),ut("ngClass",n.tooltipClass),Z(3),hi(n.message))},dependencies:[gi],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return s})();var bc=(()=>{class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=C({type:s})}static{this.\u0275inj=E({providers:[ao],imports:[zi,vi,fs,ct,ct,Xt]})}}return s})();export{Yt as a,st as b,pt as c,L as d,go as e,Q as f,w as g,Co as h,$ as i,wi as j,Ei as k,P as l,ar as m,ki as n,Ai as o,gr as p,qs as q,Js as r,ji as s,Si as t,Ti as u,en as v,fn as w,Fr as x,De as y,ke as z,mn as A,Lr as B,xe as C,Nr as D,zi as E,ot as F,K as G,Ii as H,Lo as I,vt as J,ks as K,Zt as L,Xt as M,be as N,Pt as O,yt as P,ee as Q,ie as R,Da as S,ka as T,es as U,ne as V,ds as W,He as X,Ye as Y,Xa as Z,Za as _,Jn as $,H as aa,ls as ba,Ga as ca,fs as da,oa as ea,ra as fa,ct as ga,Yi as ha,Ui as ia,te as ja,Fn as ka,aa as la,ca as ma,Ji as na,ts as oa,Hn as pa,Yn as qa,Wn as ra,Xn as sa,Fe as ta,la as ua,ha as va,da as wa,ua as xa,fa as ya,pa as za,vc as Aa,bc as Ba};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r={Success:"Success",Info:"Info",Warning:"Warning",Error:"Error"};export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-CBW7IA6S.js";import{J as a}from"./chunk-H55AJAX5.js";var s=class extends r{constructor(t,e,o,n){super(t);this.httpService=e;let p=this.getInfoID(n);this.menuData$.pipe(a(()=>this.getBindDataObservable(o,p))).subscribe({next:i=>{this.bindData(i),this.postBindData(i)}})}data;getInfoID(t){return t.snapshot.queryParams.ID}getBindDataObservable(t,e){return this.httpService.post(`/API/${t}`,{ID:e})}bindData(t){this.data=t}postBindData(t){}};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-3PFXZUB6.js";import"./chunk-KW4B7WMB.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{N as s,ga as n}from"./chunk-2FKYC63K.js";import{ia as t,qa as i}from"./chunk-H55AJAX5.js";var r=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=i({type:e})}static{this.\u0275inj=t({imports:[s]})}}return e})();var De=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=i({type:e})}static{this.\u0275inj=t({imports:[n,r,n]})}}return e})();export{De as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"./chunk-26YXEYJK.js";import{$c as u,Va as c,Zc as f,ia as P,qa as g,rd as w,sa as s}from"./chunk-H55AJAX5.js";var T=class r{transform(t){return t.map(e=>e.UnitPrice).reduce((e,n)=>Math.max(e,n),0)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"highestPrice",type:r,pure:!0})},h=class r{transform(t){return t.map(e=>e.UnitPrice).reduce((e,n)=>Math.min(e,n),0)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"lowestPrice",type:r,pure:!0})},x=class r{transform(t,e){let n=t.filter(i=>i.Key==e);return n.length==0?0:n[0].Value}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"groupStock",type:r,pure:!0})},F=class r{transform(t){return t!=null?t.replace(/\n/g,"<br />"):t}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"images",type:r,pure:!0})};var b=class r{transform(t){var e=new Date(t),n=new Date,i=n.valueOf()-e.valueOf(),a=Math.floor(i%864e5/36e5),p=Math.round(i%864e5%36e5/6e4);return a>0?p+a*60:p}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"durationTime",type:r,pure:!0})},D=class r{transform(t){let n="",i=t<1440?null:(t-t%1440)/1440;i&&(n=`${i} Day`,i>1&&(n=n+"s"));let a=(t%1440-t%1440%60)/60;a&&(n=n+` ${a} Hour`,a>1&&(n=n+"s"));let p=t%60;return p&&(n=n+` ${p} Minute`,p>1&&(n=n+"s")),n.trim()}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"durationDaysHour",type:r,pure:!0})},l=class r{transform(t,e,n,i){let a=0;return t&&!n&&!i&&t.forEach(p=>a+=p[e]-0),n&&i&&t.forEach(p=>{p[n]==i&&(a+=p[e]-0)}),a}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"sum",type:r,pure:!1})},M=class r{transform(t,e,n){let i=0;return t&&t.forEach(a=>i+=a[e][n]),i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"sumArray",type:r,pure:!1})},S=class r{transform(t,e,n,i){let a=0;return t&&t.forEach(p=>{m.IsNotEmpty(p[e][n])&&(a+=p[e][n][i])}),a}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"sumNestedArray",type:r,pure:!1})},N=class r{transform(t,e,n,i,a){let p=0;return t&&t.forEach(o=>{let d=o[e].find(ie=>ie[i]===n);d!==void 0&&(p+=d[a])}),p}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"sumWithID",type:r,pure:!1})},I=class r{transform(t,e,n){let i=0;return t&&t.forEach(a=>i+=a[e]*a[n]),i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"sumMultiply",type:r,pure:!1})},C=class r{transform(t,e,n){let i=0;return t&&t.forEach(a=>i+=a[e][n]-0),i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"SumWithIndex",type:r,pure:!1})},y=class r{transform(t=[],e){let n=JSON.parse(JSON.stringify(t));if(n.length>0){n=n.sort((a,p)=>a[e]-p[e]);let i=n[0][e];if(n.length>1){let a=n[n.length-1][e];return i===a?i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"):i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")+" - "+a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return"-"}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"MinToMax",type:r,pure:!0})},E=class r{transform(t,e,n=0){if(!t)return t;let i=e?parseInt(e,10):10;return t.length>i?t.substring(n,i)+"...":t}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"limitTo",type:r,pure:!0})};var k=class r{transform(t){return t!=null?t.replace(/\n/g,"<br />"):t}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"newlines",type:r,pure:!0})};var A=class r{transform(t,e,n){e=e??2;let i=Math.pow(10,e);return n&&(t=t-t*i%5/i),Math.round(t*i)/i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"DecimalRound",type:r,pure:!0})},L=class r{constructor(t){this.decimalPipe=t}transform(t,e){if(e=m.IsNotEmpty(e)?e:0,t=m.IsNotEmpty(t)?t:0,!t)return;typeof t=="string"&&(t=t.split(",").join(""),t=parseFloat(t));let n=t?.toFixed(4);for(n=n.substr(n.length-4);n.substr(n.length-1,1)=="0";)n=n.substr(0,n.length-1);let i=n.length>e?n.length:e,a="1."+i.toString()+"-"+i.toString();return this.decimalPipe.transform(t,a)}static \u0275fac=function(e){return new(e||r)(c(u,16))};static \u0275pipe=s({name:"TrailingZero",type:r,pure:!0})};var O=class r{transform(t,e,n){let i=t.find(a=>a[e]==n);return i??{}}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"find",type:r,pure:!0})},R=class r{transform(t,e){return t==""||t==null?"":(e==""||e==null||(e=e.replace("{0}",t)),e)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"showIfNotNullOrEmptyString",type:r,pure:!0})},$=class r{transform(t,e){return t.filter(n=>n.Tab==e)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"FilterByTab",type:r,pure:!0})},H=class r{transform(t,e){return e===void 0||e===""?t:t.filter(n=>n.Name.toLowerCase().indexOf(e.toLowerCase())!==-1)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"FilterByName",type:r,pure:!0})};var j=class r{transform(t,e,n="Name"){return e===void 0?t:typeof e=="number"?t.filter(i=>i[n]==e):t.filter(i=>i[n].toString().toLowerCase().indexOf(e.toLowerCase())!==-1)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"Filter",type:r,pure:!0})},G=class r{transform(t,e,n){let i=[];return i=t.filter(a=>a[e]<n),i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"GetArrayWithSmallerCondition",type:r,pure:!0})},z=class r{transform(t,e,n){let i=[];return i=t.filter(a=>a[e]>n),i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"GetArrayWithGreaterCondition",type:r,pure:!0})},B=class r{transform(t,e,n){if(t){if(n==""||n==null||n==null)return t;{let i=[];for(let a=0;a<e.length;a++){let p=t.filter(o=>o[e[a]]!=null);p=p.filter(o=>o[e[a]].toLowerCase().indexOf(n.toLowerCase())>-1),i=i.concat(p)}return i}}else return[]}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"FilterByArray",type:r,pure:!0})},J=class r{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(e){return new(e||r)(c(w,16))};static \u0275pipe=s({name:"SafeHtml",type:r,pure:!0})},V=class r{transform(t){return Math.ceil(t)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"RoundUp",type:r,pure:!0})},W=class r{transform(t){let e;switch(t){case 1:e="January";break;case 2:e="February";break;case 3:e="March";break;case 4:e="April";break;case 5:e="May";break;case 6:e="June";break;case 7:e="July";break;case 8:e="August";break;case 9:e="September";break;case 10:e="October";break;case 11:e="November";break;case 12:e="December";break;default:e="-"}return e}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"Month",type:r,pure:!0})},v=class r{transform(t,e){let n=[];return t.forEach(i=>{i[e].forEach(a=>{n.push(a)})}),n}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"GetChildrenArray",type:r,pure:!0})},U=class r{transform(t,e){let n=0;return t.forEach(i=>{i!=0&&(n+=i[e]?i[e]:0)}),n>0}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"HideSumZero",type:r,pure:!0})},Y=class r{transform(t,e){var n=new Date(t),i=new Date(e),a=i.getTime()-n.getTime();return Math.round(a/6e4)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"DateDiffInMinute",type:r,pure:!0})},Z=class r{transform(t){return new Date(t)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"ToDateString",type:r,pure:!0})},K=class r{transform(t,e="",n=""){return!t||e===""||!e||t.length<=1?t:!n||n===""?e==="asc"?t.sort():t.sort().reverse():(t=t.sort((i,a)=>{let p=e==="asc";switch(typeof i[n]){case"string":return this.compare(i[n]?.toLocaleLowerCase(),a[n]?.toLocaleLowerCase(),p);case"number":return this.compare(i[n],a[n],p);default:return 0}}),t)}compare(t,e,n){return(t<e?-1:1)*(n?1:-1)}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"sortBy",type:r,pure:!0})},q=class r{constructor(t){this.datePipe=t}transform(t,e){return e=e||"dd/MM/yyyy",t&&t!="0001-01-01T00:00:00"?this.datePipe.transform(t,e):"-"}static \u0275fac=function(e){return new(e||r)(c(f,16))};static \u0275pipe=s({name:"IsMinDate",type:r,pure:!0})};var Q=class r{transform(t,e){let n=!0;try{let i="";return e=e||"Name",t.forEach((a,p)=>{p==0?i=a[e]:i!=a[e]&&(n=!1)}),n}catch{return!0}}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"checkPropValueIsSame",type:r,pure:!0})},X=class r{transform(t,e,n,i){let a=t.filter(p=>p[e]==n);return a.length>0?a[0][i]:0}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"FilterGetAmount",type:r,pure:!0})},_=class r{transform(t){return t?"Yes":"No"}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"YesNo",type:r,pure:!0})};var ee=class r{transform(t,e,n){let i=e.Sales/100*t[0].Rate;return n==1&&(i=e.Tax-i),i}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"TaxDefault",type:r,pure:!0})},te=class r{transform(t,e,n){let i=t.toLowerCase(),a;return a=i.replace(e,`<b class="${n}">${e}</b>`),a}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"SearchNote",type:r,pure:!0})},re=class r{transform(t,e=30){return t.length>e?t.substring(0,e)+"...":t}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"TruncateText",type:r,pure:!0})},ne=class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=g({type:r});static \u0275inj=P({providers:[u,l,f,y]})};export{T as a,h as b,x as c,F as d,b as e,D as f,l as g,M as h,S as i,N as j,I as k,C as l,y as m,E as n,k as o,A as p,L as q,O as r,R as s,$ as t,H as u,j as v,G as w,z as x,B as y,J as z,V as A,W as B,v as C,U as D,Y as E,Z as F,K as G,q as H,Q as I,X as J,_ as K,ee as L,te as M,re as N,ne as O};
|