homebridge-config-ui-x 5.0.0-beta.26 → 5.0.0-beta.27

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.
Files changed (182) hide show
  1. package/CHANGELOG.md +62 -17
  2. package/LICENSE +1 -1
  3. package/config.schema.json +38 -18
  4. package/dist/bin/hb-service.js +48 -47
  5. package/dist/bin/hb-service.js.map +1 -1
  6. package/dist/bin/platforms/win32.js +4 -2
  7. package/dist/bin/platforms/win32.js.map +1 -1
  8. package/dist/bin/standalone.js +1 -0
  9. package/dist/bin/standalone.js.map +1 -1
  10. package/dist/core/auth/auth.controller.d.ts +2 -0
  11. package/dist/core/auth/auth.service.js +10 -10
  12. package/dist/core/auth/auth.service.js.map +1 -1
  13. package/dist/core/config/config.service.d.ts +3 -0
  14. package/dist/core/config/config.service.js +1 -0
  15. package/dist/core/config/config.service.js.map +1 -1
  16. package/dist/core/config/config.startup.js +2 -2
  17. package/dist/core/config/config.startup.js.map +1 -1
  18. package/dist/core/homebridge-ipc/homebridge-ipc.service.js +3 -3
  19. package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
  20. package/dist/index.js +8 -7
  21. package/dist/index.js.map +1 -1
  22. package/dist/main.js +1 -1
  23. package/dist/main.js.map +1 -1
  24. package/dist/modules/accessories/accessories.controller.js +4 -4
  25. package/dist/modules/accessories/accessories.controller.js.map +1 -1
  26. package/dist/modules/accessories/accessories.service.js +7 -6
  27. package/dist/modules/accessories/accessories.service.js.map +1 -1
  28. package/dist/modules/backup/backup.controller.js +7 -7
  29. package/dist/modules/backup/backup.controller.js.map +1 -1
  30. package/dist/modules/backup/backup.service.js +14 -14
  31. package/dist/modules/backup/backup.service.js.map +1 -1
  32. package/dist/modules/child-bridges/child-bridges.service.js +3 -3
  33. package/dist/modules/child-bridges/child-bridges.service.js.map +1 -1
  34. package/dist/modules/config-editor/config-editor.controller.js +7 -7
  35. package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
  36. package/dist/modules/config-editor/config-editor.service.js +6 -6
  37. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  38. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +11 -9
  39. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  40. package/dist/modules/log/log.service.js +3 -3
  41. package/dist/modules/log/log.service.js.map +1 -1
  42. package/dist/modules/platform-tools/docker/docker.controller.js +3 -3
  43. package/dist/modules/platform-tools/docker/docker.controller.js.map +1 -1
  44. package/dist/modules/platform-tools/docker/docker.service.js +1 -1
  45. package/dist/modules/platform-tools/docker/docker.service.js.map +1 -1
  46. package/dist/modules/platform-tools/hb-service/hb-service.controller.js +1 -1
  47. package/dist/modules/platform-tools/hb-service/hb-service.controller.js.map +1 -1
  48. package/dist/modules/platform-tools/hb-service/hb-service.service.js +6 -6
  49. package/dist/modules/platform-tools/hb-service/hb-service.service.js.map +1 -1
  50. package/dist/modules/platform-tools/linux/linux.controller.js +2 -2
  51. package/dist/modules/platform-tools/linux/linux.controller.js.map +1 -1
  52. package/dist/modules/platform-tools/linux/linux.service.js +2 -2
  53. package/dist/modules/platform-tools/linux/linux.service.js.map +1 -1
  54. package/dist/modules/platform-tools/terminal/terminal.service.js +2 -2
  55. package/dist/modules/platform-tools/terminal/terminal.service.js.map +1 -1
  56. package/dist/modules/plugins/plugins.controller.js +4 -4
  57. package/dist/modules/plugins/plugins.controller.js.map +1 -1
  58. package/dist/modules/plugins/plugins.service.d.ts +1 -0
  59. package/dist/modules/plugins/plugins.service.js +61 -35
  60. package/dist/modules/plugins/plugins.service.js.map +1 -1
  61. package/dist/modules/server/server.controller.d.ts +19 -2
  62. package/dist/modules/server/server.controller.js +84 -18
  63. package/dist/modules/server/server.controller.js.map +1 -1
  64. package/dist/modules/server/server.service.d.ts +23 -6
  65. package/dist/modules/server/server.service.js +171 -56
  66. package/dist/modules/server/server.service.js.map +1 -1
  67. package/dist/modules/status/status.controller.js +3 -3
  68. package/dist/modules/status/status.controller.js.map +1 -1
  69. package/dist/modules/status/status.service.js +4 -4
  70. package/dist/modules/status/status.service.js.map +1 -1
  71. package/dist/modules/users/users.controller.js +1 -1
  72. package/dist/modules/users/users.controller.js.map +1 -1
  73. package/dist/self-check.js +6 -6
  74. package/dist/self-check.js.map +1 -1
  75. package/package.json +6 -6
  76. package/public/3rdpartylicenses.txt +95 -25
  77. package/public/chunk-2Q5FI6IR.js +1 -0
  78. package/public/{chunk-2OJNON6V.js → chunk-33J5OGSW.js} +1 -1
  79. package/public/chunk-3PAKBBVC.js +6 -0
  80. package/public/chunk-42DXCU3S.js +1 -0
  81. package/public/chunk-4CPT55G3.js +1 -0
  82. package/public/chunk-4FB3WCN2.js +32 -0
  83. package/public/{chunk-BBIB7OOE.js → chunk-4XWMSIG2.js} +1 -1
  84. package/public/chunk-57CGFXCE.js +1 -0
  85. package/public/{chunk-UIOHAIYB.js → chunk-5RQMP6U3.js} +1 -1
  86. package/public/{chunk-NF2LWORY.js → chunk-6C45K6XL.js} +1 -1
  87. package/public/chunk-6PQZOFUF.js +1 -0
  88. package/public/{chunk-V7MSRFYG.js → chunk-6UA5NAK2.js} +1 -1
  89. package/public/{chunk-2VNUUJGQ.js → chunk-7F3U7UN5.js} +1 -1
  90. package/public/{chunk-P6NTJCU3.js → chunk-7RYQ4P2V.js} +1 -1
  91. package/public/chunk-7TXQ4HPF.js +1 -0
  92. package/public/chunk-A3PLL7HY.js +1 -0
  93. package/public/{chunk-WJ3IINUA.js → chunk-AQQPDAYK.js} +1 -1
  94. package/public/chunk-ARDA4VUA.js +1 -0
  95. package/public/{chunk-TQEO2WY5.js → chunk-B2XXYKX6.js} +1 -1
  96. package/public/{chunk-EMNTAE5G.js → chunk-B5DDMTPM.js} +1 -1
  97. package/public/chunk-BXMI42VZ.js +1 -0
  98. package/public/chunk-BZ3NBZHK.js +1 -0
  99. package/public/chunk-BZRV6BXO.js +1 -0
  100. package/public/chunk-CRAE5G37.js +1 -0
  101. package/public/chunk-CVZVUG3F.js +1 -0
  102. package/public/chunk-D5XAG52V.js +1 -0
  103. package/public/chunk-DBTDEK7M.js +1 -0
  104. package/public/chunk-DDHUQN74.js +1 -0
  105. package/public/{chunk-B46KABOE.js → chunk-DOZODCWI.js} +1 -1
  106. package/public/chunk-EA35SPHA.js +1 -0
  107. package/public/chunk-F47SGYXR.js +1 -0
  108. package/public/{chunk-JXNMTC4S.js → chunk-G5PNMJOK.js} +1 -1
  109. package/public/chunk-HEZRLEEO.js +1 -0
  110. package/public/chunk-HGKZMDT3.js +1 -0
  111. package/public/chunk-IBR2WR6D.js +1 -0
  112. package/public/{chunk-N4GLNFOT.js → chunk-IKIROKEH.js} +1 -1
  113. package/public/{chunk-IPIDD3HC.js → chunk-IR2CNG6H.js} +1 -1
  114. package/public/chunk-JVVXANEP.js +1 -0
  115. package/public/chunk-KIEYXY3R.js +1 -0
  116. package/public/chunk-L3R7ISGL.js +1 -0
  117. package/public/chunk-LHNJS6LH.js +1 -0
  118. package/public/{chunk-E4B7DNVE.js → chunk-LHYSDNVA.js} +4 -4
  119. package/public/chunk-LQFUYJ3D.js +1 -0
  120. package/public/chunk-M7XDEYWJ.js +20 -0
  121. package/public/{chunk-KFOQEXZZ.js → chunk-MNFKN6ND.js} +1 -1
  122. package/public/chunk-MNZAQKX2.js +1 -0
  123. package/public/chunk-MRZO52P6.js +1 -0
  124. package/public/{chunk-OQEKVBVC.js → chunk-MWTPDX4I.js} +1 -1
  125. package/public/{chunk-4HJ4QRHU.js → chunk-NPWYJEQV.js} +1 -1
  126. package/public/{chunk-35ZEUC3N.js → chunk-OWUZFDY7.js} +1 -1
  127. package/public/chunk-P5DU5TFO.js +1 -0
  128. package/public/{chunk-H3RI2X3J.js → chunk-PCHQSKGR.js} +2 -2
  129. package/public/chunk-QEUXNWXU.js +1 -0
  130. package/public/{chunk-T7Y7UGKU.js → chunk-QHMOPP5U.js} +1 -1
  131. package/public/chunk-QWXFQEHM.js +1 -0
  132. package/public/{chunk-OJ45QGCH.js → chunk-S3QOD75N.js} +1 -1
  133. package/public/chunk-S4K7PTWR.js +1 -0
  134. package/public/chunk-U5JWOMOQ.js +1 -0
  135. package/public/{chunk-U7623GKH.js → chunk-UPNNSCHV.js} +1 -1
  136. package/public/{chunk-OC7KX4QS.js → chunk-V4ULI4QR.js} +1 -1
  137. package/public/{chunk-N4F42HDL.js → chunk-WFTXQQES.js} +5 -5
  138. package/public/chunk-WNVKV3X3.js +1 -0
  139. package/public/{chunk-L2733SOJ.js → chunk-X2EVYG7Q.js} +1 -1
  140. package/public/{chunk-B753ANRE.js → chunk-ZUTUDD7K.js} +1 -1
  141. package/public/chunk-ZXMADTZK.js +1 -0
  142. package/public/index.html +2 -2
  143. package/public/main-6BI5PLHV.js +1 -0
  144. package/public/{styles-LM2DJG4C.css → styles-LO2KB5IY.css} +1 -1
  145. package/public/chunk-2N2FIQZE.js +0 -1
  146. package/public/chunk-35GQ3F7V.js +0 -1
  147. package/public/chunk-36GSB6KM.js +0 -1
  148. package/public/chunk-3G2INPN4.js +0 -6
  149. package/public/chunk-3VNR3PA7.js +0 -1
  150. package/public/chunk-56Z7AYJ5.js +0 -1
  151. package/public/chunk-6J7CM2LU.js +0 -1
  152. package/public/chunk-7ZMNAUG3.js +0 -1
  153. package/public/chunk-AHQEC5XD.js +0 -1
  154. package/public/chunk-BO2Q6JEC.js +0 -1
  155. package/public/chunk-BVU3XBKZ.js +0 -1
  156. package/public/chunk-D73G6FHU.js +0 -1
  157. package/public/chunk-EFJQDZWX.js +0 -1
  158. package/public/chunk-F6IIUWOY.js +0 -1
  159. package/public/chunk-FAWZXXFU.js +0 -1
  160. package/public/chunk-H4TSN4GX.js +0 -20
  161. package/public/chunk-J5YJPEOP.js +0 -1
  162. package/public/chunk-MA2NAED5.js +0 -1
  163. package/public/chunk-NEHFSTZG.js +0 -1
  164. package/public/chunk-OD3LAPR5.js +0 -1
  165. package/public/chunk-ONUDLIEE.js +0 -1
  166. package/public/chunk-QXIVYED3.js +0 -1
  167. package/public/chunk-SNISLJD4.js +0 -1
  168. package/public/chunk-SRN6APE2.js +0 -1
  169. package/public/chunk-SWSVESSY.js +0 -1
  170. package/public/chunk-T5M25JEJ.js +0 -1
  171. package/public/chunk-TILEZFVJ.js +0 -1
  172. package/public/chunk-TLJ5IZVT.js +0 -32
  173. package/public/chunk-UPOTR3TI.js +0 -1
  174. package/public/chunk-VM7WUBIT.js +0 -1
  175. package/public/chunk-W5T6GB3H.js +0 -1
  176. package/public/chunk-WRDAYUQ7.js +0 -1
  177. package/public/chunk-XLT7LNOY.js +0 -1
  178. package/public/chunk-XROHACBE.js +0 -1
  179. package/public/chunk-XSAIQ7YY.js +0 -1
  180. package/public/chunk-YIXOCUUM.js +0 -1
  181. package/public/chunk-YMEQWVLZ.js +0 -1
  182. package/public/main-HHNIKZ37.js +0 -1
