@genesislcap/design-system-configurator 14.26.2 → 14.26.3

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 (105) hide show
  1. package/dist/153.153.ff8e54544a3e6078718c.js +3 -0
  2. package/dist/153.4c75837a518a7b3df69c87718eaaff95.js.map +1 -0
  3. package/dist/300.300.cedd70f9ab1dea8daf91.js +3 -0
  4. package/dist/300.af0b10f8d1ed047f72dd334ed01c0c70.js.map +1 -0
  5. package/dist/361.361.2149e334cd48d1e157e7.js +4 -0
  6. package/dist/361.fc62c2baab3b892459107dc15c0cc160.js.map +1 -0
  7. package/dist/430.430.35ca0bbb8ec8ba811c88.js +2 -0
  8. package/dist/430.aff7bfad769b2a7191f13d3c729b004c.js.map +1 -0
  9. package/dist/{192.192.a19558f91f7c583f2380.js → 635.635.d91405fa9efb26039029.js} +6 -6
  10. package/dist/635.ef5bafd88427b0f40d687ca42256b4d9.js.map +1 -0
  11. package/dist/688.3ddf44a898337997f8127387e36aaf70.js.map +1 -0
  12. package/dist/688.688.594413690f0a991973fd.js +13 -0
  13. package/dist/721.721.942965207bd207bbcc14.js +3 -0
  14. package/dist/721.dd40f7ff28de049029ccdbe6494aa8de.js.map +1 -0
  15. package/dist/727.44ad037dbfaa666f673df32c33d46b4e.js.map +1 -0
  16. package/dist/727.727.d243697ee5429a41a8aa.js +2 -0
  17. package/dist/755.755.fd52fd0b3b0766c12d90.js +2 -0
  18. package/dist/755.fd2bc7e18471a337b657805b8bd11378.js.map +1 -0
  19. package/dist/{73.73.a850c68df9971f6f0ec4.js → 785.785.310af468e75bdc1c4215.js} +87 -87
  20. package/dist/785.894a384a339c7042be48ca5169e7fe2a.js.map +1 -0
  21. package/dist/dashboard.json +1 -1
  22. package/dist/designSystemConfigurator.6e1c49874e6ebcd7700356b0fc6b2eb3.js.map +1 -0
  23. package/dist/fff690654c0711a672bff0f0eebc857d24d7bfff.remoteEntry.js +1 -0
  24. package/dist/index.html +1 -1
  25. package/dist/info.html +4 -4
  26. package/dist/main.2723bb9adeb1e6c095cd153b55be728b.js.map +1 -0
  27. package/dist/main.9d30d6cbfb9ee90722e3.js +2 -0
  28. package/dist/npm.ag-grid-community.260.4340e5b06f96cc333a43.js +3 -0
  29. package/dist/npm.ag-grid-community.e881f9bd1bff4d713e8e85adf2a0f199.js.map +1 -0
  30. package/dist/npm.ajv.213.242b4192df50d1e456e3.js +8 -0
  31. package/dist/npm.ajv.3bfd64c6d8a660db30a0ffd431edf0f2.js.map +1 -0
  32. package/dist/npm.consola.2918e98cef8decf0b88f61e72f5d4367.js.map +1 -0
  33. package/dist/npm.consola.713.3a2be7003eada3938aab.js +2 -0
  34. package/dist/npm.dialog-polyfill.47.1f2464c3c1ee5702a0c0.js +2 -0
  35. package/dist/npm.dialog-polyfill.9d541e71c523bc5604e0e5c655e6056e.js.map +1 -0
  36. package/dist/npm.fortawesome.104.df20a4626a6fd97e1316.js +2 -0
  37. package/dist/npm.fortawesome.7a40a84f79482a99e8a2509b06080603.js.map +1 -0
  38. package/dist/npm.jsonforms.832.a63eb8c482fe10718e5a.js +2 -0
  39. package/dist/npm.jsonforms.913b190680f5eeb461729df1b9a3a8d4.js.map +1 -0
  40. package/dist/npm.lodash.2148c1352ccb18499040ddfde0c6396b.js.map +1 -0
  41. package/dist/npm.lodash.913.4383f78fc4c4942d2855.js +2 -0
  42. package/dist/{npm.microsoft.127.391df7381584488e1932.js → npm.microsoft.127.a940c349f6da4309dceb.js} +46 -46
  43. package/dist/npm.microsoft.ad0c33328f3329ad1a66ee4ca31ee097.js.map +1 -0
  44. package/dist/npm.popperjs.316fce6a0023c3f74726f529e91f33d5.js.map +1 -0
  45. package/dist/npm.popperjs.591.bc6fbb4952a1291b7480.js +2 -0
  46. package/dist/npm.rxjs.271.321faec0e99adacb3655.js +2 -0
  47. package/dist/npm.rxjs.e6859140a91581f0cba2b62eda2ac31c.js.map +1 -0
  48. package/dist/npm.tslib.453.5e7ce39b8dc5aa197c75.js +3 -0
  49. package/dist/npm.tslib.d4cb00b30dbd1aa70e1a24b9fc7b6937.js.map +1 -0
  50. package/dist/npm.uri-js.415.3784763b1744e5933b83.js +3 -0
  51. package/dist/npm.uri-js.9be58b172ab57496a5f59a2f22220d39.js.map +1 -0
  52. package/dist/remoteEntry.js +2 -2
  53. package/package.json +8 -8
  54. package/dist/1.0.0.remoteEntry.js +0 -1
  55. package/dist/192.76f41f1820dd7d850c6cd790542b5f2e01ca603a0888c5d23bbe9c0ddafb9a06.js.map +0 -1
  56. package/dist/287.287.1e20cca63689c6520d5e.js +0 -3
  57. package/dist/287.47dbf900c306eb7da2a2d1321b289e904a12593eda11ec0da8b53fe6ae775abc.js.map +0 -1
  58. package/dist/600.600.00e512e567979a129c64.js +0 -2
  59. package/dist/600.bad161eb15e07bb26088fc624f7567c3a015777c061091eecff21694164ba355.js.map +0 -1
  60. package/dist/623.623.3ad1883062248da0cc57.js +0 -3
  61. package/dist/623.ad26f279ca10d852527c610b0f0c829fcf0a51f6c65aabb3272e75ea009c0126.js.map +0 -1
  62. package/dist/73.a244021e8349e51f16e296684453f0ff9810b8140160cd9ae99cbbd56b841623.js.map +0 -1
  63. package/dist/742.742.6ac5d23571c52e04c921.js +0 -2
  64. package/dist/742.c406caba92eeb89a3aed936777dfd034bcf7e2b368828d0510b1d6411f29804f.js.map +0 -1
  65. package/dist/755.755.410361cee3f02fcf9710.js +0 -2
  66. package/dist/755.95370e73f97c50dfc77607496743c84b9714899e9698cc0f852a723fa87f4e2c.js.map +0 -1
  67. package/dist/842.6777d7da58f8f001ff9c266da92409a5119577338bfa5a42bc442cccb669fe1d.js.map +0 -1
  68. package/dist/842.842.4bf0bab62778f1c370e2.js +0 -4
  69. package/dist/914.74548478798144bda7d5d897162f1317de0583cd155dba78a6cea19699fcef4e.js.map +0 -1
  70. package/dist/914.914.1124809fbb3bfca167d9.js +0 -3
  71. package/dist/93.93.25675931770b32999862.js +0 -13
  72. package/dist/93.e90b4f2f3a19855b72da023e206603e499fc6e2cf9c4bf8f614af120d268b84e.js.map +0 -1
  73. package/dist/designSystemConfigurator.e7e67f6fabefdb87423ffdb1c9abd877e98f5ddfec8afa6e75e6f4016d177f80.js.map +0 -1
  74. package/dist/main.b52d00ee30b5c502e7b078e2a679ba0c02d6324e5195c188c20fd08d63a94e58.js.map +0 -1
  75. package/dist/main.ec3c758078ea30e6cf01.js +0 -2
  76. package/dist/npm.ag-grid-community.260.4aab9e401df10f9bffa7.js +0 -3
  77. package/dist/npm.ag-grid-community.406286b5b7b13ca5d72c9bbd814bc040dd01461d3ca737d91be985df6bbab253.js.map +0 -1
  78. package/dist/npm.ajv.213.8f50a9e610a5232bd037.js +0 -8
  79. package/dist/npm.ajv.c3865be6c4018008b5289139e9c55f7d5915be1c454890a61929eacc9919fa23.js.map +0 -1
  80. package/dist/npm.consola.713.9c1082299772786652fa.js +0 -2
  81. package/dist/npm.consola.b46982c5bc50a0a6adf54fd31cc94736d508bbc65b42e6896069d55318e12f99.js.map +0 -1
  82. package/dist/npm.dialog-polyfill.47.bd3661c1777a92017f85.js +0 -2
  83. package/dist/npm.dialog-polyfill.e38e3720e1652805631f9f95cdbfad88cd3b09d9cbb2bfe11137cfe9f22a76b8.js.map +0 -1
  84. package/dist/npm.fortawesome.104.06ca26628ad33e1632de.js +0 -2
  85. package/dist/npm.fortawesome.74a7849e13008b9442881051b35f6bbc45241177f0f471913583ec3451a4ce42.js.map +0 -1
  86. package/dist/npm.jsonforms.4b8312dc34a486dba06bd2e3d6452342b310537ee8c4389db942359f2dfb826c.js.map +0 -1
  87. package/dist/npm.jsonforms.832.f1e52f0550b66297f9c8.js +0 -2
  88. package/dist/npm.lodash.3a0b7c6f6917f7f3af1b9f076d0cbd06b43bd4dd92c49907fbde68d544965c9d.js.map +0 -1
  89. package/dist/npm.lodash.913.e30f5e8d84bb838a2a8c.js +0 -2
  90. package/dist/npm.microsoft.972bbddd1707d2f46cfae270100d1d00e481ceda5bef75693502f21bd44e6721.js.map +0 -1
  91. package/dist/npm.popperjs.591.e33e7f8acdf98fd8fa47.js +0 -2
  92. package/dist/npm.popperjs.e77f1a7ef6ee05cf4c4ce1dc7658d52293d4536cf7072349df83cc1bba48cc3b.js.map +0 -1
  93. package/dist/npm.rxjs.271.0847d73a39ea13e9fa3f.js +0 -2
  94. package/dist/npm.rxjs.b53c4836ffc5d369c061f99c6f5da67a2d7ea201a5aa596b6af57ede995f715f.js.map +0 -1
  95. package/dist/npm.tslib.4120a2860bbe692aaa5f326164346a6ed11676b5e99ea37ff37e8197a2cf5e4a.js.map +0 -1
  96. package/dist/npm.tslib.453.ec6554c62373dc8fbb9f.js +0 -3
  97. package/dist/npm.uri-js.2a7a7cd434b1cb8019ba7addfae35d19db18d28a961089fcebb39f096a530293.js.map +0 -1
  98. package/dist/npm.uri-js.415.5ef6b0e7f72b9cdee0e5.js +0 -3
  99. /package/dist/{623.623.3ad1883062248da0cc57.js.LICENSE.txt → 153.153.ff8e54544a3e6078718c.js.LICENSE.txt} +0 -0
  100. /package/dist/{914.914.1124809fbb3bfca167d9.js.LICENSE.txt → 300.300.cedd70f9ab1dea8daf91.js.LICENSE.txt} +0 -0
  101. /package/dist/{287.287.1e20cca63689c6520d5e.js.LICENSE.txt → 721.721.942965207bd207bbcc14.js.LICENSE.txt} +0 -0
  102. /package/dist/{73.73.a850c68df9971f6f0ec4.js.LICENSE.txt → 785.785.310af468e75bdc1c4215.js.LICENSE.txt} +0 -0
  103. /package/dist/{npm.ag-grid-community.260.4aab9e401df10f9bffa7.js.LICENSE.txt → npm.ag-grid-community.260.4340e5b06f96cc333a43.js.LICENSE.txt} +0 -0
  104. /package/dist/{npm.tslib.453.ec6554c62373dc8fbb9f.js.LICENSE.txt → npm.tslib.453.5e7ce39b8dc5aa197c75.js.LICENSE.txt} +0 -0
  105. /package/dist/{npm.uri-js.415.5ef6b0e7f72b9cdee0e5.js.LICENSE.txt → npm.uri-js.415.3784763b1744e5933b83.js.LICENSE.txt} +0 -0