@@ -1,5 +1,5 @@
1
- import{a as hn}from"./chunk-YLEC7AUG.js";import{$b as an,Aa as nn,Ac as cn,Bb as ot,Ca as ie,Da as Tt,E as L,F as qi,Fa as T,Fc as dn,Ga as re,H as Re,I as Jt,Ic as We,J as Ot,Ka as J,Kb as ii,Lb as Se,Mb as Rt,O as Ve,Ob as W,Oc as St,Pb as ge,Q as Yi,Rb as ni,S as Zi,Sa as It,Sb as oi,Ta as nt,Tc as le,Ub as si,Vb as ri,Wb as je,Xb as Le,Yb as ai,Zb as sn,_b as rn,a as bt,aa as qt,ac as li,b as Qt,ba as k,bc as ae,ca as tt,da as Dt,dc as ve,ec as ye,fc as st,fd as un,ga as Yt,gc as rt,ha as K,hc as Ne,ia as I,ib as $e,ic as ci,jc as ce,k as wt,ka as en,kc as de,lb as Ct,n as X,na as u,nc as ln,o as Ki,oc as di,p as Qi,pb as ei,pc as ui,r as et,ta as Zt,ub as me,va as tn,vb as C,wa as it,wb as $,wc as hi,x as Ce,xa as Et,ya as Mt,yb as on,z as Ji,zb as ti}from"./chunk-CKNHTRCL.js";function Nt(t){t||(tn(Nt),t=u(Tt));let e=new wt(s=>t.onDestroy(s.next.bind(s)));return s=>s.pipe(k(e))}var R="top",H="bottom",B="right",N="left",xt="auto",be=[R,H,B,N],ue="start",xe="end",pn="clippingParents",Ft="viewport",ze="popper",fn="reference",pi=be.reduce(function(t,e){return t.concat([e+"-"+ue,e+"-"+xe])},[]),kt=[].concat(be,[xt]).reduce(function(t,e){return t.concat([e,e+"-"+ue,e+"-"+xe])},[]),uo="beforeRead",ho="read",po="afterRead",fo="beforeMain",_o="main",mo="afterMain",go="beforeWrite",vo="write",yo="afterWrite",_n=[uo,ho,po,fo,_o,mo,go,vo,yo];function P(t){return t?(t.nodeName||"").toLowerCase():null}function O(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function q(t){var e=O(t).Element;return t instanceof e||t instanceof Element}function x(t){var e=O(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Xe(t){if(typeof ShadowRoot>"u")return!1;var e=O(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function bo(t){var e=t.state;Object.keys(e.elements).forEach(function(s){var i=e.styles[s]||{},n=e.attributes[s]||{},o=e.elements[s];!x(o)||!P(o)||(Object.assign(o.style,i),Object.keys(n).forEach(function(a){var r=n[a];r===!1?o.removeAttribute(a):o.setAttribute(a,r===!0?"":r)}))})}function wo(t){var e=t.state,s={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,s.popper),e.styles=s,e.elements.arrow&&Object.assign(e.elements.arrow.style,s.arrow),function(){Object.keys(e.elements).forEach(function(i){var n=e.elements[i],o=e.attributes[i]||{},a=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:s[i]),r=a.reduce(function(l,d){return l[d]="",l},{});!x(n)||!P(n)||(Object.assign(n.style,r),Object.keys(o).forEach(function(l){n.removeAttribute(l)}))})}}var mn={name:"applyStyles",enabled:!0,phase:"write",fn:bo,effect:wo,requires:["computeStyles"]};function A(t){return t.split("-")[0]}var ne=Math.max,Fe=Math.min,he=Math.round;function Ke(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function at(){return!/^((?!chrome|android).)*safari/i.test(Ke())}function Y(t,e,s){e===void 0&&(e=!1),s===void 0&&(s=!1);var i=t.getBoundingClientRect(),n=1,o=1;e&&x(t)&&(n=t.offsetWidth>0&&he(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&he(i.height)/t.offsetHeight||1);var a=q(t)?O(t):window,r=a.visualViewport,l=!at()&&s,d=(i.left+(l&&r?r.offsetLeft:0))/n,c=(i.top+(l&&r?r.offsetTop:0))/o,f=i.width/n,p=i.height/o;return{width:f,height:p,top:c,right:d+f,bottom:c+p,left:d,x:d,y:c}}function ke(t){var e=Y(t),s=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-s)<=1&&(s=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:i}}function lt(t,e){var s=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(s&&Xe(s)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function z(t){return O(t).getComputedStyle(t)}function fi(t){return["table","td","th"].indexOf(P(t))>=0}function U(t){return((q(t)?t.ownerDocument:t.document)||window.document).documentElement}function pe(t){return P(t)==="html"?t:t.assignedSlot||t.parentNode||(Xe(t)?t.host:null)||U(t)}function gn(t){return!x(t)||z(t).position==="fixed"?null:t.offsetParent}function Oo(t){var e=/firefox/i.test(Ke()),s=/Trident/i.test(Ke());if(s&&x(t)){var i=z(t);if(i.position==="fixed")return null}var n=pe(t);for(Xe(n)&&(n=n.host);x(n)&&["html","body"].indexOf(P(n))<0;){var o=z(n);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return n;n=n.parentNode}return null}function oe(t){for(var e=O(t),s=gn(t);s&&fi(s)&&z(s).position==="static";)s=gn(s);return s&&(P(s)==="html"||P(s)==="body"&&z(s).position==="static")?e:s||Oo(t)||e}function Be(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pe(t,e,s){return ne(t,Fe(e,s))}function vn(t,e,s){var i=Pe(t,e,s);return i>s?s:i}function ct(){return{top:0,right:0,bottom:0,left:0}}function dt(t){return Object.assign({},ct(),t)}function ut(t,e){return e.reduce(function(s,i){return s[i]=t,s},{})}var Do=function(e,s){return e=typeof e=="function"?e(Object.assign({},s.rects,{placement:s.placement})):e,dt(typeof e!="number"?e:ut(e,be))};function Eo(t){var e,s=t.state,i=t.name,n=t.options,o=s.elements.arrow,a=s.modifiersData.popperOffsets,r=A(s.placement),l=Be(r),d=[N,B].indexOf(r)>=0,c=d?"height":"width";if(!(!o||!a)){var f=Do(n.padding,s),p=ke(o),h=l==="y"?R:N,m=l==="y"?H:B,v=s.rects.reference[c]+s.rects.reference[l]-a[l]-s.rects.popper[c],g=a[l]-s.rects.reference[l],w=oe(o),E=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,M=v/2-g/2,_=f[h],y=E-p[c]-f[m],b=E/2-p[c]/2+M,D=Pe(_,b,y),G=l;s.modifiersData[i]=(e={},e[G]=D,e.centerOffset=D-b,e)}}function Mo(t){var e=t.state,s=t.options,i=s.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||lt(e.elements.popper,n)&&(e.elements.arrow=n))}var _i={name:"arrow",enabled:!0,phase:"main",fn:Eo,effect:Mo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(t){return t.split("-")[1]}var To={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Io(t,e){var s=t.x,i=t.y,n=e.devicePixelRatio||1;return{x:he(s*n)/n||0,y:he(i*n)/n||0}}function yn(t){var e,s=t.popper,i=t.popperRect,n=t.placement,o=t.variation,a=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,c=t.roundOffsets,f=t.isFixed,p=a.x,h=p===void 0?0:p,m=a.y,v=m===void 0?0:m,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var w=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),M=N,_=R,y=window;if(d){var b=oe(s),D="clientHeight",G="clientWidth";if(b===O(s)&&(b=U(s),z(b).position!=="static"&&r==="absolute"&&(D="scrollHeight",G="scrollWidth")),b=b,n===R||(n===N||n===B)&&o===xe){_=H;var F=f&&b===y&&y.visualViewport?y.visualViewport.height:b[D];v-=F-i.height,v*=l?1:-1}if(n===N||(n===R||n===H)&&o===xe){M=B;var S=f&&b===y&&y.visualViewport?y.visualViewport.width:b[G];h-=S-i.width,h*=l?1:-1}}var V=Object.assign({position:r},d&&To),ee=c===!0?Io({x:h,y:v},O(s)):{x:h,y:v};if(h=ee.x,v=ee.y,l){var j;return Object.assign({},V,(j={},j[_]=E?"0":"",j[M]=w?"0":"",j.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",j))}return Object.assign({},V,(e={},e[_]=E?v+"px":"",e[M]=w?h+"px":"",e.transform="",e))}function Co(t){var e=t.state,s=t.options,i=s.gpuAcceleration,n=i===void 0?!0:i,o=s.adaptive,a=o===void 0?!0:o,r=s.roundOffsets,l=r===void 0?!0:r,d={placement:A(e.placement),variation:Z(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,yn(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,yn(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var bn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Co,data:{}};var Bt={passive:!0};function Ro(t){var e=t.state,s=t.instance,i=t.options,n=i.scroll,o=n===void 0?!0:n,a=i.resize,r=a===void 0?!0:a,l=O(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(c){c.addEventListener("scroll",s.update,Bt)}),r&&l.addEventListener("resize",s.update,Bt),function(){o&&d.forEach(function(c){c.removeEventListener("scroll",s.update,Bt)}),r&&l.removeEventListener("resize",s.update,Bt)}}var wn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ro,data:{}};var So={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(t){return t.replace(/left|right|bottom|top/g,function(e){return So[e]})}var No={start:"end",end:"start"};function Pt(t){return t.replace(/start|end/g,function(e){return No[e]})}function Ae(t){var e=O(t),s=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:s,scrollTop:i}}function Ge(t){return Y(U(t)).left+Ae(t).scrollLeft}function mi(t,e){var s=O(t),i=U(t),n=s.visualViewport,o=i.clientWidth,a=i.clientHeight,r=0,l=0;if(n){o=n.width,a=n.height;var d=at();(d||!d&&e==="fixed")&&(r=n.offsetLeft,l=n.offsetTop)}return{width:o,height:a,x:r+Ge(t),y:l}}function gi(t){var e,s=U(t),i=Ae(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=ne(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=ne(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),r=-i.scrollLeft+Ge(t),l=-i.scrollTop;return z(n||s).direction==="rtl"&&(r+=ne(s.clientWidth,n?n.clientWidth:0)-o),{width:o,height:a,x:r,y:l}}function He(t){var e=z(t),s=e.overflow,i=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(s+n+i)}function At(t){return["html","body","#document"].indexOf(P(t))>=0?t.ownerDocument.body:x(t)&&He(t)?t:At(pe(t))}function we(t,e){var s;e===void 0&&(e=[]);var i=At(t),n=i===((s=t.ownerDocument)==null?void 0:s.body),o=O(i),a=n?[o].concat(o.visualViewport||[],He(i)?i:[]):i,r=e.concat(a);return n?r:r.concat(we(pe(a)))}function Je(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xo(t,e){var s=Y(t,!1,e==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function On(t,e,s){return e===Ft?Je(mi(t,s)):q(e)?xo(e,s):Je(gi(U(t)))}function Fo(t){var e=we(pe(t)),s=["absolute","fixed"].indexOf(z(t).position)>=0,i=s&&x(t)?oe(t):t;return q(i)?e.filter(function(n){return q(n)&&lt(n,i)&&P(n)!=="body"}):[]}function vi(t,e,s,i){var n=e==="clippingParents"?Fo(t):[].concat(e),o=[].concat(n,[s]),a=o[0],r=o.reduce(function(l,d){var c=On(t,d,i);return l.top=ne(c.top,l.top),l.right=Fe(c.right,l.right),l.bottom=Fe(c.bottom,l.bottom),l.left=ne(c.left,l.left),l},On(t,a,i));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function ht(t){var e=t.reference,s=t.element,i=t.placement,n=i?A(i):null,o=i?Z(i):null,a=e.x+e.width/2-s.width/2,r=e.y+e.height/2-s.height/2,l;switch(n){case R:l={x:a,y:e.y-s.height};break;case H:l={x:a,y:e.y+e.height};break;case B:l={x:e.x+e.width,y:r};break;case N:l={x:e.x-s.width,y:r};break;default:l={x:e.x,y:e.y}}var d=n?Be(n):null;if(d!=null){var c=d==="y"?"height":"width";switch(o){case ue:l[d]=l[d]-(e[c]/2-s[c]/2);break;case xe:l[d]=l[d]+(e[c]/2-s[c]/2);break;default:}}return l}function Oe(t,e){e===void 0&&(e={});var s=e,i=s.placement,n=i===void 0?t.placement:i,o=s.strategy,a=o===void 0?t.strategy:o,r=s.boundary,l=r===void 0?pn:r,d=s.rootBoundary,c=d===void 0?Ft:d,f=s.elementContext,p=f===void 0?ze:f,h=s.altBoundary,m=h===void 0?!1:h,v=s.padding,g=v===void 0?0:v,w=dt(typeof g!="number"?g:ut(g,be)),E=p===ze?fn:ze,M=t.rects.popper,_=t.elements[m?E:p],y=vi(q(_)?_:_.contextElement||U(t.elements.popper),l,c,a),b=Y(t.elements.reference),D=ht({reference:b,element:M,strategy:"absolute",placement:n}),G=Je(Object.assign({},M,D)),F=p===ze?G:b,S={top:y.top-F.top+w.top,bottom:F.bottom-y.bottom+w.bottom,left:y.left-F.left+w.left,right:F.right-y.right+w.right},V=t.modifiersData.offset;if(p===ze&&V){var ee=V[n];Object.keys(S).forEach(function(j){var De=[B,H].indexOf(j)>=0?1:-1,Ee=[R,H].indexOf(j)>=0?"y":"x";S[j]+=ee[Ee]*De})}return S}function yi(t,e){e===void 0&&(e={});var s=e,i=s.placement,n=s.boundary,o=s.rootBoundary,a=s.padding,r=s.flipVariations,l=s.allowedAutoPlacements,d=l===void 0?kt:l,c=Z(i),f=c?r?pi:pi.filter(function(m){return Z(m)===c}):be,p=f.filter(function(m){return d.indexOf(m)>=0});p.length===0&&(p=f);var h=p.reduce(function(m,v){return m[v]=Oe(t,{placement:v,boundary:n,rootBoundary:o,padding:a})[A(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function ko(t){if(A(t)===xt)return[];var e=Qe(t);return[Pt(t),e,Pt(e)]}function Bo(t){var e=t.state,s=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var n=s.mainAxis,o=n===void 0?!0:n,a=s.altAxis,r=a===void 0?!0:a,l=s.fallbackPlacements,d=s.padding,c=s.boundary,f=s.rootBoundary,p=s.altBoundary,h=s.flipVariations,m=h===void 0?!0:h,v=s.allowedAutoPlacements,g=e.options.placement,w=A(g),E=w===g,M=l||(E||!m?[Qe(g)]:ko(g)),_=[g].concat(M).reduce(function(Ue,_e){return Ue.concat(A(_e)===xt?yi(e,{placement:_e,boundary:c,rootBoundary:f,padding:d,flipVariations:m,allowedAutoPlacements:v}):_e)},[]),y=e.rects.reference,b=e.rects.popper,D=new Map,G=!0,F=_[0],S=0;S<_.length;S++){var V=_[S],ee=A(V),j=Z(V)===ue,De=[R,H].indexOf(ee)>=0,Ee=De?"width":"height",Q=Oe(e,{placement:V,boundary:c,rootBoundary:f,altBoundary:p,padding:d}),te=De?j?B:N:j?H:R;y[Ee]>b[Ee]&&(te=Qe(te));var _t=Qe(te),Me=[];if(o&&Me.push(Q[ee]<=0),r&&Me.push(Q[te]<=0,Q[_t]<=0),Me.every(function(Ue){return Ue})){F=V,G=!1;break}D.set(V,Me)}if(G)for(var mt=m?3:1,Wt=function(_e){var Ze=_.find(function(vt){var Te=D.get(vt);if(Te)return Te.slice(0,_e).every(function(zt){return zt})});if(Ze)return F=Ze,"break"},Ye=mt;Ye>0;Ye--){var gt=Wt(Ye);if(gt==="break")break}e.placement!==F&&(e.modifiersData[i]._skip=!0,e.placement=F,e.reset=!0)}}var bi={name:"flip",enabled:!0,phase:"main",fn:Bo,requiresIfExists:["offset"],data:{_skip:!1}};function Po(t,e,s){var i=A(t),n=[N,R].indexOf(i)>=0?-1:1,o=typeof s=="function"?s(Object.assign({},e,{placement:t})):s,a=o[0],r=o[1];return a=a||0,r=(r||0)*n,[N,B].indexOf(i)>=0?{x:r,y:a}:{x:a,y:r}}function Ao(t){var e=t.state,s=t.options,i=t.name,n=s.offset,o=n===void 0?[0,0]:n,a=kt.reduce(function(c,f){return c[f]=Po(f,e.rects,o),c},{}),r=a[e.placement],l=r.x,d=r.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=a}var wi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ao};function Go(t){var e=t.state,s=t.name;e.modifiersData[s]=ht({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Dn={name:"popperOffsets",enabled:!0,phase:"read",fn:Go,data:{}};function Oi(t){return t==="x"?"y":"x"}function Ho(t){var e=t.state,s=t.options,i=t.name,n=s.mainAxis,o=n===void 0?!0:n,a=s.altAxis,r=a===void 0?!1:a,l=s.boundary,d=s.rootBoundary,c=s.altBoundary,f=s.padding,p=s.tether,h=p===void 0?!0:p,m=s.tetherOffset,v=m===void 0?0:m,g=Oe(e,{boundary:l,rootBoundary:d,padding:f,altBoundary:c}),w=A(e.placement),E=Z(e.placement),M=!E,_=Be(w),y=Oi(_),b=e.modifiersData.popperOffsets,D=e.rects.reference,G=e.rects.popper,F=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,S=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,ee={x:0,y:0};if(b){if(o){var j,De=_==="y"?R:N,Ee=_==="y"?H:B,Q=_==="y"?"height":"width",te=b[_],_t=te+g[De],Me=te-g[Ee],mt=h?-G[Q]/2:0,Wt=E===ue?D[Q]:G[Q],Ye=E===ue?-G[Q]:-D[Q],gt=e.elements.arrow,Ue=h&&gt?ke(gt):{width:0,height:0},_e=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ct(),Ze=_e[De],vt=_e[Ee],Te=Pe(0,D[Q],Ue[Q]),zt=M?D[Q]/2-mt-Te-Ze-S.mainAxis:Wt-Te-Ze-S.mainAxis,oo=M?-D[Q]/2+mt+Te+vt+S.mainAxis:Ye+Te+vt+S.mainAxis,Xt=e.elements.arrow&&oe(e.elements.arrow),so=Xt?_==="y"?Xt.clientTop||0:Xt.clientLeft||0:0,Hi=(j=V==null?void 0:V[_])!=null?j:0,ro=te+zt-Hi-so,ao=te+oo-Hi,Ui=Pe(h?Fe(_t,ro):_t,te,h?ne(Me,ao):Me);b[_]=Ui,ee[_]=Ui-te}if(r){var Vi,lo=_==="x"?R:N,co=_==="x"?H:B,Ie=b[y],yt=y==="y"?"height":"width",$i=Ie+g[lo],ji=Ie-g[co],Kt=[R,N].indexOf(w)!==-1,Li=(Vi=V==null?void 0:V[y])!=null?Vi:0,Wi=Kt?$i:Ie-D[yt]-G[yt]-Li+S.altAxis,zi=Kt?Ie+D[yt]+G[yt]-Li-S.altAxis:ji,Xi=h&&Kt?vn(Wi,Ie,zi):Pe(h?Wi:$i,Ie,h?zi:ji);b[y]=Xi,ee[y]=Xi-Ie}e.modifiersData[i]=ee}}var Di={name:"preventOverflow",enabled:!0,phase:"main",fn:Ho,requiresIfExists:["offset"]};function Ei(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Mi(t){return t===O(t)||!x(t)?Ae(t):Ei(t)}function Uo(t){var e=t.getBoundingClientRect(),s=he(e.width)/t.offsetWidth||1,i=he(e.height)/t.offsetHeight||1;return s!==1||i!==1}function Ti(t,e,s){s===void 0&&(s=!1);var i=x(e),n=x(e)&&Uo(e),o=U(e),a=Y(t,n,s),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!s)&&((P(e)!=="body"||He(o))&&(r=Mi(e)),x(e)?(l=Y(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Ge(o))),{x:a.left+r.scrollLeft-l.x,y:a.top+r.scrollTop-l.y,width:a.width,height:a.height}}function Vo(t){var e=new Map,s=new Set,i=[];t.forEach(function(o){e.set(o.name,o)});function n(o){s.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(r){if(!s.has(r)){var l=e.get(r);l&&n(l)}}),i.push(o)}return t.forEach(function(o){s.has(o.name)||n(o)}),i}function Ii(t){var e=Vo(t);return _n.reduce(function(s,i){return s.concat(e.filter(function(n){return n.phase===i}))},[])}function Ci(t){var e;return function(){return e||(e=new Promise(function(s){Promise.resolve().then(function(){e=void 0,s(t())})})),e}}function Ri(t){var e=t.reduce(function(s,i){var n=s[i.name];return s[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,s},{});return Object.keys(e).map(function(s){return e[s]})}var En={placement:"bottom",modifiers:[],strategy:"absolute"};function Mn(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Tn(t){t===void 0&&(t={});var e=t,s=e.defaultModifiers,i=s===void 0?[]:s,n=e.defaultOptions,o=n===void 0?En:n;return function(r,l,d){d===void 0&&(d=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},En,o),modifiersData:{},elements:{reference:r,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:c,setOptions:function(w){var E=typeof w=="function"?w(c.options):w;v(),c.options=Object.assign({},o,c.options,E),c.scrollParents={reference:q(r)?we(r):r.contextElement?we(r.contextElement):[],popper:we(l)};var M=Ii(Ri([].concat(i,c.options.modifiers)));return c.orderedModifiers=M.filter(function(_){return _.enabled}),m(),h.update()},forceUpdate:function(){if(!p){var w=c.elements,E=w.reference,M=w.popper;if(Mn(E,M)){c.rects={reference:Ti(E,oe(M),c.options.strategy==="fixed"),popper:ke(M)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(S){return c.modifiersData[S.name]=Object.assign({},S.data)});for(var _=0;_<c.orderedModifiers.length;_++){if(c.reset===!0){c.reset=!1,_=-1;continue}var y=c.orderedModifiers[_],b=y.fn,D=y.options,G=D===void 0?{}:D,F=y.name;typeof b=="function"&&(c=b({state:c,options:G,name:F,instance:h})||c)}}}},update:Ci(function(){return new Promise(function(g){h.forceUpdate(),g(c)})}),destroy:function(){v(),p=!0}};if(!Mn(r,l))return h;h.setOptions(d).then(function(g){!p&&d.onFirstUpdate&&d.onFirstUpdate(g)});function m(){c.orderedModifiers.forEach(function(g){var w=g.name,E=g.options,M=E===void 0?{}:E,_=g.effect;if(typeof _=="function"){var y=_({state:c,name:w,instance:h,options:M}),b=function(){};f.push(y||b)}})}function v(){f.forEach(function(g){return g()}),f=[]}return h}}var $o=[wn,Dn,bn,mn],Si=Tn({defaultModifiers:$o});var jo=["container"],Lo=["ngbAccordionBody",""],jt=["*"];function Wo(t,e){if(t&1){let s=li();je(0,"button",1),ve("click",function(){Et(s);let n=ye();return Mt(n.close())}),Le()}}var zo=["dialog"];function Xo(t,e){if(t&1&&(je(0,"span"),di(1),Le()),t&2){let s=ye().$implicit,i=ye();ge(i.highlightClass),$e(),ui(s)}}function Ko(t,e){if(t&1&&(sn(0),di(1),rn()),t&2){let s=ye().$implicit;$e(),ui(s)}}function Qo(t,e){if(t&1&&ot(0,Xo,2,4,"span",0)(1,Ko,2,1,"ng-container"),t&2){let s=e.$index;ni(s%2!==0?0:1)}}var Jo=(t,e,s)=>({result:t,term:e,formatter:s});function qo(t,e){if(t&1&&ai(0,"ngb-highlight",2),t&2){let s=e.result,i=e.term,n=e.formatter;Rt("result",n(s))("term",i)}}function Yo(t,e){}function Zo(t,e){if(t&1){let s=li();je(0,"button",3),ve("mouseenter",function(){let n=Et(s).$index,o=ye();return Mt(o.markActive(n))})("click",function(){let n=Et(s).$implicit,o=ye();return Mt(o.select(n))}),ot(1,Yo,0,0,"ng-template",4),Le()}if(t&2){let s=e.$implicit,i=e.$index,n=ye(),o=ln(1);W("active",i===n.activeIdx),Rt("id",n.id+"-"+i),$e(),Rt("ngTemplateOutlet",n.resultTemplate||o)("ngTemplateOutletContext",cn(5,Jo,s,n.term,n.formatter))}}var Fn={animation:!0,transitionTimerDelayMs:5},ft=(()=>{let e=class e{constructor(){this.animation=Fn.animation}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),es=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ts(t){let{transitionDelay:e,transitionDuration:s}=window.getComputedStyle(t),i=parseFloat(e),n=parseFloat(s);return(i+n)*1e3}function pt(t){return t!=null?`${t}`:""}function Lt(t){return typeof t=="string"}function Ut(t){return t!=null}function is(t){return t&&t.then}function ns(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function os(t,e){return!e||typeof t.closest>"u"?null:t.closest(e)}function ki(t){return(t||document.body).getBoundingClientRect()}function ss(t){return e=>new wt(s=>{let i=a=>t.run(()=>s.next(a)),n=a=>t.run(()=>s.error(a)),o=()=>t.run(()=>s.complete());return e.subscribe({next:i,error:n,complete:o})})}function In(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function kn(t=document){let e=t==null?void 0:t.activeElement;return e?e.shadowRoot?kn(e.shadowRoot):e:null}var rs=()=>{},{transitionTimerDelayMs:as}=Fn,Gt=new Map,se=(t,e,s,i)=>{let n=i.context||{},o=Gt.get(e);if(o)switch(i.runningTransition){case"continue":return Qi;case"stop":t.run(()=>o.transition$.complete()),n=Object.assign(o.context,n),Gt.delete(e)}let a=s(e,i.animation,n)||rs;if(!i.animation||window.getComputedStyle(e).transitionProperty==="none")return t.run(()=>a()),et(void 0).pipe(ss(t));let r=new X,l=new X,d=r.pipe(Zi(!0));Gt.set(e,{transition$:r,complete:()=>{l.next(),l.complete()},context:n});let c=ts(e);return t.runOutsideAngular(()=>{let f=L(e,"transitionend").pipe(k(d),Re(({target:h})=>h===e)),p=qi(c+as).pipe(k(d));Jt(p,f,l).pipe(k(d)).subscribe(()=>{Gt.delete(e),t.run(()=>{a(),r.next(),r.complete()})})}),r.asObservable()};function ls(t,e){if(typeof navigator>"u")return"0px";let{classList:s}=t,i=s.contains("show");i||s.add("show"),t.style[e]="";let n=t.getBoundingClientRect()[e]+"px";return i||s.remove("show"),n}var cs=(t,e,s)=>{let{direction:i,maxSize:n,dimension:o}=s,{classList:a}=t;function r(){a.add("collapse"),i==="show"?a.add("show"):a.remove("show")}if(!e){r();return}return n||(n=ls(t,o),s.maxSize=n,t.style[o]=i!=="show"?n:"0px",a.remove("collapse","collapsing","show"),ki(t),a.add("collapsing")),t.style[o]=i==="show"?n:"0px",()=>{r(),a.remove("collapsing"),t.style[o]=""}},ds=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.horizontal=!1}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Cn=(()=>{let e=class e{constructor(){this._config=u(ds),this._element=u(J),this._zone=u(re),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new T,this.horizontal=this._config.horizontal,this.shown=new T,this.hidden=new T}set collapsed(i){this._isCollapsed!==i&&(this._isCollapsed=i,this._afterInit&&this._runTransitionWithEvents(i,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(i=this._isCollapsed){this.collapsed=!i,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(i,n){return se(this._zone,this._element.nativeElement,cs,{animation:n,runningTransition:"stop",context:{direction:i?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(i,n){this._runTransition(i,n).subscribe(()=>{i?this.hidden.emit():this.shown.emit()})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(n,o){n&2&&W("collapse-horizontal",o.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"]});let t=e;return t})(),us=0,Yd=(()=>{let e=class e{constructor(){this._item=u(qe),this._viewRef=null,this.elementRef=u(J)}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){var i;(i=this._viewRef)==null||i.destroy(),this._viewRef=null}_createViewIfNotExists(){this._viewRef||(this._viewRef=this._vcr.createEmbeddedView(this._bodyTpl),this._viewRef.detectChanges())}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["","ngbAccordionBody",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,Ct,7),n&2){let r;ce(r=de())&&(o._bodyTpl=r.first)}},viewQuery:function(n,o){if(n&1&&ci(jo,7,ei),n&2){let a;ce(a=de())&&(o._vcr=a.first)}},hostAttrs:[1,"accordion-body"],attrs:Lo,ngContentSelectors:jt,decls:3,vars:0,consts:[["container",""]],template:function(n,o){n&1&&(st(),an(0,null,0),rt(2))},encapsulation:2});let t=e;return t})(),hs=(()=>{let e=class e{constructor(){this.item=u(qe),this.ngbCollapse=u(Cn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region",1,"accordion-collapse"],hostVars:2,hostBindings:function(n,o){n&2&&(ae("id",o.item.collapseId),Se("aria-labelledby",o.item.toggleId))},exportAs:["ngbAccordionCollapse"],features:[ti([Cn])]});let t=e;return t})(),ps=(()=>{let e=class e{constructor(){this.item=u(qe),this.accordion=u(Bn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(n,o){n&1&&ve("click",function(){return!o.item.disabled&&o.accordion.toggle(o.item.id)}),n&2&&(ae("id",o.item.toggleId),Se("aria-controls",o.item.collapseId)("aria-expanded",!o.item.collapsed),W("collapsed",o.item.collapsed))}});let t=e;return t})(),Zd=(()=>{let e=class e{constructor(){this.item=u(qe)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["button","ngbAccordionButton",""]],hostAttrs:["type","button",1,"accordion-button"],hostVars:1,hostBindings:function(n,o){n&2&&ae("disabled",o.item.disabled)},features:[ti([ps])]});let t=e;return t})(),eu=(()=>{let e=class e{constructor(){this.item=u(qe)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading",1,"accordion-header"],hostVars:2,hostBindings:function(n,o){n&2&&W("collapsed",o.item.collapsed)}});let t=e;return t})(),qe=(()=>{let e=class e{constructor(){this._accordion=u(Bn),this._cd=u(We),this._destroyRef=u(Tt),this._collapsed=!0,this._id=`ngb-accordion-item-${us++}`,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new T,this.shown=new T,this.hide=new T,this.hidden=new T}set id(i){Lt(i)&&i!==""&&(this._id=i)}set destroyOnHide(i){this._destroyOnHide=i}get destroyOnHide(){return this._destroyOnHide===void 0?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(i){i?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){let{ngbCollapse:i}=this._collapse;i.animation=!1,i.collapsed=this.collapsed,i.animation=this._accordion.animation,i.hidden.pipe(Nt(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id),this._cd.markForCheck()}),i.shown.pipe(Nt(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id),this._cd.markForCheck()})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionItem",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,hs,7),n&2){let r;ce(r=de())&&(o._collapse=r.first)}},hostAttrs:[1,"accordion-item"],hostVars:1,hostBindings:function(n,o){n&2&&ae("id",o.id)},inputs:{id:[0,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"]});let t=e;return t})(),Bn=(()=>{let e=class e{constructor(){this._config=u(es),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new T,this.shown=new T,this.hide=new T,this.hidden=new T}toggle(i){var n;(n=this._getItem(i))==null||n.toggle()}expand(i){var n;(n=this._getItem(i))==null||n.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(i=>!i.collapsed)||this._items.first.expand():this._items.forEach(i=>i.expand()))}collapse(i){var n;(n=this._getItem(i))==null||n.collapse()}collapseAll(){var i;(i=this._items)==null||i.forEach(n=>n.collapse())}isExpanded(i){let n=this._getItem(i);return n?!n.collapsed:!1}_ensureCanExpand(i){var n;return this.closeOthers?this._items?((n=this._items.find(o=>!o.collapsed&&i!==o))==null||n.collapse(),!0):this._anItemWasAlreadyExpandedDuringInitialisation?!1:(this._anItemWasAlreadyExpandedDuringInitialisation=!0,!0):!0}_getItem(i){var n;return(n=this._items)==null?void 0:n.find(o=>o.id===i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordion",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,qe,4),n&2){let r;ce(r=de())&&(o._items=r)}},hostAttrs:[1,"accordion"],inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"]});let t=e;return t})();var Pn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),fs=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.dismissible=!0,this.type="warning"}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_s=({classList:t})=>{t.remove("show")},tu=(()=>{let e=class e{constructor(){this._config=u(fs),this._elementRef=u(J),this._zone=u(re),this.animation=this._config.animation,this.dismissible=this._config.dismissible,this.type=this._config.type,this.closed=new T}close(){let i=se(this._zone,this._elementRef.nativeElement,_s,{animation:this.animation,runningTransition:"continue"});return i.subscribe(()=>this.closed.emit()),i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-alert"]],hostAttrs:["role","alert"],hostVars:6,hostBindings:function(n,o){n&2&&(ge("alert show"+(o.type?" alert-"+o.type:"")),W("fade",o.animation)("alert-dismissible",o.dismissible))},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],ngContentSelectors:jt,decls:2,vars:1,consts:()=>{let i;return i=$localize`:@@ngb.alert.close:Close`,[["type","button","aria-label",i,1,"btn-close"],["type","button","aria-label",i,1,"btn-close",3,"click"]]},template:function(n,o){n&1&&(st(),rt(0),ot(1,Wo,1,0,"button",0)),n&2&&($e(),ni(o.dismissible?1:-1))},styles:[`ngb-alert{display:block}
2
- `],encapsulation:2,changeDetection:0});let t=e;return t})(),An=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var Gn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Hn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var Ht=(t,e)=>e?e.some(s=>s.contains(t)):!1,Rn=(t,e)=>!e||os(t,e)!=null,ms=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,e=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||e()):!1})(),gs=t=>ms?()=>setTimeout(()=>t(),100):t;function Bi(t,e,s,i,n,o,a,r){s&&t.runOutsideAngular(gs(()=>{let l=p=>{let h=p.target;return p.button===2||Ht(h,a)?!1:s==="inside"?Ht(h,o)&&Rn(h,r):s==="outside"?!Ht(h,o):Rn(h,r)||!Ht(h,o)},d=L(e,"keydown").pipe(k(n),Re(p=>p.key==="Escape"),tt(p=>p.preventDefault())),c=L(e,"mousedown").pipe(Ce(l),k(n)),f=L(e,"mouseup").pipe(Dt(c),Re(([p,h])=>h),Yi(0),k(n));Jt([d.pipe(Ce(p=>0)),f.pipe(Ce(p=>1))]).subscribe(p=>t.run(()=>i(p)))}))}var Un=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Vn(t){let e=Array.from(t.querySelectorAll(Un)).filter(s=>s.tabIndex!==-1);return[e[0],e[e.length-1]]}var vs=(t,e,s,i=!1)=>{t.runOutsideAngular(()=>{let n=L(e,"focusin").pipe(k(s),Ce(o=>o.target));L(e,"keydown").pipe(k(s),Re(o=>o.key==="Tab"),Dt(n)).subscribe(([o,a])=>{let[r,l]=Vn(e);(a===r||a===e)&&o.shiftKey&&(l.focus(),o.preventDefault()),a===l&&!o.shiftKey&&(r.focus(),o.preventDefault())}),i&&L(e,"click").pipe(k(s),Dt(n),Ce(o=>o[1])).subscribe(o=>o.focus())})},ys=(()=>{let e=class e{constructor(){this._element=u(le).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bs=/\s+/,ws=/ +/gi,Os={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function Ds(t,e){let[s,i]=Os[t];return e&&i||s}var Es=/^left/,Ms=/^right/,Ts=/^start/,Is=/^end/;function Cs(t,e){let[s,i]=e.split("-"),n=s.replace(Es,"start").replace(Ms,"end"),o=[n];if(i){let a=i;(s==="left"||s==="right")&&(a=a.replace(Ts,"top").replace(Is,"bottom")),o.push(`${n}-${a}`)}return t&&(o=o.map(a=>`${t}-${a}`)),o.join(" ")}function Sn({placement:t,baseClass:e},s){let i=Array.isArray(t)?t:t.split(bs),n=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],o=i.findIndex(d=>d==="auto");o>=0&&n.forEach(function(d){i.find(c=>c.search("^"+d)!==-1)==null&&i.splice(o++,1,d)});let a=i.map(d=>Ds(d,s.isRTL()));return{placement:a.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!e,phase:"write",fn({state:d}){let c=new RegExp(e+"(-[a-z]+)*","gi"),f=d.elements.popper,p=d.placement,h=f.className;h=h.replace(c,""),h+=` ${Cs(e,p)}`,h=h.trim().replace(ws," "),f.className=h}},bi,Di,_i,{enabled:!0,name:"flip",options:{fallbackPlacements:a}}]}}function Nn(t){return t}function Pi(){let t=u(ys),e=null;return{createPopper(s){if(!e){let n=(s.updatePopperOptions||Nn)(Sn(s,t));e=Si(s.hostElement,s.targetElement,n)}},update(){e&&e.update()},setOptions(s){if(e){let n=(s.updatePopperOptions||Nn)(Sn(s,t));e.setOptions(n)}},destroy(){e&&(e.destroy(),e=null)}}}function Ai(t){return e=>(e.modifiers.push(wi,{name:"offset",options:{offset:()=>t}}),e)}var iu=new Date(1882,10,12),nu=new Date(2174,10,25);var ou=1e3*60*60*24;var Gi=1080,Rs=24*Gi,Ss=12*Gi+793,su=29*Rs+Ss,ru=11*Gi+204;var $n=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Ns=(()=>{let e=class e{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=i=>i,this.container=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jn=(()=>{let e=class e{constructor(){this._disabled=!1,this.nativeElement=u(J).nativeElement,this.tabindex=0}set disabled(i){this._disabled=i===""||i===!0}get disabled(){return this._disabled}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(n,o){n&2&&(ae("tabIndex",o.disabled?-1:o.tabindex),W("disabled",o.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"}});let t=e;return t})(),au=(()=>{let e=class e{constructor(){this.item=u(jn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["button","ngbDropdownItem",""]],hostVars:1,hostBindings:function(n,o){n&2&&ae("disabled",o.item.disabled)}});let t=e;return t})(),xs=(()=>{let e=class e{constructor(){this.dropdown=u(Ln),this.nativeElement=u(J).nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,jn,4),n&2){let r;ce(r=de())&&(o.menuItems=r)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(n,o){n&1&&ve("keydown.ArrowUp",function(r){return o.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return o.dropdown.onKeyDown(r)})("keydown.Home",function(r){return o.dropdown.onKeyDown(r)})("keydown.End",function(r){return o.dropdown.onKeyDown(r)})("keydown.Enter",function(r){return o.dropdown.onKeyDown(r)})("keydown.Space",function(r){return o.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return o.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return o.dropdown.onKeyDown(r)}),n&2&&W("show",o.dropdown.isOpen())}});let t=e;return t})(),Ni=(()=>{let e=class e{constructor(){this.dropdown=u(Ln),this.nativeElement=u(J).nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(n,o){n&2&&(Se("aria-expanded",o.dropdown.isOpen()),W("show",o.dropdown.isOpen()))}});let t=e;return t})(),lu=(()=>{let e=class e extends Ni{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=nn(e)))(o||e)}})(),e.\u0275dir=$({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(n,o){n&1&&ve("click",function(){return o.dropdown.toggle()})("keydown.ArrowUp",function(r){return o.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return o.dropdown.onKeyDown(r)})("keydown.Home",function(r){return o.dropdown.onKeyDown(r)})("keydown.End",function(r){return o.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return o.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return o.dropdown.onKeyDown(r)}),n&2&&(Se("aria-expanded",o.dropdown.isOpen()),W("show",o.dropdown.isOpen()))},features:[hi([{provide:Ni,useExisting:Yt(()=>e)}]),on]});let t=e;return t})(),Ln=(()=>{let e=class e{constructor(){this._changeDetector=u(We),this._config=u(Ns),this._document=u(le),this._injector=u(ie),this._ngZone=u(re),this._nativeElement=u(J).nativeElement,this._destroyCloseHandlers$=new X,this._bodyContainer=null,this._positioning=Pi(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new T}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){nt({write:()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()}},{injector:this._injector})}ngOnChanges(i){if(i.container&&this._open&&this._applyContainer(this.container),i.placement&&!i.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),i.dropdownClass){let{currentValue:n,previousValue:o}=i.dropdownClass;this._applyCustomDropdownClass(n,o)}i.autoClose&&this._open&&(this.autoClose=i.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),this.display==="dynamic"&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:i=>this.popperOptions(Ai([0,2])(i))}),this._applyPlacementClasses(),this._afterRenderRef=It({write:()=>{this._positionMenu()}},{injector:this._injector})})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Bi(this._ngZone,this._document,this.autoClose,i=>{this.close(),i===0&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){var i;this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),(i=this._afterRenderRef)==null||i.destroy(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(i){let{key:n}=i,o=this._getMenuElements(),a=-1,r=null,l=this._isEventFromToggle(i);if(!l&&o.length&&o.forEach((d,c)=>{d.contains(i.target)&&(r=d),d===kn(this._document)&&(a=c)}),n===" "||n==="Enter"){r&&(this.autoClose===!0||this.autoClose==="inside")&&L(r,"click").pipe(Ve(1)).subscribe(()=>this.close());return}if(n==="Tab"){if(i.target&&this.isOpen()&&this.autoClose)if(this._anchor.nativeElement===i.target){this.container==="body"&&!i.shiftKey?(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")):i.shiftKey&&this.close();return}else if(this.container==="body"){let d=this._menu.nativeElement.querySelectorAll(Un);i.shiftKey&&i.target===d[0]?(this._anchor.nativeElement.focus(),i.preventDefault()):!i.shiftKey&&i.target===d[d.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else L(i.target,"focusout").pipe(Ve(1)).subscribe(({relatedTarget:d})=>{this._nativeElement.contains(d)||this.close()});return}if(l||r){if(this.open(),o.length){switch(n){case"ArrowDown":a=Math.min(a+1,o.length-1);break;case"ArrowUp":if(this._isDropup()&&a===-1){a=o.length-1;break}a=Math.max(a-1,0);break;case"Home":a=0;break;case"End":a=o.length-1;break}o[a].focus()}i.preventDefault()}}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(i){return this._anchor.nativeElement.contains(i.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:i})=>!i).map(({nativeElement:i})=>i):[]}_positionMenu(){let i=this._menu;this.isOpen()&&i&&(this.display==="dynamic"?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(i){return Array.isArray(i)?i[0]:i.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(i=null){if(this._resetContainer(),i==="body"){let n=this._menu.nativeElement,o=this._bodyContainer=this._bodyContainer||this._document.createElement("div");o.style.position="absolute",n.style.position="static",o.style.zIndex="1055",o.appendChild(n),this._document.body.appendChild(o)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(i,n){let o=this.container==="body"?this._bodyContainer:this._nativeElement;o&&(n&&o.classList.remove(n),i&&o.classList.add(i))}_applyPlacementClasses(i){if(this._menu){i||(i=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),this.display==="static"?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");let n=i.search("^top")!==-1?"dropup":"dropdown";this._nativeElement.classList.add(n),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(n))}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(n,o,a){if(n&1&&(Ne(a,xs,5),Ne(a,Ni,5)),n&2){let r;ce(r=de())&&(o._menu=r.first),ce(r=de())&&(o._anchor=r.first)}},hostVars:2,hostBindings:function(n,o){n&2&&W("show",o.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[it]});let t=e;return t})();var Wn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Fs=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fe=class{constructor(e,s,i){this.nodes=e,this.viewRef=s,this.componentRef=i}},Vt=class{constructor(e){this._componentType=e,this._windowRef=null,this._contentRef=null,this._document=u(le),this._applicationRef=u(ii),this._injector=u(ie),this._viewContainerRef=u(ei),this._ngZone=u(re)}open(e,s,i=!1){this._windowRef||(this._contentRef=this._getContentRef(e,s),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:n}=this._windowRef.location,o=new X;nt({mixedReadWrite:()=>{o.next(),o.complete()}},{injector:this._injector});let a=o.pipe(Ji(()=>se(this._ngZone,n,({classList:r})=>r.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:a}}close(e=!1){return this._windowRef?se(this._ngZone,this._windowRef.location.nativeElement,({classList:s})=>s.remove("show"),{animation:e,runningTransition:"stop"}).pipe(tt(()=>{var s,i,n;(s=this._windowRef)==null||s.destroy(),(n=(i=this._contentRef)==null?void 0:i.viewRef)==null||n.destroy(),this._windowRef=null,this._contentRef=null})):et(void 0)}_getContentRef(e,s){if(e)if(e instanceof Ct){let i=e.createEmbeddedView(s);return this._applicationRef.attachView(i),new fe([i.rootNodes],i)}else return new fe([[this._document.createTextNode(`${e}`)]]);else return new fe([])}},ks=(()=>{let e=class e{constructor(){this._document=u(le)}hide(){let i=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),n=this._document.body,o=n.style,{overflow:a,paddingRight:r}=o;if(i>0){let l=parseFloat(window.getComputedStyle(n).paddingRight);o.paddingRight=`${l+i}px`}return o.overflow="hidden",()=>{i>0&&(o.paddingRight=r),o.overflow=a}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bs=(()=>{let e=class e{constructor(){this._nativeElement=u(J).nativeElement,this._zone=u(re),this._injector=u(ie)}ngOnInit(){nt({mixedReadWrite:()=>se(this._zone,this._nativeElement,(i,n)=>{n&&ki(i),i.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return se(this._zone,this._nativeElement,({classList:i})=>i.remove("show"),{animation:this.animation,runningTransition:"stop"})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(n,o){n&2&&(ge("modal-backdrop"+(o.backdropClass?" "+o.backdropClass:"")),W("show",!o.animation)("fade",o.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(n,o){},encapsulation:2});let t=e;return t})(),$t=class{update(e){}close(e){}dismiss(e){}},Ps=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],As=["animation","backdropClass"],xi=class{_applyWindowOptions(e,s){Ps.forEach(i=>{Ut(s[i])&&(e[i]=s[i])})}_applyBackdropOptions(e,s){As.forEach(i=>{Ut(s[i])&&(e[i]=s[i])})}update(e){this._applyWindowOptions(this._windowCmptRef.instance,e),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,e)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(k(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(k(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(e,s,i,n){this._windowCmptRef=e,this._contentRef=s,this._backdropCmptRef=i,this._beforeDismiss=n,this._closed=new X,this._dismissed=new X,this._hidden=new X,e.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,a)=>{this._resolve=o,this._reject=a}),this.result.then(null,()=>{})}close(e){this._windowCmptRef&&(this._closed.next(e),this._resolve(e),this._removeModalElements())}_dismiss(e){this._dismissed.next(e),this._reject(e),this._removeModalElements()}dismiss(e){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(e);else{let s=this._beforeDismiss();is(s)?s.then(i=>{i!==!1&&this._dismiss(e)},()=>{}):s!==!1&&this._dismiss(e)}}_removeModalElements(){let e=this._windowCmptRef.instance.hide(),s=this._backdropCmptRef?this._backdropCmptRef.instance.hide():et(void 0);e.subscribe(()=>{var n,o;let{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),(o=(n=this._contentRef)==null?void 0:n.viewRef)==null||o.destroy(),this._windowCmptRef=null,this._contentRef=null}),s.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Ot(e,s).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},Fi=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(Fi||{}),Gs=(()=>{let e=class e{constructor(){this._document=u(le),this._elRef=u(J),this._zone=u(re),this._injector=u(ie),this._closed$=new X,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new T,this.shown=new X,this.hidden=new X}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":Lt(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(i){this.dismissEvent.emit(i)}ngOnInit(){this._elWithFocus=this._document.activeElement,nt({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:i}=this._elRef,n={animation:this.animation,runningTransition:"stop"},o=se(this._zone,i,()=>i.classList.remove("show"),n),a=se(this._zone,this._dialogEl.nativeElement,()=>{},n),r=Ot(o,a);return r.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),r}_show(){let i={animation:this.animation,runningTransition:"continue"},n=se(this._zone,this._elRef.nativeElement,(a,r)=>{r&&ki(a),a.classList.add("show")},i),o=se(this._zone,this._dialogEl.nativeElement,()=>{},i);Ot(n,o).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:i}=this._elRef;this._zone.runOutsideAngular(()=>{L(i,"keydown").pipe(k(this._closed$),Re(o=>o.key==="Escape")).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(Fi.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let n=!1;L(this._dialogEl.nativeElement,"mousedown").pipe(k(this._closed$),tt(()=>n=!1),qt(()=>L(i,"mouseup").pipe(k(this._closed$),Ve(1))),Re(({target:o})=>i===o)).subscribe(()=>{n=!0}),L(i,"click").pipe(k(this._closed$)).subscribe(({target:o})=>{i===o&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!n&&this._zone.run(()=>this.dismiss(Fi.BACKDROP_CLICK))),n=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:i}=this._elRef;if(!i.contains(document.activeElement)){let n=i.querySelector("[ngbAutofocus]"),o=Vn(i)[0];(n||o||i).focus()}}_restoreFocus(){let i=this._document.body,n=this._elWithFocus,o;n&&n.focus&&i.contains(n)?o=n:o=i,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&se(this._zone,this._elRef.nativeElement,({classList:i})=>(i.add("modal-static"),()=>i.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(n,o){if(n&1&&ci(zo,7),n&2){let a;ce(a=de())&&(o._dialogEl=a.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(n,o){n&2&&(Se("aria-modal",!0)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy)("role",o.role),ge("modal d-block"+(o.windowClass?" "+o.windowClass:"")),W("fade",o.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:jt,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(n,o){n&1&&(st(),je(0,"div",1,0)(2,"div",2),rt(3),Le()()),n&2&&ge("modal-dialog"+(o.size?" modal-"+o.size:"")+(o.centered?" modal-dialog-centered":"")+o.fullscreenClass+(o.scrollable?" modal-dialog-scrollable":"")+(o.modalDialogClass?" "+o.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
3
- `],encapsulation:2});let t=e;return t})(),Hs=(()=>{let e=class e{constructor(){this._applicationRef=u(ii),this._injector=u(ie),this._environmentInjector=u(Zt),this._document=u(le),this._scrollBar=u(ks),this._activeWindowCmptHasChanged=new X,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new T;let i=u(re);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let n=this._windowCmpts[this._windowCmpts.length-1];vs(i,n.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(n.location.nativeElement)}})}_restoreScrollBar(){let i=this._scrollBarRestoreFn;i&&(this._scrollBarRestoreFn=null,i())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(i,n,o){let a=o.container instanceof HTMLElement?o.container:Ut(o.container)?this._document.querySelector(o.container):this._document.body;if(!a)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let r=new $t;i=o.injector||i;let l=i.get(Zt,null)||this._environmentInjector,d=this._getContentRef(i,l,n,r,o),c=o.backdrop!==!1?this._attachBackdrop(a):void 0,f=this._attachWindowComponent(a,d.nodes),p=new xi(f,d,c,o.beforeDismiss);return this._registerModalRef(p),this._registerWindowCmpt(f),p.hidden.pipe(Ve(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),r.close=h=>{p.close(h)},r.dismiss=h=>{p.dismiss(h)},r.update=h=>{p.update(h)},p.update(o),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),c&&c.instance&&c.changeDetectorRef.detectChanges(),f.changeDetectorRef.detectChanges(),p}get activeInstances(){return this._activeInstances}dismissAll(i){this._modalRefs.forEach(n=>n.dismiss(i))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(i){let n=St(Bs,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(n.hostView),i.appendChild(n.location.nativeElement),n}_attachWindowComponent(i,n){let o=St(Gs,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:n});return this._applicationRef.attachView(o.hostView),i.appendChild(o.location.nativeElement),o}_getContentRef(i,n,o,a,r){return o?o instanceof Ct?this._createFromTemplateRef(o,a):Lt(o)?this._createFromString(o):this._createFromComponent(i,n,o,a,r):new fe([])}_createFromTemplateRef(i,n){let o={$implicit:n,close(r){n.close(r)},dismiss(r){n.dismiss(r)}},a=i.createEmbeddedView(o);return this._applicationRef.attachView(a),new fe([a.rootNodes],a)}_createFromString(i){let n=this._document.createTextNode(`${i}`);return new fe([[n]])}_createFromComponent(i,n,o,a,r){let l=ie.create({providers:[{provide:$t,useValue:a}],parent:i}),d=St(o,{environmentInjector:n,elementInjector:l}),c=d.location.nativeElement;return r.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(d.hostView),new fe([[c]],d.hostView,d)}_setAriaHidden(i){let n=i.parentElement;n&&i!==this._document.body&&(Array.from(n.children).forEach(o=>{o!==i&&o.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))}_revertAriaHidden(){this._ariaHiddenValues.forEach((i,n)=>{i?n.setAttribute("aria-hidden",i):n.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(i){let n=()=>{let o=this._modalRefs.indexOf(i);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(i),this._activeInstances.emit(this._modalRefs),i.result.then(n,n)}_registerWindowCmpt(i){this._windowCmpts.push(i),this._activeWindowCmptHasChanged.next(),i.onDestroy(()=>{let n=this._windowCmpts.indexOf(i);n>-1&&(this._windowCmpts.splice(n,1),this._activeWindowCmptHasChanged.next())})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Us=(()=>{let e=class e{constructor(){this._injector=u(ie),this._modalStack=u(Hs),this._config=u(Fs)}open(i,n={}){let o=bt(Qt(bt({},this._config),{animation:this._config.animation}),n);return this._modalStack.open(this._injector,i,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(i){this._modalStack.dismissAll(i)}hasOpenModals(){return this._modalStack.hasOpenModals()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({providers:[Us]});let t=e;return t})();var Xn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var Kn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Vs={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function $s(t){let e=(t||"").trim();if(e.length===0)return[];let s=e.split(/\s+/).map(n=>n.split(":")).map(n=>Vs[n[0]]||n),i=s.filter(n=>n.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(i.length===1&&s.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:s}function js(t,e,s,i,n,o=0,a=0){let r=$s(e);if(r.length===0)return()=>{};let l=new Set,d=[],c;function f(h,m){t.addEventListener(h,m),d.push(()=>t.removeEventListener(h,m))}function p(h,m){clearTimeout(c),m>0?c=setTimeout(h,m):h()}for(let[h,m]of r)m?(f(h,()=>{l.add(h),p(()=>l.size>0&&i(),o)}),f(m,()=>{l.delete(h),p(()=>l.size===0&&n(),a)})):f(h,()=>s()?p(n,a):p(i,o));return()=>d.forEach(h=>h())}var Qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var Jn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var Yn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var Zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var eo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Ls=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.autoClose=!0,this.placement="auto",this.popperOptions=i=>i,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ws=0,zs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(n,o){n&2&&(ae("id",o.id),ge("tooltip"+(o.tooltipClass?" "+o.tooltipClass:"")),W("fade",o.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:jt,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(n,o){n&1&&(st(),ai(0,"div",0),je(1,"div",1),rt(2),Le())},styles:[`ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}
4
- `],encapsulation:2,changeDetection:0});let t=e;return t})(),cu=(()=>{let e=class e{constructor(){this._config=u(Ls),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new T,this.hidden=new T,this._nativeElement=u(J).nativeElement,this._ngZone=u(re),this._document=u(le),this._changeDetector=u(We),this._injector=u(ie),this._ngbTooltipWindowId=`ngb-tooltip-${Ws++}`,this._popupService=new Vt(zs),this._windowRef=null,this._positioning=Pi()}set ngbTooltip(i){this._ngbTooltip=i,!i&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(i){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){let{windowRef:n,transition$:o}=this._popupService.open(this._ngbTooltip,i!=null?i:this.tooltipContext,this.animation);this._windowRef=n,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),this.container==="body"&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-tooltip",updatePopperOptions:a=>this.popperOptions(Ai([0,6])(a))}),Promise.resolve().then(()=>{this._positioning.update()}),this._afterRenderRef=It({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector})}),Bi(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),o.subscribe(()=>this.shown.emit())}}close(i=this.animation){this._windowRef!=null&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(i).subscribe(()=>{var n;this._windowRef=null,this._positioning.destroy(),(n=this._afterRenderRef)==null||n.destroy(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return this._windowRef!=null}ngOnInit(){this._unregisterListenersFn=js(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:i}){i&&this.isOpen()&&this._windowRef.setInput("tooltipClass",i.currentValue)}ngOnDestroy(){var i;this.close(!1),(i=this._unregisterListenersFn)==null||i.call(this)}_getPositionTargetElement(){return(Lt(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[it]});let t=e;return t})(),to=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Xs=(()=>{let e=class e{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(i){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);let n=pt(this.result),o=Array.isArray(this.term)?this.term:[this.term],a=c=>this.accentSensitive?c:In(c),r=o.map(c=>ns(a(pt(c)))).filter(c=>c),l=this.accentSensitive?n:In(n),d=r.length?l.split(new RegExp(`(${r.join("|")})`,"gmi")):[n];if(this.accentSensitive)this.parts=d;else{let c=0;this.parts=d.map(f=>n.substring(c,c+=f.length))}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[it],decls:2,vars:0,consts:[[3,"class"]],template:function(n,o){n&1&&si(0,Qo,2,1,null,null,oi),n&2&&ri(o.parts)},styles:[`.ngb-highlight{font-weight:700}
5
- `],encapsulation:2,changeDetection:0});let t=e;return t})(),Ks=new en("live announcer delay",{providedIn:"root",factory:()=>100});function xn(t,e=!1){let s=t.body.querySelector("#ngb-live");return s==null&&e&&(s=t.createElement("div"),s.setAttribute("id","ngb-live"),s.setAttribute("aria-live","polite"),s.setAttribute("aria-atomic","true"),s.classList.add("visually-hidden"),t.body.appendChild(s)),s}var Qs=(()=>{let e=class e{constructor(){this._document=u(le),this._delay=u(Ks)}ngOnDestroy(){let i=xn(this._document);i&&i.parentElement.removeChild(i)}say(i){let n=xn(this._document,!0),o=this._delay;if(n!=null){n.textContent="";let a=()=>n.textContent=i;o===null?a():setTimeout(a,o)}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Js=(()=>{let e=class e{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=i=>i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qs=(()=>{let e=class e{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=pt,this.selectEvent=new T,this.activeChangeEvent=new T}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(i){this.activeIdx=i,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:this.activeIdx===0?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(i){this.selectEvent.emit(i)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(n,o){n&1&&ve("mousedown",function(r){return r.preventDefault()}),n&2&&(ae("id",o.id),ge("dropdown-menu show"+(o.popupClass?" "+o.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:4,vars:0,consts:[["rt",""],["type","button","role","option",1,"dropdown-item",3,"id","active"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"mouseenter","click","id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(ot(0,qo,1,2,"ng-template",null,0,dn),si(2,Zo,2,9,"button",1,oi)),n&2&&($e(2),ri(o.results))},dependencies:[Xs,un],encapsulation:2});let t=e;return t})(),Ys=0,du=(()=>{let e=class e{constructor(){this._nativeElement=u(J).nativeElement,this._config=u(Js),this._live=u(Qs),this._document=u(le),this._ngZone=u(re),this._changeDetector=u(We),this._injector=u(ie),this._popupService=new Vt(qs),this._positioning=Pi(),this._subscription=null,this._closed$=new X,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._valueChanges$=L(this._nativeElement,"input").pipe(Ce(i=>i.target.value)),this._resubscribeTypeahead$=new Ki(null),this._windowRef=null,this.autocomplete="off",this.container=this._config.container,this.editable=this._config.editable,this.focusFirst=this._config.focusFirst,this.selectOnExact=this._config.selectOnExact,this.showHint=this._config.showHint,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.selectItem=new T,this.activeDescendant=null,this.popupId=`ngb-typeahead-${Ys++}`,this._onTouched=()=>{},this._onChange=i=>{}}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:i}){i&&!i.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}writeValue(i){this._writeInputValue(this._formatItemForInput(i)),this.showHint&&(this._inputValueBackup=i)}setDisabledState(i){this._nativeElement.disabled=i}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead$.next(null),this._closePopup(),this.showHint&&this._inputValueBackup!==null&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return this._windowRef!=null}handleBlur(){this._resubscribeTypeahead$.next(null),this._onTouched()}handleKeyDown(i){if(this.isPopupOpen())switch(i.key){case"ArrowDown":i.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case"ArrowUp":i.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case"Enter":case"Tab":{let n=this._windowRef.instance.getActive();Ut(n)&&(i.preventDefault(),i.stopPropagation(),this._selectResult(n)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._nativeElement.value;let{windowRef:i}=this._popupService.open();this._windowRef=i,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(n=>this._selectResultClosePopup(n)),this._windowRef.instance.activeChangeEvent.subscribe(n=>this.activeDescendant=n),this.container==="body"&&(this._windowRef.location.nativeElement.style.zIndex="1055",this._document.body.appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,updatePopperOptions:n=>this.popperOptions(Ai([0,2])(n))}),this._afterRenderRef=It({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector}))}),Bi(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{var i;this._positioning.destroy(),(i=this._afterRenderRef)==null||i.destroy(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(i){let n=!1;this.selectItem.emit({item:i,preventDefault:()=>{n=!0}}),this._resubscribeTypeahead$.next(null),n||(this.writeValue(i),this._onChange(i))}_selectResultClosePopup(i){this._selectResult(i),this._closePopup()}_showHint(){var i;if(this.showHint&&((i=this._windowRef)!=null&&i.instance.hasActive())&&this._inputValueBackup!=null){let n=this._inputValueBackup.toLowerCase(),o=this._formatItemForInput(this._windowRef.instance.getActive());n===o.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+o.substring(this._inputValueBackup.length)),this._nativeElement.setSelectionRange.apply(this._nativeElement,[this._inputValueBackup.length,o.length])):this._writeInputValue(o)}}_formatItemForInput(i){return i!=null&&this.inputFormatter?this.inputFormatter(i):pt(i)}_writeInputValue(i){this._nativeElement.value=pt(i)}_subscribeToUserInput(){let i=this._valueChanges$.pipe(tt(n=>{this._inputValueBackup=this.showHint?n:null,this._inputValueForSelectOnExact=this.selectOnExact?n:null,this._onChange(this.editable?n:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>et([]));this._subscription=this._resubscribeTypeahead$.pipe(qt(()=>i)).subscribe(n=>{!n||n.length===0?this._closePopup():this.selectOnExact&&n.length===1&&this._formatItemForInput(n[0])===this._inputValueForSelectOnExact?(this._selectResult(n[0]),this._closePopup()):(this._openPopup(),this._windowRef.setInput("focusFirst",this.focusFirst),this._windowRef.setInput("results",n),this._windowRef.setInput("term",this._nativeElement.value),this.resultFormatter&&this._windowRef.setInput("formatter",this.resultFormatter),this.resultTemplate&&this._windowRef.setInput("resultTemplate",this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint());let o=n?n.length:0;this._live.say(o===0?"No results available":`${o} result${o===1?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(n,o){n&1&&ve("blur",function(){return o.handleBlur()})("keydown",function(r){return o.handleKeyDown(r)}),n&2&&(ae("autocomplete",o.autocomplete),Se("aria-autocomplete",o.showHint?"both":"list")("aria-activedescendant",o.activeDescendant)("aria-owns",o.isPopupOpen()?o.popupId:null)("aria-expanded",o.isPopupOpen()),W("open",o.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[hi([{provide:hn,useExisting:Yt(()=>e),multi:!0}]),it]});let t=e;return t})(),io=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})();var no=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({});let t=e;return t})(),Zs=[Pn,An,Gn,Hn,$n,Wn,zn,Xn,no,Kn,Qn,Jn,qn,Yn,Zn,eo,to,io],uu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=I({imports:[Zs,Pn,An,Gn,Hn,$n,Wn,zn,Xn,no,Kn,Qn,Jn,qn,Yn,Zn,eo,to,io]});let t=e;return t})();export{Yd as a,hs as b,Zd as c,eu as d,qe as e,Bn as f,tu as g,jn as h,au as i,xs as j,lu as k,Ln as l,$t as m,Us as n,cu as o,du as p,uu as q};
1
+ import{a as hn}from"./chunk-YLEC7AUG.js";import{$b as an,Aa as nn,Ac as cn,Bb as ot,Ca as ie,Da as Et,E as L,F as Yi,Fa as E,Fc as dn,Ga as re,H as Ie,I as qt,Ic as We,J as Dt,Ka as q,Kb as ii,Lb as Re,Mb as It,O as Ve,Ob as W,Oc as Rt,Pb as ge,Q as Ki,Rb as ni,S as Zi,Sa as Mt,Sb as oi,Ta as nt,Tc as le,Ub as si,Vb as ri,Wb as je,Xb as Le,Yb as ai,Zb as sn,_b as rn,a as bt,aa as Yt,ac as li,b as Jt,ba as B,bc as ae,ca as tt,da as Tt,dc as ve,ec as ye,fc as st,fd as un,ga as Kt,gc as rt,ha as X,hc as Ne,ia as M,ib as $e,ic as ci,jc as ce,k as wt,ka as en,kc as de,lb as Ct,n as Q,na as u,nc as ln,o as Xi,oc as di,p as Ji,pb as ei,pc as ui,r as et,ta as Zt,ub as me,va as tn,vb as C,wa as it,wb as $,wc as hi,x as Ce,xa as Ot,ya as St,yb as on,z as qi,zb as ti}from"./chunk-CKNHTRCL.js";function Nt(t){t||(tn(Nt),t=u(Et));let e=new wt(s=>t.onDestroy(s.next.bind(s)));return s=>s.pipe(B(e))}var I="top",U="bottom",P="right",N="left",xt="auto",be=[I,U,P,N],ue="start",xe="end",pn="clippingParents",kt="viewport",ze="popper",fn="reference",pi=be.reduce(function(t,e){return t.concat([e+"-"+ue,e+"-"+xe])},[]),Bt=[].concat(be,[xt]).reduce(function(t,e){return t.concat([e,e+"-"+ue,e+"-"+xe])},[]),uo="beforeRead",ho="read",po="afterRead",fo="beforeMain",_o="main",mo="afterMain",go="beforeWrite",vo="write",yo="afterWrite",_n=[uo,ho,po,fo,_o,mo,go,vo,yo];function F(t){return t?(t.nodeName||"").toLowerCase():null}function D(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Y(t){var e=D(t).Element;return t instanceof e||t instanceof Element}function x(t){var e=D(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Qe(t){if(typeof ShadowRoot>"u")return!1;var e=D(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function bo(t){var e=t.state;Object.keys(e.elements).forEach(function(s){var i=e.styles[s]||{},n=e.attributes[s]||{},o=e.elements[s];!x(o)||!F(o)||(Object.assign(o.style,i),Object.keys(n).forEach(function(a){var r=n[a];r===!1?o.removeAttribute(a):o.setAttribute(a,r===!0?"":r)}))})}function wo(t){var e=t.state,s={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,s.popper),e.styles=s,e.elements.arrow&&Object.assign(e.elements.arrow.style,s.arrow),function(){Object.keys(e.elements).forEach(function(i){var n=e.elements[i],o=e.attributes[i]||{},a=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:s[i]),r=a.reduce(function(l,d){return l[d]="",l},{});!x(n)||!F(n)||(Object.assign(n.style,r),Object.keys(o).forEach(function(l){n.removeAttribute(l)}))})}}var mn={name:"applyStyles",enabled:!0,phase:"write",fn:bo,effect:wo,requires:["computeStyles"]};function A(t){return t.split("-")[0]}var ne=Math.max,ke=Math.min,he=Math.round;function Xe(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function at(){return!/^((?!chrome|android).)*safari/i.test(Xe())}function K(t,e,s){e===void 0&&(e=!1),s===void 0&&(s=!1);var i=t.getBoundingClientRect(),n=1,o=1;e&&x(t)&&(n=t.offsetWidth>0&&he(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&he(i.height)/t.offsetHeight||1);var a=Y(t)?D(t):window,r=a.visualViewport,l=!at()&&s,d=(i.left+(l&&r?r.offsetLeft:0))/n,c=(i.top+(l&&r?r.offsetTop:0))/o,f=i.width/n,p=i.height/o;return{width:f,height:p,top:c,right:d+f,bottom:c+p,left:d,x:d,y:c}}function Be(t){var e=K(t),s=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-s)<=1&&(s=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:i}}function lt(t,e){var s=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(s&&Qe(s)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function z(t){return D(t).getComputedStyle(t)}function fi(t){return["table","td","th"].indexOf(F(t))>=0}function H(t){return((Y(t)?t.ownerDocument:t.document)||window.document).documentElement}function pe(t){return F(t)==="html"?t:t.assignedSlot||t.parentNode||(Qe(t)?t.host:null)||H(t)}function gn(t){return!x(t)||z(t).position==="fixed"?null:t.offsetParent}function Do(t){var e=/firefox/i.test(Xe()),s=/Trident/i.test(Xe());if(s&&x(t)){var i=z(t);if(i.position==="fixed")return null}var n=pe(t);for(Qe(n)&&(n=n.host);x(n)&&["html","body"].indexOf(F(n))<0;){var o=z(n);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return n;n=n.parentNode}return null}function oe(t){for(var e=D(t),s=gn(t);s&&fi(s)&&z(s).position==="static";)s=gn(s);return s&&(F(s)==="html"||F(s)==="body"&&z(s).position==="static")?e:s||Do(t)||e}function Pe(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Fe(t,e,s){return ne(t,ke(e,s))}function vn(t,e,s){var i=Fe(t,e,s);return i>s?s:i}function ct(){return{top:0,right:0,bottom:0,left:0}}function dt(t){return Object.assign({},ct(),t)}function ut(t,e){return e.reduce(function(s,i){return s[i]=t,s},{})}var To=function(e,s){return e=typeof e=="function"?e(Object.assign({},s.rects,{placement:s.placement})):e,dt(typeof e!="number"?e:ut(e,be))};function Oo(t){var e,s=t.state,i=t.name,n=t.options,o=s.elements.arrow,a=s.modifiersData.popperOffsets,r=A(s.placement),l=Pe(r),d=[N,P].indexOf(r)>=0,c=d?"height":"width";if(!(!o||!a)){var f=To(n.padding,s),p=Be(o),h=l==="y"?I:N,m=l==="y"?U:P,v=s.rects.reference[c]+s.rects.reference[l]-a[l]-s.rects.popper[c],g=a[l]-s.rects.reference[l],w=oe(o),O=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,S=v/2-g/2,_=f[h],y=O-p[c]-f[m],b=O/2-p[c]/2+S,T=Fe(_,b,y),G=l;s.modifiersData[i]=(e={},e[G]=T,e.centerOffset=T-b,e)}}function So(t){var e=t.state,s=t.options,i=s.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||lt(e.elements.popper,n)&&(e.elements.arrow=n))}var _i={name:"arrow",enabled:!0,phase:"main",fn:Oo,effect:So,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(t){return t.split("-")[1]}var Eo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mo(t,e){var s=t.x,i=t.y,n=e.devicePixelRatio||1;return{x:he(s*n)/n||0,y:he(i*n)/n||0}}function yn(t){var e,s=t.popper,i=t.popperRect,n=t.placement,o=t.variation,a=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,c=t.roundOffsets,f=t.isFixed,p=a.x,h=p===void 0?0:p,m=a.y,v=m===void 0?0:m,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var w=a.hasOwnProperty("x"),O=a.hasOwnProperty("y"),S=N,_=I,y=window;if(d){var b=oe(s),T="clientHeight",G="clientWidth";if(b===D(s)&&(b=H(s),z(b).position!=="static"&&r==="absolute"&&(T="scrollHeight",G="scrollWidth")),b=b,n===I||(n===N||n===P)&&o===xe){_=U;var k=f&&b===y&&y.visualViewport?y.visualViewport.height:b[T];v-=k-i.height,v*=l?1:-1}if(n===N||(n===I||n===U)&&o===xe){S=P;var R=f&&b===y&&y.visualViewport?y.visualViewport.width:b[G];h-=R-i.width,h*=l?1:-1}}var V=Object.assign({position:r},d&&Eo),ee=c===!0?Mo({x:h,y:v},D(s)):{x:h,y:v};if(h=ee.x,v=ee.y,l){var j;return Object.assign({},V,(j={},j[_]=O?"0":"",j[S]=w?"0":"",j.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",j))}return Object.assign({},V,(e={},e[_]=O?v+"px":"",e[S]=w?h+"px":"",e.transform="",e))}function Co(t){var e=t.state,s=t.options,i=s.gpuAcceleration,n=i===void 0?!0:i,o=s.adaptive,a=o===void 0?!0:o,r=s.roundOffsets,l=r===void 0?!0:r,d={placement:A(e.placement),variation:Z(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,yn(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,yn(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var bn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Co,data:{}};var Pt={passive:!0};function Io(t){var e=t.state,s=t.instance,i=t.options,n=i.scroll,o=n===void 0?!0:n,a=i.resize,r=a===void 0?!0:a,l=D(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(c){c.addEventListener("scroll",s.update,Pt)}),r&&l.addEventListener("resize",s.update,Pt),function(){o&&d.forEach(function(c){c.removeEventListener("scroll",s.update,Pt)}),r&&l.removeEventListener("resize",s.update,Pt)}}var wn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Io,data:{}};var Ro={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(t){return t.replace(/left|right|bottom|top/g,function(e){return Ro[e]})}var No={start:"end",end:"start"};function Ft(t){return t.replace(/start|end/g,function(e){return No[e]})}function Ae(t){var e=D(t),s=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:s,scrollTop:i}}function Ge(t){return K(H(t)).left+Ae(t).scrollLeft}function mi(t,e){var s=D(t),i=H(t),n=s.visualViewport,o=i.clientWidth,a=i.clientHeight,r=0,l=0;if(n){o=n.width,a=n.height;var d=at();(d||!d&&e==="fixed")&&(r=n.offsetLeft,l=n.offsetTop)}return{width:o,height:a,x:r+Ge(t),y:l}}function gi(t){var e,s=H(t),i=Ae(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=ne(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=ne(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),r=-i.scrollLeft+Ge(t),l=-i.scrollTop;return z(n||s).direction==="rtl"&&(r+=ne(s.clientWidth,n?n.clientWidth:0)-o),{width:o,height:a,x:r,y:l}}function Ue(t){var e=z(t),s=e.overflow,i=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(s+n+i)}function At(t){return["html","body","#document"].indexOf(F(t))>=0?t.ownerDocument.body:x(t)&&Ue(t)?t:At(pe(t))}function we(t,e){var s;e===void 0&&(e=[]);var i=At(t),n=i===((s=t.ownerDocument)==null?void 0:s.body),o=D(i),a=n?[o].concat(o.visualViewport||[],Ue(i)?i:[]):i,r=e.concat(a);return n?r:r.concat(we(pe(a)))}function qe(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xo(t,e){var s=K(t,!1,e==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function Dn(t,e,s){return e===kt?qe(mi(t,s)):Y(e)?xo(e,s):qe(gi(H(t)))}function ko(t){var e=we(pe(t)),s=["absolute","fixed"].indexOf(z(t).position)>=0,i=s&&x(t)?oe(t):t;return Y(i)?e.filter(function(n){return Y(n)&&lt(n,i)&&F(n)!=="body"}):[]}function vi(t,e,s,i){var n=e==="clippingParents"?ko(t):[].concat(e),o=[].concat(n,[s]),a=o[0],r=o.reduce(function(l,d){var c=Dn(t,d,i);return l.top=ne(c.top,l.top),l.right=ke(c.right,l.right),l.bottom=ke(c.bottom,l.bottom),l.left=ne(c.left,l.left),l},Dn(t,a,i));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function ht(t){var e=t.reference,s=t.element,i=t.placement,n=i?A(i):null,o=i?Z(i):null,a=e.x+e.width/2-s.width/2,r=e.y+e.height/2-s.height/2,l;switch(n){case I:l={x:a,y:e.y-s.height};break;case U:l={x:a,y:e.y+e.height};break;case P:l={x:e.x+e.width,y:r};break;case N:l={x:e.x-s.width,y:r};break;default:l={x:e.x,y:e.y}}var d=n?Pe(n):null;if(d!=null){var c=d==="y"?"height":"width";switch(o){case ue:l[d]=l[d]-(e[c]/2-s[c]/2);break;case xe:l[d]=l[d]+(e[c]/2-s[c]/2);break;default:}}return l}function De(t,e){e===void 0&&(e={});var s=e,i=s.placement,n=i===void 0?t.placement:i,o=s.strategy,a=o===void 0?t.strategy:o,r=s.boundary,l=r===void 0?pn:r,d=s.rootBoundary,c=d===void 0?kt:d,f=s.elementContext,p=f===void 0?ze:f,h=s.altBoundary,m=h===void 0?!1:h,v=s.padding,g=v===void 0?0:v,w=dt(typeof g!="number"?g:ut(g,be)),O=p===ze?fn:ze,S=t.rects.popper,_=t.elements[m?O:p],y=vi(Y(_)?_:_.contextElement||H(t.elements.popper),l,c,a),b=K(t.elements.reference),T=ht({reference:b,element:S,strategy:"absolute",placement:n}),G=qe(Object.assign({},S,T)),k=p===ze?G:b,R={top:y.top-k.top+w.top,bottom:k.bottom-y.bottom+w.bottom,left:y.left-k.left+w.left,right:k.right-y.right+w.right},V=t.modifiersData.offset;if(p===ze&&V){var ee=V[n];Object.keys(R).forEach(function(j){var Te=[P,U].indexOf(j)>=0?1:-1,Oe=[I,U].indexOf(j)>=0?"y":"x";R[j]+=ee[Oe]*Te})}return R}function yi(t,e){e===void 0&&(e={});var s=e,i=s.placement,n=s.boundary,o=s.rootBoundary,a=s.padding,r=s.flipVariations,l=s.allowedAutoPlacements,d=l===void 0?Bt:l,c=Z(i),f=c?r?pi:pi.filter(function(m){return Z(m)===c}):be,p=f.filter(function(m){return d.indexOf(m)>=0});p.length===0&&(p=f);var h=p.reduce(function(m,v){return m[v]=De(t,{placement:v,boundary:n,rootBoundary:o,padding:a})[A(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function Bo(t){if(A(t)===xt)return[];var e=Je(t);return[Ft(t),e,Ft(e)]}function Po(t){var e=t.state,s=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var n=s.mainAxis,o=n===void 0?!0:n,a=s.altAxis,r=a===void 0?!0:a,l=s.fallbackPlacements,d=s.padding,c=s.boundary,f=s.rootBoundary,p=s.altBoundary,h=s.flipVariations,m=h===void 0?!0:h,v=s.allowedAutoPlacements,g=e.options.placement,w=A(g),O=w===g,S=l||(O||!m?[Je(g)]:Bo(g)),_=[g].concat(S).reduce(function(He,_e){return He.concat(A(_e)===xt?yi(e,{placement:_e,boundary:c,rootBoundary:f,padding:d,flipVariations:m,allowedAutoPlacements:v}):_e)},[]),y=e.rects.reference,b=e.rects.popper,T=new Map,G=!0,k=_[0],R=0;R<_.length;R++){var V=_[R],ee=A(V),j=Z(V)===ue,Te=[I,U].indexOf(ee)>=0,Oe=Te?"width":"height",J=De(e,{placement:V,boundary:c,rootBoundary:f,altBoundary:p,padding:d}),te=Te?j?P:N:j?U:I;y[Oe]>b[Oe]&&(te=Je(te));var _t=Je(te),Se=[];if(o&&Se.push(J[ee]<=0),r&&Se.push(J[te]<=0,J[_t]<=0),Se.every(function(He){return He})){k=V,G=!1;break}T.set(V,Se)}if(G)for(var mt=m?3:1,Wt=function(_e){var Ze=_.find(function(vt){var Ee=T.get(vt);if(Ee)return Ee.slice(0,_e).every(function(zt){return zt})});if(Ze)return k=Ze,"break"},Ke=mt;Ke>0;Ke--){var gt=Wt(Ke);if(gt==="break")break}e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}}var bi={name:"flip",enabled:!0,phase:"main",fn:Po,requiresIfExists:["offset"],data:{_skip:!1}};function Fo(t,e,s){var i=A(t),n=[N,I].indexOf(i)>=0?-1:1,o=typeof s=="function"?s(Object.assign({},e,{placement:t})):s,a=o[0],r=o[1];return a=a||0,r=(r||0)*n,[N,P].indexOf(i)>=0?{x:r,y:a}:{x:a,y:r}}function Ao(t){var e=t.state,s=t.options,i=t.name,n=s.offset,o=n===void 0?[0,0]:n,a=Bt.reduce(function(c,f){return c[f]=Fo(f,e.rects,o),c},{}),r=a[e.placement],l=r.x,d=r.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=a}var wi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ao};function Go(t){var e=t.state,s=t.name;e.modifiersData[s]=ht({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Tn={name:"popperOffsets",enabled:!0,phase:"read",fn:Go,data:{}};function Di(t){return t==="x"?"y":"x"}function Uo(t){var e=t.state,s=t.options,i=t.name,n=s.mainAxis,o=n===void 0?!0:n,a=s.altAxis,r=a===void 0?!1:a,l=s.boundary,d=s.rootBoundary,c=s.altBoundary,f=s.padding,p=s.tether,h=p===void 0?!0:p,m=s.tetherOffset,v=m===void 0?0:m,g=De(e,{boundary:l,rootBoundary:d,padding:f,altBoundary:c}),w=A(e.placement),O=Z(e.placement),S=!O,_=Pe(w),y=Di(_),b=e.modifiersData.popperOffsets,T=e.rects.reference,G=e.rects.popper,k=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,R=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),V=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,ee={x:0,y:0};if(b){if(o){var j,Te=_==="y"?I:N,Oe=_==="y"?U:P,J=_==="y"?"height":"width",te=b[_],_t=te+g[Te],Se=te-g[Oe],mt=h?-G[J]/2:0,Wt=O===ue?T[J]:G[J],Ke=O===ue?-G[J]:-T[J],gt=e.elements.arrow,He=h&&gt?Be(gt):{width:0,height:0},_e=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ct(),Ze=_e[Te],vt=_e[Oe],Ee=Fe(0,T[J],He[J]),zt=S?T[J]/2-mt-Ee-Ze-R.mainAxis:Wt-Ee-Ze-R.mainAxis,oo=S?-T[J]/2+mt+Ee+vt+R.mainAxis:Ke+Ee+vt+R.mainAxis,Qt=e.elements.arrow&&oe(e.elements.arrow),so=Qt?_==="y"?Qt.clientTop||0:Qt.clientLeft||0:0,Ui=(j=V==null?void 0:V[_])!=null?j:0,ro=te+zt-Ui-so,ao=te+oo-Ui,Hi=Fe(h?ke(_t,ro):_t,te,h?ne(Se,ao):Se);b[_]=Hi,ee[_]=Hi-te}if(r){var Vi,lo=_==="x"?I:N,co=_==="x"?U:P,Me=b[y],yt=y==="y"?"height":"width",$i=Me+g[lo],ji=Me-g[co],Xt=[I,N].indexOf(w)!==-1,Li=(Vi=V==null?void 0:V[y])!=null?Vi:0,Wi=Xt?$i:Me-T[yt]-G[yt]-Li+R.altAxis,zi=Xt?Me+T[yt]+G[yt]-Li-R.altAxis:ji,Qi=h&&Xt?vn(Wi,Me,zi):Fe(h?Wi:$i,Me,h?zi:ji);b[y]=Qi,ee[y]=Qi-Me}e.modifiersData[i]=ee}}var Ti={name:"preventOverflow",enabled:!0,phase:"main",fn:Uo,requiresIfExists:["offset"]};function Oi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Si(t){return t===D(t)||!x(t)?Ae(t):Oi(t)}function Ho(t){var e=t.getBoundingClientRect(),s=he(e.width)/t.offsetWidth||1,i=he(e.height)/t.offsetHeight||1;return s!==1||i!==1}function Ei(t,e,s){s===void 0&&(s=!1);var i=x(e),n=x(e)&&Ho(e),o=H(e),a=K(t,n,s),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!s)&&((F(e)!=="body"||Ue(o))&&(r=Si(e)),x(e)?(l=K(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Ge(o))),{x:a.left+r.scrollLeft-l.x,y:a.top+r.scrollTop-l.y,width:a.width,height:a.height}}function Vo(t){var e=new Map,s=new Set,i=[];t.forEach(function(o){e.set(o.name,o)});function n(o){s.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(r){if(!s.has(r)){var l=e.get(r);l&&n(l)}}),i.push(o)}return t.forEach(function(o){s.has(o.name)||n(o)}),i}function Mi(t){var e=Vo(t);return _n.reduce(function(s,i){return s.concat(e.filter(function(n){return n.phase===i}))},[])}function Ci(t){var e;return function(){return e||(e=new Promise(function(s){Promise.resolve().then(function(){e=void 0,s(t())})})),e}}function Ii(t){var e=t.reduce(function(s,i){var n=s[i.name];return s[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,s},{});return Object.keys(e).map(function(s){return e[s]})}var On={placement:"bottom",modifiers:[],strategy:"absolute"};function Sn(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function En(t){t===void 0&&(t={});var e=t,s=e.defaultModifiers,i=s===void 0?[]:s,n=e.defaultOptions,o=n===void 0?On:n;return function(r,l,d){d===void 0&&(d=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},On,o),modifiersData:{},elements:{reference:r,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:c,setOptions:function(w){var O=typeof w=="function"?w(c.options):w;v(),c.options=Object.assign({},o,c.options,O),c.scrollParents={reference:Y(r)?we(r):r.contextElement?we(r.contextElement):[],popper:we(l)};var S=Mi(Ii([].concat(i,c.options.modifiers)));return c.orderedModifiers=S.filter(function(_){return _.enabled}),m(),h.update()},forceUpdate:function(){if(!p){var w=c.elements,O=w.reference,S=w.popper;if(Sn(O,S)){c.rects={reference:Ei(O,oe(S),c.options.strategy==="fixed"),popper:Be(S)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(R){return c.modifiersData[R.name]=Object.assign({},R.data)});for(var _=0;_<c.orderedModifiers.length;_++){if(c.reset===!0){c.reset=!1,_=-1;continue}var y=c.orderedModifiers[_],b=y.fn,T=y.options,G=T===void 0?{}:T,k=y.name;typeof b=="function"&&(c=b({state:c,options:G,name:k,instance:h})||c)}}}},update:Ci(function(){return new Promise(function(g){h.forceUpdate(),g(c)})}),destroy:function(){v(),p=!0}};if(!Sn(r,l))return h;h.setOptions(d).then(function(g){!p&&d.onFirstUpdate&&d.onFirstUpdate(g)});function m(){c.orderedModifiers.forEach(function(g){var w=g.name,O=g.options,S=O===void 0?{}:O,_=g.effect;if(typeof _=="function"){var y=_({state:c,name:w,instance:h,options:S}),b=function(){};f.push(y||b)}})}function v(){f.forEach(function(g){return g()}),f=[]}return h}}var $o=[wn,Tn,bn,mn],Ri=En({defaultModifiers:$o});var jo=["container"],Lo=["ngbAccordionBody",""],jt=["*"];function Wo(t,e){if(t&1){let s=li();je(0,"button",1),ve("click",function(){Ot(s);let n=ye();return St(n.close())}),Le()}}var zo=["dialog"];function Qo(t,e){if(t&1&&(je(0,"span"),di(1),Le()),t&2){let s=ye().$implicit,i=ye();ge(i.highlightClass),$e(),ui(s)}}function Xo(t,e){if(t&1&&(sn(0),di(1),rn()),t&2){let s=ye().$implicit;$e(),ui(s)}}function Jo(t,e){if(t&1&&ot(0,Qo,2,4,"span",0)(1,Xo,2,1,"ng-container"),t&2){let s=e.$index;ni(s%2!==0?0:1)}}var qo=(t,e,s)=>({result:t,term:e,formatter:s});function Yo(t,e){if(t&1&&ai(0,"ngb-highlight",2),t&2){let s=e.result,i=e.term,n=e.formatter;It("result",n(s))("term",i)}}function Ko(t,e){}function Zo(t,e){if(t&1){let s=li();je(0,"button",3),ve("mouseenter",function(){let n=Ot(s).$index,o=ye();return St(o.markActive(n))})("click",function(){let n=Ot(s).$implicit,o=ye();return St(o.select(n))}),ot(1,Ko,0,0,"ng-template",4),Le()}if(t&2){let s=e.$implicit,i=e.$index,n=ye(),o=ln(1);W("active",i===n.activeIdx),It("id",n.id+"-"+i),$e(),It("ngTemplateOutlet",n.resultTemplate||o)("ngTemplateOutletContext",cn(5,qo,s,n.term,n.formatter))}}var kn={animation:!0,transitionTimerDelayMs:5},ft=(()=>{let e=class e{constructor(){this.animation=kn.animation}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),es=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ts(t){let{transitionDelay:e,transitionDuration:s}=window.getComputedStyle(t),i=parseFloat(e),n=parseFloat(s);return(i+n)*1e3}function pt(t){return t!=null?`${t}`:""}function Lt(t){return typeof t=="string"}function Ht(t){return t!=null}function is(t){return t&&t.then}function ns(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function os(t,e){return!e||typeof t.closest>"u"?null:t.closest(e)}function Bi(t){return(t||document.body).getBoundingClientRect()}function ss(t){return e=>new wt(s=>{let i=a=>t.run(()=>s.next(a)),n=a=>t.run(()=>s.error(a)),o=()=>t.run(()=>s.complete());return e.subscribe({next:i,error:n,complete:o})})}function Mn(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Bn(t=document){let e=t==null?void 0:t.activeElement;return e?e.shadowRoot?Bn(e.shadowRoot):e:null}var rs=()=>{},{transitionTimerDelayMs:as}=kn,Gt=new Map,se=(t,e,s,i)=>{let n=i.context||{},o=Gt.get(e);if(o)switch(i.runningTransition){case"continue":return Ji;case"stop":t.run(()=>o.transition$.complete()),n=Object.assign(o.context,n),Gt.delete(e)}let a=s(e,i.animation,n)||rs;if(!i.animation||window.getComputedStyle(e).transitionProperty==="none")return t.run(()=>a()),et(void 0).pipe(ss(t));let r=new Q,l=new Q,d=r.pipe(Zi(!0));Gt.set(e,{transition$:r,complete:()=>{l.next(),l.complete()},context:n});let c=ts(e);return t.runOutsideAngular(()=>{let f=L(e,"transitionend").pipe(B(d),Ie(({target:h})=>h===e)),p=Yi(c+as).pipe(B(d));qt(p,f,l).pipe(B(d)).subscribe(()=>{Gt.delete(e),t.run(()=>{a(),r.next(),r.complete()})})}),r.asObservable()};function ls(t,e){if(typeof navigator>"u")return"0px";let{classList:s}=t,i=s.contains("show");i||s.add("show"),t.style[e]="";let n=t.getBoundingClientRect()[e]+"px";return i||s.remove("show"),n}var cs=(t,e,s)=>{let{direction:i,maxSize:n,dimension:o}=s,{classList:a}=t;function r(){a.add("collapse"),i==="show"?a.add("show"):a.remove("show")}if(!e){r();return}return n||(n=ls(t,o),s.maxSize=n,t.style[o]=i!=="show"?n:"0px",a.remove("collapse","collapsing","show"),Bi(t),a.add("collapsing")),t.style[o]=i==="show"?n:"0px",()=>{r(),a.remove("collapsing"),t.style[o]=""}},ds=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.horizontal=!1}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Cn=(()=>{let e=class e{constructor(){this._config=u(ds),this._element=u(q),this._zone=u(re),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new E,this.horizontal=this._config.horizontal,this.shown=new E,this.hidden=new E}set collapsed(i){this._isCollapsed!==i&&(this._isCollapsed=i,this._afterInit&&this._runTransitionWithEvents(i,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(i=this._isCollapsed){this.collapsed=!i,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(i,n){return se(this._zone,this._element.nativeElement,cs,{animation:n,runningTransition:"stop",context:{direction:i?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(i,n){this._runTransition(i,n).subscribe(()=>{i?this.hidden.emit():this.shown.emit()})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(n,o){n&2&&W("collapse-horizontal",o.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"]});let t=e;return t})(),us=0,Kd=(()=>{let e=class e{constructor(){this._item=u(Ye),this._viewRef=null,this.elementRef=u(q)}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){var i;(i=this._viewRef)==null||i.destroy(),this._viewRef=null}_createViewIfNotExists(){this._viewRef||(this._viewRef=this._vcr.createEmbeddedView(this._bodyTpl),this._viewRef.detectChanges())}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["","ngbAccordionBody",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,Ct,7),n&2){let r;ce(r=de())&&(o._bodyTpl=r.first)}},viewQuery:function(n,o){if(n&1&&ci(jo,7,ei),n&2){let a;ce(a=de())&&(o._vcr=a.first)}},hostAttrs:[1,"accordion-body"],attrs:Lo,ngContentSelectors:jt,decls:3,vars:0,consts:[["container",""]],template:function(n,o){n&1&&(st(),an(0,null,0),rt(2))},encapsulation:2});let t=e;return t})(),hs=(()=>{let e=class e{constructor(){this.item=u(Ye),this.ngbCollapse=u(Cn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region",1,"accordion-collapse"],hostVars:2,hostBindings:function(n,o){n&2&&(ae("id",o.item.collapseId),Re("aria-labelledby",o.item.toggleId))},exportAs:["ngbAccordionCollapse"],features:[ti([Cn])]});let t=e;return t})(),ps=(()=>{let e=class e{constructor(){this.item=u(Ye),this.accordion=u(Pn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(n,o){n&1&&ve("click",function(){return!o.item.disabled&&o.accordion.toggle(o.item.id)}),n&2&&(ae("id",o.item.toggleId),Re("aria-controls",o.item.collapseId)("aria-expanded",!o.item.collapsed),W("collapsed",o.item.collapsed))}});let t=e;return t})(),Zd=(()=>{let e=class e{constructor(){this.item=u(Ye)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["button","ngbAccordionButton",""]],hostAttrs:["type","button",1,"accordion-button"],hostVars:1,hostBindings:function(n,o){n&2&&ae("disabled",o.item.disabled)},features:[ti([ps])]});let t=e;return t})(),eu=(()=>{let e=class e{constructor(){this.item=u(Ye)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading",1,"accordion-header"],hostVars:2,hostBindings:function(n,o){n&2&&W("collapsed",o.item.collapsed)}});let t=e;return t})(),Ye=(()=>{let e=class e{constructor(){this._accordion=u(Pn),this._cd=u(We),this._destroyRef=u(Et),this._collapsed=!0,this._id=`ngb-accordion-item-${us++}`,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new E,this.shown=new E,this.hide=new E,this.hidden=new E}set id(i){Lt(i)&&i!==""&&(this._id=i)}set destroyOnHide(i){this._destroyOnHide=i}get destroyOnHide(){return this._destroyOnHide===void 0?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(i){i?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){let{ngbCollapse:i}=this._collapse;i.animation=!1,i.collapsed=this.collapsed,i.animation=this._accordion.animation,i.hidden.pipe(Nt(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id),this._cd.markForCheck()}),i.shown.pipe(Nt(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id),this._cd.markForCheck()})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordionItem",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,hs,7),n&2){let r;ce(r=de())&&(o._collapse=r.first)}},hostAttrs:[1,"accordion-item"],hostVars:1,hostBindings:function(n,o){n&2&&ae("id",o.id)},inputs:{id:[0,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"]});let t=e;return t})(),Pn=(()=>{let e=class e{constructor(){this._config=u(es),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new E,this.shown=new E,this.hide=new E,this.hidden=new E}toggle(i){var n;(n=this._getItem(i))==null||n.toggle()}expand(i){var n;(n=this._getItem(i))==null||n.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(i=>!i.collapsed)||this._items.first.expand():this._items.forEach(i=>i.expand()))}collapse(i){var n;(n=this._getItem(i))==null||n.collapse()}collapseAll(){var i;(i=this._items)==null||i.forEach(n=>n.collapse())}isExpanded(i){let n=this._getItem(i);return n?!n.collapsed:!1}_ensureCanExpand(i){var n;return this.closeOthers?this._items?((n=this._items.find(o=>!o.collapsed&&i!==o))==null||n.collapse(),!0):this._anItemWasAlreadyExpandedDuringInitialisation?!1:(this._anItemWasAlreadyExpandedDuringInitialisation=!0,!0):!0}_getItem(i){var n;return(n=this._items)==null?void 0:n.find(o=>o.id===i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbAccordion",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,Ye,4),n&2){let r;ce(r=de())&&(o._items=r)}},hostAttrs:[1,"accordion"],inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"]});let t=e;return t})();var Fn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),fs=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.dismissible=!0,this.type="warning"}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_s=({classList:t})=>{t.remove("show")},tu=(()=>{let e=class e{constructor(){this._config=u(fs),this._elementRef=u(q),this._zone=u(re),this.animation=this._config.animation,this.dismissible=this._config.dismissible,this.type=this._config.type,this.closed=new E}close(){let i=se(this._zone,this._elementRef.nativeElement,_s,{animation:this.animation,runningTransition:"continue"});return i.subscribe(()=>this.closed.emit()),i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-alert"]],hostAttrs:["role","alert"],hostVars:6,hostBindings:function(n,o){n&2&&(ge("alert show"+(o.type?" alert-"+o.type:"")),W("fade",o.animation)("alert-dismissible",o.dismissible))},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],ngContentSelectors:jt,decls:2,vars:1,consts:()=>{let i;return i=$localize`:@@ngb.alert.close:Close`,[["type","button","aria-label",i,1,"btn-close"],["type","button","aria-label",i,1,"btn-close",3,"click"]]},template:function(n,o){n&1&&(st(),rt(0),ot(1,Wo,1,0,"button",0)),n&2&&($e(),ni(o.dismissible?1:-1))},styles:[`ngb-alert{display:block}
2
+ `],encapsulation:2,changeDetection:0});let t=e;return t})(),An=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var Gn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),Un=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var Ut=(t,e)=>e?e.some(s=>s.contains(t)):!1,In=(t,e)=>!e||os(t,e)!=null,ms=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,e=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||e()):!1})(),gs=t=>ms?()=>setTimeout(()=>t(),100):t;function Pi(t,e,s,i,n,o,a,r){s&&t.runOutsideAngular(gs(()=>{let l=p=>{let h=p.target;return p.button===2||Ut(h,a)?!1:s==="inside"?Ut(h,o)&&In(h,r):s==="outside"?!Ut(h,o):In(h,r)||!Ut(h,o)},d=L(e,"keydown").pipe(B(n),Ie(p=>p.key==="Escape"),tt(p=>p.preventDefault())),c=L(e,"mousedown").pipe(Ce(l),B(n)),f=L(e,"mouseup").pipe(Tt(c),Ie(([p,h])=>h),Ki(0),B(n));qt([d.pipe(Ce(p=>0)),f.pipe(Ce(p=>1))]).subscribe(p=>t.run(()=>i(p)))}))}var Hn=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Vn(t){let e=Array.from(t.querySelectorAll(Hn)).filter(s=>s.tabIndex!==-1);return[e[0],e[e.length-1]]}var vs=(t,e,s,i=!1)=>{t.runOutsideAngular(()=>{let n=L(e,"focusin").pipe(B(s),Ce(o=>o.target));L(e,"keydown").pipe(B(s),Ie(o=>o.key==="Tab"),Tt(n)).subscribe(([o,a])=>{let[r,l]=Vn(e);(a===r||a===e)&&o.shiftKey&&(l.focus(),o.preventDefault()),a===l&&!o.shiftKey&&(r.focus(),o.preventDefault())}),i&&L(e,"click").pipe(B(s),Tt(n),Ce(o=>o[1])).subscribe(o=>o.focus())})},ys=(()=>{let e=class e{constructor(){this._element=u(le).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bs=/\s+/,ws=/ +/gi,Ds={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function Ts(t,e){let[s,i]=Ds[t];return e&&i||s}var Os=/^left/,Ss=/^right/,Es=/^start/,Ms=/^end/;function Cs(t,e){let[s,i]=e.split("-"),n=s.replace(Os,"start").replace(Ss,"end"),o=[n];if(i){let a=i;(s==="left"||s==="right")&&(a=a.replace(Es,"top").replace(Ms,"bottom")),o.push(`${n}-${a}`)}return t&&(o=o.map(a=>`${t}-${a}`)),o.join(" ")}function Rn({placement:t,baseClass:e},s){let i=Array.isArray(t)?t:t.split(bs),n=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],o=i.findIndex(d=>d==="auto");o>=0&&n.forEach(function(d){i.find(c=>c.search("^"+d)!==-1)==null&&i.splice(o++,1,d)});let a=i.map(d=>Ts(d,s.isRTL()));return{placement:a.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!e,phase:"write",fn({state:d}){let c=new RegExp(e+"(-[a-z]+)*","gi"),f=d.elements.popper,p=d.placement,h=f.className;h=h.replace(c,""),h+=` ${Cs(e,p)}`,h=h.trim().replace(ws," "),f.className=h}},bi,Ti,_i,{enabled:!0,name:"flip",options:{fallbackPlacements:a}}]}}function Nn(t){return t}function Fi(){let t=u(ys),e=null;return{createPopper(s){if(!e){let n=(s.updatePopperOptions||Nn)(Rn(s,t));e=Ri(s.hostElement,s.targetElement,n)}},update(){e&&e.update()},setOptions(s){if(e){let n=(s.updatePopperOptions||Nn)(Rn(s,t));e.setOptions(n)}},destroy(){e&&(e.destroy(),e=null)}}}function Ai(t){return e=>(e.modifiers.push(wi,{name:"offset",options:{offset:()=>t}}),e)}var iu=new Date(1882,10,12),nu=new Date(2174,10,25);var ou=1e3*60*60*24;var Gi=1080,Is=24*Gi,Rs=12*Gi+793,su=29*Is+Rs,ru=11*Gi+204;var $n=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),Ns=(()=>{let e=class e{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=i=>i,this.container=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jn=(()=>{let e=class e{constructor(){this._disabled=!1,this.nativeElement=u(q).nativeElement,this.tabindex=0}set disabled(i){this._disabled=i===""||i===!0}get disabled(){return this._disabled}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(n,o){n&2&&(ae("tabIndex",o.disabled?-1:o.tabindex),W("disabled",o.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"}});let t=e;return t})(),au=(()=>{let e=class e{constructor(){this.item=u(jn)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["button","ngbDropdownItem",""]],hostVars:1,hostBindings:function(n,o){n&2&&ae("disabled",o.item.disabled)}});let t=e;return t})(),xs=(()=>{let e=class e{constructor(){this.dropdown=u(Ln),this.nativeElement=u(q).nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(n,o,a){if(n&1&&Ne(a,jn,4),n&2){let r;ce(r=de())&&(o.menuItems=r)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(n,o){n&1&&ve("keydown.ArrowUp",function(r){return o.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return o.dropdown.onKeyDown(r)})("keydown.Home",function(r){return o.dropdown.onKeyDown(r)})("keydown.End",function(r){return o.dropdown.onKeyDown(r)})("keydown.Enter",function(r){return o.dropdown.onKeyDown(r)})("keydown.Space",function(r){return o.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return o.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return o.dropdown.onKeyDown(r)}),n&2&&W("show",o.dropdown.isOpen())}});let t=e;return t})(),Ni=(()=>{let e=class e{constructor(){this.dropdown=u(Ln),this.nativeElement=u(q).nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(n,o){n&2&&(Re("aria-expanded",o.dropdown.isOpen()),W("show",o.dropdown.isOpen()))}});let t=e;return t})(),lu=(()=>{let e=class e extends Ni{};e.\u0275fac=(()=>{let i;return function(o){return(i||(i=nn(e)))(o||e)}})(),e.\u0275dir=$({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(n,o){n&1&&ve("click",function(){return o.dropdown.toggle()})("keydown.ArrowUp",function(r){return o.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return o.dropdown.onKeyDown(r)})("keydown.Home",function(r){return o.dropdown.onKeyDown(r)})("keydown.End",function(r){return o.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return o.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return o.dropdown.onKeyDown(r)}),n&2&&(Re("aria-expanded",o.dropdown.isOpen()),W("show",o.dropdown.isOpen()))},features:[hi([{provide:Ni,useExisting:Kt(()=>e)}]),on]});let t=e;return t})(),Ln=(()=>{let e=class e{constructor(){this._changeDetector=u(We),this._config=u(Ns),this._document=u(le),this._injector=u(ie),this._ngZone=u(re),this._nativeElement=u(q).nativeElement,this._destroyCloseHandlers$=new Q,this._bodyContainer=null,this._positioning=Fi(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new E}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){nt({write:()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()}},{injector:this._injector})}ngOnChanges(i){if(i.container&&this._open&&this._applyContainer(this.container),i.placement&&!i.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),i.dropdownClass){let{currentValue:n,previousValue:o}=i.dropdownClass;this._applyCustomDropdownClass(n,o)}i.autoClose&&this._open&&(this.autoClose=i.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),this.display==="dynamic"&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:i=>this.popperOptions(Ai([0,2])(i))}),this._applyPlacementClasses(),this._afterRenderRef=Mt({write:()=>{this._positionMenu()}},{injector:this._injector})})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Pi(this._ngZone,this._document,this.autoClose,i=>{this.close(),i===0&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){var i;this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),(i=this._afterRenderRef)==null||i.destroy(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(i){let{key:n}=i,o=this._getMenuElements(),a=-1,r=null,l=this._isEventFromToggle(i);if(!l&&o.length&&o.forEach((d,c)=>{d.contains(i.target)&&(r=d),d===Bn(this._document)&&(a=c)}),n===" "||n==="Enter"){r&&(this.autoClose===!0||this.autoClose==="inside")&&L(r,"click").pipe(Ve(1)).subscribe(()=>this.close());return}if(n==="Tab"){if(i.target&&this.isOpen()&&this.autoClose)if(this._anchor.nativeElement===i.target){this.container==="body"&&!i.shiftKey?(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")):i.shiftKey&&this.close();return}else if(this.container==="body"){let d=this._menu.nativeElement.querySelectorAll(Hn);i.shiftKey&&i.target===d[0]?(this._anchor.nativeElement.focus(),i.preventDefault()):!i.shiftKey&&i.target===d[d.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else L(i.target,"focusout").pipe(Ve(1)).subscribe(({relatedTarget:d})=>{this._nativeElement.contains(d)||this.close()});return}if(l||r){if(this.open(),o.length){switch(n){case"ArrowDown":a=Math.min(a+1,o.length-1);break;case"ArrowUp":if(this._isDropup()&&a===-1){a=o.length-1;break}a=Math.max(a-1,0);break;case"Home":a=0;break;case"End":a=o.length-1;break}o[a].focus()}i.preventDefault()}}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(i){return this._anchor.nativeElement.contains(i.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:i})=>!i).map(({nativeElement:i})=>i):[]}_positionMenu(){let i=this._menu;this.isOpen()&&i&&(this.display==="dynamic"?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(i){return Array.isArray(i)?i[0]:i.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(i=null){if(this._resetContainer(),i==="body"){let n=this._menu.nativeElement,o=this._bodyContainer=this._bodyContainer||this._document.createElement("div");o.style.position="absolute",n.style.position="static",o.style.zIndex="1055",o.appendChild(n),this._document.body.appendChild(o)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(i,n){let o=this.container==="body"?this._bodyContainer:this._nativeElement;o&&(n&&o.classList.remove(n),i&&o.classList.add(i))}_applyPlacementClasses(i){if(this._menu){i||(i=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),this.display==="static"?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");let n=i.search("^top")!==-1?"dropup":"dropdown";this._nativeElement.classList.add(n),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(n))}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(n,o,a){if(n&1&&(Ne(a,xs,5),Ne(a,Ni,5)),n&2){let r;ce(r=de())&&(o._menu=r.first),ce(r=de())&&(o._anchor=r.first)}},hostVars:2,hostBindings:function(n,o){n&2&&W("show",o.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[it]});let t=e;return t})();var Wn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),ks=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fe=class{constructor(e,s,i){this.nodes=e,this.viewRef=s,this.componentRef=i}},Vt=class{constructor(e){this._componentType=e,this._windowRef=null,this._contentRef=null,this._document=u(le),this._applicationRef=u(ii),this._injector=u(ie),this._viewContainerRef=u(ei),this._ngZone=u(re)}open(e,s,i=!1){this._windowRef||(this._contentRef=this._getContentRef(e,s),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:n}=this._windowRef.location,o=new Q;nt({mixedReadWrite:()=>{o.next(),o.complete()}},{injector:this._injector});let a=o.pipe(qi(()=>se(this._ngZone,n,({classList:r})=>r.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:a}}close(e=!1){return this._windowRef?se(this._ngZone,this._windowRef.location.nativeElement,({classList:s})=>s.remove("show"),{animation:e,runningTransition:"stop"}).pipe(tt(()=>{var s,i,n;(s=this._windowRef)==null||s.destroy(),(n=(i=this._contentRef)==null?void 0:i.viewRef)==null||n.destroy(),this._windowRef=null,this._contentRef=null})):et(void 0)}_getContentRef(e,s){if(e)if(e instanceof Ct){let i=e.createEmbeddedView(s);return this._applicationRef.attachView(i),new fe([i.rootNodes],i)}else return new fe([[this._document.createTextNode(`${e}`)]]);else return new fe([])}},Bs=(()=>{let e=class e{constructor(){this._document=u(le)}hide(){let i=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),n=this._document.body,o=n.style,{overflow:a,paddingRight:r}=o;if(i>0){let l=parseFloat(window.getComputedStyle(n).paddingRight);o.paddingRight=`${l+i}px`}return o.overflow="hidden",()=>{i>0&&(o.paddingRight=r),o.overflow=a}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ps=(()=>{let e=class e{constructor(){this._nativeElement=u(q).nativeElement,this._zone=u(re),this._injector=u(ie)}ngOnInit(){nt({mixedReadWrite:()=>se(this._zone,this._nativeElement,(i,n)=>{n&&Bi(i),i.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return se(this._zone,this._nativeElement,({classList:i})=>i.remove("show"),{animation:this.animation,runningTransition:"stop"})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(n,o){n&2&&(ge("modal-backdrop"+(o.backdropClass?" "+o.backdropClass:"")),W("show",!o.animation)("fade",o.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(n,o){},encapsulation:2});let t=e;return t})(),$t=class{update(e){}close(e){}dismiss(e){}},Fs=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],As=["animation","backdropClass"],xi=class{_applyWindowOptions(e,s){Fs.forEach(i=>{Ht(s[i])&&(e[i]=s[i])})}_applyBackdropOptions(e,s){As.forEach(i=>{Ht(s[i])&&(e[i]=s[i])})}update(e){this._applyWindowOptions(this._windowCmptRef.instance,e),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,e)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(B(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(B(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(e,s,i,n){this._windowCmptRef=e,this._contentRef=s,this._backdropCmptRef=i,this._beforeDismiss=n,this._closed=new Q,this._dismissed=new Q,this._hidden=new Q,e.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,a)=>{this._resolve=o,this._reject=a}),this.result.then(null,()=>{})}close(e){this._windowCmptRef&&(this._closed.next(e),this._resolve(e),this._removeModalElements())}_dismiss(e){this._dismissed.next(e),this._reject(e),this._removeModalElements()}dismiss(e){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(e);else{let s=this._beforeDismiss();is(s)?s.then(i=>{i!==!1&&this._dismiss(e)},()=>{}):s!==!1&&this._dismiss(e)}}_removeModalElements(){let e=this._windowCmptRef.instance.hide(),s=this._backdropCmptRef?this._backdropCmptRef.instance.hide():et(void 0);e.subscribe(()=>{var n,o;let{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),(o=(n=this._contentRef)==null?void 0:n.viewRef)==null||o.destroy(),this._windowCmptRef=null,this._contentRef=null}),s.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Dt(e,s).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},ki=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(ki||{}),Gs=(()=>{let e=class e{constructor(){this._document=u(le),this._elRef=u(q),this._zone=u(re),this._injector=u(ie),this._closed$=new Q,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new E,this.shown=new Q,this.hidden=new Q}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":Lt(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(i){this.dismissEvent.emit(i)}ngOnInit(){this._elWithFocus=this._document.activeElement,nt({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:i}=this._elRef,n={animation:this.animation,runningTransition:"stop"},o=se(this._zone,i,()=>i.classList.remove("show"),n),a=se(this._zone,this._dialogEl.nativeElement,()=>{},n),r=Dt(o,a);return r.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),r}_show(){let i={animation:this.animation,runningTransition:"continue"},n=se(this._zone,this._elRef.nativeElement,(a,r)=>{r&&Bi(a),a.classList.add("show")},i),o=se(this._zone,this._dialogEl.nativeElement,()=>{},i);Dt(n,o).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:i}=this._elRef;this._zone.runOutsideAngular(()=>{L(i,"keydown").pipe(B(this._closed$),Ie(o=>o.key==="Escape")).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(ki.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let n=!1;L(this._dialogEl.nativeElement,"mousedown").pipe(B(this._closed$),tt(()=>n=!1),Yt(()=>L(i,"mouseup").pipe(B(this._closed$),Ve(1))),Ie(({target:o})=>i===o)).subscribe(()=>{n=!0}),L(i,"click").pipe(B(this._closed$)).subscribe(({target:o})=>{i===o&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!n&&this._zone.run(()=>this.dismiss(ki.BACKDROP_CLICK))),n=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:i}=this._elRef;if(!i.contains(document.activeElement)){let n=i.querySelector("[ngbAutofocus]"),o=Vn(i)[0];(n||o||i).focus()}}_restoreFocus(){let i=this._document.body,n=this._elWithFocus,o;n&&n.focus&&i.contains(n)?o=n:o=i,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&se(this._zone,this._elRef.nativeElement,({classList:i})=>(i.add("modal-static"),()=>i.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(n,o){if(n&1&&ci(zo,7),n&2){let a;ce(a=de())&&(o._dialogEl=a.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(n,o){n&2&&(Re("aria-modal",!0)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy)("role",o.role),ge("modal d-block"+(o.windowClass?" "+o.windowClass:"")),W("fade",o.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:jt,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(n,o){n&1&&(st(),je(0,"div",1,0)(2,"div",2),rt(3),Le()()),n&2&&ge("modal-dialog"+(o.size?" modal-"+o.size:"")+(o.centered?" modal-dialog-centered":"")+o.fullscreenClass+(o.scrollable?" modal-dialog-scrollable":"")+(o.modalDialogClass?" "+o.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
3
+ `],encapsulation:2});let t=e;return t})(),Us=(()=>{let e=class e{constructor(){this._applicationRef=u(ii),this._injector=u(ie),this._environmentInjector=u(Zt),this._document=u(le),this._scrollBar=u(Bs),this._activeWindowCmptHasChanged=new Q,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new E;let i=u(re);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let n=this._windowCmpts[this._windowCmpts.length-1];vs(i,n.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(n.location.nativeElement)}})}_restoreScrollBar(){let i=this._scrollBarRestoreFn;i&&(this._scrollBarRestoreFn=null,i())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(i,n,o){let a=o.container instanceof HTMLElement?o.container:Ht(o.container)?this._document.querySelector(o.container):this._document.body;if(!a)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let r=new $t;i=o.injector||i;let l=i.get(Zt,null)||this._environmentInjector,d=this._getContentRef(i,l,n,r,o),c=o.backdrop!==!1?this._attachBackdrop(a):void 0,f=this._attachWindowComponent(a,d.nodes),p=new xi(f,d,c,o.beforeDismiss);return this._registerModalRef(p),this._registerWindowCmpt(f),p.hidden.pipe(Ve(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),r.close=h=>{p.close(h)},r.dismiss=h=>{p.dismiss(h)},r.update=h=>{p.update(h)},p.update(o),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),c&&c.instance&&c.changeDetectorRef.detectChanges(),f.changeDetectorRef.detectChanges(),p}get activeInstances(){return this._activeInstances}dismissAll(i){this._modalRefs.forEach(n=>n.dismiss(i))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(i){let n=Rt(Ps,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(n.hostView),i.appendChild(n.location.nativeElement),n}_attachWindowComponent(i,n){let o=Rt(Gs,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:n});return this._applicationRef.attachView(o.hostView),i.appendChild(o.location.nativeElement),o}_getContentRef(i,n,o,a,r){return o?o instanceof Ct?this._createFromTemplateRef(o,a):Lt(o)?this._createFromString(o):this._createFromComponent(i,n,o,a,r):new fe([])}_createFromTemplateRef(i,n){let o={$implicit:n,close(r){n.close(r)},dismiss(r){n.dismiss(r)}},a=i.createEmbeddedView(o);return this._applicationRef.attachView(a),new fe([a.rootNodes],a)}_createFromString(i){let n=this._document.createTextNode(`${i}`);return new fe([[n]])}_createFromComponent(i,n,o,a,r){let l=ie.create({providers:[{provide:$t,useValue:a}],parent:i}),d=Rt(o,{environmentInjector:n,elementInjector:l}),c=d.location.nativeElement;return r.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(d.hostView),new fe([[c]],d.hostView,d)}_setAriaHidden(i){let n=i.parentElement;n&&i!==this._document.body&&(Array.from(n.children).forEach(o=>{o!==i&&o.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))}_revertAriaHidden(){this._ariaHiddenValues.forEach((i,n)=>{i?n.setAttribute("aria-hidden",i):n.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(i){let n=()=>{let o=this._modalRefs.indexOf(i);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(i),this._activeInstances.emit(this._modalRefs),i.result.then(n,n)}_registerWindowCmpt(i){this._windowCmpts.push(i),this._activeWindowCmptHasChanged.next(),i.onDestroy(()=>{let n=this._windowCmpts.indexOf(i);n>-1&&(this._windowCmpts.splice(n,1),this._activeWindowCmptHasChanged.next())})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hs=(()=>{let e=class e{constructor(){this._injector=u(ie),this._modalStack=u(Us),this._config=u(ks)}open(i,n={}){let o=bt(Jt(bt({},this._config),{animation:this._config.animation}),n);return this._modalStack.open(this._injector,i,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(i){this._modalStack.dismissAll(i)}hasOpenModals(){return this._modalStack.hasOpenModals()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({providers:[Hs]});let t=e;return t})();var Qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var Xn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),Vs={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function $s(t){let e=(t||"").trim();if(e.length===0)return[];let s=e.split(/\s+/).map(n=>n.split(":")).map(n=>Vs[n[0]]||n),i=s.filter(n=>n.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(i.length===1&&s.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:s}function js(t,e,s,i,n,o=0,a=0){let r=$s(e);if(r.length===0)return()=>{};let l=new Set,d=[],c;function f(h,m){t.addEventListener(h,m),d.push(()=>t.removeEventListener(h,m))}function p(h,m){clearTimeout(c),m>0?c=setTimeout(h,m):h()}for(let[h,m]of r)m?(f(h,()=>{l.add(h),p(()=>l.size>0&&i(),o)}),f(m,()=>{l.delete(h),p(()=>l.size===0&&n(),a)})):f(h,()=>s()?p(n,a):p(i,o));return()=>d.forEach(h=>h())}var Jn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var Yn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var Kn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var Zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var eo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),Ls=(()=>{let e=class e{constructor(){this._ngbConfig=u(ft),this.autoClose=!0,this.placement="auto",this.popperOptions=i=>i,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){var i;return(i=this._animation)!=null?i:this._ngbConfig.animation}set animation(i){this._animation=i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ws=0,zs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(n,o){n&2&&(ae("id",o.id),ge("tooltip"+(o.tooltipClass?" "+o.tooltipClass:"")),W("fade",o.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:jt,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(n,o){n&1&&(st(),ai(0,"div",0),je(1,"div",1),rt(2),Le())},styles:[`ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}
4
+ `],encapsulation:2,changeDetection:0});let t=e;return t})(),cu=(()=>{let e=class e{constructor(){this._config=u(Ls),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new E,this.hidden=new E,this._nativeElement=u(q).nativeElement,this._ngZone=u(re),this._document=u(le),this._changeDetector=u(We),this._injector=u(ie),this._ngbTooltipWindowId=`ngb-tooltip-${Ws++}`,this._popupService=new Vt(zs),this._windowRef=null,this._positioning=Fi()}set ngbTooltip(i){this._ngbTooltip=i,!i&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(i){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){let{windowRef:n,transition$:o}=this._popupService.open(this._ngbTooltip,i!=null?i:this.tooltipContext,this.animation);this._windowRef=n,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),this.container==="body"&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-tooltip",updatePopperOptions:a=>this.popperOptions(Ai([0,6])(a))}),Promise.resolve().then(()=>{this._positioning.update()}),this._afterRenderRef=Mt({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector})}),Pi(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),o.subscribe(()=>this.shown.emit())}}close(i=this.animation){this._windowRef!=null&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(i).subscribe(()=>{var n;this._windowRef=null,this._positioning.destroy(),(n=this._afterRenderRef)==null||n.destroy(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return this._windowRef!=null}ngOnInit(){this._unregisterListenersFn=js(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:i}){i&&this.isOpen()&&this._windowRef.setInput("tooltipClass",i.currentValue)}ngOnDestroy(){var i;this.close(!1),(i=this._unregisterListenersFn)==null||i.call(this)}_getPositionTargetElement(){return(Lt(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[it]});let t=e;return t})(),to=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),Qs=(()=>{let e=class e{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(i){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);let n=pt(this.result),o=Array.isArray(this.term)?this.term:[this.term],a=c=>this.accentSensitive?c:Mn(c),r=o.map(c=>ns(a(pt(c)))).filter(c=>c),l=this.accentSensitive?n:Mn(n),d=r.length?l.split(new RegExp(`(${r.join("|")})`,"gmi")):[n];if(this.accentSensitive)this.parts=d;else{let c=0;this.parts=d.map(f=>n.substring(c,c+=f.length))}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[it],decls:2,vars:0,consts:[[3,"class"]],template:function(n,o){n&1&&si(0,Jo,2,1,null,null,oi),n&2&&ri(o.parts)},styles:[`.ngb-highlight{font-weight:700}
5
+ `],encapsulation:2,changeDetection:0});let t=e;return t})(),Xs=new en("live announcer delay",{providedIn:"root",factory:()=>100});function xn(t,e=!1){let s=t.body.querySelector("#ngb-live");return s==null&&e&&(s=t.createElement("div"),s.setAttribute("id","ngb-live"),s.setAttribute("aria-live","polite"),s.setAttribute("aria-atomic","true"),s.classList.add("visually-hidden"),t.body.appendChild(s)),s}var Js=(()=>{let e=class e{constructor(){this._document=u(le),this._delay=u(Xs)}ngOnDestroy(){let i=xn(this._document);i&&i.parentElement.removeChild(i)}say(i){let n=xn(this._document,!0),o=this._delay;if(n!=null){n.textContent="";let a=()=>n.textContent=i;o===null?a():setTimeout(a,o)}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qs=(()=>{let e=class e{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=i=>i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ys=(()=>{let e=class e{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=pt,this.selectEvent=new E,this.activeChangeEvent=new E}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(i){this.activeIdx=i,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:this.activeIdx===0?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(i){this.selectEvent.emit(i)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=me({type:e,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(n,o){n&1&&ve("mousedown",function(r){return r.preventDefault()}),n&2&&(ae("id",o.id),ge("dropdown-menu show"+(o.popupClass?" "+o.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:4,vars:0,consts:[["rt",""],["type","button","role","option",1,"dropdown-item",3,"id","active"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"mouseenter","click","id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(ot(0,Yo,1,2,"ng-template",null,0,dn),si(2,Zo,2,9,"button",1,oi)),n&2&&($e(2),ri(o.results))},dependencies:[Qs,un],encapsulation:2});let t=e;return t})(),Ks=0,du=(()=>{let e=class e{constructor(){this._nativeElement=u(q).nativeElement,this._config=u(qs),this._live=u(Js),this._document=u(le),this._ngZone=u(re),this._changeDetector=u(We),this._injector=u(ie),this._popupService=new Vt(Ys),this._positioning=Fi(),this._subscription=null,this._closed$=new Q,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._valueChanges$=L(this._nativeElement,"input").pipe(Ce(i=>i.target.value)),this._resubscribeTypeahead$=new Xi(null),this._windowRef=null,this.autocomplete="off",this.container=this._config.container,this.editable=this._config.editable,this.focusFirst=this._config.focusFirst,this.selectOnExact=this._config.selectOnExact,this.showHint=this._config.showHint,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.selectItem=new E,this.activeDescendant=null,this.popupId=`ngb-typeahead-${Ks++}`,this._onTouched=()=>{},this._onChange=i=>{}}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:i}){i&&!i.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}writeValue(i){this._writeInputValue(this._formatItemForInput(i)),this.showHint&&(this._inputValueBackup=i)}setDisabledState(i){this._nativeElement.disabled=i}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead$.next(null),this._closePopup(),this.showHint&&this._inputValueBackup!==null&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return this._windowRef!=null}handleBlur(){this._resubscribeTypeahead$.next(null),this._onTouched()}handleKeyDown(i){if(this.isPopupOpen())switch(i.key){case"ArrowDown":i.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case"ArrowUp":i.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case"Enter":case"Tab":{let n=this._windowRef.instance.getActive();Ht(n)&&(i.preventDefault(),i.stopPropagation(),this._selectResult(n)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._nativeElement.value;let{windowRef:i}=this._popupService.open();this._windowRef=i,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(n=>this._selectResultClosePopup(n)),this._windowRef.instance.activeChangeEvent.subscribe(n=>this.activeDescendant=n),this.container==="body"&&(this._windowRef.location.nativeElement.style.zIndex="1055",this._document.body.appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,updatePopperOptions:n=>this.popperOptions(Ai([0,2])(n))}),this._afterRenderRef=Mt({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector}))}),Pi(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{var i;this._positioning.destroy(),(i=this._afterRenderRef)==null||i.destroy(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(i){let n=!1;this.selectItem.emit({item:i,preventDefault:()=>{n=!0}}),this._resubscribeTypeahead$.next(null),n||(this.writeValue(i),this._onChange(i))}_selectResultClosePopup(i){this._selectResult(i),this._closePopup()}_showHint(){var i;if(this.showHint&&((i=this._windowRef)!=null&&i.instance.hasActive())&&this._inputValueBackup!=null){let n=this._inputValueBackup.toLowerCase(),o=this._formatItemForInput(this._windowRef.instance.getActive());n===o.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+o.substring(this._inputValueBackup.length)),this._nativeElement.setSelectionRange.apply(this._nativeElement,[this._inputValueBackup.length,o.length])):this._writeInputValue(o)}}_formatItemForInput(i){return i!=null&&this.inputFormatter?this.inputFormatter(i):pt(i)}_writeInputValue(i){this._nativeElement.value=pt(i)}_subscribeToUserInput(){let i=this._valueChanges$.pipe(tt(n=>{this._inputValueBackup=this.showHint?n:null,this._inputValueForSelectOnExact=this.selectOnExact?n:null,this._onChange(this.editable?n:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>et([]));this._subscription=this._resubscribeTypeahead$.pipe(Yt(()=>i)).subscribe(n=>{!n||n.length===0?this._closePopup():this.selectOnExact&&n.length===1&&this._formatItemForInput(n[0])===this._inputValueForSelectOnExact?(this._selectResult(n[0]),this._closePopup()):(this._openPopup(),this._windowRef.setInput("focusFirst",this.focusFirst),this._windowRef.setInput("results",n),this._windowRef.setInput("term",this._nativeElement.value),this.resultFormatter&&this._windowRef.setInput("formatter",this.resultFormatter),this.resultTemplate&&this._windowRef.setInput("resultTemplate",this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint());let o=n?n.length:0;this._live.say(o===0?"No results available":`${o} result${o===1?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(n,o){n&1&&ve("blur",function(){return o.handleBlur()})("keydown",function(r){return o.handleKeyDown(r)}),n&2&&(ae("autocomplete",o.autocomplete),Re("aria-autocomplete",o.showHint?"both":"list")("aria-activedescendant",o.activeDescendant)("aria-owns",o.isPopupOpen()?o.popupId:null)("aria-expanded",o.isPopupOpen()),W("open",o.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[hi([{provide:hn,useExisting:Kt(()=>e),multi:!0}]),it]});let t=e;return t})(),io=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})();var no=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({});let t=e;return t})(),Zs=[Fn,An,Gn,Un,$n,Wn,zn,Qn,no,Xn,Jn,qn,Yn,Kn,Zn,eo,to,io],uu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=C({type:e}),e.\u0275inj=M({imports:[Zs,Fn,An,Gn,Un,$n,Wn,zn,Qn,no,Xn,Jn,qn,Yn,Kn,Zn,eo,to,io]});let t=e;return t})();export{Kd as a,hs as b,Zd as c,eu as d,Ye as e,Pn as f,tu as g,jn as h,au as i,xs as j,lu as k,Ln as l,$t as m,Hs as n,cu as o,du as p,uu as q};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-QEUXNWXU.js";import"./chunk-L3R7ISGL.js";import"./chunk-23M23WV2.js";import"./chunk-4FB3WCN2.js";import"./chunk-LHYSDNVA.js";import"./chunk-NSCP3SOQ.js";import"./chunk-5KLZWFYX.js";import"./chunk-JF5AT3NK.js";import"./chunk-NPWYJEQV.js";import"./chunk-C2XBPNOQ.js";import"./chunk-474BOAR2.js";import"./chunk-7BCHGXO4.js";import"./chunk-BZ3NBZHK.js";import"./chunk-XFK2EZ3K.js";import"./chunk-CRAE5G37.js";import"./chunk-WFTXQQES.js";import"./chunk-YLEC7AUG.js";import"./chunk-QHMOPP5U.js";import"./chunk-T3GI7KUT.js";import"./chunk-B2XXYKX6.js";import"./chunk-BZRV6BXO.js";import"./chunk-57CGFXCE.js";import"./chunk-HA6CO5NZ.js";import"./chunk-675OFXLW.js";import"./chunk-CKNHTRCL.js";export{a as PluginsComponent};
@@ -1 +1 @@
1
- import{a as C,b as y,c as $,d as j}from"./chunk-QXIVYED3.js";import"./chunk-474BOAR2.js";import{q as d}from"./chunk-N4F42HDL.js";import{y as l,z as u}from"./chunk-YLEC7AUG.js";import{d as v,g as n}from"./chunk-T3GI7KUT.js";import"./chunk-TQEO2WY5.js";import"./chunk-2N2FIQZE.js";import{h as g,k as h}from"./chunk-YIXOCUUM.js";import"./chunk-HA6CO5NZ.js";import{a as M,c as U}from"./chunk-675OFXLW.js";import{h as a,ha as f,ia as i,kd as c,na as e,vb as s,w as p}from"./chunk-CKNHTRCL.js";var m=(()=>{class r{$api=e(h);$router=e(v);$toastr=e(g);$translate=e(M);constructor(){}resolve(){return a(this,null,function*(){try{return yield p(this.$api.get("/users"))}catch(o){console.error(o),this.$toastr.error(o.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})();var F=[{path:"",loadComponent:()=>import("./chunk-BO2Q6JEC.js").then(r=>r.UsersComponent),resolve:{homebridgeUsers:m}}],b=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({imports:[n.forChild(F),n]})}return r})();var Y=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({providers:[m],imports:[c,l,u,U.forChild(),d,b,$,j,y,C]})}return r})();export{Y as UsersModule};
1
+ import{a as C,b as y,c as $,d as j}from"./chunk-HEZRLEEO.js";import"./chunk-474BOAR2.js";import{q as d}from"./chunk-WFTXQQES.js";import{y as l,z as u}from"./chunk-YLEC7AUG.js";import{d as v,g as n}from"./chunk-T3GI7KUT.js";import"./chunk-B2XXYKX6.js";import"./chunk-BZRV6BXO.js";import{h as g,k as h}from"./chunk-57CGFXCE.js";import"./chunk-HA6CO5NZ.js";import{a as M,c as U}from"./chunk-675OFXLW.js";import{h as a,ha as f,ia as i,kd as c,na as e,vb as s,w as p}from"./chunk-CKNHTRCL.js";var m=(()=>{class r{$api=e(h);$router=e(v);$toastr=e(g);$translate=e(M);constructor(){}resolve(){return a(this,null,function*(){try{return yield p(this.$api.get("/users"))}catch(o){console.error(o),this.$toastr.error(o.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})();var F=[{path:"",loadComponent:()=>import("./chunk-A3PLL7HY.js").then(r=>r.UsersComponent),resolve:{homebridgeUsers:m}}],b=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({imports:[n.forChild(F),n]})}return r})();var Y=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({providers:[m],imports:[c,l,u,U.forChild(),d,b,$,j,y,C]})}return r})();export{Y as UsersModule};
@@ -1 +1 @@
1
- import"./chunk-UIOHAIYB.js";import{q as p}from"./chunk-N4F42HDL.js";import{z as m}from"./chunk-YLEC7AUG.js";import{g as i}from"./chunk-T3GI7KUT.js";import"./chunk-2N2FIQZE.js";import"./chunk-YIXOCUUM.js";import"./chunk-HA6CO5NZ.js";import{c as s}from"./chunk-675OFXLW.js";import{ia as t,kd as n,vb as r}from"./chunk-CKNHTRCL.js";var a=[{path:"",loadComponent:()=>import("./chunk-U7623GKH.js").then(o=>o.PowerOptionsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(a),i]})}return o})();var j=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,u,p,m,s]})}return o})();export{j as PowerOptionsModule};
1
+ import"./chunk-5RQMP6U3.js";import{q as p}from"./chunk-WFTXQQES.js";import{z as m}from"./chunk-YLEC7AUG.js";import{g as i}from"./chunk-T3GI7KUT.js";import"./chunk-BZRV6BXO.js";import"./chunk-57CGFXCE.js";import"./chunk-HA6CO5NZ.js";import{c as s}from"./chunk-675OFXLW.js";import{ia as t,kd as n,vb as r}from"./chunk-CKNHTRCL.js";var a=[{path:"",loadComponent:()=>import("./chunk-UPNNSCHV.js").then(o=>o.PowerOptionsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(a),i]})}return o})();var j=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,u,p,m,s]})}return o})();export{j as PowerOptionsModule};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-D5XAG52V.js";import"./chunk-YLEC7AUG.js";import"./chunk-T3GI7KUT.js";import"./chunk-B2XXYKX6.js";import"./chunk-BZRV6BXO.js";import"./chunk-57CGFXCE.js";import"./chunk-HA6CO5NZ.js";import"./chunk-675OFXLW.js";import"./chunk-CKNHTRCL.js";export{a as LoginComponent};
package/public/index.html CHANGED
@@ -16,9 +16,9 @@
16
16
  <link rel="manifest" href="/assets/manifest.webmanifest"/>
17
17
  <meta name="theme-color" content="#140a33" media="(prefers-color-scheme: light)"/>
18
18
  <meta name="theme-color" content="#0f0f0f" media="(prefers-color-scheme: dark)"/>
19
- <link rel="stylesheet" href="styles-LM2DJG4C.css" crossorigin="use-credentials"></head>
19
+ <link rel="stylesheet" href="styles-LO2KB5IY.css" crossorigin="use-credentials"></head>
20
20
 
21
21
  <body>
22
22
  <app-root></app-root>
23
- <link rel="modulepreload" href="chunk-JXNMTC4S.js"><link rel="modulepreload" href="chunk-H3RI2X3J.js"><link rel="modulepreload" href="chunk-XP7D2PRA.js"><link rel="modulepreload" href="chunk-2OJNON6V.js"><link rel="modulepreload" href="chunk-36GSB6KM.js"><link rel="modulepreload" href="chunk-OC7KX4QS.js"><link rel="modulepreload" href="chunk-3G2INPN4.js"><link rel="modulepreload" href="chunk-P6NTJCU3.js"><link rel="modulepreload" href="chunk-7ZMNAUG3.js"><link rel="modulepreload" href="chunk-XQNHUDX7.js"><script src="polyfills-C6JHVXJJ.js" type="module" crossorigin="use-credentials"></script><script src="scripts-6GVLYD7F.js" defer crossorigin="use-credentials"></script><script src="main-HHNIKZ37.js" type="module" crossorigin="use-credentials"></script></body>
23
+ <link rel="modulepreload" href="chunk-G5PNMJOK.js"><link rel="modulepreload" href="chunk-PCHQSKGR.js"><link rel="modulepreload" href="chunk-XP7D2PRA.js"><link rel="modulepreload" href="chunk-33J5OGSW.js"><link rel="modulepreload" href="chunk-D5XAG52V.js"><link rel="modulepreload" href="chunk-V4ULI4QR.js"><link rel="modulepreload" href="chunk-3PAKBBVC.js"><link rel="modulepreload" href="chunk-7RYQ4P2V.js"><link rel="modulepreload" href="chunk-2Q5FI6IR.js"><link rel="modulepreload" href="chunk-IBR2WR6D.js"><script src="polyfills-C6JHVXJJ.js" type="module" crossorigin="use-credentials"></script><script src="scripts-6GVLYD7F.js" defer crossorigin="use-credentials"></script><script src="main-6BI5PLHV.js" type="module" crossorigin="use-credentials"></script></body>
24
24
  </html>