@@ -1,3 +0,0 @@
1
- /*! For license information please see 287.287.1e20cca63689c6520d5e.js.LICENSE.txt */
2
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[287],{67575:(e,t)=>{"use strict";function a(e,t){return{validate:e,compare:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0,t.fullFormats={date:a(f,n),time:a(i,s),"date-time":a((function(e){const t=e.split(u);return 2===t.length&&f(t[0])&&i(t[1],!0)}),c),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return m.test(e)&&l.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2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((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(v.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return p.lastIndex=0,p.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=y&&e>=$}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:z},double:{type:"number",validate:z},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:a(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,n),time:a(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,s),"date-time":a(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,c),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31];function f(e){const t=r.exec(e);if(!t)return!1;const a=+t[1],f=+t[2],n=+t[3];return f>=1&&f<=12&&n>=1&&n<=(2===f&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(a)?29:o[f])}function n(e,t){if(e&&t)return e>t?1:e<t?-1:0}const d=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function i(e,t){const a=d.exec(e);if(!a)return!1;const r=+a[1],o=+a[2],f=+a[3],n=a[5];return(r<=23&&o<=59&&f<=59||23===r&&59===o&&60===f)&&(!t||""!==n)}function s(e,t){if(!e||!t)return;const a=d.exec(e),r=d.exec(t);return a&&r?(e=a[1]+a[2]+a[3]+(a[4]||""))>(t=r[1]+r[2]+r[3]+(r[4]||""))?1:e<t?-1:0:void 0}const u=/t|\s/i;function c(e,t){if(!e||!t)return;const[a,r]=e.split(u),[o,f]=t.split(u),d=n(a,o);return void 0!==d?d||s(r,f):void 0}const m=/\/|:/,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;const p=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;const $=-(2**31),y=2**31-1;function z(){return!0}const v=/[^\\]\\Z/},56817:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=a(67575),o=a(53792),f=a(99477),n=new f.Name("fullFormats"),d=new f.Name("fastFormats"),i=(e,t={keywords:!0})=>{if(Array.isArray(t))return s(e,t,r.fullFormats,n),e;const[a,f]="fast"===t.mode?[r.fastFormats,d]:[r.fullFormats,n];return s(e,t.formats||r.formatNames,a,f),t.keywords&&o.default(e),e};function s(e,t,a,r){var o,n;null!==(o=(n=e.opts.code).formats)&&void 0!==o||(n.formats=f._`require("ajv-formats/dist/formats").${r}`);for(const r of t)e.addFormat(r,a[r])}i.get=(e,t="full")=>{const a=("fast"===t?r.fastFormats:r.fullFormats)[e];if(!a)throw new Error(`Unknown format "${e}"`);return a},e.exports=t=i,Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},53792:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const r=a(72115),o=a(99477),f=o.operators,n={formatMaximum:{okStr:"<=",ok:f.LTE,fail:f.GT},formatMinimum:{okStr:">=",ok:f.GTE,fail:f.LT},formatExclusiveMaximum:{okStr:"<",ok:f.LT,fail:f.GTE},formatExclusiveMinimum:{okStr:">",ok:f.GT,fail:f.LTE}},d={message:({keyword:e,schemaCode:t})=>o.str`should be ${n[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>o._`{comparison: ${n[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:d,code(e){const{gen:t,data:a,schemaCode:f,keyword:d,it:i}=e,{opts:s,self:u}=i;if(!s.validateFormats)return;const c=new r.KeywordCxt(i,u.RULES.all.format.definition,"format");function m(e){return o._`${e}.compare(${a}, ${f}) ${n[d].fail} 0`}c.$data?function(){const a=t.scopeValue("formats",{ref:u.formats,code:s.code.formats}),r=t.const("fmt",o._`${a}[${c.schemaCode}]`);e.fail$data(o.or(o._`typeof ${r} != "object"`,o._`${r} instanceof RegExp`,o._`typeof ${r}.compare != "function"`,m(r)))}():function(){const a=c.schema,r=u.formats[a];if(!r||!0===r)return;if("object"!=typeof r||r instanceof RegExp||"function"!=typeof r.compare)throw new Error(`"${d}": format "${a}" does not define "compare" function`);const f=t.scopeValue("formats",{key:a,ref:r,code:s.code.formats?o._`${s.code.formats}${o.getProperty(a)}`:void 0});e.fail$data(m(f))}()},dependencies:["format"]};t.default=e=>(e.addKeyword(t.formatLimitDefinition),e)},39507:e=>{"use strict";e.exports=function e(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var r,o,f;if(Array.isArray(t)){if((r=t.length)!=a.length)return!1;for(o=r;0!=o--;)if(!e(t[o],a[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((r=(f=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(a,f[o]))return!1;for(o=r;0!=o--;){var n=f[o];if(!e(t[n],a[n]))return!1}return!0}return t!=t&&a!=a}},3276:(e,t,a)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)e[r]=a[r]}return e}a.d(t,{Z:()=>o});var o=function e(t,a){function o(e,o,f){if("undefined"!=typeof document){"number"==typeof(f=r({},a,f)).expires&&(f.expires=new Date(Date.now()+864e5*f.expires)),f.expires&&(f.expires=f.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var n="";for(var d in f)f[d]&&(n+="; "+d,!0!==f[d]&&(n+="="+f[d].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+n}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var a=document.cookie?document.cookie.split("; "):[],r={},o=0;o<a.length;o++){var f=a[o].split("="),n=f.slice(1).join("=");try{var d=decodeURIComponent(f[0]);if(r[d]=t.read(n,d),e===d)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(a)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},13218:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),a(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function a(e,r,o,f,n,d,i,s,u,c){if(f&&"object"==typeof f&&!Array.isArray(f)){for(var m in r(f,n,d,i,s,u,c),f){var l=f[m];if(Array.isArray(l)){if(m in t.arrayKeywords)for(var p=0;p<l.length;p++)a(e,r,o,l[p],n+"/"+m+"/"+p,d,n,m,f,p)}else if(m in t.propsKeywords){if(l&&"object"==typeof l)for(var $ in l)a(e,r,o,l[$],n+"/"+m+"/"+$.replace(/~/g,"~0").replace(/\//g,"~1"),d,n,m,f,$)}else(m in t.keywords||e.allKeys&&!(m in t.skipKeywords))&&a(e,r,o,l,n+"/"+m,d,n,m,f)}o(f,n,d,i,s,u,c)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}}}]);
3
- //# sourceMappingURL=287.47dbf900c306eb7da2a2d1321b289e904a12593eda11ec0da8b53fe6ae775abc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/design-system-configurator/../node_modules/ajv-formats/dist/formats.js","webpack://@genesislcap/design-system-configurator/../node_modules/ajv-formats/dist/index.js","webpack://@genesislcap/design-system-configurator/../node_modules/ajv-formats/dist/limit.js","webpack://@genesislcap/design-system-configurator/../node_modules/fast-deep-equal/index.js","webpack://@genesislcap/design-system-configurator/../node_modules/js-cookie/dist/js.cookie.mjs","webpack://@genesislcap/design-system-configurator/../node_modules/json-schema-traverse/index.js"],"names":["fmtDef","validate","compare","Object","defineProperty","exports","value","formatNames","fastFormats","fullFormats","date","compareDate","time","compareTime","str","dateTime","split","DATE_TIME_SEPARATOR","length","compareDateTime","duration","uri","NOT_URI_FRAGMENT","test","URI","url","email","hostname","ipv4","ipv6","regex","Z_ANCHOR","RegExp","e","uuid","byte","BYTE","lastIndex","int32","type","Number","isInteger","MAX_INT32","MIN_INT32","int64","float","validateNumber","double","password","binary","keys","DATE","DAYS","matches","exec","year","month","day","isLeapYear","d1","d2","TIME","withTimeZone","hour","minute","second","timeZone","t1","t2","a1","a2","dt1","dt2","res","undefined","formats_1","limit_1","codegen_1","fullName","Name","fastName","formatsPlugin","ajv","opts","keywords","Array","isArray","addFormats","formats","exportName","mode","default","list","fs","_a","_b","code","_","f","addFormat","get","name","Error","module","formatLimitDefinition","ajv_1","ops","operators","KWDs","formatMaximum","okStr","ok","LTE","fail","GT","formatMinimum","GTE","LT","formatExclusiveMaximum","formatExclusiveMinimum","error","message","keyword","schemaCode","params","schemaType","$data","cxt","gen","data","it","self","validateFormats","fCxt","KeywordCxt","RULES","all","format","definition","compareCode","fmt","fmts","scopeValue","ref","const","fail$data","or","validate$DataFormat","schema","key","getProperty","validateFormat","dependencies","addKeyword","equal","a","b","constructor","i","source","flags","valueOf","prototype","toString","hasOwnProperty","call","assign","target","arguments","api","init","converter","defaultAttributes","set","attributes","document","expires","Date","now","toUTCString","encodeURIComponent","replace","decodeURIComponent","escape","stringifiedAttributes","attributeName","cookie","write","create","cookies","jar","parts","slice","join","found","read","remove","withAttributes","this","withConverter","freeze","path","traverse","cb","_traverse","pre","post","jsonPtr","rootSchema","parentJsonPtr","parentKeyword","parentSchema","keyIndex","sch","arrayKeywords","propsKeywords","prop","allKeys","skipKeywords","additionalItems","items","contains","additionalProperties","propertyNames","not","if","then","else","allOf","anyOf","oneOf","$defs","definitions","properties","patternProperties","enum","required","maximum","minimum","exclusiveMaximum","exclusiveMinimum","multipleOf","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxProperties","minProperties"],"mappings":";gKAGA,SAASA,EAAOC,EAAUC,GACtB,MAAO,CAAED,WAAUC,UACvB,CAJAC,OAAOC,eAAeC,EAAS,aAAc,CAAEC,OAAO,IACtDD,EAAQE,YAAcF,EAAQG,YAAcH,EAAQI,iBAAc,EAIlEJ,EAAQI,YAAc,CAElBC,KAAMV,EAAOU,EAAMC,GAEnBC,KAAMZ,EAAOY,EAAMC,GACnB,YAAab,GA+GjB,SAAmBc,GAEf,MAAMC,EAAWD,EAAIE,MAAMC,GAC3B,OAA2B,IAApBF,EAASG,QAAgBR,EAAKK,EAAS,KAAOH,EAAKG,EAAS,IAAI,EAC3E,GAnHmCI,GAE/BC,SAAU,yEACVC,IA6HJ,SAAaP,GAET,OAAOQ,EAAiBC,KAAKT,IAAQU,EAAID,KAAKT,EAClD,EA/HI,gBAAiB,yoCAEjB,eAAgB,oLAGhBW,IAAK,qdACLC,MAAO,2IACPC,SAAU,wGAEVC,KAAM,4EACNC,KAAM,m/BACNC,MAuIJ,SAAehB,GACX,GAAIiB,EAASR,KAAKT,GACd,OAAO,EACX,IAEI,OADA,IAAIkB,OAAOlB,IACJ,CACX,CACA,MAAOmB,GACH,OAAO,CACX,CACJ,EA/IIC,KAAM,+DAGN,eAAgB,4BAChB,4BAA6B,+DAE7B,wBAAyB,mDAGzBC,KA2GJ,SAAcrB,GAEV,OADAsB,EAAKC,UAAY,EACVD,EAAKb,KAAKT,EACrB,EA5GIwB,MAAO,CAAEC,KAAM,SAAUtC,SA+G7B,SAAuBK,GACn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AAO,EACP4F,UAAU,EACVC,SAAS,EACTC,SAAS,EACTC,kBAAkB,EAClBC,kBAAkB,EAClBC,YAAY,EACZC,WAAW,EACXC,WAAW,EACXC,SAAS,EACT3G,QAAQ,EACR4G,UAAU,EACVC,UAAU,EACVC,aAAa,EACbC,eAAe,EACfC,eAAe,E","file":"287.287.xxxxxxxxxxxxxxxxxxxx.js","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.formatNames = exports.fastFormats = exports.fullFormats = void 0;\nfunction fmtDef(validate, compare) {\n return { validate, compare };\n}\nexports.fullFormats = {\n // date: http://tools.ietf.org/html/rfc3339#section-5.6\n date: fmtDef(date, compareDate),\n // date-time: http://tools.ietf.org/html/rfc3339#section-5.6\n time: fmtDef(time, compareTime),\n \"date-time\": fmtDef(date_time, compareDateTime),\n // duration: https://tools.ietf.org/html/rfc3339#appendix-A\n duration: /^P(?!$)((\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?|(\\d+W)?)$/,\n uri,\n \"uri-reference\": /^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'\"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,\n // uri-template: https://tools.ietf.org/html/rfc6570\n \"uri-template\": /^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i,\n // For the source: https://gist.github.com/dperini/729294\n // For test cases: https://mathiasbynens.be/demo/url-regex\n url: /^(?:https?|ftp):\\/\\/(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u{00a1}-\\u{ffff}]+-)*[a-z0-9\\u{00a1}-\\u{ffff}]+)(?:\\.(?:[a-z0-9\\u{00a1}-\\u{ffff}]+-)*[a-z0-9\\u{00a1}-\\u{ffff}]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu,\n email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,\n hostname: /^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i,\n // optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html\n ipv4: /^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,\n ipv6: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,\n regex,\n // uuid: http://tools.ietf.org/html/rfc4122\n uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,\n // JSON-pointer: https://tools.ietf.org/html/rfc6901\n // uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A\n \"json-pointer\": /^(?:\\/(?:[^~/]|~0|~1)*)*$/,\n \"json-pointer-uri-fragment\": /^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,\n // relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00\n \"relative-json-pointer\": /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,\n // the following formats are used by the openapi specification: https://spec.openapis.org/oas/v3.0.0#data-types\n // byte: https://github.com/miguelmota/is-base64\n byte,\n // signed 32 bit integer\n int32: { type: \"number\", validate: validateInt32 },\n // signed 64 bit integer\n int64: { type: \"number\", validate: validateInt64 },\n // C-type float\n float: { type: \"number\", validate: validateNumber },\n // C-type double\n double: { type: \"number\", validate: validateNumber },\n // hint to the UI to hide input strings\n password: true,\n // unchecked string payload\n binary: true,\n};\nexports.fastFormats = {\n ...exports.fullFormats,\n date: fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d$/, compareDate),\n time: fmtDef(/^(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)?$/i, compareTime),\n \"date-time\": fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d[t\\s](?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)$/i, compareDateTime),\n // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js\n uri: /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/)?[^\\s]*$/i,\n \"uri-reference\": /^(?:(?:[a-z][a-z0-9+\\-.]*:)?\\/?\\/)?(?:[^\\\\\\s#][^\\s#]*)?(?:#[^\\\\\\s]*)?$/i,\n // email (sources from jsen validator):\n // http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363\n // http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'wilful violation')\n email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,\n};\nexports.formatNames = Object.keys(exports.fullFormats);\nfunction isLeapYear(year) {\n // https://tools.ietf.org/html/rfc3339#appendix-C\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\nconst DATE = /^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/;\nconst DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction date(str) {\n // full-date from http://tools.ietf.org/html/rfc3339#section-5.6\n const matches = DATE.exec(str);\n if (!matches)\n return false;\n const year = +matches[1];\n const month = +matches[2];\n const day = +matches[3];\n return (month >= 1 &&\n month <= 12 &&\n day >= 1 &&\n day <= (month === 2 && isLeapYear(year) ? 29 : DAYS[month]));\n}\nfunction compareDate(d1, d2) {\n if (!(d1 && d2))\n return undefined;\n if (d1 > d2)\n return 1;\n if (d1 < d2)\n return -1;\n return 0;\n}\nconst TIME = /^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i;\nfunction time(str, withTimeZone) {\n const matches = TIME.exec(str);\n if (!matches)\n return false;\n const hour = +matches[1];\n const minute = +matches[2];\n const second = +matches[3];\n const timeZone = matches[5];\n return (((hour <= 23 && minute <= 59 && second <= 59) ||\n (hour === 23 && minute === 59 && second === 60)) &&\n (!withTimeZone || timeZone !== \"\"));\n}\nfunction compareTime(t1, t2) {\n if (!(t1 && t2))\n return undefined;\n const a1 = TIME.exec(t1);\n const a2 = TIME.exec(t2);\n if (!(a1 && a2))\n return undefined;\n t1 = a1[1] + a1[2] + a1[3] + (a1[4] || \"\");\n t2 = a2[1] + a2[2] + a2[3] + (a2[4] || \"\");\n if (t1 > t2)\n return 1;\n if (t1 < t2)\n return -1;\n return 0;\n}\nconst DATE_TIME_SEPARATOR = /t|\\s/i;\nfunction date_time(str) {\n // http://tools.ietf.org/html/rfc3339#section-5.6\n const dateTime = str.split(DATE_TIME_SEPARATOR);\n return dateTime.length === 2 && date(dateTime[0]) && time(dateTime[1], true);\n}\nfunction compareDateTime(dt1, dt2) {\n if (!(dt1 && dt2))\n return undefined;\n const [d1, t1] = dt1.split(DATE_TIME_SEPARATOR);\n const [d2, t2] = dt2.split(DATE_TIME_SEPARATOR);\n const res = compareDate(d1, d2);\n if (res === undefined)\n return undefined;\n return res || compareTime(t1, t2);\n}\nconst NOT_URI_FRAGMENT = /\\/|:/;\nconst URI = /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;\nfunction uri(str) {\n // http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required \".\"\n return NOT_URI_FRAGMENT.test(str) && URI.test(str);\n}\nconst BYTE = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;\nfunction byte(str) {\n BYTE.lastIndex = 0;\n return BYTE.test(str);\n}\nconst MIN_INT32 = -(2 ** 31);\nconst MAX_INT32 = 2 ** 31 - 1;\nfunction validateInt32(value) {\n return Number.isInteger(value) && value <= MAX_INT32 && value >= MIN_INT32;\n}\nfunction validateInt64(value) {\n // JSON and javascript max Int is 2**53, so any int that passes isInteger is valid for Int64\n return Number.isInteger(value);\n}\nfunction validateNumber() {\n return true;\n}\nconst Z_ANCHOR = /[^\\\\]\\\\Z/;\nfunction regex(str) {\n if (Z_ANCHOR.test(str))\n return false;\n try {\n new RegExp(str);\n return true;\n }\n catch (e) {\n return false;\n }\n}\n//# sourceMappingURL=formats.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst formats_1 = require(\"./formats\");\nconst limit_1 = require(\"./limit\");\nconst codegen_1 = require(\"ajv/dist/compile/codegen\");\nconst fullName = new codegen_1.Name(\"fullFormats\");\nconst fastName = new codegen_1.Name(\"fastFormats\");\nconst formatsPlugin = (ajv, opts = { keywords: true }) => {\n if (Array.isArray(opts)) {\n addFormats(ajv, opts, formats_1.fullFormats, fullName);\n return ajv;\n }\n const [formats, exportName] = opts.mode === \"fast\" ? [formats_1.fastFormats, fastName] : [formats_1.fullFormats, fullName];\n const list = opts.formats || formats_1.formatNames;\n addFormats(ajv, list, formats, exportName);\n if (opts.keywords)\n limit_1.default(ajv);\n return ajv;\n};\nformatsPlugin.get = (name, mode = \"full\") => {\n const formats = mode === \"fast\" ? formats_1.fastFormats : formats_1.fullFormats;\n const f = formats[name];\n if (!f)\n throw new Error(`Unknown format \"${name}\"`);\n return f;\n};\nfunction addFormats(ajv, list, fs, exportName) {\n var _a;\n var _b;\n (_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 ? _a : (_b.formats = codegen_1._ `require(\"ajv-formats/dist/formats\").${exportName}`);\n for (const f of list)\n ajv.addFormat(f, fs[f]);\n}\nmodule.exports = exports = formatsPlugin;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = formatsPlugin;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.formatLimitDefinition = void 0;\nconst ajv_1 = require(\"ajv\");\nconst codegen_1 = require(\"ajv/dist/compile/codegen\");\nconst ops = codegen_1.operators;\nconst KWDs = {\n formatMaximum: { okStr: \"<=\", ok: ops.LTE, fail: ops.GT },\n formatMinimum: { okStr: \">=\", ok: ops.GTE, fail: ops.LT },\n formatExclusiveMaximum: { okStr: \"<\", ok: ops.LT, fail: ops.GTE },\n formatExclusiveMinimum: { okStr: \">\", ok: ops.GT, fail: ops.LTE },\n};\nconst error = {\n message: ({ keyword, schemaCode }) => codegen_1.str `should be ${KWDs[keyword].okStr} ${schemaCode}`,\n params: ({ keyword, schemaCode }) => codegen_1._ `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,\n};\nexports.formatLimitDefinition = {\n keyword: Object.keys(KWDs),\n type: \"string\",\n schemaType: \"string\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, schemaCode, keyword, it } = cxt;\n const { opts, self } = it;\n if (!opts.validateFormats)\n return;\n const fCxt = new ajv_1.KeywordCxt(it, self.RULES.all.format.definition, \"format\");\n if (fCxt.$data)\n validate$DataFormat();\n else\n validateFormat();\n function validate$DataFormat() {\n const fmts = gen.scopeValue(\"formats\", {\n ref: self.formats,\n code: opts.code.formats,\n });\n const fmt = gen.const(\"fmt\", codegen_1._ `${fmts}[${fCxt.schemaCode}]`);\n cxt.fail$data(codegen_1.or(codegen_1._ `typeof ${fmt} != \"object\"`, codegen_1._ `${fmt} instanceof RegExp`, codegen_1._ `typeof ${fmt}.compare != \"function\"`, compareCode(fmt)));\n }\n function validateFormat() {\n const format = fCxt.schema;\n const fmtDef = self.formats[format];\n if (!fmtDef || fmtDef === true)\n return;\n if (typeof fmtDef != \"object\" ||\n fmtDef instanceof RegExp ||\n typeof fmtDef.compare != \"function\") {\n throw new Error(`\"${keyword}\": format \"${format}\" does not define \"compare\" function`);\n }\n const fmt = gen.scopeValue(\"formats\", {\n key: format,\n ref: fmtDef,\n code: opts.code.formats ? codegen_1._ `${opts.code.formats}${codegen_1.getProperty(format)}` : undefined,\n });\n cxt.fail$data(compareCode(fmt));\n }\n function compareCode(fmt) {\n return codegen_1._ `${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;\n }\n },\n dependencies: [\"format\"],\n};\nconst formatLimitPlugin = (ajv) => {\n ajv.addKeyword(exports.formatLimitDefinition);\n return ajv;\n};\nexports.default = formatLimitPlugin;\n//# sourceMappingURL=limit.js.map","'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n","/*! js-cookie v3.0.5 | MIT */\n/* eslint-disable no-var */\nfunction assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n}\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\nvar defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n};\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\n\nfunction init (converter, defaultAttributes) {\n function set (name, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n name = encodeURIComponent(name)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n name + '=' + converter.write(value, name) + stringifiedAttributes)\n }\n\n function get (name) {\n if (typeof document === 'undefined' || (arguments.length && !name)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var found = decodeURIComponent(parts[0]);\n jar[found] = converter.read(value, found);\n\n if (name === found) {\n break\n }\n } catch (e) {}\n }\n\n return name ? jar[name] : jar\n }\n\n return Object.create(\n {\n set,\n get,\n remove: function (name, attributes) {\n set(\n name,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n}\n\nvar api = init(defaultConverter, { path: '/' });\n/* eslint-enable no-var */\n\nexport { api as default };\n","'use strict';\n\nvar traverse = module.exports = function (schema, opts, cb) {\n // Legacy support for v0.3.1 and earlier.\n if (typeof opts == 'function') {\n cb = opts;\n opts = {};\n }\n\n cb = opts.cb || cb;\n var pre = (typeof cb == 'function') ? cb : cb.pre || function() {};\n var post = cb.post || function() {};\n\n _traverse(opts, pre, post, schema, '', schema);\n};\n\n\ntraverse.keywords = {\n additionalItems: true,\n items: true,\n contains: true,\n additionalProperties: true,\n propertyNames: true,\n not: true,\n if: true,\n then: true,\n else: true\n};\n\ntraverse.arrayKeywords = {\n items: true,\n allOf: true,\n anyOf: true,\n oneOf: true\n};\n\ntraverse.propsKeywords = {\n $defs: true,\n definitions: true,\n properties: true,\n patternProperties: true,\n dependencies: true\n};\n\ntraverse.skipKeywords = {\n default: true,\n enum: true,\n const: true,\n required: true,\n maximum: true,\n minimum: true,\n exclusiveMaximum: true,\n exclusiveMinimum: true,\n multipleOf: true,\n maxLength: true,\n minLength: true,\n pattern: true,\n format: true,\n maxItems: true,\n minItems: true,\n uniqueItems: true,\n maxProperties: true,\n minProperties: true\n};\n\n\nfunction _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n if (schema && typeof schema == 'object' && !Array.isArray(schema)) {\n pre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n for (var key in schema) {\n var sch = schema[key];\n if (Array.isArray(sch)) {\n if (key in traverse.arrayKeywords) {\n for (var i=0; i<sch.length; i++)\n _traverse(opts, pre, post, sch[i], jsonPtr + '/' + key + '/' + i, rootSchema, jsonPtr, key, schema, i);\n }\n } else if (key in traverse.propsKeywords) {\n if (sch && typeof sch == 'object') {\n for (var prop in sch)\n _traverse(opts, pre, post, sch[prop], jsonPtr + '/' + key + '/' + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);\n }\n } else if (key in traverse.keywords || (opts.allKeys && !(key in traverse.skipKeywords))) {\n _traverse(opts, pre, post, sch, jsonPtr + '/' + key, rootSchema, jsonPtr, key, schema);\n }\n }\n post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n }\n}\n\n\nfunction escapeJsonPtr(str) {\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n}\n"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[600],{24600:(e,t,n)=>{"use strict";n.r(t),n.d(t,{API_HOST:()=>D,DEFAULT_ORGANISATION:()=>C,DEFAULT_PASSWORD:()=>O,DEFAULT_USER:()=>k,DefaultServerRowDTOMapper:()=>U,FORCE_HTTP:()=>E,FontStyle:()=>Y,FontWeight:()=>Q,HTTP_CONFIG:()=>S,InMemoryDatabase:()=>u,JSONSerializer:()=>V,LifecycleMixin:()=>B,LogLevel:()=>a.LogLevel,POPUP_DEFAULT_HEIGHT:()=>pe,POPUP_DEFAULT_WIDTH:()=>fe,PendingState:()=>$,PendingStateEvents:()=>M,ResourceType:()=>H,SOCKET_EXT:()=>R,ServerRowDTOMapper:()=>W,SlottedStyles:()=>Z,TypeRampValues:()=>te,UUID:()=>he,activeColorScheme:()=>J,assureDesignSystem:()=>g,createLogger:()=>d,createObserver:()=>i,defaultEventMap:()=>f,defaultLoggerOptions:()=>c,formatDateTimeTimestamp:()=>I,formatDateTimestamp:()=>N,formatTimestamp:()=>F,getFontMixin:()=>ee,inIFrame:()=>ge,inSymphonyDesktop:()=>ve,insertDocumentCSSRule:()=>z,insertDocumentLink:()=>q,isDev:()=>T,layoutCacheDocument:()=>x,loadFontFaces:()=>K,openPopup:()=>me,renderOnChange:()=>h,respondToVisibility:()=>o,sync:()=>w,whenElse:()=>_});var r=n(9492);const i=()=>{let e=[];return{subscribe:t=>(e.push(t),()=>e=e.filter((e=>e!==t))),publish(t){e.forEach((e=>e(t)))}}},o=(e,t)=>{const n={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{t(e.intersectionRatio>0)}))}),n).observe(e)};var s=n(12583),a=n(4708);const c={level:4};function d(e,t=c){const n=s.Z.create(t).withTag(e);return Object.assign(Object.assign({},n),{deprecated:(e,t="Consult docs for better alternative.",r)=>{n.warn(`Deprecated symbol used '${e}'. ${t}`,""+(r?`Will be removed in version ${r}.`:""))}})}const l=d("foundation-utils");class u{constructor(e){this.uuid=e,this.isWorking=!1,this.records={},this.beforeUpdateListeners=i(),this.afterUpdateListeners=i()}create(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.uuid.createRemoteId();return this.update(t,e)}))}read(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){let t;try{this.isWorking=!0,t=this.records[e],l.debug(`Database.read ${JSON.stringify(t)}`)}catch(e){throw l.error("Database.read error",e),e}finally{this.isWorking=!1}return{value:t}}))}update(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const n=Object.assign(Object.assign({},t),{id:e}),r=n;try{this.isWorking=!0,this.beforeUpdateListeners.publish({value:this.records[e],newValue:n}),this.records[e]=r,this.afterUpdateListeners.publish({value:n}),l.debug(`Database.create success ${JSON.stringify(r)}`)}catch(e){throw l.error("Database.create error",e),e}finally{this.isWorking=!1}return{value:n}}))}delete(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){let t=!0;try{this.isWorking=!0,t=delete this.records[e],l.debug(`Database.delete ${e}`)}catch(e){throw l.error("Database.delete error",e),e}finally{this.isWorking=!1}return{id:e,success:t}}))}visit(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){try{this.isWorking=!0,Object.values(this.records).forEach(e),l.debug("Database.visit complete")}catch(e){throw l.error("Database.visit error",e),e}finally{this.isWorking=!1}}))}onBeforeUpdate(e){return this.beforeUpdateListeners.subscribe(e)}onAfterUpdate(e){return this.afterUpdateListeners.subscribe(e)}}function h(e,t){e[t+"Changed"]=e.render}function g(e){if(!e)throw new Error("Undefined design system module");if("function"!=typeof e.provideDesignSystem)throw new Error("Required `provideDesignSystem` function missing from design system module");return e}var v=n(83147);const f=new Map([["FAST-TEXT-AREA","input"],["FAST-TEXT-FIELD","input"],["FOUNDATION-TEXT-AREA","input"],["FOUNDATION-TEXT-FIELD","input"],["INPUT","input"],["ZERO-TEXT-FIELD","input"]]);function p(e){this.keyAttr||(this.target[this.targetName]=e)}function m(e,t){this.keyAttr&&(this.updateTarget=p),this.originalBind.call(this,e,t),this.target.addEventListener(this.changeEvent,this.changeHandler)}function y(){this.originalUnbind.call(this),this.target.removeEventListener(this.changeEvent,this.changeHandler)}class b extends v.HTMLBindingDirective{constructor(e,t,n,r){super(e),this.keyAttr=r,this.conversionType=t,this.eventName=n}createBehavior(e){const t=super.createBehavior(e);return t.originalBind=t.bind,t.originalUnbind=t.unbind,t.keyAttr=this.keyAttr,t.bind=m,t.unbind=y,t.changeEvent=function(e,t){var n;const r=e.tagName;return"default"===t?null!==(n=f.get(r))&&void 0!==n?n:"change":t}(e,this.eventName),t.changeHandler=()=>{const e="boolean"===this.conversionType?t.target.checked:t.target.value;if(this.keyAttr){const n=t.bindingObserver.last,r=t.target[this.keyAttr];n.propertySource[n.propertyName][r]=this.convert(e)}else{const n=t.bindingObserver.last;n.propertySource[n.propertyName]=this.convert(e)}},t}convert(e){if(null==e)return e;switch(this.conversionType){case"time":const t=new Date(e).getTime();return isNaN(t)?void 0:t;case"number":return e.length?Number(e):void 0;case"string":return String(e);case"boolean":return Boolean(e);default:return e}}}function w(e,t="string",n="default",r){return new b(e,t,n,r)}function _(e,t,n){const r=e=>"function"==typeof e?e:()=>e,i=r(t),o=r(n);return(t,n)=>e(t,n)?i(t,n):o(t,n)}const T=()=>!1;let D,E,S,C,O,k,R;try{D=void 0}catch(e){}try{E=void 0}catch(e){}try{S=""}catch(e){}try{C=void 0}catch(e){}try{O=void 0}catch(e){}try{k=void 0}catch(e){}try{R=void 0}catch(e){}const L=10;function N(e){return!e||isNaN(e)?null:new Date(e).toISOString().slice(0,L)}const A=19;function I(e){return!e||isNaN(e)?null:new Date(e).toISOString().slice(0,A).replace("T"," ")}function F(e,t){return t?I(e):N(e)}var P=n(75951);class U{constructor(){this.fromDTO=e=>{var t,n,r;return{serverRowMetadata:{operation:null===(n=null===(t=null==e?void 0:e.DETAILS)||void 0===t?void 0:t.OPERATION)||void 0===n?void 0:n.toLowerCase(),rowRef:null===(r=null==e?void 0:e.DETAILS)||void 0===r?void 0:r.ROW_REF}}},this.toDTO=e=>{var t,n,r;return{DETAILS:{OPERATION:null===(n=null===(t=null==e?void 0:e.serverRowMetadata)||void 0===t?void 0:t.operation)||void 0===n?void 0:n.toUpperCase(),ROW_REF:null===(r=null==e?void 0:e.serverRowMetadata)||void 0===r?void 0:r.rowRef}}}}}const W=P.DI.createInterface((e=>e.singleton(U)));var M;!function(e){e.state="pending-state",e.error="pending-state-error"}(M||(M={}));const $=e=>{class t extends e{constructor(){super(...arguments),this.pendingCount=0,this.resolvedCount=0,this.hasPendingChildren=!1}get progress(){return this.resolvedCount/this.pendingCount}connectedCallback(){super.connectedCallback(),l.debug("PendingState mixin is now connected to the DOM"),this.addEventListener(M.state,this.onPendingState)}disconnectedCallback(){super.disconnectedCallback(),l.debug("PendingState mixin is now disconnected from the DOM"),this.removeEventListener(M.state,this.onPendingState)}onPendingState({detail:e}){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const{promise:t}=e;if(t){this.hasPendingChildren=!0,this.pendingCount+=1;try{yield t}catch(e){this.$emit(M.error,{message:`Error in pending-state promise: ${e}`,error:e})}finally{this.resolvedCount+=1,this.pendingCount===this.resolvedCount&&(this.hasPendingChildren=!1)}}}))}}return(0,r.__decorate)([v.observable],t.prototype,"hasPendingChildren",void 0),t},B=e=>{var t,n,i,o;return o=class extends e{constructor(...e){super(e),t.add(this),n.set(this,{_key:"dom"})}cloneNode(e){const t=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{t.appendChild(e.cloneNode(!0))})),t}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((t=>e.setAttribute(t,this.getAttribute(t)))),e}get shouldRunDisconnect(){return"dom"===(0,r.__classPrivateFieldGet)(this,n,"f")._key||"foundation-layout-cache"!==(0,r.__classPrivateFieldGet)(this,n,"f")._key&&!((0,r.__classPrivateFieldGet)(this,n,"f").dragging||!(0,r.__classPrivateFieldGet)(this,n,"f").hasFirstLoaded)}get shouldRunConnect(){return this.shouldRunDisconnect}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,r.__classPrivateFieldGet)(this,n,"f")._key&&(0,r.__classPrivateFieldSet)(this,n,(0,r.__classPrivateFieldGet)(this,t,"m",i).call(this,this),"f")}},n=new WeakMap,t=new WeakSet,i=function e(n){if(!0===n.getRootNode()[x])return{_key:"foundation-layout-cache"};if(n.getRootNode()instanceof Document)return{_key:"dom"};const i=n.getRootNode().host;if("FoundationLayout"===i.constructor.name){const e=i;return e._key="foundation-layout",e}return(0,r.__classPrivateFieldGet)(this,t,"m",e).call(this,i)},o},x=Symbol("layout-cache-document"),H={local:"local",remote:"remote"};class G{constructor(){this.serialize=e=>JSON.stringify(e)}deserialize(e){return e&&e.ok?e.text().then((e=>JSON.parse(e))):(e&&e.data&&(e=e.data),JSON.parse(e))}}const V=P.DI.createInterface((e=>e.singleton(G)));var X=n(13896);const{create:j}=P.DesignToken,J=j("active-color-scheme").withDefault((e=>X.baseLayerLuminance.getValueFor(e)===X.StandardLuminance.LightMode?"light":"dark")),z=(e,t)=>{var n;let r=document.getElementById(t);if(r)return void l.debug(`\n An element with the id of '${t}' already exists and likely has the css rules applied.\n `);const i=null!==(n=document.head)&&void 0!==n?n:document.getElementsByTagName("head")[0];r=document.createElement("style"),r.id=t,i.appendChild(r);const o=r.sheet.insertRule(e);return()=>{r&&(r.sheet.deleteRule(o),i.removeChild(r))}},q=e=>{const t=document.head.querySelectorAll("link");for(const n in t)if(t[n].href===e)return;const n=document.createElement("link");n.rel="stylesheet",n.href=e,document.head.appendChild(n)};let Z=class extends v.FASTElement{stylesChanged(e,t){e&&this.parentElement.$fastController.removeStyles(e),this.parentElement.$fastController.addStyles(t)}};(0,r.__decorate)([v.observable],Z.prototype,"styles",void 0),Z=(0,r.__decorate)([(0,v.customElement)({name:"slotted-styles"})],Z);const K=(e,t)=>{z(e,t)};var Y,Q;!function(e){e.Italic="italic",e.Normal="normal"}(Y||(Y={})),function(e){e[e.Thin=100]="Thin",e[e.Light=300]="Light",e[e.Regular=400]="Regular",e[e.Medium=500]="Medium",e[e.Bold=700]="Bold",e[e.Black=900]="Black"}(Q||(Q={}));const ee=(e,t=Y.Normal,n=Q.Regular)=>`\n font-family: ${e};\n font-style: ${t};\n font-weight: ${n};\n`,te={minusOne:-1,minusTwo:-2,plusOne:1,plusTwo:2,plusThree:3,plusFour:4,plusFive:5,plusSix:6};var ne,re=new Uint8Array(16);function ie(){if(!ne&&!(ne="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ne(re)}const oe=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const se=function(e){return"string"==typeof e&&oe.test(e)};for(var ae=[],ce=0;ce<256;++ce)ae.push((ce+256).toString(16).substr(1));const de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ae[e[t+0]]+ae[e[t+1]]+ae[e[t+2]]+ae[e[t+3]]+"-"+ae[e[t+4]]+ae[e[t+5]]+"-"+ae[e[t+6]]+ae[e[t+7]]+"-"+ae[e[t+8]]+ae[e[t+9]]+"-"+ae[e[t+10]]+ae[e[t+11]]+ae[e[t+12]]+ae[e[t+13]]+ae[e[t+14]]+ae[e[t+15]]).toLowerCase();if(!se(n))throw TypeError("Stringified UUID is invalid");return n};const le=function(e,t,n){var r=(e=e||{}).random||(e.rng||ie)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return de(r)};class ue{constructor(){}createId(e=!1){const t=le();return e&&l.debug(`UUID.createID ${t}`),t}createRemoteId(e=!1){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=le();return e&&l.debug(`UUID.createRemoteID ${t}`),t}))}}const he=P.DI.createInterface((e=>e.singleton(ue))),ge=()=>{try{return window.self!==window.top}catch(e){return!0}},ve=()=>{const e=null===navigator||void 0===navigator?void 0:navigator.userAgent;return(null==e?void 0:e.includes("Symphony"))&&(null==e?void 0:e.includes("Electron"))},fe=483,pe=600,me=(e,t,n=fe,r=pe)=>{const i=window.innerWidth/2-n/2+window.screenX,o=window.innerHeight/2-r/2+window.screenY,s=window.open(e,t,"width="+n+", height="+r+", top="+o+", left="+i+", scrollbars=yes");return s.focus&&s.focus(),s}}}]);
2
- //# sourceMappingURL=600.bad161eb15e07bb26088fc624f7567c3a015777c061091eecff21694164ba355.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/observer/observer.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/logger/logger.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/utils/logger.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/data/inMemoryDatabase.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/decorators/renderOnChange.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/design-system/design-system.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/directives/sync/sync.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/directives/when-else/when-else.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/env/is-dev.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/env/variables.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/formatters/datetime.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/mappers/dto/serverRow.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/mixins/pendingState/pendingState.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/mixins/lifecycle/lifecycle.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/resource/types.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/serializers/json/json.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/styles/color.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/styles/dom.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/styles/slotted-styles.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/styles/typography.js","webpack://@genesislcap/design-system-configurator/../node_modules/uuid/dist/esm-browser/rng.js","webpack://@genesislcap/design-system-configurator/../node_modules/uuid/dist/esm-browser/regex.js","webpack://@genesislcap/design-system-configurator/../node_modules/uuid/dist/esm-browser/validate.js","webpack://@genesislcap/design-system-configurator/../node_modules/uuid/dist/esm-browser/stringify.js","webpack://@genesislcap/design-system-configurator/../node_modules/uuid/dist/esm-browser/v4.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/uuid/uuid.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/window/window.js"],"names":["createObserver","listeners","subscribe","listener","push","filter","l","publish","event","forEach","respondToVisibility","element","callback","options","root","document","documentElement","IntersectionObserver","entries","entry","intersectionRatio","observe","defaultLoggerOptions","level","createLogger","name","logger","withTag","Object","assign","deprecated","symbol","instruction","removalVersionTarget","warn","InMemoryDatabase","constructor","uuid","this","isWorking","records","beforeUpdateListeners","afterUpdateListeners","create","newValue","__awaiter","id","createRemoteId","update","read","record","debug","JSON","stringify","err","error","value","dataRecord","delete","success","visit","visitor","values","onBeforeUpdate","onAfterUpdate","renderOnChange","target","render","assureDesignSystem","module","Error","provideDesignSystem","defaultEventMap","Map","customUpdateTarget","targetName","bind","source","context","updateTarget","originalBind","call","addEventListener","changeEvent","changeHandler","unbind","originalUnbind","removeEventListener","SyncDirective","HTMLBindingDirective","binding","convert","eventName","keyAttr","super","conversionType","createBehavior","behavior","_a","tag","tagName","get","determineChangeEvent","checked","last","bindingObserver","key","propertySource","propertyName","msSinceEpoch","Date","getTime","isNaN","undefined","length","Number","String","Boolean","sync","whenElse","trueTemplateOrTemplateBinding","falseTemplateOrTemplateBinding","getTemplate","template","trueTemplate","falseTemplate","isDev","_API_HOST","_FORCE_HTTP","_HTTP_CONFIG","_DEFAULT_ORGANISATION","_DEFAULT_PASSWORD","_DEFAULT_USER","_SOCKET_EXT","_b","_c","_d","_e","_f","_g","isoDateSliceEnd","formatDateTimestamp","timestamp","toISOString","slice","isoDateTimeSliceEnd","formatDateTimeTimestamp","replace","formatTimestamp","withTime","DefaultServerRowDTOMapper","fromDTO","dto","serverRowMetadata","operation","DETAILS","OPERATION","toLowerCase","rowRef","ROW_REF","toDTO","entity","toUpperCase","ServerRowDTOMapper","DI","x","singleton","PendingStateEvents","PendingState","Base","Pending","arguments","pendingCount","resolvedCount","hasPendingChildren","progress","connectedCallback","state","onPendingState","disconnectedCallback","detail","promise","$emit","message","__decorate","observable","prototype","LifecycleMixin","_instances","__container","__tryFindContainingLayout","args","add","set","_key","cloneNode","deep","thisClone","deepClone","Array","from","childNodes","child","appendChild","copy","createElement","getAttributeNames","at","setAttribute","getAttribute","shouldRunDisconnect","__classPrivateFieldGet","dragging","hasFirstLoaded","shouldRunConnect","__classPrivateFieldSet","WeakMap","WeakSet","e","getRootNode","layoutCacheDocument","Document","shadowHost","host","layoutHost","Symbol","ResourceType","local","remote","DefaultJSONSerializer","serialize","object","deserialize","input","ok","text","then","parse","data","JSONSerializer","DesignToken","activeColorScheme","withDefault","elem","baseLayerLuminance","StandardLuminance","insertDocumentCSSRule","cssRule","styleElementId","styleElement","getElementById","headElement","head","getElementsByTagName","styleIndex","sheet","insertRule","deleteRule","removeChild","insertDocumentLink","href","links","querySelectorAll","index","link","rel","SlottedStyles","FASTElement","stylesChanged","prev","next","parentElement","$fastController","removeStyles","addStyles","customElement","loadFontFaces","fontFaceRules","FontStyle","FontWeight","getFontMixin","family","style","Normal","weight","Regular","TypeRampValues","minusOne","minusTwo","plusOne","plusTwo","plusThree","plusFour","plusFive","plusSix","getRandomValues","rnds8","Uint8Array","rng","crypto","msCrypto","byteToHex","i","toString","substr","arr","offset","TypeError","buf","rnds","random","UUIDService","createId","withLogging","UUID","inIFrame","window","self","top","inSymphonyDesktop","userAgent","navigator","includes","POPUP_DEFAULT_WIDTH","POPUP_DEFAULT_HEIGHT","openPopup","urlNavigate","popUpWidth","popUpHeight","left","innerWidth","screenX","innerHeight","screenY","popupWindow","open","focus"],"mappings":"qoCAIO,MAAMA,EAAiB,KAC1B,IAAIC,EAAY,GAChB,MAAO,CACHC,UAAUC,IACNF,EAAUG,KAAKD,GACR,IAAOF,EAAYA,EAAUI,QAAQC,GAAMA,IAAMH,KAE5DI,QAAQC,GACJP,EAAUQ,SAASH,GAAMA,EAAEE,IAC/B,EACH,EAQQE,EAAsB,CAACC,EAASC,KACzC,MAAMC,EAAU,CACZC,KAAMC,SAASC,iBAEF,IAAIC,sBAAsBC,IACvCA,EAAQT,SAASU,IACbP,EAASO,EAAMC,kBAAoB,EAAE,GACvC,GACHP,GACMQ,QAAQV,EAAQ,E,yBC7B7B,MAKaW,EAAuB,CAChCC,MANkB,GAef,SAASC,EAAaC,EAAMZ,EAAUS,GACzC,MACMI,EADa,WAAeb,GACRc,QAAQF,GAClC,OAAOG,OAAOC,OAAOD,OAAOC,OAAO,CAAC,EAAGH,GAAS,CAAEI,WAAY,CAACC,EAAQC,EAAc,uCAAwCC,KACrHP,EAAOQ,KAAK,2BAA2BH,OAAYC,IAAe,IAAGC,EAAuB,8BAA8BA,KAA0B,IAAK,GAErK,CCtBO,MAAMP,EAASF,EAAa,oBCM5B,MAAMW,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKC,WAAY,EACjBD,KAAKE,QAAU,CAAC,EAChBF,KAAKG,sBAAwBzC,IAC7BsC,KAAKI,qBAAuB1C,GAChC,CACA2C,OAAOC,GACH,OAAO,IAAAC,WAAUP,UAAM,OAAQ,GAAQ,YACnC,MAAMQ,QAAWR,KAAKD,KAAKU,iBAC3B,OAAOT,KAAKU,OAAOF,EAAIF,EAC3B,GACJ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Q,SACjDqQ,EACA,YACAC,EACA,SACAV,EACA,UACAW,EACA,oBAIJ,OAHIK,EAAYE,OACZF,EAAYE,QAETF,CAAW,C","file":"600.600.xxxxxxxxxxxxxxxxxxxx.js","sourcesContent":["/**\n * Creates a new event observer instance.\n * @public\n */\nexport const createObserver = () => {\n let listeners = [];\n return {\n subscribe(listener) {\n listeners.push(listener);\n return () => (listeners = listeners.filter((l) => l !== listener));\n },\n publish(event) {\n listeners.forEach((l) => l(event));\n },\n };\n};\n/**\n * Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen\n * @param element - HTMLElement to observe\n * @param callback - any function called when the visibility changes\n * @public\n */\nexport const respondToVisibility = (element, callback) => {\n const options = {\n root: document.documentElement,\n };\n const observer = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n callback(entry.intersectionRatio > 0);\n });\n }, options);\n observer.observe(element);\n};\n","import consola from 'consola/src/browser';\nexport { LogLevel } from 'consola';\nconst logLevelDebug = 4;\n/**\n * The default logger options.\n * @public\n */\nexport const defaultLoggerOptions = {\n level: logLevelDebug,\n};\n/**\n * Creates a logger with the given name and options.\n * @param name - The name to give the logger.\n * @param options - The options to use when creating the logger.\n * @returns The resulting logger.\n * @public\n */\nexport function createLogger(name, options = defaultLoggerOptions) {\n const baseLogger = consola.create(options);\n const logger = baseLogger.withTag(name);\n return Object.assign(Object.assign({}, logger), { deprecated: (symbol, instruction = 'Consult docs for better alternative.', removalVersionTarget) => {\n logger.warn(`Deprecated symbol used '${symbol}'. ${instruction}`, `${removalVersionTarget ? `Will be removed in version ${removalVersionTarget}.` : ''}`);\n } });\n}\n","import { createLogger } from '../logger';\nexport const logger = createLogger('foundation-utils');\n","import { __awaiter } from \"tslib\";\nimport { createObserver } from '../observer';\nimport { logger } from '../utils';\n/**\n * An in memory database of specific DatabaseRecord types.\n * @public\n */\nexport class InMemoryDatabase {\n constructor(uuid) {\n this.uuid = uuid;\n this.isWorking = false;\n this.records = {};\n this.beforeUpdateListeners = createObserver();\n this.afterUpdateListeners = createObserver();\n }\n create(newValue) {\n return __awaiter(this, void 0, void 0, function* () {\n const id = yield this.uuid.createRemoteId();\n return this.update(id, newValue);\n });\n }\n read(id) {\n return __awaiter(this, void 0, void 0, function* () {\n let record;\n try {\n this.isWorking = true;\n record = this.records[id]; // cloneDeep(this.records[id]);\n logger.debug(`Database.read ${JSON.stringify(record)}`);\n }\n catch (err) {\n logger.error('Database.read error', err);\n throw err;\n }\n finally {\n this.isWorking = false;\n }\n return {\n value: record,\n };\n });\n }\n update(id, newValue) {\n return __awaiter(this, void 0, void 0, function* () {\n const record = Object.assign(Object.assign({}, newValue), { id });\n const dataRecord = record; // cloneDeep(record) as T;\n try {\n this.isWorking = true;\n this.beforeUpdateListeners.publish({\n value: this.records[id],\n newValue: record,\n });\n this.records[id] = dataRecord;\n this.afterUpdateListeners.publish({\n value: record,\n });\n logger.debug(`Database.create success ${JSON.stringify(dataRecord)}`);\n }\n catch (err) {\n logger.error('Database.create error', err);\n throw err;\n }\n finally {\n this.isWorking = false;\n }\n return {\n value: record,\n };\n });\n }\n delete(id) {\n return __awaiter(this, void 0, void 0, function* () {\n let success = true;\n try {\n this.isWorking = true;\n success = delete this.records[id];\n logger.debug(`Database.delete ${id}`);\n }\n catch (err) {\n logger.error('Database.delete error', err);\n throw err;\n }\n finally {\n this.isWorking = false;\n }\n return {\n id,\n success,\n };\n });\n }\n visit(visitor) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n this.isWorking = true;\n Object.values(this.records).forEach(visitor);\n logger.debug(`Database.visit complete`);\n }\n catch (err) {\n logger.error('Database.visit error', err);\n throw err;\n }\n finally {\n this.isWorking = false;\n }\n });\n }\n onBeforeUpdate(listener) {\n return this.beforeUpdateListeners.subscribe(listener);\n }\n onAfterUpdate(listener) {\n return this.afterUpdateListeners.subscribe(listener);\n }\n}\n","/**\n * Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.\n *\n * @remarks\n * This is useful if you have a lot of properties that all invalidate the internal state.\n * See {@link https://www.fast.design/docs/fast-element/observables-and-state#internal-observation} for more information.\n *\n * @param target - The target to define the property change handler on.\n * @param name - The property name.\n *\n * @example\n * ```ts\n * @attr({ mode: 'boolean', attribute: 'line-numbers' })\n * @renderOnChange\n * lineNumbers: boolean = true;\n *\n * @attr\n * @renderOnChange\n * indent: number | 'tab' = 2;\n *\n * render() {\n * if (!this.$fastController.isConnected) {\n * return;\n * }\n * // Do something...\n * }\n * ```\n *\n * @public\n */\nexport function renderOnChange(target, name) {\n target[name + 'Changed'] = target.render;\n}\n","/**\n * @public\n */\nexport function assureDesignSystem(module) {\n if (!module) {\n throw new Error('Undefined design system module');\n }\n if (typeof module.provideDesignSystem !== 'function') {\n throw new Error('Required `provideDesignSystem` function missing from design system module');\n }\n return module;\n}\n","import { HTMLBindingDirective, } from '@microsoft/fast-element';\n/**\n * A map that associates specific HTML element tags with their corresponding default event names.\n * @public\n */\nexport const defaultEventMap = new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n]);\nfunction customUpdateTarget(value) {\n if (this['keyAttr']) {\n // FUI-389: set initial state based on keyAttr\n }\n else {\n this.target[this.targetName] = value;\n }\n}\nfunction bind(source, context) {\n if (this['keyAttr']) {\n // overwrite internal update method called by originalBind\n this.updateTarget = customUpdateTarget;\n }\n this.originalBind.call(this, source, context);\n this.target.addEventListener(this.changeEvent, this.changeHandler);\n}\nfunction unbind() {\n this.originalUnbind.call(this);\n this.target.removeEventListener(this.changeEvent, this.changeHandler);\n}\nfunction determineChangeEvent(target, eventName) {\n var _a;\n const tag = target.tagName;\n if (eventName === 'default') {\n return (_a = defaultEventMap.get(tag)) !== null && _a !== void 0 ? _a : 'change';\n }\n return eventName;\n}\nclass SyncDirective extends HTMLBindingDirective {\n constructor(binding, convert, eventName, keyAttr) {\n super(binding);\n this.keyAttr = keyAttr;\n this.conversionType = convert;\n this.eventName = eventName;\n }\n createBehavior(target) {\n const behavior = super.createBehavior(target);\n behavior.originalBind = behavior.bind;\n behavior.originalUnbind = behavior.unbind;\n behavior.keyAttr = this.keyAttr;\n behavior.bind = bind;\n behavior.unbind = unbind;\n behavior.changeEvent = determineChangeEvent(target, this.eventName);\n behavior.changeHandler = () => {\n // for checkbox, which is currently the only component converting to boolean, will have to change if boolean conversion is used anywhere else\n const value = this.conversionType === 'boolean' ? behavior.target.checked : behavior.target.value;\n if (this.keyAttr) {\n const last = behavior.bindingObserver.last;\n const key = behavior.target[this.keyAttr];\n last.propertySource[last.propertyName][key] = this.convert(value);\n }\n else {\n // Wait for an official setValue API\n const last = behavior.bindingObserver.last;\n last.propertySource[last.propertyName] = this.convert(value);\n }\n };\n return behavior;\n }\n convert(value) {\n if (value === undefined || value === null)\n return value;\n switch (this.conversionType) {\n case 'time':\n const msSinceEpoch = new Date(value).getTime();\n return isNaN(msSinceEpoch) ? undefined : msSinceEpoch;\n case 'number':\n return value.length ? Number(value) : undefined; // Number('') returns 0\n case 'string':\n return String(value);\n case 'boolean':\n return Boolean(value);\n default:\n return value;\n }\n }\n}\n/**\n * Creates a synchronization directive that binds a data source to an HTML element,\n * @public\n */\nexport function sync(binding, conversionType = 'string', eventName = 'default', keyAttr) {\n return new SyncDirective(binding, conversionType, eventName, keyAttr);\n}\n","/**\n * Directive that allows supplying an \"else\" template to the traditional {@link https://www.fast.design/docs/api/fast-element.when/#when-function} directive\n *\n * @param binding - The condition to test for rendering.\n * @param trueTemplateOrTemplateBinding - The template or a binding that gets the template to render when the condition is true.\n * @param falseTemplateOrTemplateBinding - The template or a binding that gets the template to render when the condition is false.\n * @public\n */\nexport function whenElse(binding, trueTemplateOrTemplateBinding, falseTemplateOrTemplateBinding) {\n const getTemplate = (template) => typeof template === 'function' ? template : () => template;\n const trueTemplate = getTemplate(trueTemplateOrTemplateBinding);\n const falseTemplate = getTemplate(falseTemplateOrTemplateBinding);\n return (source, context) => binding(source, context) ? trueTemplate(source, context) : falseTemplate(source, context);\n}\n","/**\n * Determines if the current environment is a development environment.\n * @public\n */\nexport const isDev = () => !process.env.NODE_ENV || process.env.NODE_ENV === 'development';\n","/* eslint-disable import/no-mutable-exports */\n/**\n * The Genesis Server (host0 to establish a connection (WebSocket or HTTP)).\n * Example: wss://localhost:9064\n * @remarks Required.\n * @public\n */\nlet _API_HOST;\ntry {\n _API_HOST = API_HOST;\n}\ncatch (_a) { }\nexport { _API_HOST as API_HOST };\n/**\n * The path to a JSON config file for the HTTP mode.\n * @remarks Optional.\n * @public\n */\nlet _FORCE_HTTP;\ntry {\n _FORCE_HTTP = FORCE_HTTP;\n}\ncatch (_b) { }\nexport { _FORCE_HTTP as FORCE_HTTP };\n/**\n * Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).\n * @remarks Optional.\n * @public\n */\nlet _HTTP_CONFIG;\ntry {\n _HTTP_CONFIG = HTTP_CONFIG;\n}\ncatch (_c) { }\nexport { _HTTP_CONFIG as HTTP_CONFIG };\n/**\n * The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).\n * @remarks Optional.\n * @public\n */\nlet _DEFAULT_ORGANISATION;\ntry {\n _DEFAULT_ORGANISATION = DEFAULT_ORGANISATION;\n}\ncatch (_d) { }\nexport { _DEFAULT_ORGANISATION as DEFAULT_ORGANISATION };\n/**\n * The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).\n * @remarks Optional.\n * @public\n */\nlet _DEFAULT_PASSWORD;\ntry {\n _DEFAULT_PASSWORD = DEFAULT_PASSWORD;\n}\ncatch (_e) { }\nexport { _DEFAULT_PASSWORD as DEFAULT_PASSWORD };\n/**\n * The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).\n * @remarks Optional.\n * @public\n */\nlet _DEFAULT_USER;\ntry {\n _DEFAULT_USER = DEFAULT_USER;\n}\ncatch (_f) { }\nexport { _DEFAULT_USER as DEFAULT_USER };\n/**\n * The sub-path used for WebSocket connections.\n * Example: API_HOST + '/' + SOCKET_EXT - wss://localhost:9064/gwf.\n * @remarks Optional. Default is \"API_HOST/gwf\"\n * @public\n */\nlet _SOCKET_EXT;\ntry {\n _SOCKET_EXT = SOCKET_EXT;\n}\ncatch (_g) { }\nexport { _SOCKET_EXT as SOCKET_EXT };\n","const isoDateSliceEnd = 10;\n/**\n * Formats [DATE] UNIX Timestamps (without time) to readable strings\n * @public\n */\nexport function formatDateTimestamp(timestamp) {\n if (!timestamp || isNaN(timestamp))\n return null;\n return new Date(timestamp).toISOString().slice(0, isoDateSliceEnd);\n}\nconst isoDateTimeSliceEnd = 19;\n/**\n * Formats [DATETIME] UNIX Timestamps (with time) to readable strings\n * @public\n */\nexport function formatDateTimeTimestamp(timestamp) {\n if (!timestamp || isNaN(timestamp))\n return null;\n return new Date(timestamp).toISOString().slice(0, isoDateTimeSliceEnd).replace('T', ' ');\n}\n/**\n * Formats [DATE|DATETIME] Unix Timestamps to readable strings\n * @public\n * @param timestamp - The UNIX Timestamp.\n * @param withTime - The flag to determine if formatted value should contain 'time' info.\n */\nexport function formatTimestamp(timestamp, withTime) {\n if (withTime) {\n return formatDateTimeTimestamp(timestamp);\n }\n return formatDateTimestamp(timestamp);\n}\n","import { DI } from '@microsoft/fast-foundation';\n/**\n * The default `ServerRowDTOMapper`.\n * @public\n */\nexport class DefaultServerRowDTOMapper {\n constructor() {\n /**\n * Converts a server row DTO to an entity.\n * @param dto - The DTO to convert.\n * @returns The resulting entity.\n * @public\n */\n this.fromDTO = (dto) => {\n var _a, _b, _c;\n return ({\n serverRowMetadata: {\n operation: (_b = (_a = dto === null || dto === void 0 ? void 0 : dto.DETAILS) === null || _a === void 0 ? void 0 : _a.OPERATION) === null || _b === void 0 ? void 0 : _b.toLowerCase(),\n rowRef: (_c = dto === null || dto === void 0 ? void 0 : dto.DETAILS) === null || _c === void 0 ? void 0 : _c.ROW_REF,\n },\n });\n };\n /**\n * Converts a server row entity to a DTO.\n * @param entity - The entity to convert.\n * @returns The resulting DTO.\n * @public\n */\n this.toDTO = (entity) => {\n var _a, _b, _c;\n return ({\n DETAILS: {\n OPERATION: (_b = (_a = entity === null || entity === void 0 ? void 0 : entity.serverRowMetadata) === null || _a === void 0 ? void 0 : _a.operation) === null || _b === void 0 ? void 0 : _b.toUpperCase(),\n ROW_REF: (_c = entity === null || entity === void 0 ? void 0 : entity.serverRowMetadata) === null || _c === void 0 ? void 0 : _c.rowRef,\n },\n });\n };\n }\n}\n/**\n * A DI token used to obtain a `ServerRowDTOMapper` instance.\n * @public\n */\nexport const ServerRowDTOMapper = DI.createInterface((x) => x.singleton(DefaultServerRowDTOMapper));\n","import { __awaiter, __decorate } from \"tslib\";\nimport { observable } from '@microsoft/fast-element';\nimport { logger } from '../../utils';\n/**\n * An enum that defines the names of the events that can be raised by the `PendingState` mixin.\n * @public\n */\nexport var PendingStateEvents;\n(function (PendingStateEvents) {\n PendingStateEvents[\"state\"] = \"pending-state\";\n PendingStateEvents[\"error\"] = \"pending-state-error\";\n})(PendingStateEvents || (PendingStateEvents = {}));\n/**\n * The `PendingState` mixin.\n * @public\n */\nexport const PendingState = (Base) => {\n class Pending extends Base {\n constructor() {\n super(...arguments);\n /**\n * The number of promises that are currently pending.\n * @public\n */\n this.pendingCount = 0;\n /**\n * The number of promises that have been resolved.\n * @public\n */\n this.resolvedCount = 0;\n /**\n * A boolean indicating whether there are any pending children.\n * @public\n */\n this.hasPendingChildren = false;\n }\n /**\n * Gets the progress of the pending promises as a percentage between 0 and 1.\n * @public\n */\n get progress() {\n return this.resolvedCount / this.pendingCount;\n }\n /**\n * Called when the element is connected to the DOM.\n * @internal\n */\n connectedCallback() {\n super.connectedCallback();\n logger.debug(`PendingState mixin is now connected to the DOM`);\n /**\n * We're likely not adding this mixin to the app shell, so may need to listen on a route hub...\n */\n this.addEventListener(PendingStateEvents.state, this.onPendingState);\n }\n /**\n * Called when the element is disconnected from the DOM.\n * @internal\n */\n disconnectedCallback() {\n super.disconnectedCallback();\n logger.debug(`PendingState mixin is now disconnected from the DOM`);\n this.removeEventListener(PendingStateEvents.state, this.onPendingState);\n }\n /**\n * Handles the `pending-state` event.\n * @param event - The `pending-state` event.\n * @internal\n */\n onPendingState({ detail }) {\n return __awaiter(this, void 0, void 0, function* () {\n const { promise } = detail;\n if (promise) {\n this.hasPendingChildren = true;\n this.pendingCount += 1;\n try {\n yield promise;\n }\n catch (error) {\n this.$emit(PendingStateEvents.error, {\n message: `Error in pending-state promise: ${error}`,\n error,\n });\n }\n finally {\n this.resolvedCount += 1;\n if (this.pendingCount === this.resolvedCount) {\n this.hasPendingChildren = false;\n }\n }\n }\n });\n }\n }\n __decorate([\n observable\n ], Pending.prototype, \"hasPendingChildren\", void 0);\n return Pending;\n};\n","import { __classPrivateFieldGet, __classPrivateFieldSet } from \"tslib\";\n/**\n * @beta\n * Mixin class to expose `shouldRunConnect` and `shouldRunDisconnect`\n *\n * @remarks These can be used to control what lifecycle functionality is ran when the elements\n * are part of a custom layout. The class itself handles all events\n * @privateRemarks\n * #_ syntax is used for a javascript private method/variable\n * we can't use private/protected from typescript in an anonymous class like this\n */\nexport const LifecycleMixin = (Base) => { var _instances, __container, __tryFindContainingLayout, _a; return _a = class extends Base {\n constructor(...args) {\n super(args);\n _instances.add(this);\n /** @internal **/\n __container.set(this, { _key: 'dom' });\n }\n /**\n * @privateRemarks\n * Rather than using the basic implementation of cloning we run a copy constructor (deepClone)\n * and then manually clone the children too so they can intercept with an overriden cloneNode\n * if they want to\n */\n cloneNode(deep) {\n const thisClone = this.deepClone();\n if (deep) {\n Array.from(this.childNodes).forEach((child) => {\n thisClone.appendChild(child.cloneNode(true));\n });\n }\n return thisClone;\n }\n /**\n * @privateRemarks\n * Basic implementation of a copy constructor which creates a new element of the same class\n * and copies all attributes over.\n * None-trivial elements will likely want to override this function, call it using super.deepClone(),\n * and then perform extra setup such as copying properties, setting up event listeners\n */\n deepClone() {\n const copy = document.createElement(this.tagName.toLowerCase());\n this.getAttributeNames().forEach((at) => copy.setAttribute(at, this.getAttribute(at)));\n return copy;\n }\n /**\n * @beta\n * @returns - boolean controlling whether to run all disconnectedCallback lifecycle functionality\n */\n get shouldRunDisconnect() {\n if (__classPrivateFieldGet(this, __container, \"f\")._key === 'dom') {\n return true;\n }\n if (__classPrivateFieldGet(this, __container, \"f\")._key === 'foundation-layout-cache') {\n return false;\n }\n // _key === 'foundation-layout'\n return !(__classPrivateFieldGet(this, __container, \"f\").dragging || !__classPrivateFieldGet(this, __container, \"f\").hasFirstLoaded);\n }\n /**\n * @beta\n * @returns - boolean controlling whether to run all connectedCallback lifecycle functionality\n * @privateRemarks\n * For now its just the same logic as shouldRunDisconnect\n */\n get shouldRunConnect() {\n return this.shouldRunDisconnect;\n }\n connectedCallback() {\n super.connectedCallback();\n if (__classPrivateFieldGet(this, __container, \"f\")._key !== 'foundation-layout') {\n __classPrivateFieldSet(this, __container, __classPrivateFieldGet(this, _instances, \"m\", __tryFindContainingLayout).call(this, this), \"f\");\n }\n }\n },\n __container = new WeakMap(),\n _instances = new WeakSet(),\n __tryFindContainingLayout = function __tryFindContainingLayout(e) {\n /**\n * This is a special case where the element is part of the layout cache\n * signified by a symbol put on the document cache root\n */\n if (e.getRootNode()[layoutCacheDocument] === true) {\n return { _key: 'foundation-layout-cache' };\n }\n /**\n * If this happens we have found the root of the document\n * without finding a containing FoundationLayout\n * hence, this item is not in a custom layout\n */\n if (e.getRootNode() instanceof Document) {\n return { _key: 'dom' };\n }\n const shadowHost = e.getRootNode().host;\n if (shadowHost.constructor.name === 'FoundationLayout') {\n const layoutHost = shadowHost;\n layoutHost._key = 'foundation-layout';\n return layoutHost;\n }\n return __classPrivateFieldGet(this, _instances, \"m\", __tryFindContainingLayout).call(this, shadowHost);\n },\n _a; };\n/**\n * Stored on the layout's internal cache to signify that the document is not part of the DOM\n * @public\n */\nexport const layoutCacheDocument = Symbol('layout-cache-document');\n","/**\n * An object that defines two resource types: \"local\" and \"remote\".\n * @public\n */\nexport const ResourceType = {\n local: 'local',\n remote: 'remote',\n};\n","import { DI } from '@microsoft/fast-foundation';\nclass DefaultJSONSerializer {\n constructor() {\n /**\n * Serializes an object to a JSON string using `JSON.stringify`.\n * @param object - The object to serialize.\n * @returns The serialized JSON string.\n */\n this.serialize = (object) => JSON.stringify(object);\n }\n /**\n * Deserializes a response object from a HTTP request to a JavaScript object using `JSON.parse`.\n * @param input - The HTTP response object.\n * @returns A promise that resolves to the deserialized JavaScript object.\n */\n deserialize(input) {\n if (input && input.ok) {\n return input.text().then((text) => JSON.parse(text));\n }\n if (input && input.data) {\n input = input.data;\n }\n return JSON.parse(input);\n }\n}\n/**\n * A DI token for the JSON serializer.\n * @public\n */\nexport const JSONSerializer = DI.createInterface((x) => x.singleton(DefaultJSONSerializer));\n","import { baseLayerLuminance, StandardLuminance } from '@microsoft/fast-components';\nimport { DesignToken } from '@microsoft/fast-foundation';\nconst { create } = DesignToken;\n/**\n * A design token that represents the active color scheme (light or dark).\n * @public\n */\nexport const activeColorScheme = create('active-color-scheme').withDefault(\n/**\n * A callback function that returns the active color scheme based on the base layer luminance of the provided element.\n * @param {HTMLElement} elem The element to get the active color scheme for.\n * @returns {string} The active color scheme ('light' or 'dark').\n */\n(elem) => baseLayerLuminance.getValueFor(elem) === StandardLuminance.LightMode ? 'light' : 'dark');\n","import { logger } from '../utils/logger';\n/**\n * Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID.\n * Returns a function that can be called to remove the rule from the document.\n * @public\n * @param cssRule - The CSS rule to insert.\n * @param styleElementId - The ID of the style element to use or create.\n * @returns A function that removes the rule from the document.\n */\nexport const insertDocumentCSSRule = (cssRule, styleElementId) => {\n var _a;\n let styleElement = document.getElementById(styleElementId);\n if (styleElement) {\n logger.debug(`\n An element with the id of '${styleElementId}' already exists and likely has the css rules applied.\n `);\n return;\n }\n const headElement = (_a = document.head) !== null && _a !== void 0 ? _a : document.getElementsByTagName('head')[0];\n styleElement = document.createElement('style');\n styleElement.id = styleElementId;\n headElement.appendChild(styleElement);\n const styleIndex = styleElement.sheet.insertRule(cssRule);\n return () => {\n if (!styleElement) {\n return;\n }\n styleElement.sheet.deleteRule(styleIndex);\n headElement.removeChild(styleElement);\n };\n};\n/**\n * Inserts a CSS link into the document if it doesn't already exist.\n * @public\n * @param href - The URL of the CSS file to insert.\n */\nexport const insertDocumentLink = (href) => {\n const links = document.head.querySelectorAll('link');\n // Already been injected\n for (const index in links)\n if (links[index].href === href)\n return;\n const link = document.createElement('link');\n link.rel = 'stylesheet';\n link.href = href;\n document.head.appendChild(link);\n};\n","import { __decorate } from \"tslib\";\nimport { customElement, FASTElement, observable } from '@microsoft/fast-element';\n/**\n * A custom element that encapsulates a set of styles that can be applied to slotted elements.\n * @public\n */\nlet SlottedStyles = class SlottedStyles extends FASTElement {\n /**\n * Called when the `styles` property changes.\n * Removes the previous styles from the parent element's FAST controller and adds the new styles.\n * @param prev - The previous value of the `styles` property.\n * @param next - The new value of the `styles` property.\n */\n stylesChanged(prev, next) {\n if (prev) {\n this.parentElement.$fastController.removeStyles(prev);\n }\n this.parentElement.$fastController.addStyles(next);\n }\n};\n__decorate([\n observable\n], SlottedStyles.prototype, \"styles\", void 0);\nSlottedStyles = __decorate([\n customElement({\n name: 'slotted-styles',\n })\n /**\n * A custom element that encapsulates a set of styles that can be applied to slotted elements.\n */\n], SlottedStyles);\nexport { SlottedStyles };\n","import { insertDocumentCSSRule } from './dom';\n/**\n * Loads font faces by inserting a style element with the specified font face rules into the document.\n * @param fontFaceRules - The CSS rules for the font faces.\n * @param styleElementId - The ID of the style element to insert into the document.\n * @public\n */\nexport const loadFontFaces = (fontFaceRules, styleElementId) => {\n insertDocumentCSSRule(fontFaceRules, styleElementId);\n};\n/**\n * An enum of possible font styles.\n * @public\n */\nexport var FontStyle;\n(function (FontStyle) {\n FontStyle[\"Italic\"] = \"italic\";\n FontStyle[\"Normal\"] = \"normal\";\n})(FontStyle || (FontStyle = {}));\n/**\n * An enum of possible font weights.\n * @public\n */\nexport var FontWeight;\n(function (FontWeight) {\n FontWeight[FontWeight[\"Thin\"] = 100] = \"Thin\";\n FontWeight[FontWeight[\"Light\"] = 300] = \"Light\";\n FontWeight[FontWeight[\"Regular\"] = 400] = \"Regular\";\n FontWeight[FontWeight[\"Medium\"] = 500] = \"Medium\";\n FontWeight[FontWeight[\"Bold\"] = 700] = \"Bold\";\n FontWeight[FontWeight[\"Black\"] = 900] = \"Black\";\n})(FontWeight || (FontWeight = {}));\n/**\n * Generates a CSS mixin for the specified font family, style, and weight.\n * @param family - The font family.\n * @param style - Optional. The font style. Defaults to FontStyle.Normal.\n * @param weight - Optional. The font weight. Defaults to FontWeight.Regular.\n * @returns The generated CSS mixin.\n * @public\n */\nexport const getFontMixin = (family, style = FontStyle.Normal, weight = FontWeight.Regular) => `\n font-family: ${family};\n font-style: ${style};\n font-weight: ${weight};\n`;\n/**\n * An object containing type ramp values.\n * @public\n */\nexport const TypeRampValues = {\n minusOne: -1,\n minusTwo: -2,\n plusOne: 1,\n plusTwo: 2,\n plusThree: 3,\n plusFour: 4,\n plusFive: 5,\n plusSix: 6,\n};\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import { __awaiter } from \"tslib\";\nimport { DI } from '@microsoft/fast-foundation';\nimport { v4 as uuidv4 } from 'uuid';\nimport { logger } from '../utils';\n/**\n * A service that implements the UUID interface and provides default UUID generation using the uuidv4 library.\n */\nclass UUIDService {\n /**\n * Constructs a new instance of the UUIDService.\n */\n constructor() { }\n /**\n * Generates a new UUID.\n * @param withLogging - Optional. Whether to log the generated UUID to the console. Defaults to false.\n * @returns The generated UUID.\n */\n createId(withLogging = false) {\n /**\n * Use this.config to customize uuidv4.\n */\n const id = uuidv4();\n withLogging && logger.debug(`UUID.createID ${id}`);\n return id;\n }\n /**\n * Generates a new UUID for a remote object.\n * @param withLogging - Optional. Whether to log the generated UUID to the console. Defaults to false.\n * @returns A promise that resolves to the generated UUID.\n */\n createRemoteId(withLogging = false) {\n return __awaiter(this, void 0, void 0, function* () {\n /**\n * TODO: Revisit async nature of id generation with potential server involvement\n * Use this.config to customize uuidv4.\n */\n const id = uuidv4();\n withLogging && logger.debug(`UUID.createRemoteID ${id}`);\n return id;\n });\n }\n}\n/**\n * A dependency injection token for the UUID interface.\n * @public\n */\nexport const UUID = DI.createInterface((x) => x.singleton(UUIDService));\n","/**\n * Returns a boolean value indicating whether the current window is inside an iframe.\n * @returns true if the window is inside an iframe, false otherwise.\n * @public\n */\nexport const inIFrame = () => {\n try {\n return window.self !== window.top;\n }\n catch (e) {\n return true;\n }\n};\n/**\n * Returns a boolean value indicating whether the user is running the Symphony desktop app.\n * @returns true if the user is running the Symphony desktop app, false otherwise.\n * @public\n */\nexport const inSymphonyDesktop = () => {\n const userAgent = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent;\n return (userAgent === null || userAgent === void 0 ? void 0 : userAgent.includes('Symphony')) && (userAgent === null || userAgent === void 0 ? void 0 : userAgent.includes('Electron'));\n};\n/**\n * The default width (in pixels) for pop-up windows.\n * @public\n */\nexport const POPUP_DEFAULT_WIDTH = 483;\n/**\n * The default height (in pixels) for pop-up windows.\n * @public\n */\nexport const POPUP_DEFAULT_HEIGHT = 600;\n/**\n * Opens a new browser window with the specified URL, target, width, and height.\n * @param urlNavigate - The URL to navigate to.\n * @param target - The name of the new window.\n * @param popUpWidth - The width of the new window (optional).\n * @param popUpHeight - The height of the new window (optional).\n * @returns A reference to the new window.\n * @public\n */\nexport const openPopup = (urlNavigate, target, popUpWidth = POPUP_DEFAULT_WIDTH, popUpHeight = POPUP_DEFAULT_HEIGHT) => {\n const left = window.innerWidth / 2 - popUpWidth / 2 + window.screenX;\n const top = window.innerHeight / 2 - popUpHeight / 2 + window.screenY;\n const popupWindow = window.open(urlNavigate, target, 'width=' +\n popUpWidth +\n ', height=' +\n popUpHeight +\n ', top=' +\n top +\n ', left=' +\n left +\n ', scrollbars=yes');\n if (popupWindow.focus) {\n popupWindow.focus();\n }\n return popupWindow;\n};\n"],"sourceRoot":""}
@@ -1,3 +0,0 @@
1
- /*! For license information please see 623.623.3ad1883062248da0cc57.js.LICENSE.txt */
2
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[623,914],{39861:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{N:()=>r})},61642:(e,t,n)=>{"use strict";n.d(t,{EB:()=>g,Wq:()=>p});var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},l=function(e){return"INPUT"===e.tagName},d=function(e){return function(e){return l(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||u(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},s=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},f=function(e,t){return!(t.disabled||function(e){return l(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;var i=u(e).host,c=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return s(e)}else{if("function"==typeof r){for(var l=e;e;){var d=e.parentElement,f=u(e);if(d&&!d.shadowRoot&&!0===r(d))return s(e);e=e.assignedSlot?e.assignedSlot:d||f===e.ownerDocument?d:f.host}e=l}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(d(t)||c(t)<0||!f(e,t))},p=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&m(t,e)},h=r.concat("iframe").join(","),g=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,h)&&f(t,e)}}}]);
3
- //# sourceMappingURL=623.ad26f279ca10d852527c610b0f0c829fcf0a51f6c65aabb3272e75ea009c0126.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/design-system-configurator/../node_modules/exenv-es6/dist/can-use-dom.js","webpack://@genesislcap/design-system-configurator/../node_modules/tabbable/dist/index.esm.js"],"names":["canUseDOM","window","document","createElement","candidateSelectors","candidateSelector","join","NoElement","Element","matches","prototype","msMatchesSelector","webkitMatchesSelector","getRootNode","element","ownerDocument","getTabindex","node","isScope","tabIndex","test","tagName","isContentEditable","isNaN","parseInt","getAttribute","isInput","isNonTabbableRadio","type","isRadio","name","radioSet","radioScope","form","queryRadios","querySelectorAll","CSS","escape","err","console","error","message","checked","nodes","i","length","getCheckedRadio","isTabbableRadio","isZeroArea","_node$getBoundingClie","getBoundingClientRect","width","height","isNodeMatchingSelectorFocusable","options","disabled","isHiddenInput","_ref","displayCheck","getShadowRoot","getComputedStyle","visibility","nodeUnderDetails","call","parentElement","nodeRootHost","host","nodeIsAttached","contains","originalNode","rootNode","shadowRoot","assignedSlot","getClientRects","isHidden","Array","slice","apply","children","some","child","isDetailsWithSummary","parentNode","item","isDisabledFromFieldset","isNodeMatchingSelectorTabbable","isTabbable","Error","focusableCandidateSelector","concat","isFocusable"],"mappings":";sKAGO,SAASA,IACZ,QAA4B,oBAAXC,SAA0BA,OAAOC,WAAYD,OAAOC,SAASC,cAClF,C,0ECDA,IAAIC,EAAqB,CAAC,QAAS,SAAU,WAAY,UAAW,SAAU,uBAAwB,kBAAmB,kBAAmB,mDAAoD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n * Checks if the DOM is available to access and use\n */\nexport function canUseDOM() {\n return !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\n}\n","/*!\n* tabbable 5.3.3\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\nvar candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])', 'details>summary:first-of-type', 'details'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n return element.getRootNode();\n} : function (element) {\n return element.ownerDocument;\n};\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\n\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n\n candidates = candidates.filter(filter);\n return candidates;\n};\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidatesScope\n * @property {Element} scope contains inner candidates\n * @property {Element[]} candidates\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidatesScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidatesScope>}\n */\n\n\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scope: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n } // iterate over shadow content if possible\n\n\n var shadowRoot = element.shadowRoot || // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);\n\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scope: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n\n return candidates;\n};\n\nvar getTabindex = function getTabindex(node, isScope) {\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n //\n // isScope is positive for custom element with shadow root or slot that by default\n // have tabIndex -1, but need to be sorted by document order in order for their\n // content to be inserted in the correct position\n if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || node.isContentEditable) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {\n return 0;\n }\n }\n\n return node.tabIndex;\n};\n\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\n\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\n\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\n\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\n\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\n\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n\n var radioScope = node.form || getRootNode(node);\n\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n\n var radioSet;\n\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\n\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\n\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n\n return width === 0 && height === 0;\n};\n\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n } // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n\n\n var nodeRootHost = getRootNode(node).host;\n var nodeIsAttached = (nodeRootHost === null || nodeRootHost === void 0 ? void 0 : nodeRootHost.ownerDocument.contains(nodeRootHost)) || node.ownerDocument.contains(node);\n\n if (!displayCheck || displayCheck === 'full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n\n node = originalNode;\n } // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n\n if (nodeIsAttached) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n } // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n } // visible, as far as we can tell, or per current `displayCheck` mode\n\n\n return false;\n}; // form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\n\n\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement; // check if `node` is contained in a disabled <fieldset>\n\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i); // when the first <legend> (in document order) is found\n\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n } // the disabled <fieldset> containing `node` has no <legend>\n\n\n return true;\n }\n\n parentNode = parentNode.parentElement;\n }\n } // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n\n\n return false;\n};\n\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n\n return true;\n};\n\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabindex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n\n return true;\n};\n\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n } // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n\n\n return false;\n};\n/**\n * @param {Array.<Element|CandidatesScope>} candidates\n * @returns Element[]\n */\n\n\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scope;\n var element = isScope ? item.scope : item;\n var candidateTabindex = getTabindex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\n\nvar tabbable = function tabbable(el, options) {\n options = options || {};\n var candidates;\n\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([el], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n\n return sortByOrder(candidates);\n};\n\nvar focusable = function focusable(el, options) {\n options = options || {};\n var candidates;\n\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([el], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n\n return candidates;\n};\n\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n\n return isNodeMatchingSelectorTabbable(options, node);\n};\n\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\n\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n"],"sourceRoot":""}