@tempots/beatui 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/{2019-DWRjZU7G.cjs → 2019-Bl1mhxeM.cjs} +1 -1
  2. package/dist/{2019-CQWyTvCk.js → 2019-Cd9nHhvg.js} +2 -2
  3. package/dist/{2020-B5opG6JJ.cjs → 2020-BKqFJLj6.cjs} +1 -1
  4. package/dist/{2020-Dv6iZ0kg.js → 2020-CyKJpuK6.js} +2 -2
  5. package/dist/{ar-Xt0B1GBx.cjs → ar-CbsALGhG.cjs} +1 -1
  6. package/dist/{ar-L29B4drg.js → ar-Dz8Mg5la.js} +1 -1
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +3 -3
  9. package/dist/beatui.css +1 -0
  10. package/dist/beatui.tailwind.css +1 -0
  11. package/dist/{de-BBH6Q1uM.cjs → de-MO-u5hoD.cjs} +1 -1
  12. package/dist/{de-BL9YMCWJ.js → de-ToWTQGEo.js} +1 -1
  13. package/dist/{es-3mljmytv.cjs → es-CqkWVfis.cjs} +1 -1
  14. package/dist/{es-CS4u7MZp.js → es-CruxS0Tz.js} +1 -1
  15. package/dist/{fa-_5IxCXGI.js → fa-Cf0NZLWA.js} +1 -1
  16. package/dist/{fa-C06uowfA.cjs → fa-DR8j7v-l.cjs} +1 -1
  17. package/dist/{fr-ZoJsA1s0.cjs → fr-ClK0mWTO.cjs} +1 -1
  18. package/dist/{fr-B-ZWm43Y.js → fr-YKXmqMGr.js} +1 -1
  19. package/dist/{he-J-Bcrgy9.js → he-D8ZOduPw.js} +1 -1
  20. package/dist/{he-D-_HCjOB.cjs → he-DeJMBRTP.cjs} +1 -1
  21. package/dist/{hi-B9yNE6-J.cjs → hi-C9Anq8Ae.cjs} +1 -1
  22. package/dist/{hi-ClGaIH71.js → hi-CIamzVEf.js} +1 -1
  23. package/dist/{index-B8jOeOOB.js → index-0dpJGQbC.js} +2 -2
  24. package/dist/{index-zvVNcjMi.cjs → index-52kzSRNb.cjs} +1 -1
  25. package/dist/{index-CflXJ8xJ.cjs → index-5a6_6F3Z.cjs} +1 -1
  26. package/dist/{index-BCaOVY88.js → index-BGHGZg_7.js} +2 -2
  27. package/dist/{index-BICIDfB6.js → index-BMn-7Ble.js} +1 -1
  28. package/dist/{index-BSfK-Qwf.cjs → index-BR0F2BVZ.cjs} +1 -1
  29. package/dist/{index-DXB8LND-.cjs → index-BlCmv2EJ.cjs} +1 -1
  30. package/dist/{index-CiwYKSUt.js → index-BlamLFdS.js} +2 -2
  31. package/dist/{index-Cwsc5H7D.js → index-C0sjoDdy.js} +2 -2
  32. package/dist/{index-Bk0BtvLD.cjs → index-C9RMQY3t.cjs} +1 -1
  33. package/dist/{index-CN4vYjXL.js → index-CDBeAhhM.js} +2 -2
  34. package/dist/{index-ZuS9yWom.cjs → index-CH2HgQJF.cjs} +1 -1
  35. package/dist/{index-SPJ46EtH.js → index-CT9YDHSn.js} +4 -4
  36. package/dist/{index-BzaR8uM1.cjs → index-CUZnWZnQ.cjs} +1 -1
  37. package/dist/{index-DAdi5JJz.js → index-CVNvgkJN.js} +2 -2
  38. package/dist/{index-uOI0LXHI.cjs → index-C_NT6gCL.cjs} +1 -1
  39. package/dist/{index-4MNPHZD0.cjs → index-CafCsH0Z.cjs} +1 -1
  40. package/dist/{index-C7gZW1I3.cjs → index-Cei6J0b_.cjs} +6 -6
  41. package/dist/{index-C5uZbosj.js → index-CmcOKNW2.js} +3 -3
  42. package/dist/{index-C7NeFFtL.js → index-CvpdOKX2.js} +3 -3
  43. package/dist/{index-DKyf2VGu.cjs → index-CxE1PN5L.cjs} +1 -1
  44. package/dist/{index-CGAE3ijj.cjs → index-D2BpI4Zz.cjs} +1 -1
  45. package/dist/{index-DrNo6z9a.cjs → index-D40RPDMJ.cjs} +1 -1
  46. package/dist/{index-Dsgj-jNd.cjs → index-D5iq4kyE.cjs} +1 -1
  47. package/dist/{index-CcPQViQa.js → index-DDpjzV7E.js} +137 -134
  48. package/dist/{index-BJfkb8o6.js → index-DFJed4ks.js} +1 -1
  49. package/dist/{index-BvXl7BJD.cjs → index-DFzKuRY8.cjs} +1 -1
  50. package/dist/{index-ljok1ep6.cjs → index-DIO9qaw5.cjs} +1 -1
  51. package/dist/{index-CPUSDEhf.cjs → index-DIR2rO5B.cjs} +1 -1
  52. package/dist/{index-BKHqr1z2.js → index-DPnQDm6f.js} +2 -2
  53. package/dist/{index-C7L2gKXf.cjs → index-DU0jpFGR.cjs} +1 -1
  54. package/dist/{index-Bc-5l3Cz.cjs → index-DUvVsNDG.cjs} +1 -1
  55. package/dist/{index-Dr0vUVGJ.js → index-DVZnPL32.js} +4 -4
  56. package/dist/{index-CJIznGSs.js → index-DiYfLAVQ.js} +2 -2
  57. package/dist/{index-5kvan4pZ.js → index-DnIheaHS.js} +3 -3
  58. package/dist/{index-CTiwmXQv.cjs → index-Dp2K8q6O.cjs} +1 -1
  59. package/dist/{index-CEvEqrWz.js → index-DrlNzz-e.js} +2 -2
  60. package/dist/{index-0nXL1jt0.cjs → index-Dx9UDsJi.cjs} +1 -1
  61. package/dist/{index-8xL7lFvb.js → index-DxY-AOQA.js} +2 -2
  62. package/dist/{index-DZRUtuQ1.js → index-Mmd0YHPJ.js} +2 -2
  63. package/dist/{index-CKRtOTlW.js → index-NyiYUSW3.js} +4 -4
  64. package/dist/{index-BbKQCvSw.cjs → index-O9BwR_8P.cjs} +1 -1
  65. package/dist/{index-D6aavhaa.js → index-alBMysbQ.js} +2 -2
  66. package/dist/{index-DqP1O6vK.js → index-lEkIbMCl.js} +2 -2
  67. package/dist/{index-BSaEXg56.js → index-qwDdlmIi.js} +3 -3
  68. package/dist/{index-4pbqdHdu.cjs → index-x3mhc_C_.cjs} +1 -1
  69. package/dist/index.cjs.js +2 -2
  70. package/dist/index.es.js +196 -187
  71. package/dist/{it-D-bh7RoG.cjs → it-5n3LuTHe.cjs} +1 -1
  72. package/dist/{it-Dv8tmKm5.js → it-Bn7tG_KC.js} +1 -1
  73. package/dist/{ja-B4rdImcD.cjs → ja-Bdp4_B8-.cjs} +1 -1
  74. package/dist/{ja-BpqiZN5f.js → ja-i1ULXeiu.js} +1 -1
  75. package/dist/json-schema/index.cjs.js +1 -1
  76. package/dist/json-schema/index.es.js +1 -1
  77. package/dist/{ko-C43-vhJF.cjs → ko-B5SwKB-j.cjs} +1 -1
  78. package/dist/{ko-Bpa6y038.js → ko-BpKDmtvY.js} +1 -1
  79. package/dist/milkdown/index.cjs.js +1 -1
  80. package/dist/milkdown/index.es.js +1 -1
  81. package/dist/milkdown-input-Bkgdi-Bv.cjs +944 -0
  82. package/dist/{milkdown-input-BI5TwGax.js → milkdown-input-CciSI_a5.js} +14905 -13249
  83. package/dist/milkdown.css +1 -1
  84. package/dist/{modal-DKWKUrDF.cjs → modal-CAKAT7wv.cjs} +1 -1
  85. package/dist/{modal-Fect9dc4.js → modal-DvGSDVSv.js} +1 -1
  86. package/dist/{nl-DDjoZpiU.cjs → nl-Cenl4nr6.cjs} +1 -1
  87. package/dist/{nl-B5HYWGRz.js → nl-Cs4PDWCJ.js} +1 -1
  88. package/dist/{notice-DrmHRjLV.cjs → notice-DBME6bFw.cjs} +2 -2
  89. package/dist/{notice-DKO4C8y2.js → notice-DVEacWKt.js} +2 -1
  90. package/dist/{pl-CXYiY-nR.cjs → pl-7xYNCk-v.cjs} +1 -1
  91. package/dist/{pl-DksXqLHk.js → pl-BFLNf991.js} +1 -1
  92. package/dist/{pt-7-6UhRtW.js → pt-BRZeOkcE.js} +1 -1
  93. package/dist/{pt-CnC1YN5K.cjs → pt-DOLL0Jpj.cjs} +1 -1
  94. package/dist/{ru-_1DUTMUW.cjs → ru-DoS9XuqG.cjs} +1 -1
  95. package/dist/{ru-I676X0Bt.js → ru-KI7Gowz-.js} +1 -1
  96. package/dist/{tr-DA-8X7MK.cjs → tr-BVmoz40w.cjs} +1 -1
  97. package/dist/{tr-CssmRZfH.js → tr-CYk8Fua5.js} +1 -1
  98. package/dist/{translations-BBguPjg9.js → translations-DdNHXAWr.js} +1 -1
  99. package/dist/{translations-CrqWcCGM.cjs → translations-Dv56lQia.cjs} +1 -1
  100. package/dist/{ur-BCWL2ev1.js → ur-BIcZGLWt.js} +1 -1
  101. package/dist/{ur-B1YkWWDx.cjs → ur-orNTOdMP.cjs} +1 -1
  102. package/dist/{utils-BvhSkzHe.js → utils-D1op9R8_.js} +720 -714
  103. package/dist/utils-Dobqjl2y.cjs +1 -0
  104. package/dist/{vi-DA-qqgHJ.cjs → vi-BWyUDP07.cjs} +1 -1
  105. package/dist/{vi-D5K4x_hN.js → vi-BeK62QeB.js} +1 -1
  106. package/dist/{zh-HUwi9F-w.js → zh-Dt6yWDu2.js} +1 -1
  107. package/dist/{zh-B4HcAg-5.cjs → zh-RVJj1NQq.cjs} +1 -1
  108. package/package.json +18 -18
  109. package/dist/milkdown-input-CdJ7N_YZ.cjs +0 -941
  110. package/dist/utils-Bc6SKJnK.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";const q=require("./_commonjsHelpers-DwGv2jUC.cjs"),c=require("./index-C7gZW1I3.cjs"),y=require("./index-BbKQCvSw.cjs");function P(n,e){for(var o=0;o<e.length;o++){const t=e[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in n)){const s=Object.getOwnPropertyDescriptor(t,r);s&&Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}},$={};const R="https://json-schema.org/draft/2019-09/schema",O="https://json-schema.org/draft/2019-09/schema",M={"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},I=!0,N="Core and Validation specifications meta-schema",S=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],C=["object","boolean"],D={definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}},E={$schema:R,$id:O,$vocabulary:M,$recursiveAnchor:I,title:N,allOf:S,type:C,properties:D},V="https://json-schema.org/draft/2019-09/schema",w="https://json-schema.org/draft/2019-09/meta/applicator",T={"https://json-schema.org/draft/2019-09/vocab/applicator":!0},x=!0,k="Applicator vocabulary meta-schema",K=["object","boolean"],z={additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},G={schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}},F={$schema:V,$id:w,$vocabulary:T,$recursiveAnchor:x,title:k,type:K,properties:z,$defs:G},H="https://json-schema.org/draft/2019-09/schema",J="https://json-schema.org/draft/2019-09/meta/content",L={"https://json-schema.org/draft/2019-09/vocab/content":!0},U=!0,Z="Content vocabulary meta-schema",W=["object","boolean"],B={contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}},Q={$schema:H,$id:J,$vocabulary:L,$recursiveAnchor:U,title:Z,type:W,properties:B},X="https://json-schema.org/draft/2019-09/schema",Y="https://json-schema.org/draft/2019-09/meta/core",ee={"https://json-schema.org/draft/2019-09/vocab/core":!0},te=!0,re="Core vocabulary meta-schema",ae=["object","boolean"],ne={$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}},oe={$schema:X,$id:Y,$vocabulary:ee,$recursiveAnchor:te,title:re,type:ae,properties:ne},se="https://json-schema.org/draft/2019-09/schema",ie="https://json-schema.org/draft/2019-09/meta/format",ce={"https://json-schema.org/draft/2019-09/vocab/format":!0},ue=!0,de="Format vocabulary meta-schema",fe=["object","boolean"],me={format:{type:"string"}},$e={$schema:se,$id:ie,$vocabulary:ce,$recursiveAnchor:ue,title:de,type:fe,properties:me},le="https://json-schema.org/draft/2019-09/schema",pe="https://json-schema.org/draft/2019-09/meta/meta-data",he={"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},ye=!0,ve="Meta-data vocabulary meta-schema",ge=["object","boolean"],be={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},je={$schema:le,$id:pe,$vocabulary:he,$recursiveAnchor:ye,title:ve,type:ge,properties:be},_e="https://json-schema.org/draft/2019-09/schema",Ae="https://json-schema.org/draft/2019-09/meta/validation",qe={"https://json-schema.org/draft/2019-09/vocab/validation":!0},Pe=!0,Re="Validation vocabulary meta-schema",Oe=["object","boolean"],Me={multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},Ie={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Ne={$schema:_e,$id:Ae,$vocabulary:qe,$recursiveAnchor:Pe,title:Re,type:Oe,properties:Me,$defs:Ie};var v;function Se(){if(v)return $;v=1,Object.defineProperty($,"__esModule",{value:!0});const n=E,e=F,o=Q,t=oe,r=$e,s=je,l=Ne,p=["/properties"];function h(u){return[n,e,o,t,i(this,r),s,i(this,l)].forEach(d=>this.addMetaSchema(d,void 0,!1)),this;function i(d,a){return u?d.$dataMetaSchema(a,p):a}}return $.default=h,$}var g;function Ce(){return g||(g=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2019=void 0;const o=c.requireCore(),t=c.requireDraft7(),r=y.requireDynamic(),s=y.requireNext(),l=y.requireUnevaluated(),p=c.requireDiscriminator(),h=Se(),u="https://json-schema.org/draft/2019-09/schema";class i extends o.default{constructor(f={}){super({...f,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(r.default),t.default.forEach(f=>this.addVocabulary(f)),this.addVocabulary(s.default),this.addVocabulary(l.default),this.opts.discriminator&&this.addKeyword(p.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:f,meta:A}=this.opts;A&&(h.default.call(this,f),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}e.Ajv2019=i,n.exports=e=i,n.exports.Ajv2019=i,Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var d=c.requireValidate();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var a=c.requireCodegen();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});var j=c.requireValidation_error();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return j.default}});var _=c.requireRef_error();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return _.default}})}(m,m.exports)),m.exports}var b=Ce();const De=q.getDefaultExportFromCjs(b),Ee=P({__proto__:null,default:De},[b]);exports._2019=Ee;
1
+ "use strict";const q=require("./_commonjsHelpers-DwGv2jUC.cjs"),c=require("./index-Cei6J0b_.cjs"),y=require("./index-O9BwR_8P.cjs");function P(n,e){for(var o=0;o<e.length;o++){const t=e[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in n)){const s=Object.getOwnPropertyDescriptor(t,r);s&&Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}},$={};const R="https://json-schema.org/draft/2019-09/schema",O="https://json-schema.org/draft/2019-09/schema",M={"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},I=!0,N="Core and Validation specifications meta-schema",S=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],C=["object","boolean"],D={definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}},E={$schema:R,$id:O,$vocabulary:M,$recursiveAnchor:I,title:N,allOf:S,type:C,properties:D},V="https://json-schema.org/draft/2019-09/schema",w="https://json-schema.org/draft/2019-09/meta/applicator",T={"https://json-schema.org/draft/2019-09/vocab/applicator":!0},x=!0,k="Applicator vocabulary meta-schema",K=["object","boolean"],z={additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},G={schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}},F={$schema:V,$id:w,$vocabulary:T,$recursiveAnchor:x,title:k,type:K,properties:z,$defs:G},H="https://json-schema.org/draft/2019-09/schema",J="https://json-schema.org/draft/2019-09/meta/content",L={"https://json-schema.org/draft/2019-09/vocab/content":!0},U=!0,Z="Content vocabulary meta-schema",W=["object","boolean"],B={contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}},Q={$schema:H,$id:J,$vocabulary:L,$recursiveAnchor:U,title:Z,type:W,properties:B},X="https://json-schema.org/draft/2019-09/schema",Y="https://json-schema.org/draft/2019-09/meta/core",ee={"https://json-schema.org/draft/2019-09/vocab/core":!0},te=!0,re="Core vocabulary meta-schema",ae=["object","boolean"],ne={$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}},oe={$schema:X,$id:Y,$vocabulary:ee,$recursiveAnchor:te,title:re,type:ae,properties:ne},se="https://json-schema.org/draft/2019-09/schema",ie="https://json-schema.org/draft/2019-09/meta/format",ce={"https://json-schema.org/draft/2019-09/vocab/format":!0},ue=!0,de="Format vocabulary meta-schema",fe=["object","boolean"],me={format:{type:"string"}},$e={$schema:se,$id:ie,$vocabulary:ce,$recursiveAnchor:ue,title:de,type:fe,properties:me},le="https://json-schema.org/draft/2019-09/schema",pe="https://json-schema.org/draft/2019-09/meta/meta-data",he={"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},ye=!0,ve="Meta-data vocabulary meta-schema",ge=["object","boolean"],be={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},je={$schema:le,$id:pe,$vocabulary:he,$recursiveAnchor:ye,title:ve,type:ge,properties:be},_e="https://json-schema.org/draft/2019-09/schema",Ae="https://json-schema.org/draft/2019-09/meta/validation",qe={"https://json-schema.org/draft/2019-09/vocab/validation":!0},Pe=!0,Re="Validation vocabulary meta-schema",Oe=["object","boolean"],Me={multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},Ie={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Ne={$schema:_e,$id:Ae,$vocabulary:qe,$recursiveAnchor:Pe,title:Re,type:Oe,properties:Me,$defs:Ie};var v;function Se(){if(v)return $;v=1,Object.defineProperty($,"__esModule",{value:!0});const n=E,e=F,o=Q,t=oe,r=$e,s=je,l=Ne,p=["/properties"];function h(u){return[n,e,o,t,i(this,r),s,i(this,l)].forEach(d=>this.addMetaSchema(d,void 0,!1)),this;function i(d,a){return u?d.$dataMetaSchema(a,p):a}}return $.default=h,$}var g;function Ce(){return g||(g=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2019=void 0;const o=c.requireCore(),t=c.requireDraft7(),r=y.requireDynamic(),s=y.requireNext(),l=y.requireUnevaluated(),p=c.requireDiscriminator(),h=Se(),u="https://json-schema.org/draft/2019-09/schema";class i extends o.default{constructor(f={}){super({...f,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(r.default),t.default.forEach(f=>this.addVocabulary(f)),this.addVocabulary(s.default),this.addVocabulary(l.default),this.opts.discriminator&&this.addKeyword(p.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:f,meta:A}=this.opts;A&&(h.default.call(this,f),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}e.Ajv2019=i,n.exports=e=i,n.exports.Ajv2019=i,Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var d=c.requireValidate();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var a=c.requireCodegen();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});var j=c.requireValidation_error();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return j.default}});var _=c.requireRef_error();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return _.default}})}(m,m.exports)),m.exports}var b=Ce();const De=q.getDefaultExportFromCjs(b),Ee=P({__proto__:null,default:De},[b]);exports._2019=Ee;
@@ -1,6 +1,6 @@
1
1
  import { g as _ } from "./_commonjsHelpers-C6fGbg64.js";
2
- import { r as A, a as P, b as R, c as O, d as q, e as M, f as I } from "./index-CcPQViQa.js";
3
- import { r as N, a as S, b as C } from "./index-BJfkb8o6.js";
2
+ import { r as A, a as P, b as R, c as O, d as q, e as M, f as I } from "./index-DDpjzV7E.js";
3
+ import { r as N, a as S, b as C } from "./index-DFJed4ks.js";
4
4
  function D(o, e) {
5
5
  for (var n = 0; n < e.length; n++) {
6
6
  const t = e[n];
@@ -1 +1 @@
1
- "use strict";const q=require("./_commonjsHelpers-DwGv2jUC.cjs"),r=require("./index-C7gZW1I3.cjs"),b=require("./index-BbKQCvSw.cjs");function R(n,e){for(var o=0;o<e.length;o++){const t=e[o];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in n)){const s=Object.getOwnPropertyDescriptor(t,a);s&&Object.defineProperty(n,a,s.get?s:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}},p={},g;function P(){if(g)return p;g=1,Object.defineProperty(p,"__esModule",{value:!0});const n=r.requireCore$1(),e=r.requireValidation(),o=r.requireApplicator(),t=b.requireDynamic(),a=b.requireNext(),s=b.requireUnevaluated(),m=r.requireFormat(),c=r.requireMetadata(),u=[t.default,n.default,e.default,(0,o.default)(!0),m.default,c.metadataVocabulary,c.contentVocabulary,a.default,s.default];return p.default=u,p}var y={};const S="https://json-schema.org/draft/2020-12/schema",O="https://json-schema.org/draft/2020-12/schema",M={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},I="meta",N="Core and Validation specifications meta-schema",C=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],D=["object","boolean"],V="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",E={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},T={$schema:S,$id:O,$vocabulary:M,$dynamicAnchor:I,title:N,allOf:C,type:D,$comment:V,properties:E},w="https://json-schema.org/draft/2020-12/schema",x="https://json-schema.org/draft/2020-12/meta/applicator",K={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},z="meta",F="Applicator vocabulary meta-schema",G=["object","boolean"],U={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},k={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},H={$schema:w,$id:x,$vocabulary:K,$dynamicAnchor:z,title:F,type:G,properties:U,$defs:k},J="https://json-schema.org/draft/2020-12/schema",L="https://json-schema.org/draft/2020-12/meta/unevaluated",Z={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},B="meta",Q="Unevaluated applicator vocabulary meta-schema",W=["object","boolean"],X={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Y={$schema:J,$id:L,$vocabulary:Z,$dynamicAnchor:B,title:Q,type:W,properties:X},ee="https://json-schema.org/draft/2020-12/schema",te="https://json-schema.org/draft/2020-12/meta/content",ae={"https://json-schema.org/draft/2020-12/vocab/content":!0},re="meta",ne="Content vocabulary meta-schema",oe=["object","boolean"],se={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},ce={$schema:ee,$id:te,$vocabulary:ae,$dynamicAnchor:re,title:ne,type:oe,properties:se},ie="https://json-schema.org/draft/2020-12/schema",de="https://json-schema.org/draft/2020-12/meta/core",me={"https://json-schema.org/draft/2020-12/vocab/core":!0},ue="meta",fe="Core vocabulary meta-schema",$e=["object","boolean"],le={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},pe={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},ye={$schema:ie,$id:de,$vocabulary:me,$dynamicAnchor:ue,title:fe,type:$e,properties:le,$defs:pe},he="https://json-schema.org/draft/2020-12/schema",be="https://json-schema.org/draft/2020-12/meta/format-annotation",ge={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},ve="meta",je="Format vocabulary meta-schema for annotation results",_e=["object","boolean"],Ae={format:{type:"string"}},qe={$schema:he,$id:be,$vocabulary:ge,$dynamicAnchor:ve,title:je,type:_e,properties:Ae},Re="https://json-schema.org/draft/2020-12/schema",Pe="https://json-schema.org/draft/2020-12/meta/meta-data",Se={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},Oe="meta",Me="Meta-data vocabulary meta-schema",Ie=["object","boolean"],Ne={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Ce={$schema:Re,$id:Pe,$vocabulary:Se,$dynamicAnchor:Oe,title:Me,type:Ie,properties:Ne},De="https://json-schema.org/draft/2020-12/schema",Ve="https://json-schema.org/draft/2020-12/meta/validation",Ee={"https://json-schema.org/draft/2020-12/vocab/validation":!0},Te="meta",we="Validation vocabulary meta-schema",xe=["object","boolean"],Ke={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},ze={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Fe={$schema:De,$id:Ve,$vocabulary:Ee,$dynamicAnchor:Te,title:we,type:xe,properties:Ke,$defs:ze};var v;function Ge(){if(v)return y;v=1,Object.defineProperty(y,"__esModule",{value:!0});const n=T,e=H,o=Y,t=ce,a=ye,s=qe,m=Ce,c=Fe,u=["/properties"];function i(h){return[n,e,o,t,a,f(this,s),m,f(this,c)].forEach($=>this.addMetaSchema($,void 0,!1)),this;function f($,d){return h?$.$dataMetaSchema(d,u):d}}return y.default=i,y}var j;function Ue(){return j||(j=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2020=void 0;const o=r.requireCore(),t=P(),a=r.requireDiscriminator(),s=Ge(),m="https://json-schema.org/draft/2020-12/schema";class c extends o.default{constructor(d={}){super({...d,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),t.default.forEach(d=>this.addVocabulary(d)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:d,meta:A}=this.opts;A&&(s.default.call(this,d),this.refs["http://json-schema.org/schema"]=m)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(m)?m:void 0)}}e.Ajv2020=c,n.exports=e=c,n.exports.Ajv2020=c,Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var u=r.requireValidate();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var i=r.requireCodegen();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});var h=r.requireValidation_error();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=r.requireRef_error();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return f.default}})}(l,l.exports)),l.exports}var _=Ue();const ke=q.getDefaultExportFromCjs(_),He=R({__proto__:null,default:ke},[_]);exports._2020=He;
1
+ "use strict";const q=require("./_commonjsHelpers-DwGv2jUC.cjs"),r=require("./index-Cei6J0b_.cjs"),b=require("./index-O9BwR_8P.cjs");function R(n,e){for(var o=0;o<e.length;o++){const t=e[o];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in n)){const s=Object.getOwnPropertyDescriptor(t,a);s&&Object.defineProperty(n,a,s.get?s:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}},p={},g;function P(){if(g)return p;g=1,Object.defineProperty(p,"__esModule",{value:!0});const n=r.requireCore$1(),e=r.requireValidation(),o=r.requireApplicator(),t=b.requireDynamic(),a=b.requireNext(),s=b.requireUnevaluated(),m=r.requireFormat(),c=r.requireMetadata(),u=[t.default,n.default,e.default,(0,o.default)(!0),m.default,c.metadataVocabulary,c.contentVocabulary,a.default,s.default];return p.default=u,p}var y={};const S="https://json-schema.org/draft/2020-12/schema",O="https://json-schema.org/draft/2020-12/schema",M={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},I="meta",N="Core and Validation specifications meta-schema",C=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],D=["object","boolean"],V="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",E={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},T={$schema:S,$id:O,$vocabulary:M,$dynamicAnchor:I,title:N,allOf:C,type:D,$comment:V,properties:E},w="https://json-schema.org/draft/2020-12/schema",x="https://json-schema.org/draft/2020-12/meta/applicator",K={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},z="meta",F="Applicator vocabulary meta-schema",G=["object","boolean"],U={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},k={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},H={$schema:w,$id:x,$vocabulary:K,$dynamicAnchor:z,title:F,type:G,properties:U,$defs:k},J="https://json-schema.org/draft/2020-12/schema",L="https://json-schema.org/draft/2020-12/meta/unevaluated",Z={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},B="meta",Q="Unevaluated applicator vocabulary meta-schema",W=["object","boolean"],X={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Y={$schema:J,$id:L,$vocabulary:Z,$dynamicAnchor:B,title:Q,type:W,properties:X},ee="https://json-schema.org/draft/2020-12/schema",te="https://json-schema.org/draft/2020-12/meta/content",ae={"https://json-schema.org/draft/2020-12/vocab/content":!0},re="meta",ne="Content vocabulary meta-schema",oe=["object","boolean"],se={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},ce={$schema:ee,$id:te,$vocabulary:ae,$dynamicAnchor:re,title:ne,type:oe,properties:se},ie="https://json-schema.org/draft/2020-12/schema",de="https://json-schema.org/draft/2020-12/meta/core",me={"https://json-schema.org/draft/2020-12/vocab/core":!0},ue="meta",fe="Core vocabulary meta-schema",$e=["object","boolean"],le={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},pe={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},ye={$schema:ie,$id:de,$vocabulary:me,$dynamicAnchor:ue,title:fe,type:$e,properties:le,$defs:pe},he="https://json-schema.org/draft/2020-12/schema",be="https://json-schema.org/draft/2020-12/meta/format-annotation",ge={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},ve="meta",je="Format vocabulary meta-schema for annotation results",_e=["object","boolean"],Ae={format:{type:"string"}},qe={$schema:he,$id:be,$vocabulary:ge,$dynamicAnchor:ve,title:je,type:_e,properties:Ae},Re="https://json-schema.org/draft/2020-12/schema",Pe="https://json-schema.org/draft/2020-12/meta/meta-data",Se={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},Oe="meta",Me="Meta-data vocabulary meta-schema",Ie=["object","boolean"],Ne={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Ce={$schema:Re,$id:Pe,$vocabulary:Se,$dynamicAnchor:Oe,title:Me,type:Ie,properties:Ne},De="https://json-schema.org/draft/2020-12/schema",Ve="https://json-schema.org/draft/2020-12/meta/validation",Ee={"https://json-schema.org/draft/2020-12/vocab/validation":!0},Te="meta",we="Validation vocabulary meta-schema",xe=["object","boolean"],Ke={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},ze={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Fe={$schema:De,$id:Ve,$vocabulary:Ee,$dynamicAnchor:Te,title:we,type:xe,properties:Ke,$defs:ze};var v;function Ge(){if(v)return y;v=1,Object.defineProperty(y,"__esModule",{value:!0});const n=T,e=H,o=Y,t=ce,a=ye,s=qe,m=Ce,c=Fe,u=["/properties"];function i(h){return[n,e,o,t,a,f(this,s),m,f(this,c)].forEach($=>this.addMetaSchema($,void 0,!1)),this;function f($,d){return h?$.$dataMetaSchema(d,u):d}}return y.default=i,y}var j;function Ue(){return j||(j=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2020=void 0;const o=r.requireCore(),t=P(),a=r.requireDiscriminator(),s=Ge(),m="https://json-schema.org/draft/2020-12/schema";class c extends o.default{constructor(d={}){super({...d,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),t.default.forEach(d=>this.addVocabulary(d)),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:d,meta:A}=this.opts;A&&(s.default.call(this,d),this.refs["http://json-schema.org/schema"]=m)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(m)?m:void 0)}}e.Ajv2020=c,n.exports=e=c,n.exports.Ajv2020=c,Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var u=r.requireValidate();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var i=r.requireCodegen();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});var h=r.requireValidation_error();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=r.requireRef_error();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return f.default}})}(l,l.exports)),l.exports}var _=Ue();const ke=q.getDefaultExportFromCjs(_),He=R({__proto__:null,default:ke},[_]);exports._2020=He;
@@ -1,6 +1,6 @@
1
1
  import { g as _ } from "./_commonjsHelpers-C6fGbg64.js";
2
- import { g as A, h as R, i as q, j as P, k as S, r as O, b as M, c as I, d as N, e as C, f as D } from "./index-CcPQViQa.js";
3
- import { r as V, a as E, b as T } from "./index-BJfkb8o6.js";
2
+ import { g as A, h as R, i as q, j as P, k as S, r as O, b as M, c as I, d as N, e as C, f as D } from "./index-DDpjzV7E.js";
3
+ import { r as V, a as E, b as T } from "./index-DFJed4ks.js";
4
4
  function w(r, e) {
5
5
  for (var n = 0; n < e.length; n++) {
6
6
  const t = e[n];
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DrmHRjLV.cjs"),a={loadingExtended:"جاري التحميل، يرجى الانتظار",loadingShort:"جاري التحميل...",locale:"اللغة",iconDescription:"أيقونة",loadingIcon:"أيقونة التحميل",failedToLoadIcon:"فشل في تحميل الأيقونة",editLabel:"تحرير",selectOne:"اختر واحد",selectMany:"اختر عدة",noResults:"لا نتائج",passwordPlaceholderText:"كلمة المرور السرية",togglePasswordVisibility:"إظهار/إخفاء كلمة المرور",toggleMenu:"تبديل القائمة",toggleAside:"تبديل اللوحة الجانبية",mainNavigation:"القائمة الرئيسية",sidebar:"الشريط الجانبي",closeDrawer:"إغلاق الدرج",closeModal:"إغلاق النافذة المنبثقة",confirm:"تأكيد",cancel:"إلغاء",addLabel:"إضافة",removeItem:"إزالة العنصر",currentLocale:"العربية",ar:"العربية",de:"الألمانية",en:"الإنجليزية",es:"الأسبانية",fr:"الفرنسية",hi:"الهندية",it:"الإيطالية",ja:"اليابانية",ko:"الكورية",nl:"الهولندية",pl:"البولندية",pt:"البرتغالية",ru:"الروسية",tr:"التركية",vi:"الفيتنامية",zh:"الصينية",he:"العبرية",fa:"الفارسية",ur:"الأردية",emailPlaceholderText:"بريدك الإلكتروني",incrementValue:"زيادة القيمة",decrementValue:"تقليل القيمة",dropZoneInstructions:e=>e?"انقر للاختيار أو اسحب الملفات هنا، أو اضغط Enter أو Space لفتح محدد الملفات":"اسحب الملفات هنا",fileSizeUnits:["بايت","ك.ب","م.ب","ج.ب","ت.ب"],removeFile:"إزالة الملف",clearAllFiles:"مسح كل الملفات",clearValue:"مسح القيمة",unknownType:"نوع غير معروف",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"انقر للاختيار أو اسحب الملفات هنا":"انقر للاختيار أو اسحب ملف هنا";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`حتى ${e} ملفات`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`حد أقصى ${c} لكل ملف`)}t.length>0&&(r+=` (${t.join("، ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (حد أقصى ${t})`}return r}};exports.default=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DBME6bFw.cjs"),a={loadingExtended:"جاري التحميل، يرجى الانتظار",loadingShort:"جاري التحميل...",locale:"اللغة",iconDescription:"أيقونة",loadingIcon:"أيقونة التحميل",failedToLoadIcon:"فشل في تحميل الأيقونة",editLabel:"تحرير",selectOne:"اختر واحد",selectMany:"اختر عدة",noResults:"لا نتائج",passwordPlaceholderText:"كلمة المرور السرية",togglePasswordVisibility:"إظهار/إخفاء كلمة المرور",toggleMenu:"تبديل القائمة",toggleAside:"تبديل اللوحة الجانبية",mainNavigation:"القائمة الرئيسية",sidebar:"الشريط الجانبي",closeDrawer:"إغلاق الدرج",closeModal:"إغلاق النافذة المنبثقة",confirm:"تأكيد",cancel:"إلغاء",addLabel:"إضافة",removeItem:"إزالة العنصر",currentLocale:"العربية",ar:"العربية",de:"الألمانية",en:"الإنجليزية",es:"الأسبانية",fr:"الفرنسية",hi:"الهندية",it:"الإيطالية",ja:"اليابانية",ko:"الكورية",nl:"الهولندية",pl:"البولندية",pt:"البرتغالية",ru:"الروسية",tr:"التركية",vi:"الفيتنامية",zh:"الصينية",he:"العبرية",fa:"الفارسية",ur:"الأردية",emailPlaceholderText:"بريدك الإلكتروني",incrementValue:"زيادة القيمة",decrementValue:"تقليل القيمة",dropZoneInstructions:e=>e?"انقر للاختيار أو اسحب الملفات هنا، أو اضغط Enter أو Space لفتح محدد الملفات":"اسحب الملفات هنا",fileSizeUnits:["بايت","ك.ب","م.ب","ج.ب","ت.ب"],removeFile:"إزالة الملف",clearAllFiles:"مسح كل الملفات",clearValue:"مسح القيمة",unknownType:"نوع غير معروف",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"انقر للاختيار أو اسحب الملفات هنا":"انقر للاختيار أو اسحب ملف هنا";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`حتى ${e} ملفات`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`حد أقصى ${c} لكل ملف`)}t.length>0&&(r+=` (${t.join("، ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (حد أقصى ${t})`}return r}};exports.default=a;
@@ -1,4 +1,4 @@
1
- import { f as l } from "./notice-DKO4C8y2.js";
1
+ import { f as l } from "./notice-DVEacWKt.js";
2
2
  const s = {
3
3
  loadingExtended: "جاري التحميل، يرجى الانتظار",
4
4
  loadingShort: "جاري التحميل...",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@tempots/dom"),m=require("../notice-DrmHRjLV.cjs"),w=require("../modal-DKWKUrDF.cjs"),S=require("../translations-CrqWcCGM.cjs"),H=require("@tempots/ui"),x={google:{name:"Google",icon:"logos:google-icon",color:"#4285f4"},github:{name:"GitHub",icon:"logos:github-icon",color:"#333"},apple:{name:"Apple",icon:"logos:apple",color:"#000"},facebook:{name:"Facebook",icon:"logos:facebook",color:"#1877f2"},twitter:{name:"Twitter",icon:"logos:twitter",color:"#1da1f2"},microsoft:{name:"Microsoft",icon:"logos:microsoft-icon",color:"#00a4ef"},discord:{name:"Discord",icon:"logos:discord-icon",color:"#5865f2"},linkedin:{name:"LinkedIn",icon:"logos:linkedin-icon",color:"#0077b5"},instagram:{name:"Instagram",icon:"logos:instagram-icon",color:"#e4405f"},tiktok:{name:"TikTok",icon:"logos:tiktok-icon",color:"#000"},snapchat:{name:"Snapchat",icon:"logos:snapchat-icon",color:"#fffc00"},reddit:{name:"Reddit",icon:"logos:reddit-icon",color:"#ff4500"},pinterest:{name:"Pinterest",icon:"logos:pinterest-icon",color:"#bd081c"},twitch:{name:"Twitch",icon:"logos:twitch",color:"#9146ff"},steam:{name:"Steam",icon:"logos:steam-icon",color:"#000"},epic:{name:"Epic Games",icon:"simple-icons:epicgames",color:"#313131"},playstation:{name:"PlayStation",icon:"logos:playstation-icon",color:"#003791"},xbox:{name:"Xbox",icon:"logos:xbox-icon",color:"#107c10"},whatsapp:{name:"WhatsApp",icon:"logos:whatsapp-icon",color:"#25d366"},wechat:{name:"WeChat",icon:"logos:wechat-icon",color:"#1aad19"},amazon:{name:"Amazon",icon:"logos:amazon-icon",color:"#ff9900"},yahoo:{name:"Yahoo",icon:"logos:yahoo-icon",color:"#720e9e"},paypal:{name:"PayPal",icon:"logos:paypal",color:"#0070ba"},x:{name:"X",icon:"simple-icons:x",color:"#000"}};function F(o){return x[o]?.name||o}function X(o){return x[o]?.icon||"mdi:account"}function Y(o){return x[o]?.color||"#666"}function Z(o,e="Continue with {provider}"){return e.replace("{provider}",F(o))}const P={minLength:8,requireUppercase:!0,requireLowercase:!0,requireNumbers:!0,requireSymbols:!1};function J(o){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o)}function D(o=32){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let i="";for(let l=0;l<o;l++)i+=e.charAt(Math.floor(Math.random()*e.length));return i}function K(o,e,i,l=[],c={}){const r={google:"https://accounts.google.com/oauth/authorize",github:"https://github.com/login/oauth/authorize",apple:"https://appleid.apple.com/auth/authorize",facebook:"https://www.facebook.com/v18.0/dialog/oauth",twitter:"https://twitter.com/i/oauth2/authorize",microsoft:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",discord:"https://discord.com/api/oauth2/authorize",linkedin:"https://www.linkedin.com/oauth/v2/authorization",instagram:"https://api.instagram.com/oauth/authorize",tiktok:"https://www.tiktok.com/v2/auth/authorize",snapchat:"https://accounts.snapchat.com/accounts/oauth2/authorize",reddit:"https://www.reddit.com/api/v1/authorize",pinterest:"https://api.pinterest.com/oauth/",twitch:"https://id.twitch.tv/oauth2/authorize",steam:"https://steamcommunity.com/oauth/authorize",epic:"https://auth.epicgames.com/authorize",playstation:"https://auth.api.sonyentertainmentnetwork.com/oauth/authorize",xbox:"https://login.live.com/oauth20_authorize.srf",whatsapp:"https://web.whatsapp.com/oauth/authorize",wechat:"https://open.weixin.qq.com/connect/qrconnect",amazon:"https://www.amazon.com/ap/oa",yahoo:"https://api.login.yahoo.com/oauth2/request_auth",paypal:"https://www.paypal.com/signin/authorize",x:"https://api.twitter.com/oauth2/authorize"},a={google:["openid","email","profile"],github:["user:email"],apple:["email","name"],facebook:["email"],twitter:["users.read"],microsoft:["openid","email","profile"],discord:["identify","email"],linkedin:["r_liteprofile","r_emailaddress"],instagram:["user_profile","user_media"],tiktok:["user.info.basic","user.external.id"],snapchat:["user.info.basic","user.external.id"],reddit:["identity","email"],pinterest:["read_public","read_relationships"],twitch:["openid","email","profile"],steam:["openid","email","profile"],epic:["openid","email","profile"],playstation:["openid","email","profile"],xbox:["openid","email","profile"],whatsapp:["openid","email","profile"],wechat:["openid","email","profile"],amazon:["openid","email","profile"],yahoo:["openid","email","profile"],paypal:["openid","email","profile"],x:["openid","email","profile"]},n=r[o];if(!n)throw new Error(`Unsupported provider: ${o}`);const u=l.length>0?l:a[o],s=D(),f=new URLSearchParams({client_id:e,redirect_uri:i,scope:u.join(" "),state:s,response_type:"code",...c});return`${n}?${f.toString()}`}function Q(o,e,i,l){const c=window.open(o,`${e}_login`,"width=500,height=600,scrollbars=yes,resizable=yes");if(!c){l?.(new Error("Failed to open popup window"));return}const r=setInterval(()=>{c.closed&&(clearInterval(r),l?.(new Error("Login cancelled")))},1e3),a=n=>{n.origin===window.location.origin&&(n.data.type==="SOCIAL_LOGIN_SUCCESS"?(clearInterval(r),c.close(),window.removeEventListener("message",a),i?.(n.data.result)):n.data.type==="SOCIAL_LOGIN_ERROR"&&(clearInterval(r),c.close(),window.removeEventListener("message",a),l?.(new Error(n.data.error))))};window.addEventListener("message",a)}function tt(o){return o instanceof Error?o.message:typeof o=="string"?o:o&&typeof o=="object"&&"message"in o?String(o.message):"An unexpected error occurred"}function ot(){return typeof window<"u"&&typeof document<"u"}function q({task:o,message:e,onStart:i,onEnd:l}){return async c=>{i?.();const r=await m.taskToValidation({task:o!=null?()=>o(c):async()=>null,errorMessage:e,errorPath:["root"],validation:a=>a!=null?m.a.invalid({message:a}):m.a.valid});return l?.(),r}}function A(o=P){let e=w.string();return o.minLength&&(e=e.min(o.minLength,`Password must be at least ${o.minLength} characters`)),o.requireUppercase&&(e=e.regex(/[A-Z]/,"Password must contain at least one uppercase letter")),o.requireLowercase&&(e=e.regex(/[a-z]/,"Password must contain at least one lowercase letter")),o.requireNumbers&&(e=e.regex(/[0-9]/,"Password must contain at least one number")),o.requireSymbols&&(e=e.regex(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/,"Password must contain at least one special character")),o.customValidation&&(e=e.refine(i=>o.customValidation(i))),e}const y=w.string().min(1,"Email is required").email("Please enter a valid email address");function C(o){const e=o?A(o):w.string().refine(i=>i.length>0?null:"Password is required");return w.object({email:y,password:e,rememberMe:w.boolean().default(!1)}).schema()}function T(o=P,e){const i=A(o),l=e?.showNameField!==!1,c=e?.showConfirmPassword!==!1,r=e?.showAcceptTermsAndConditions!==!1,a={name:l?w.string().min(1,"Name is required").optional():w.string().optional(),email:y,password:i,confirmPassword:c?w.string().min(1,"Please confirm your password"):w.string(),acceptTerms:r?w.boolean().refine(u=>u===!0,"You must accept the terms and conditions"):w.boolean().default(!0)},n=w.object(a);return c?n.refine(u=>u.password===u.confirmPassword?null:"Passwords don't match",{path:["confirmPassword"]}).schema():n.schema()}const U=w.object({email:y}).schema(),et=C(),at=T(),nt={signIn:C,signUp:T,resetPassword:()=>U};function rt(o){const e=y.validate(o);return e.success?null:e.errors[0]?.message||"Invalid email"}function st(o,e=P){const l=A(e).validate(o);return l.success?null:l.errors[0]?.message||"Invalid password"}function $(o,e=P){const i={length:o.length>=(e.minLength||8),uppercase:/[A-Z]/.test(o),lowercase:/[a-z]/.test(o),numbers:/[0-9]/.test(o),symbols:/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(o),custom:e.customValidation?e.customValidation(o)===null:o.length>0},l=[!0,e.requireUppercase,e.requireLowercase,e.requireNumbers,e.requireSymbols,!!e.customValidation].filter(Boolean).length,c=[i.length,e.requireUppercase?i.uppercase:null,e.requireLowercase?i.lowercase:null,e.requireNumbers?i.numbers:null,e.requireSymbols?i.symbols:null,e.customValidation?i.custom:null].filter(n=>n===!0).length,r=l>0?Math.round(c/l*100):0;let a;return r<40?a="weak":r<60?a="fair":r<80?a="good":a="strong",{strength:a,score:r,checks:i}}const W=()=>t.localStorageProp({key:"bui_auth_email",defaultValue:null});function V({onSignIn:o,passwordRules:e,labels:i,showRememberMe:l}){const c=t.prop(!1),r=W(),a=C(e),n=m.useForm({schema:a,onSubmit:q({task:o,message:"Reset password failed",onStart:()=>{c.set(!0),n.controller.disable()},onEnd:()=>{c.set(!1),n.controller.enable()}}),initialValue:{email:"",password:""}}),{controller:u,submit:s}=n;c.on(u.setDisabled);const f=u.field("email"),b=u.field("password");return r.on(h=>{h!=null&&f.change(h)}),f.value.on(h=>{r.value!=null&&(r.value=h)}),t.Use(S.AuthI18n,h=>t.html.form(t.OnDispose(u.dispose,r.dispose,c.dispose),t.attr.class("bc-auth-form__form"),t.on.submit(s),m.Stack(t.attr.class("bc-auth-form__fields"),t.Ensure(u.error,g=>m.Notice({variant:"danger",tone:"prominent",role:"alert"},t.html.div(g))),m.Control(m.EmailInput,{controller:f,label:t.coalesce(i?.emailLabel,h.$.emailLabel)}),m.Control(m.PasswordInput,{controller:b,label:t.coalesce(i?.passwordLabel,h.$.passwordLabel)}),t.When(l??!0,()=>t.html.div(t.attr.class("bc-auth-form__remember-me"),t.html.label(t.attr.class("bc-auth-form__checkbox-label"),m.CheckboxInput({value:r.map(g=>g!=null),after:t.html.span(t.coalesce(i?.rememberMeLabel,h.$.rememberMeLabel)),onChange:g=>{g?r.value=f.value.value??"":r.value=null}}))))),m.Button({type:"submit",variant:"filled",color:"primary",loading:c,disabled:u.disabledOrHasErrors},t.attr.class("bc-auth-form__submit"),t.coalesce(i?.signInButton,h.$.signInButton))))}function R({password:o,rules:e=P,showLabel:i=!0,className:l}){const c=t.computedOf(o)(s=>!s||s.length===0?{strength:"weak",score:0,checks:{length:!1,uppercase:!1,lowercase:!1,numbers:!1,symbols:!1,custom:!1}}:$(s,e)),r=c.map(s=>s.strength),a=c.map(s=>s.score),n=c.map(s=>s.checks),u=t.computedOf(r,l)((s,f)=>["bc-password-strength",`bc-password-strength--${s}`,f].filter(Boolean).join(" "));return t.html.div(t.attr.class(u),t.html.div(t.attr.class("bc-password-strength__bar"),t.html.div(t.attr.class("bc-password-strength__fill"),t.attr.style(a.map(s=>`width: ${s}%`)))),t.When(i,()=>t.Use(S.AuthI18n,s=>t.html.div(t.attr.class("bc-password-strength__label"),t.computedOf(r,s)((f,b)=>{switch(f){case"weak":return b.passwordStrengthWeak;case"fair":return b.passwordStrengthFair;case"good":return b.passwordStrengthGood;case"strong":return b.passwordStrengthStrong;default:return b.passwordStrengthWeak}})))),t.html.div(t.attr.class("bc-password-strength__requirements"),t.When(e.minLength!==void 0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.length?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.length?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),`At least ${e.minLength} characters`))),t.When(e.requireUppercase===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.uppercase?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.uppercase?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One uppercase letter"))),t.When(e.requireLowercase===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.lowercase?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.lowercase?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One lowercase letter"))),t.When(e.requireNumbers===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.numbers?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.numbers?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One number"))),t.When(e.requireSymbols===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.symbols?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.symbols?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One special character")))))}function it({password:o,rules:e=P,className:i}){const l=t.computedOf(o)(n=>!n||n.length===0?{strength:"weak",score:0}:$(n,e)),c=l.map(n=>n.strength),r=l.map(n=>n.score),a=t.computedOf(c,i)((n,u)=>["bc-password-strength-bar",`bc-password-strength-bar--${n}`,u].filter(Boolean).join(" "));return t.html.div(t.attr.class(a),t.html.div(t.attr.class("bc-password-strength-bar__fill"),t.attr.style(r.map(n=>`width: ${n}%`))))}function ct({password:o,rules:e=P,className:i}){const l=t.computedOf(o)(r=>!r||r.length===0?"weak":$(r,e).strength),c=t.computedOf(l,i)((r,a)=>["bc-password-strength-text",`bc-password-strength-text--${r}`,a].filter(Boolean).join(" "));return t.Use(S.AuthI18n,r=>t.html.span(t.attr.class(c),t.computedOf(l,r)((a,n)=>{switch(a){case"weak":return n.passwordStrengthWeak;case"fair":return n.passwordStrengthFair;case"good":return n.passwordStrengthGood;case"strong":return n.passwordStrengthStrong;default:return n.passwordStrengthWeak}})))}function M({passwordRules:o,labels:e,showPasswordStrength:i,onSignUp:l,showNameField:c,showConfirmPassword:r,showAcceptTermsAndConditions:a,termsAndConditions:n}){const u=t.prop(!1),s=o||P,f=T(s,{showNameField:c!==!1,showConfirmPassword:r!==!1,showAcceptTermsAndConditions:a!==!1}),b=m.useForm({schema:f,onSubmit:q({task:l!=null?k=>l({email:k.email,password:k.password,name:k.name}):void 0,message:"Reset password failed",onStart:()=>{u.set(!0),b.controller.disable()},onEnd:()=>{u.set(!1),b.controller.enable()}}),initialValue:{name:"",email:"",password:"",confirmPassword:"",acceptTerms:!1}}),{controller:h,submit:g}=b;u.on(h.setDisabled);const _=h.field("name"),B=h.field("email"),I=h.field("password"),O=h.field("confirmPassword"),v=h.field("acceptTerms");return t.Use(S.AuthI18n,k=>t.html.form(t.OnDispose(h.dispose,u.dispose),t.attr.class("bc-auth-form__form"),t.on.submit(g),m.Stack(t.attr.class("bc-auth-form__fields"),t.Ensure(h.error,L=>m.Notice({variant:"danger",tone:"prominent",role:"alert"},t.html.div(L))),t.When(c!==!1,()=>m.Control(m.TextInput,{controller:_.transform(L=>L??"",L=>L===""?void 0:L),label:t.coalesce(e?.nameLabel,k.$.nameLabel)})),m.Control(m.EmailInput,{controller:B,label:t.coalesce(e?.emailLabel,k.$.emailLabel)}),m.Control(m.PasswordInput,{controller:I,label:t.coalesce(e?.passwordLabel,k.$.passwordLabel)}),t.When(i??!1,()=>R({password:I.value,rules:s,showLabel:!0})),t.When(r??!1,()=>m.Control(m.PasswordInput,{controller:O,label:t.coalesce(e?.confirmPasswordLabel,k.$.confirmPasswordLabel)})),t.When(a??!1,()=>t.html.div(t.attr.class("bc-auth-form__terms"),t.html.label(t.attr.class("bc-auth-form__checkbox-label"),m.CheckboxInput({value:v.value.map(L=>L??!1),onChange:L=>v.change(L)}),t.html.span(n||t.coalesce(e?.acceptTermsLabel,k.$.acceptTermsLabel))),t.When(v.errorVisible,()=>t.html.div(t.attr.class("bc-auth-form__field-error"),v.error.map(L=>L||"")))))),m.Button({type:"submit",variant:"filled",color:"primary",loading:u,disabled:h.disabledOrHasErrors},t.attr.class("bc-auth-form__submit"),t.coalesce(e?.signUpButton,k.$.signUpButton))))}function N({onResetPassword:o,labels:e={}}){const i=W(),l=t.prop(!1),c=m.useForm({schema:U,onSubmit:q({task:o,message:"Reset password failed",onStart:()=>{l.set(!0),c.controller.disable()},onEnd:()=>{l.set(!1),c.controller.enable()}}),initialValue:{email:""}}),{controller:r,submit:a}=c;l.on(r.setDisabled);const n=r.field("email");return i.on(u=>{u!=null&&n.change(u)}),t.Use(S.AuthI18n,u=>t.html.form(t.OnDispose(r.dispose,i.dispose,l.dispose),t.attr.class("bc-auth-form__form"),t.Ensure(r.error,s=>m.Notice({variant:"danger",tone:"prominent",role:"alert"},t.html.div(s))),t.html.p(t.attr.class("bc-auth-form__description"),t.coalesce(e?.resetPasswordDescription,u.$.resetPasswordDescription)),t.on.submit(a),m.Stack(t.attr.class("bc-auth-form__fields"),m.Control(m.EmailInput,{controller:n,label:t.coalesce(e?.emailLabel,u.$.emailLabel)})),m.Button({loading:l,type:"submit",variant:"filled",color:"primary",disabled:r.disabledOrHasErrors},t.attr.class("bc-auth-form__submit"),t.coalesce(e?.resetPasswordButton,u.$.resetPasswordButton))))}function p({provider:o,onClick:e,size:i="md",name:l,icon:c,color:r,flow:a,labels:n}){const u=async()=>{if(e)try{a==="popup"?await e():await e()}catch(s){console.error(`Social login error for ${o} (${a||"redirect"} flow):`,s)}};return m.Button({type:"button",variant:"filled",size:i,color:r,onClick:u,roundedness:"full"},t.attr.class("bc-social-login-button"),t.attr.class(t.computedOf(o)(s=>`bc-social-login-button--${s}`)),t.html.span(t.attr.class("bc-social-login-button__inner"),t.html.span(t.attr.class("bc-social-login-button__icon"),m.Icon({icon:c,size:i},t.attr.class("bc-social-login-button__icon-inner"))),t.Use(S.AuthI18n,s=>t.html.span(t.attr.class("bc-social-login-button__label"),t.bind(t.coalesce(n?.continueWithProvider,s.$.continueWithProvider))(l)))))}function G({providers:o,onProviderClick:e,size:i="md",className:l}){return m.Stack(t.attr.class("bc-social-login-buttons"),t.attr.class(l),t.ForEach(o,c=>p({provider:c.$.provider,flow:c.$.flow,color:c.map(({provider:r})=>d[r].color),name:c.map(({provider:r})=>d[r].name),icon:c.map(({provider:r})=>d[r].icon),onClick:async()=>{e&&await e(c.$.provider.value)},size:i})))}const d={google:{name:"Google",icon:"logos:google-icon",color:"red"},github:{name:"GitHub",icon:"logos:github-icon",color:"black"},apple:{name:"Apple",icon:"logos:apple",color:"stone"},facebook:{name:"Facebook",icon:"logos:facebook",color:"blue"},twitter:{name:"Twitter",icon:"logos:twitter",color:"sky"},x:{name:"X",icon:"logos:x",color:"zinc"},microsoft:{name:"Microsoft",icon:"logos:microsoft-icon",color:"amber"},discord:{name:"Discord",icon:"logos:discord-icon",color:"indigo"},linkedin:{name:"LinkedIn",icon:"logos:linkedin-icon",color:"cyan"},instagram:{name:"Instagram",icon:"logos:instagram-icon",color:"fuchsia"},tiktok:{name:"TikTok",icon:"logos:tiktok-icon",color:"teal"},snapchat:{name:"Snapchat",icon:"streamline-logos:snapchat-logo-solid",color:"yellow"},reddit:{name:"Reddit",icon:"logos:reddit-icon",color:"orange"},pinterest:{name:"Pinterest",icon:"logos:pinterest",color:"rose"},twitch:{name:"Twitch",icon:"logos:twitch",color:"purple"},steam:{name:"Steam",icon:"logos:steam",color:"slate"},epic:{name:"Epic Games",icon:"streamline-logos:epic-games-logo-solid",color:"neutral"},playstation:{name:"PlayStation",icon:"streamline-logos:playstation-logo-solid",color:"violet"},xbox:{name:"Xbox",icon:"streamline-logos:xbox-live-logo-solid",color:"green"},whatsapp:{name:"WhatsApp",icon:"logos:whatsapp-icon",color:"emerald"},wechat:{name:"WeChat",icon:"streamline-logos:wechat-logo",color:"lime"},amazon:{name:"Amazon",icon:"streamline-logos:amazon-logo-solid",color:"red"},yahoo:{name:"Yahoo",icon:"logos:yahoo",color:"rose"},paypal:{name:"PayPal",icon:"logos:paypal",color:"blue"}},lt=o=>p({...o,...d.google,provider:"google"}),mt=o=>p({...o,...d.github,provider:"github"}),ut=o=>p({...o,...d.apple,provider:"apple"}),dt=o=>p({...o,...d.facebook,provider:"facebook"}),pt=o=>p({...o,...d.x,provider:"x"}),ht=o=>p({...o,...d.twitter,provider:"twitter"}),gt=o=>p({...o,...d.microsoft,provider:"microsoft"}),ft=o=>p({...o,...d.discord,provider:"discord"}),bt=o=>p({...o,...d.linkedin,provider:"linkedin"}),wt=o=>p({...o,...d.instagram,provider:"instagram"}),Lt=o=>p({...o,...d.tiktok,provider:"tiktok"}),_t=o=>p({...o,...d.snapchat,provider:"snapchat"}),vt=o=>p({...o,...d.reddit,provider:"reddit"}),kt=o=>p({...o,...d.pinterest,provider:"pinterest"}),St=o=>p({...o,...d.twitch,provider:"twitch"}),Pt=o=>p({...o,...d.steam,provider:"steam"}),yt=o=>p({...o,...d.epic,provider:"epic"}),Bt=o=>p({...o,...d.playstation,provider:"playstation"}),It=o=>p({...o,...d.xbox,provider:"xbox"}),xt=o=>p({...o,...d.whatsapp,provider:"whatsapp"}),qt=o=>p({...o,...d.wechat,provider:"wechat"}),At=o=>p({...o,...d.amazon,provider:"amazon"}),Ct=o=>p({...o,...d.yahoo,provider:"yahoo"}),Tt=o=>p({...o,...d.paypal,provider:"paypal"});function z({providers:o}){return m.Stack(G({providers:o}))}function j({mode:o,socialProviders:e,passwordRules:i,showRememberMe:l,showSocialDivider:c,showPasswordStrength:r,labels:a,onSignIn:n,onSignUp:u,onResetPassword:s,onModeChange:f,showContainer:b},...h){const g=o!=null?t.Value.deriveProp(o):t.prop("signin");return g.on(_=>f?.(_)),t.Use(S.AuthI18n,_=>{function B(){const v=t.coalesce(a?.hasAccountLink,_.$.hasAccountLink);return t.html.button(t.attr.type("button"),t.attr.class("bc-auth-form__link"),t.on.click(()=>g.set("signin")),v)}function I(){return t.html.button(t.attr.type("button"),t.attr.class("bc-auth-form__link"),t.on.click(()=>g.set("signup")),t.coalesce(a?.noAccountLink,_.$.noAccountLink))}function O(){return t.html.button(t.attr.type("button"),t.attr.class("bc-auth-form__link"),t.on.click(()=>g.set("reset-password")),t.coalesce(a?.forgotPasswordLink,_.$.forgotPasswordLink))}return t.html.div(H.classes({"bc-auth-container":!0,"bc-auth-container--styled":t.Value.map(b??!0,v=>v)}),t.attr.class(g.map(v=>`bc-auth-container--${v}`)),t.attr.class("bc-auth-form"),t.OnDispose(g.dispose),t.OneOfValue(g,{signin:()=>t.Fragment(t.html.h2(t.attr.class("bc-auth-form__title"),t.coalesce(a?.signInTitle,_.$.signInTitle)),e!=null?t.Fragment(z({providers:e}),t.When(c??!1,E)):null,V({onSignIn:n,showRememberMe:l,passwordRules:i,labels:{emailLabel:a?.emailLabel,passwordLabel:a?.passwordLabel,rememberMeLabel:a?.rememberMeLabel,signInButton:a?.signInButton,forgotPasswordLink:a?.forgotPasswordLink,noAccountLink:a?.noAccountLink}}),m.Stack(t.attr.class("bc-auth-form__footer"),I(),O())),signup:()=>t.Fragment(t.html.h2(t.attr.class("bc-auth-form__title"),t.coalesce(a?.signUpTitle,_.$.signUpTitle)),e!=null?t.Fragment(z({providers:e}),t.When(c??!1,E)):null,M({labels:{nameLabel:a?.nameLabel,emailLabel:a?.emailLabel,passwordLabel:a?.passwordLabel,confirmPasswordLabel:a?.confirmPasswordLabel,acceptTermsLabel:a?.acceptTermsLabel,signUpButton:a?.signUpButton,hasAccountLink:a?.hasAccountLink},onSignUp:u,passwordRules:i,showPasswordStrength:r}),m.Stack(t.attr.class("bc-auth-form__footer"),B())),"reset-password":()=>t.Fragment(t.html.h2(t.attr.class("bc-auth-form__title"),t.coalesce(a?.resetPasswordTitle,_.$.resetPasswordTitle)),N({labels:{backToSignInLink:a?.backToSignInLink,emailLabel:a?.emailLabel,resetPasswordButton:a?.resetPasswordButton,resetPasswordDescription:a?.resetPasswordDescription},onResetPassword:s}),m.Stack(t.attr.class("bc-auth-form__footer"),B()))}),...h)})}function $t(o){return w.Modal({size:"sm",dismissable:!0,showCloseButton:!0},(e,i)=>o(l=>e({body:j({showContainer:!1,...l}),header:t.Use(S.AuthI18n,c=>t.coalesce(l.modalTitle,c.$.authenticationTitle))})))}function E({labels:o,className:e}={}){return t.html.div(t.attr.class("bc-auth-divider"),t.attr.class(e),t.html.div(t.attr.class("bc-auth-divider__line")),t.Use(S.AuthI18n,i=>t.html.span(t.attr.class("bc-auth-divider__text"),t.coalesce(o?.text,i.$.orDivider))),t.html.div(t.attr.class("bc-auth-divider__line")))}exports.AmazonLoginButton=At;exports.AppleLoginButton=ut;exports.AuthContainer=j;exports.AuthDivider=E;exports.AuthModal=$t;exports.DiscordLoginButton=ft;exports.EpicLoginButton=yt;exports.FacebookLoginButton=dt;exports.GitHubLoginButton=mt;exports.GoogleLoginButton=lt;exports.InstagramLoginButton=wt;exports.LinkedInLoginButton=bt;exports.MicrosoftLoginButton=gt;exports.PasswordStrengthBar=it;exports.PasswordStrengthIndicator=R;exports.PasswordStrengthText=ct;exports.PayPalLoginButton=Tt;exports.PinterestLoginButton=kt;exports.PlayStationLoginButton=Bt;exports.RedditLoginButton=vt;exports.ResetPasswordForm=N;exports.SignInForm=V;exports.SignUpForm=M;exports.SnapchatLoginButton=_t;exports.SocialLoginButton=p;exports.SocialLoginButtons=G;exports.SocialProviders=z;exports.SteamLoginButton=Pt;exports.TiktokLoginButton=Lt;exports.TwitchLoginButton=St;exports.TwitterLoginButton=ht;exports.WeChatLoginButton=qt;exports.WhatsAppLoginButton=xt;exports.XLoginButtin=pt;exports.XboxLoginButton=It;exports.YahooLoginButton=Ct;exports.authSchemas=nt;exports.calculatePasswordStrength=$;exports.createPasswordSchema=A;exports.createSignInSchema=C;exports.createSignUpSchema=T;exports.createSocialLoginUrl=K;exports.defaultPasswordRules=P;exports.defaultSignInSchema=et;exports.defaultSignUpSchema=at;exports.emailSchema=y;exports.formatAuthError=tt;exports.formatProviderName=F;exports.formatSocialLoginText=Z;exports.generateRandomString=D;exports.getProviderColor=Y;exports.getProviderIcon=X;exports.isBrowser=ot;exports.isValidEmail=J;exports.openSocialLoginPopup=Q;exports.providerInfo=x;exports.requestToControllerValidation=q;exports.resetPasswordSchema=U;exports.socialProviderInfo=d;exports.useAuthEmailProp=W;exports.validateEmail=rt;exports.validatePassword=st;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@tempots/dom"),m=require("../notice-DBME6bFw.cjs"),w=require("../modal-CAKAT7wv.cjs"),S=require("../translations-Dv56lQia.cjs"),H=require("@tempots/ui"),x={google:{name:"Google",icon:"logos:google-icon",color:"#4285f4"},github:{name:"GitHub",icon:"logos:github-icon",color:"#333"},apple:{name:"Apple",icon:"logos:apple",color:"#000"},facebook:{name:"Facebook",icon:"logos:facebook",color:"#1877f2"},twitter:{name:"Twitter",icon:"logos:twitter",color:"#1da1f2"},microsoft:{name:"Microsoft",icon:"logos:microsoft-icon",color:"#00a4ef"},discord:{name:"Discord",icon:"logos:discord-icon",color:"#5865f2"},linkedin:{name:"LinkedIn",icon:"logos:linkedin-icon",color:"#0077b5"},instagram:{name:"Instagram",icon:"logos:instagram-icon",color:"#e4405f"},tiktok:{name:"TikTok",icon:"logos:tiktok-icon",color:"#000"},snapchat:{name:"Snapchat",icon:"logos:snapchat-icon",color:"#fffc00"},reddit:{name:"Reddit",icon:"logos:reddit-icon",color:"#ff4500"},pinterest:{name:"Pinterest",icon:"logos:pinterest-icon",color:"#bd081c"},twitch:{name:"Twitch",icon:"logos:twitch",color:"#9146ff"},steam:{name:"Steam",icon:"logos:steam-icon",color:"#000"},epic:{name:"Epic Games",icon:"simple-icons:epicgames",color:"#313131"},playstation:{name:"PlayStation",icon:"logos:playstation-icon",color:"#003791"},xbox:{name:"Xbox",icon:"logos:xbox-icon",color:"#107c10"},whatsapp:{name:"WhatsApp",icon:"logos:whatsapp-icon",color:"#25d366"},wechat:{name:"WeChat",icon:"logos:wechat-icon",color:"#1aad19"},amazon:{name:"Amazon",icon:"logos:amazon-icon",color:"#ff9900"},yahoo:{name:"Yahoo",icon:"logos:yahoo-icon",color:"#720e9e"},paypal:{name:"PayPal",icon:"logos:paypal",color:"#0070ba"},x:{name:"X",icon:"simple-icons:x",color:"#000"}};function F(o){return x[o]?.name||o}function X(o){return x[o]?.icon||"mdi:account"}function Y(o){return x[o]?.color||"#666"}function Z(o,e="Continue with {provider}"){return e.replace("{provider}",F(o))}const P={minLength:8,requireUppercase:!0,requireLowercase:!0,requireNumbers:!0,requireSymbols:!1};function J(o){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o)}function D(o=32){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let i="";for(let l=0;l<o;l++)i+=e.charAt(Math.floor(Math.random()*e.length));return i}function K(o,e,i,l=[],c={}){const r={google:"https://accounts.google.com/oauth/authorize",github:"https://github.com/login/oauth/authorize",apple:"https://appleid.apple.com/auth/authorize",facebook:"https://www.facebook.com/v18.0/dialog/oauth",twitter:"https://twitter.com/i/oauth2/authorize",microsoft:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",discord:"https://discord.com/api/oauth2/authorize",linkedin:"https://www.linkedin.com/oauth/v2/authorization",instagram:"https://api.instagram.com/oauth/authorize",tiktok:"https://www.tiktok.com/v2/auth/authorize",snapchat:"https://accounts.snapchat.com/accounts/oauth2/authorize",reddit:"https://www.reddit.com/api/v1/authorize",pinterest:"https://api.pinterest.com/oauth/",twitch:"https://id.twitch.tv/oauth2/authorize",steam:"https://steamcommunity.com/oauth/authorize",epic:"https://auth.epicgames.com/authorize",playstation:"https://auth.api.sonyentertainmentnetwork.com/oauth/authorize",xbox:"https://login.live.com/oauth20_authorize.srf",whatsapp:"https://web.whatsapp.com/oauth/authorize",wechat:"https://open.weixin.qq.com/connect/qrconnect",amazon:"https://www.amazon.com/ap/oa",yahoo:"https://api.login.yahoo.com/oauth2/request_auth",paypal:"https://www.paypal.com/signin/authorize",x:"https://api.twitter.com/oauth2/authorize"},a={google:["openid","email","profile"],github:["user:email"],apple:["email","name"],facebook:["email"],twitter:["users.read"],microsoft:["openid","email","profile"],discord:["identify","email"],linkedin:["r_liteprofile","r_emailaddress"],instagram:["user_profile","user_media"],tiktok:["user.info.basic","user.external.id"],snapchat:["user.info.basic","user.external.id"],reddit:["identity","email"],pinterest:["read_public","read_relationships"],twitch:["openid","email","profile"],steam:["openid","email","profile"],epic:["openid","email","profile"],playstation:["openid","email","profile"],xbox:["openid","email","profile"],whatsapp:["openid","email","profile"],wechat:["openid","email","profile"],amazon:["openid","email","profile"],yahoo:["openid","email","profile"],paypal:["openid","email","profile"],x:["openid","email","profile"]},n=r[o];if(!n)throw new Error(`Unsupported provider: ${o}`);const u=l.length>0?l:a[o],s=D(),f=new URLSearchParams({client_id:e,redirect_uri:i,scope:u.join(" "),state:s,response_type:"code",...c});return`${n}?${f.toString()}`}function Q(o,e,i,l){const c=window.open(o,`${e}_login`,"width=500,height=600,scrollbars=yes,resizable=yes");if(!c){l?.(new Error("Failed to open popup window"));return}const r=setInterval(()=>{c.closed&&(clearInterval(r),l?.(new Error("Login cancelled")))},1e3),a=n=>{n.origin===window.location.origin&&(n.data.type==="SOCIAL_LOGIN_SUCCESS"?(clearInterval(r),c.close(),window.removeEventListener("message",a),i?.(n.data.result)):n.data.type==="SOCIAL_LOGIN_ERROR"&&(clearInterval(r),c.close(),window.removeEventListener("message",a),l?.(new Error(n.data.error))))};window.addEventListener("message",a)}function tt(o){return o instanceof Error?o.message:typeof o=="string"?o:o&&typeof o=="object"&&"message"in o?String(o.message):"An unexpected error occurred"}function ot(){return typeof window<"u"&&typeof document<"u"}function q({task:o,message:e,onStart:i,onEnd:l}){return async c=>{i?.();const r=await m.taskToValidation({task:o!=null?()=>o(c):async()=>null,errorMessage:e,errorPath:["root"],validation:a=>a!=null?m.a.invalid({message:a}):m.a.valid});return l?.(),r}}function A(o=P){let e=w.string();return o.minLength&&(e=e.min(o.minLength,`Password must be at least ${o.minLength} characters`)),o.requireUppercase&&(e=e.regex(/[A-Z]/,"Password must contain at least one uppercase letter")),o.requireLowercase&&(e=e.regex(/[a-z]/,"Password must contain at least one lowercase letter")),o.requireNumbers&&(e=e.regex(/[0-9]/,"Password must contain at least one number")),o.requireSymbols&&(e=e.regex(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/,"Password must contain at least one special character")),o.customValidation&&(e=e.refine(i=>o.customValidation(i))),e}const y=w.string().min(1,"Email is required").email("Please enter a valid email address");function C(o){const e=o?A(o):w.string().refine(i=>i.length>0?null:"Password is required");return w.object({email:y,password:e,rememberMe:w.boolean().default(!1)}).schema()}function T(o=P,e){const i=A(o),l=e?.showNameField!==!1,c=e?.showConfirmPassword!==!1,r=e?.showAcceptTermsAndConditions!==!1,a={name:l?w.string().min(1,"Name is required").optional():w.string().optional(),email:y,password:i,confirmPassword:c?w.string().min(1,"Please confirm your password"):w.string(),acceptTerms:r?w.boolean().refine(u=>u===!0,"You must accept the terms and conditions"):w.boolean().default(!0)},n=w.object(a);return c?n.refine(u=>u.password===u.confirmPassword?null:"Passwords don't match",{path:["confirmPassword"]}).schema():n.schema()}const U=w.object({email:y}).schema(),et=C(),at=T(),nt={signIn:C,signUp:T,resetPassword:()=>U};function rt(o){const e=y.validate(o);return e.success?null:e.errors[0]?.message||"Invalid email"}function st(o,e=P){const l=A(e).validate(o);return l.success?null:l.errors[0]?.message||"Invalid password"}function $(o,e=P){const i={length:o.length>=(e.minLength||8),uppercase:/[A-Z]/.test(o),lowercase:/[a-z]/.test(o),numbers:/[0-9]/.test(o),symbols:/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(o),custom:e.customValidation?e.customValidation(o)===null:o.length>0},l=[!0,e.requireUppercase,e.requireLowercase,e.requireNumbers,e.requireSymbols,!!e.customValidation].filter(Boolean).length,c=[i.length,e.requireUppercase?i.uppercase:null,e.requireLowercase?i.lowercase:null,e.requireNumbers?i.numbers:null,e.requireSymbols?i.symbols:null,e.customValidation?i.custom:null].filter(n=>n===!0).length,r=l>0?Math.round(c/l*100):0;let a;return r<40?a="weak":r<60?a="fair":r<80?a="good":a="strong",{strength:a,score:r,checks:i}}const W=()=>t.localStorageProp({key:"bui_auth_email",defaultValue:null});function V({onSignIn:o,passwordRules:e,labels:i,showRememberMe:l}){const c=t.prop(!1),r=W(),a=C(e),n=m.useForm({schema:a,onSubmit:q({task:o,message:"Reset password failed",onStart:()=>{c.set(!0),n.controller.disable()},onEnd:()=>{c.set(!1),n.controller.enable()}}),initialValue:{email:"",password:""}}),{controller:u,submit:s}=n;c.on(u.setDisabled);const f=u.field("email"),b=u.field("password");return r.on(h=>{h!=null&&f.change(h)}),f.value.on(h=>{r.value!=null&&(r.value=h)}),t.Use(S.AuthI18n,h=>t.html.form(t.OnDispose(u.dispose,r.dispose,c.dispose),t.attr.class("bc-auth-form__form"),t.on.submit(s),m.Stack(t.attr.class("bc-auth-form__fields"),t.Ensure(u.error,g=>m.Notice({variant:"danger",tone:"prominent",role:"alert"},t.html.div(g))),m.Control(m.EmailInput,{controller:f,label:t.coalesce(i?.emailLabel,h.$.emailLabel)}),m.Control(m.PasswordInput,{controller:b,label:t.coalesce(i?.passwordLabel,h.$.passwordLabel)}),t.When(l??!0,()=>t.html.div(t.attr.class("bc-auth-form__remember-me"),t.html.label(t.attr.class("bc-auth-form__checkbox-label"),m.CheckboxInput({value:r.map(g=>g!=null),after:t.html.span(t.coalesce(i?.rememberMeLabel,h.$.rememberMeLabel)),onChange:g=>{g?r.value=f.value.value??"":r.value=null}}))))),m.Button({type:"submit",variant:"filled",color:"primary",loading:c,disabled:u.disabledOrHasErrors},t.attr.class("bc-auth-form__submit"),t.coalesce(i?.signInButton,h.$.signInButton))))}function R({password:o,rules:e=P,showLabel:i=!0,className:l}){const c=t.computedOf(o)(s=>!s||s.length===0?{strength:"weak",score:0,checks:{length:!1,uppercase:!1,lowercase:!1,numbers:!1,symbols:!1,custom:!1}}:$(s,e)),r=c.map(s=>s.strength),a=c.map(s=>s.score),n=c.map(s=>s.checks),u=t.computedOf(r,l)((s,f)=>["bc-password-strength",`bc-password-strength--${s}`,f].filter(Boolean).join(" "));return t.html.div(t.attr.class(u),t.html.div(t.attr.class("bc-password-strength__bar"),t.html.div(t.attr.class("bc-password-strength__fill"),t.attr.style(a.map(s=>`width: ${s}%`)))),t.When(i,()=>t.Use(S.AuthI18n,s=>t.html.div(t.attr.class("bc-password-strength__label"),t.computedOf(r,s)((f,b)=>{switch(f){case"weak":return b.passwordStrengthWeak;case"fair":return b.passwordStrengthFair;case"good":return b.passwordStrengthGood;case"strong":return b.passwordStrengthStrong;default:return b.passwordStrengthWeak}})))),t.html.div(t.attr.class("bc-password-strength__requirements"),t.When(e.minLength!==void 0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.length?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.length?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),`At least ${e.minLength} characters`))),t.When(e.requireUppercase===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.uppercase?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.uppercase?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One uppercase letter"))),t.When(e.requireLowercase===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.lowercase?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.lowercase?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One lowercase letter"))),t.When(e.requireNumbers===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.numbers?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.numbers?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One number"))),t.When(e.requireSymbols===!0,()=>t.html.div(t.attr.class("bc-password-strength__requirement"),t.attr.class(t.computedOf(n)(s=>s.symbols?"bc-password-strength__requirement--met":"")),t.html.span(t.attr.class("bc-password-strength__requirement-icon"),t.computedOf(n)(s=>s.symbols?"✓":"○")),t.html.span(t.attr.class("bc-password-strength__requirement-text"),"One special character")))))}function it({password:o,rules:e=P,className:i}){const l=t.computedOf(o)(n=>!n||n.length===0?{strength:"weak",score:0}:$(n,e)),c=l.map(n=>n.strength),r=l.map(n=>n.score),a=t.computedOf(c,i)((n,u)=>["bc-password-strength-bar",`bc-password-strength-bar--${n}`,u].filter(Boolean).join(" "));return t.html.div(t.attr.class(a),t.html.div(t.attr.class("bc-password-strength-bar__fill"),t.attr.style(r.map(n=>`width: ${n}%`))))}function ct({password:o,rules:e=P,className:i}){const l=t.computedOf(o)(r=>!r||r.length===0?"weak":$(r,e).strength),c=t.computedOf(l,i)((r,a)=>["bc-password-strength-text",`bc-password-strength-text--${r}`,a].filter(Boolean).join(" "));return t.Use(S.AuthI18n,r=>t.html.span(t.attr.class(c),t.computedOf(l,r)((a,n)=>{switch(a){case"weak":return n.passwordStrengthWeak;case"fair":return n.passwordStrengthFair;case"good":return n.passwordStrengthGood;case"strong":return n.passwordStrengthStrong;default:return n.passwordStrengthWeak}})))}function M({passwordRules:o,labels:e,showPasswordStrength:i,onSignUp:l,showNameField:c,showConfirmPassword:r,showAcceptTermsAndConditions:a,termsAndConditions:n}){const u=t.prop(!1),s=o||P,f=T(s,{showNameField:c!==!1,showConfirmPassword:r!==!1,showAcceptTermsAndConditions:a!==!1}),b=m.useForm({schema:f,onSubmit:q({task:l!=null?k=>l({email:k.email,password:k.password,name:k.name}):void 0,message:"Reset password failed",onStart:()=>{u.set(!0),b.controller.disable()},onEnd:()=>{u.set(!1),b.controller.enable()}}),initialValue:{name:"",email:"",password:"",confirmPassword:"",acceptTerms:!1}}),{controller:h,submit:g}=b;u.on(h.setDisabled);const _=h.field("name"),B=h.field("email"),I=h.field("password"),O=h.field("confirmPassword"),v=h.field("acceptTerms");return t.Use(S.AuthI18n,k=>t.html.form(t.OnDispose(h.dispose,u.dispose),t.attr.class("bc-auth-form__form"),t.on.submit(g),m.Stack(t.attr.class("bc-auth-form__fields"),t.Ensure(h.error,L=>m.Notice({variant:"danger",tone:"prominent",role:"alert"},t.html.div(L))),t.When(c!==!1,()=>m.Control(m.TextInput,{controller:_.transform(L=>L??"",L=>L===""?void 0:L),label:t.coalesce(e?.nameLabel,k.$.nameLabel)})),m.Control(m.EmailInput,{controller:B,label:t.coalesce(e?.emailLabel,k.$.emailLabel)}),m.Control(m.PasswordInput,{controller:I,label:t.coalesce(e?.passwordLabel,k.$.passwordLabel)}),t.When(i??!1,()=>R({password:I.value,rules:s,showLabel:!0})),t.When(r??!1,()=>m.Control(m.PasswordInput,{controller:O,label:t.coalesce(e?.confirmPasswordLabel,k.$.confirmPasswordLabel)})),t.When(a??!1,()=>t.html.div(t.attr.class("bc-auth-form__terms"),t.html.label(t.attr.class("bc-auth-form__checkbox-label"),m.CheckboxInput({value:v.value.map(L=>L??!1),onChange:L=>v.change(L)}),t.html.span(n||t.coalesce(e?.acceptTermsLabel,k.$.acceptTermsLabel))),t.When(v.errorVisible,()=>t.html.div(t.attr.class("bc-auth-form__field-error"),v.error.map(L=>L||"")))))),m.Button({type:"submit",variant:"filled",color:"primary",loading:u,disabled:h.disabledOrHasErrors},t.attr.class("bc-auth-form__submit"),t.coalesce(e?.signUpButton,k.$.signUpButton))))}function N({onResetPassword:o,labels:e={}}){const i=W(),l=t.prop(!1),c=m.useForm({schema:U,onSubmit:q({task:o,message:"Reset password failed",onStart:()=>{l.set(!0),c.controller.disable()},onEnd:()=>{l.set(!1),c.controller.enable()}}),initialValue:{email:""}}),{controller:r,submit:a}=c;l.on(r.setDisabled);const n=r.field("email");return i.on(u=>{u!=null&&n.change(u)}),t.Use(S.AuthI18n,u=>t.html.form(t.OnDispose(r.dispose,i.dispose,l.dispose),t.attr.class("bc-auth-form__form"),t.Ensure(r.error,s=>m.Notice({variant:"danger",tone:"prominent",role:"alert"},t.html.div(s))),t.html.p(t.attr.class("bc-auth-form__description"),t.coalesce(e?.resetPasswordDescription,u.$.resetPasswordDescription)),t.on.submit(a),m.Stack(t.attr.class("bc-auth-form__fields"),m.Control(m.EmailInput,{controller:n,label:t.coalesce(e?.emailLabel,u.$.emailLabel)})),m.Button({loading:l,type:"submit",variant:"filled",color:"primary",disabled:r.disabledOrHasErrors},t.attr.class("bc-auth-form__submit"),t.coalesce(e?.resetPasswordButton,u.$.resetPasswordButton))))}function p({provider:o,onClick:e,size:i="md",name:l,icon:c,color:r,flow:a,labels:n}){const u=async()=>{if(e)try{a==="popup"?await e():await e()}catch(s){console.error(`Social login error for ${o} (${a||"redirect"} flow):`,s)}};return m.Button({type:"button",variant:"filled",size:i,color:r,onClick:u,roundedness:"full"},t.attr.class("bc-social-login-button"),t.attr.class(t.computedOf(o)(s=>`bc-social-login-button--${s}`)),t.html.span(t.attr.class("bc-social-login-button__inner"),t.html.span(t.attr.class("bc-social-login-button__icon"),m.Icon({icon:c,size:i},t.attr.class("bc-social-login-button__icon-inner"))),t.Use(S.AuthI18n,s=>t.html.span(t.attr.class("bc-social-login-button__label"),t.bind(t.coalesce(n?.continueWithProvider,s.$.continueWithProvider))(l)))))}function G({providers:o,onProviderClick:e,size:i="md",className:l}){return m.Stack(t.attr.class("bc-social-login-buttons"),t.attr.class(l),t.ForEach(o,c=>p({provider:c.$.provider,flow:c.$.flow,color:c.map(({provider:r})=>d[r].color),name:c.map(({provider:r})=>d[r].name),icon:c.map(({provider:r})=>d[r].icon),onClick:async()=>{e&&await e(c.$.provider.value)},size:i})))}const d={google:{name:"Google",icon:"logos:google-icon",color:"red"},github:{name:"GitHub",icon:"logos:github-icon",color:"black"},apple:{name:"Apple",icon:"logos:apple",color:"stone"},facebook:{name:"Facebook",icon:"logos:facebook",color:"blue"},twitter:{name:"Twitter",icon:"logos:twitter",color:"sky"},x:{name:"X",icon:"logos:x",color:"zinc"},microsoft:{name:"Microsoft",icon:"logos:microsoft-icon",color:"amber"},discord:{name:"Discord",icon:"logos:discord-icon",color:"indigo"},linkedin:{name:"LinkedIn",icon:"logos:linkedin-icon",color:"cyan"},instagram:{name:"Instagram",icon:"logos:instagram-icon",color:"fuchsia"},tiktok:{name:"TikTok",icon:"logos:tiktok-icon",color:"teal"},snapchat:{name:"Snapchat",icon:"streamline-logos:snapchat-logo-solid",color:"yellow"},reddit:{name:"Reddit",icon:"logos:reddit-icon",color:"orange"},pinterest:{name:"Pinterest",icon:"logos:pinterest",color:"rose"},twitch:{name:"Twitch",icon:"logos:twitch",color:"purple"},steam:{name:"Steam",icon:"logos:steam",color:"slate"},epic:{name:"Epic Games",icon:"streamline-logos:epic-games-logo-solid",color:"neutral"},playstation:{name:"PlayStation",icon:"streamline-logos:playstation-logo-solid",color:"violet"},xbox:{name:"Xbox",icon:"streamline-logos:xbox-live-logo-solid",color:"green"},whatsapp:{name:"WhatsApp",icon:"logos:whatsapp-icon",color:"emerald"},wechat:{name:"WeChat",icon:"streamline-logos:wechat-logo",color:"lime"},amazon:{name:"Amazon",icon:"streamline-logos:amazon-logo-solid",color:"red"},yahoo:{name:"Yahoo",icon:"logos:yahoo",color:"rose"},paypal:{name:"PayPal",icon:"logos:paypal",color:"blue"}},lt=o=>p({...o,...d.google,provider:"google"}),mt=o=>p({...o,...d.github,provider:"github"}),ut=o=>p({...o,...d.apple,provider:"apple"}),dt=o=>p({...o,...d.facebook,provider:"facebook"}),pt=o=>p({...o,...d.x,provider:"x"}),ht=o=>p({...o,...d.twitter,provider:"twitter"}),gt=o=>p({...o,...d.microsoft,provider:"microsoft"}),ft=o=>p({...o,...d.discord,provider:"discord"}),bt=o=>p({...o,...d.linkedin,provider:"linkedin"}),wt=o=>p({...o,...d.instagram,provider:"instagram"}),Lt=o=>p({...o,...d.tiktok,provider:"tiktok"}),_t=o=>p({...o,...d.snapchat,provider:"snapchat"}),vt=o=>p({...o,...d.reddit,provider:"reddit"}),kt=o=>p({...o,...d.pinterest,provider:"pinterest"}),St=o=>p({...o,...d.twitch,provider:"twitch"}),Pt=o=>p({...o,...d.steam,provider:"steam"}),yt=o=>p({...o,...d.epic,provider:"epic"}),Bt=o=>p({...o,...d.playstation,provider:"playstation"}),It=o=>p({...o,...d.xbox,provider:"xbox"}),xt=o=>p({...o,...d.whatsapp,provider:"whatsapp"}),qt=o=>p({...o,...d.wechat,provider:"wechat"}),At=o=>p({...o,...d.amazon,provider:"amazon"}),Ct=o=>p({...o,...d.yahoo,provider:"yahoo"}),Tt=o=>p({...o,...d.paypal,provider:"paypal"});function z({providers:o}){return m.Stack(G({providers:o}))}function j({mode:o,socialProviders:e,passwordRules:i,showRememberMe:l,showSocialDivider:c,showPasswordStrength:r,labels:a,onSignIn:n,onSignUp:u,onResetPassword:s,onModeChange:f,showContainer:b},...h){const g=o!=null?t.Value.deriveProp(o):t.prop("signin");return g.on(_=>f?.(_)),t.Use(S.AuthI18n,_=>{function B(){const v=t.coalesce(a?.hasAccountLink,_.$.hasAccountLink);return t.html.button(t.attr.type("button"),t.attr.class("bc-auth-form__link"),t.on.click(()=>g.set("signin")),v)}function I(){return t.html.button(t.attr.type("button"),t.attr.class("bc-auth-form__link"),t.on.click(()=>g.set("signup")),t.coalesce(a?.noAccountLink,_.$.noAccountLink))}function O(){return t.html.button(t.attr.type("button"),t.attr.class("bc-auth-form__link"),t.on.click(()=>g.set("reset-password")),t.coalesce(a?.forgotPasswordLink,_.$.forgotPasswordLink))}return t.html.div(H.classes({"bc-auth-container":!0,"bc-auth-container--styled":t.Value.map(b??!0,v=>v)}),t.attr.class(g.map(v=>`bc-auth-container--${v}`)),t.attr.class("bc-auth-form"),t.OnDispose(g.dispose),t.OneOfValue(g,{signin:()=>t.Fragment(t.html.h2(t.attr.class("bc-auth-form__title"),t.coalesce(a?.signInTitle,_.$.signInTitle)),e!=null?t.Fragment(z({providers:e}),t.When(c??!1,E)):null,V({onSignIn:n,showRememberMe:l,passwordRules:i,labels:{emailLabel:a?.emailLabel,passwordLabel:a?.passwordLabel,rememberMeLabel:a?.rememberMeLabel,signInButton:a?.signInButton,forgotPasswordLink:a?.forgotPasswordLink,noAccountLink:a?.noAccountLink}}),m.Stack(t.attr.class("bc-auth-form__footer"),I(),O())),signup:()=>t.Fragment(t.html.h2(t.attr.class("bc-auth-form__title"),t.coalesce(a?.signUpTitle,_.$.signUpTitle)),e!=null?t.Fragment(z({providers:e}),t.When(c??!1,E)):null,M({labels:{nameLabel:a?.nameLabel,emailLabel:a?.emailLabel,passwordLabel:a?.passwordLabel,confirmPasswordLabel:a?.confirmPasswordLabel,acceptTermsLabel:a?.acceptTermsLabel,signUpButton:a?.signUpButton,hasAccountLink:a?.hasAccountLink},onSignUp:u,passwordRules:i,showPasswordStrength:r}),m.Stack(t.attr.class("bc-auth-form__footer"),B())),"reset-password":()=>t.Fragment(t.html.h2(t.attr.class("bc-auth-form__title"),t.coalesce(a?.resetPasswordTitle,_.$.resetPasswordTitle)),N({labels:{backToSignInLink:a?.backToSignInLink,emailLabel:a?.emailLabel,resetPasswordButton:a?.resetPasswordButton,resetPasswordDescription:a?.resetPasswordDescription},onResetPassword:s}),m.Stack(t.attr.class("bc-auth-form__footer"),B()))}),...h)})}function $t(o){return w.Modal({size:"sm",dismissable:!0,showCloseButton:!0},(e,i)=>o(l=>e({body:j({showContainer:!1,...l}),header:t.Use(S.AuthI18n,c=>t.coalesce(l.modalTitle,c.$.authenticationTitle))})))}function E({labels:o,className:e}={}){return t.html.div(t.attr.class("bc-auth-divider"),t.attr.class(e),t.html.div(t.attr.class("bc-auth-divider__line")),t.Use(S.AuthI18n,i=>t.html.span(t.attr.class("bc-auth-divider__text"),t.coalesce(o?.text,i.$.orDivider))),t.html.div(t.attr.class("bc-auth-divider__line")))}exports.AmazonLoginButton=At;exports.AppleLoginButton=ut;exports.AuthContainer=j;exports.AuthDivider=E;exports.AuthModal=$t;exports.DiscordLoginButton=ft;exports.EpicLoginButton=yt;exports.FacebookLoginButton=dt;exports.GitHubLoginButton=mt;exports.GoogleLoginButton=lt;exports.InstagramLoginButton=wt;exports.LinkedInLoginButton=bt;exports.MicrosoftLoginButton=gt;exports.PasswordStrengthBar=it;exports.PasswordStrengthIndicator=R;exports.PasswordStrengthText=ct;exports.PayPalLoginButton=Tt;exports.PinterestLoginButton=kt;exports.PlayStationLoginButton=Bt;exports.RedditLoginButton=vt;exports.ResetPasswordForm=N;exports.SignInForm=V;exports.SignUpForm=M;exports.SnapchatLoginButton=_t;exports.SocialLoginButton=p;exports.SocialLoginButtons=G;exports.SocialProviders=z;exports.SteamLoginButton=Pt;exports.TiktokLoginButton=Lt;exports.TwitchLoginButton=St;exports.TwitterLoginButton=ht;exports.WeChatLoginButton=qt;exports.WhatsAppLoginButton=xt;exports.XLoginButtin=pt;exports.XboxLoginButton=It;exports.YahooLoginButton=Ct;exports.authSchemas=nt;exports.calculatePasswordStrength=$;exports.createPasswordSchema=A;exports.createSignInSchema=C;exports.createSignUpSchema=T;exports.createSocialLoginUrl=K;exports.defaultPasswordRules=P;exports.defaultSignInSchema=et;exports.defaultSignUpSchema=at;exports.emailSchema=y;exports.formatAuthError=tt;exports.formatProviderName=F;exports.formatSocialLoginText=Z;exports.generateRandomString=D;exports.getProviderColor=Y;exports.getProviderIcon=X;exports.isBrowser=ot;exports.isValidEmail=J;exports.openSocialLoginPopup=Q;exports.providerInfo=x;exports.requestToControllerValidation=q;exports.resetPasswordSchema=U;exports.socialProviderInfo=d;exports.useAuthEmailProp=W;exports.validateEmail=rt;exports.validatePassword=st;
@@ -1,7 +1,7 @@
1
1
  import { localStorageProp as re, prop as E, Use as P, html as i, OnDispose as U, attr as t, on as T, When as L, coalesce as h, Ensure as N, computedOf as f, bind as ie, ForEach as ce, Value as Q, OneOfValue as le, Fragment as A } from "@tempots/dom";
2
- import { t as me, b as ee, u as R, S as q, c as se, d as $, P as M, E as W, N as G, a as O, T as ue, I as de } from "../notice-DKO4C8y2.js";
3
- import { s as I, o as H, b as D, M as pe } from "../modal-Fect9dc4.js";
4
- import { AuthI18n as x } from "../translations-BBguPjg9.js";
2
+ import { t as me, b as ee, u as R, S as q, c as se, d as $, P as M, E as W, N as G, a as O, T as ue, I as de } from "../notice-DVEacWKt.js";
3
+ import { s as I, o as H, b as D, M as pe } from "../modal-DvGSDVSv.js";
4
+ import { AuthI18n as x } from "../translations-DdNHXAWr.js";
5
5
  import { classes as he } from "@tempots/ui";
6
6
  const j = {
7
7
  google: { name: "Google", icon: "logos:google-icon", color: "#4285f4" },
package/dist/beatui.css CHANGED
@@ -6608,6 +6608,7 @@ span.bc-sidebar-link {
6608
6608
  .bc-tabs__panels {
6609
6609
  flex: 1;
6610
6610
  position: relative;
6611
+ flex-grow: 1;
6611
6612
  }
6612
6613
 
6613
6614
  .bc-tabs--vertical .bc-tabs__panels {
@@ -6283,6 +6283,7 @@ span.bc-sidebar-link {
6283
6283
  .bc-tabs__panels {
6284
6284
  flex: 1;
6285
6285
  position: relative;
6286
+ flex-grow: 1;
6286
6287
  }
6287
6288
 
6288
6289
  .bc-tabs--vertical .bc-tabs__panels {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./notice-DrmHRjLV.cjs"),l={loadingExtended:"Lädt, bitte warten",loadingShort:"Lädt...",iconDescription:"Symbol",loadingIcon:"Ladesymbol",locale:"Landesvariante",failedToLoadIcon:"Symbol konnte nicht geladen werden",editLabel:"Bearbeiten",selectOne:"Eines auswählen",selectMany:"Mehrere auswählen",noResults:"Keine Ergebnisse",passwordPlaceholderText:"Geheimes Passwort",togglePasswordVisibility:"Passwort-Sichtbarkeit umschalten",toggleMenu:"Menü umschalten",toggleAside:"Seitenleiste umschalten",mainNavigation:"Hauptnavigation",sidebar:"Seitenleiste",closeDrawer:"Schublade schließen",closeModal:"Modal schließen",confirm:"Bestätigen",cancel:"Abbrechen",addLabel:"Hinzufügen",removeItem:"Element entfernen",currentLocale:"Deutsch",ar:"Arabisch",de:"Deutsch",en:"Englisch",es:"Spanisch",fr:"Französisch",hi:"Hindi",it:"Italienisch",ja:"Japanisch",ko:"Koreanisch",nl:"Niederländisch",pl:"Polnisch",pt:"Portugiesisch",ru:"Russisch",tr:"Türkisch",vi:"Vietnamesisch",zh:"Chinesisch",he:"Hebräisch",fa:"Persisch",ur:"Urdu",emailPlaceholderText:"E-Mail eingeben",incrementValue:"Wert erhöhen",decrementValue:"Wert verringern",dropZoneInstructions:e=>e?"Klicken zum Auswählen oder Dateien hierher ziehen, oder Enter oder Leertaste drücken, um Dateiauswahl zu öffnen":"Dateien hierher ziehen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Datei entfernen",clearAllFiles:"Alle Dateien löschen",clearValue:"Wert löschen",unknownType:"Unbekannter Typ",filesInputInstructions:(e,t,i)=>{let r=e==null||e>1?"Klicken zum Auswählen oder Dateien hierher ziehen":"Klicken zum Auswählen oder Datei hierher ziehen";if(e||t){const n=[];if(e!=null&&e>1&&n.push(`bis zu ${e} Dateien`),t&&i){const a=s.formatFileSize(t,{units:i});n.push(`max ${a} je Datei`)}n.length>0&&(r+=` (${n.join(", ")})`)}else if(t&&i){const n=s.formatFileSize(t,{units:i});r+=` (max ${n})`}return r}};exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./notice-DBME6bFw.cjs"),l={loadingExtended:"Lädt, bitte warten",loadingShort:"Lädt...",iconDescription:"Symbol",loadingIcon:"Ladesymbol",locale:"Landesvariante",failedToLoadIcon:"Symbol konnte nicht geladen werden",editLabel:"Bearbeiten",selectOne:"Eines auswählen",selectMany:"Mehrere auswählen",noResults:"Keine Ergebnisse",passwordPlaceholderText:"Geheimes Passwort",togglePasswordVisibility:"Passwort-Sichtbarkeit umschalten",toggleMenu:"Menü umschalten",toggleAside:"Seitenleiste umschalten",mainNavigation:"Hauptnavigation",sidebar:"Seitenleiste",closeDrawer:"Schublade schließen",closeModal:"Modal schließen",confirm:"Bestätigen",cancel:"Abbrechen",addLabel:"Hinzufügen",removeItem:"Element entfernen",currentLocale:"Deutsch",ar:"Arabisch",de:"Deutsch",en:"Englisch",es:"Spanisch",fr:"Französisch",hi:"Hindi",it:"Italienisch",ja:"Japanisch",ko:"Koreanisch",nl:"Niederländisch",pl:"Polnisch",pt:"Portugiesisch",ru:"Russisch",tr:"Türkisch",vi:"Vietnamesisch",zh:"Chinesisch",he:"Hebräisch",fa:"Persisch",ur:"Urdu",emailPlaceholderText:"E-Mail eingeben",incrementValue:"Wert erhöhen",decrementValue:"Wert verringern",dropZoneInstructions:e=>e?"Klicken zum Auswählen oder Dateien hierher ziehen, oder Enter oder Leertaste drücken, um Dateiauswahl zu öffnen":"Dateien hierher ziehen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Datei entfernen",clearAllFiles:"Alle Dateien löschen",clearValue:"Wert löschen",unknownType:"Unbekannter Typ",filesInputInstructions:(e,t,i)=>{let r=e==null||e>1?"Klicken zum Auswählen oder Dateien hierher ziehen":"Klicken zum Auswählen oder Datei hierher ziehen";if(e||t){const n=[];if(e!=null&&e>1&&n.push(`bis zu ${e} Dateien`),t&&i){const a=s.formatFileSize(t,{units:i});n.push(`max ${a} je Datei`)}n.length>0&&(r+=` (${n.join(", ")})`)}else if(t&&i){const n=s.formatFileSize(t,{units:i});r+=` (max ${n})`}return r}};exports.default=l;
@@ -1,4 +1,4 @@
1
- import { f as s } from "./notice-DKO4C8y2.js";
1
+ import { f as s } from "./notice-DVEacWKt.js";
2
2
  const o = {
3
3
  loadingExtended: "Lädt, bitte warten",
4
4
  loadingShort: "Lädt...",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DrmHRjLV.cjs"),i={loadingExtended:"Cargando, por favor espere",loadingShort:"Cargando...",locale:"Idioma",iconDescription:"Icono",loadingIcon:"Icono de carga",failedToLoadIcon:"Error al cargar el icono",editLabel:"Editar",selectOne:"Seleccionar uno",selectMany:"Seleccionar varios",noResults:"Sin resultados",passwordPlaceholderText:"Contraseña Secreta",togglePasswordVisibility:"Alternar visibilidad de contraseña",toggleMenu:"Alternar menú",toggleAside:"Alternar panel lateral",mainNavigation:"Navegación principal",sidebar:"Barra lateral",closeDrawer:"Cerrar cajón",closeModal:"Cerrar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Agregar",removeItem:"Eliminar elemento",currentLocale:"Español",ar:"Árabe",de:"Alemán",en:"Inglés",es:"Español",fr:"Francés",hi:"Hindi",it:"Italiano",ja:"Japonés",ko:"Coreano",nl:"Neerlandés",pl:"Polaco",pt:"Portugués",ru:"Ruso",tr:"Turco",vi:"Vietnamita",zh:"Chino",he:"Hebreo",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Correo electrónico",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:r=>r?"Haz clic para elegir o arrastra archivos aquí, o presiona Enter o Espacio para abrir el selector de archivos":"Arrastra archivos aquí",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Eliminar archivo",clearAllFiles:"Borrar todos los archivos",clearValue:"Borrar valor",unknownType:"Tipo desconocido",filesInputInstructions:(r,e,o)=>{let n=r==null||r>1?"Haz clic para elegir o arrastra archivos aquí":"Haz clic para elegir o arrastra un archivo aquí";if(r||e){const a=[];if(r!=null&&r>1&&a.push(`hasta ${r} archivos`),e&&o){const t=l.formatFileSize(e,{units:o});a.push(`máx ${t} cada uno`)}a.length>0&&(n+=` (${a.join(", ")})`)}else if(e&&o){const a=l.formatFileSize(e,{units:o});n+=` (máx ${a})`}return n}};exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DBME6bFw.cjs"),i={loadingExtended:"Cargando, por favor espere",loadingShort:"Cargando...",locale:"Idioma",iconDescription:"Icono",loadingIcon:"Icono de carga",failedToLoadIcon:"Error al cargar el icono",editLabel:"Editar",selectOne:"Seleccionar uno",selectMany:"Seleccionar varios",noResults:"Sin resultados",passwordPlaceholderText:"Contraseña Secreta",togglePasswordVisibility:"Alternar visibilidad de contraseña",toggleMenu:"Alternar menú",toggleAside:"Alternar panel lateral",mainNavigation:"Navegación principal",sidebar:"Barra lateral",closeDrawer:"Cerrar cajón",closeModal:"Cerrar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Agregar",removeItem:"Eliminar elemento",currentLocale:"Español",ar:"Árabe",de:"Alemán",en:"Inglés",es:"Español",fr:"Francés",hi:"Hindi",it:"Italiano",ja:"Japonés",ko:"Coreano",nl:"Neerlandés",pl:"Polaco",pt:"Portugués",ru:"Ruso",tr:"Turco",vi:"Vietnamita",zh:"Chino",he:"Hebreo",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Correo electrónico",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:r=>r?"Haz clic para elegir o arrastra archivos aquí, o presiona Enter o Espacio para abrir el selector de archivos":"Arrastra archivos aquí",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Eliminar archivo",clearAllFiles:"Borrar todos los archivos",clearValue:"Borrar valor",unknownType:"Tipo desconocido",filesInputInstructions:(r,e,o)=>{let n=r==null||r>1?"Haz clic para elegir o arrastra archivos aquí":"Haz clic para elegir o arrastra un archivo aquí";if(r||e){const a=[];if(r!=null&&r>1&&a.push(`hasta ${r} archivos`),e&&o){const t=l.formatFileSize(e,{units:o});a.push(`máx ${t} cada uno`)}a.length>0&&(n+=` (${a.join(", ")})`)}else if(e&&o){const a=l.formatFileSize(e,{units:o});n+=` (máx ${a})`}return n}};exports.default=i;
@@ -1,4 +1,4 @@
1
- import { f as l } from "./notice-DKO4C8y2.js";
1
+ import { f as l } from "./notice-DVEacWKt.js";
2
2
  const c = {
3
3
  loadingExtended: "Cargando, por favor espere",
4
4
  loadingShort: "Cargando...",
@@ -1,4 +1,4 @@
1
- import { f as l } from "./notice-DKO4C8y2.js";
1
+ import { f as l } from "./notice-DVEacWKt.js";
2
2
  const s = {
3
3
  loadingExtended: "در حال بارگذاری، لطفاً صبر کنید",
4
4
  loadingShort: "در حال بارگذاری...",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DrmHRjLV.cjs"),a={loadingExtended:"در حال بارگذاری، لطفاً صبر کنید",loadingShort:"در حال بارگذاری...",locale:"زبان",iconDescription:"نماد",loadingIcon:"نماد بارگذاری",failedToLoadIcon:"بارگذاری نماد ناموفق بود",editLabel:"ویرایش",selectOne:"یکی را انتخاب کنید",selectMany:"چند مورد را انتخاب کنید",noResults:"بدون نتیجه",passwordPlaceholderText:"رمز عبور محرمانه",togglePasswordVisibility:"نمایش/مخفی کردن رمز عبور",toggleMenu:"نمایش/مخفی کردن منو",toggleAside:"نمایش/مخفی کردن پانل کناری",mainNavigation:"ناوبری اصلی",sidebar:"نوار کناری",closeDrawer:"بستن کشو",closeModal:"بستن پنجره",confirm:"تأیید",cancel:"لغو",addLabel:"افزودن",removeItem:"حذف مورد",currentLocale:"فارسی",ar:"عربی",de:"آلمانی",en:"انگلیسی",es:"اسپانیایی",fr:"فرانسوی",he:"عبری",hi:"هندی",it:"ایتالیایی",ja:"ژاپنی",ko:"کره‌ای",nl:"هلندی",pl:"لهستانی",pt:"پرتغالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"ایمیل خود را وارد کنید",incrementValue:"افزایش مقدار",decrementValue:"کاهش مقدار",dropZoneInstructions:e=>e?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید، یا Enter یا Space را فشار دهید تا انتخابگر فایل باز شود":"فایل‌ها را بکشید",fileSizeUnits:["بایت","کیلوبایت","مگابایت","گیگابایت","ترابایت"],removeFile:"حذف فایل",clearAllFiles:"حذف همه فایل‌ها",clearValue:"حذف مقدار",unknownType:"نوع ناشناخته",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید":"برای انتخاب کلیک کنید یا فایل را بکشید";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`تا ${e} فایل`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`حداکثر ${c} هر کدام`)}t.length>0&&(r+=` (${t.join("، ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (حداکثر ${t})`}return r}};exports.default=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DBME6bFw.cjs"),a={loadingExtended:"در حال بارگذاری، لطفاً صبر کنید",loadingShort:"در حال بارگذاری...",locale:"زبان",iconDescription:"نماد",loadingIcon:"نماد بارگذاری",failedToLoadIcon:"بارگذاری نماد ناموفق بود",editLabel:"ویرایش",selectOne:"یکی را انتخاب کنید",selectMany:"چند مورد را انتخاب کنید",noResults:"بدون نتیجه",passwordPlaceholderText:"رمز عبور محرمانه",togglePasswordVisibility:"نمایش/مخفی کردن رمز عبور",toggleMenu:"نمایش/مخفی کردن منو",toggleAside:"نمایش/مخفی کردن پانل کناری",mainNavigation:"ناوبری اصلی",sidebar:"نوار کناری",closeDrawer:"بستن کشو",closeModal:"بستن پنجره",confirm:"تأیید",cancel:"لغو",addLabel:"افزودن",removeItem:"حذف مورد",currentLocale:"فارسی",ar:"عربی",de:"آلمانی",en:"انگلیسی",es:"اسپانیایی",fr:"فرانسوی",he:"عبری",hi:"هندی",it:"ایتالیایی",ja:"ژاپنی",ko:"کره‌ای",nl:"هلندی",pl:"لهستانی",pt:"پرتغالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"ایمیل خود را وارد کنید",incrementValue:"افزایش مقدار",decrementValue:"کاهش مقدار",dropZoneInstructions:e=>e?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید، یا Enter یا Space را فشار دهید تا انتخابگر فایل باز شود":"فایل‌ها را بکشید",fileSizeUnits:["بایت","کیلوبایت","مگابایت","گیگابایت","ترابایت"],removeFile:"حذف فایل",clearAllFiles:"حذف همه فایل‌ها",clearValue:"حذف مقدار",unknownType:"نوع ناشناخته",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید":"برای انتخاب کلیک کنید یا فایل را بکشید";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`تا ${e} فایل`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`حداکثر ${c} هر کدام`)}t.length>0&&(r+=` (${t.join("، ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (حداکثر ${t})`}return r}};exports.default=a;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./notice-DrmHRjLV.cjs"),a={loadingExtended:"Chargement, veuillez patienter",loadingShort:"Chargement...",locale:"Langue",iconDescription:"Icône",loadingIcon:"Icône de chargement",failedToLoadIcon:"Échec du chargement de l'icône",editLabel:"Modifier",selectOne:"Sélectionner un",selectMany:"Sélectionner plusieurs",noResults:"Aucun résultat",passwordPlaceholderText:"Mot de passe secret",togglePasswordVisibility:"Basculer la visibilité du mot de passe",toggleMenu:"Basculer le menu",toggleAside:"Basculer le panneau latéral",mainNavigation:"Navigation principale",sidebar:"Barre latérale",closeDrawer:"Fermer le tiroir",closeModal:"Fermer la modale",confirm:"Confirmer",cancel:"Annuler",addLabel:"Ajouter",removeItem:"Supprimer l’élément",currentLocale:"Français",ar:"Arabe",de:"Allemand",en:"Anglais",es:"Espagnol",fr:"Français",hi:"Hindi",it:"Italien",ja:"Japonais",ko:"Coréen",nl:"Néerlandais",pl:"Polonais",pt:"Portuguais",ru:"Russe",tr:"Turc",vi:"Vietnamien",zh:"Chinois",he:"Hébreu",fa:"Persan",ur:"Ourdou",emailPlaceholderText:"Entrez votre e-mail",incrementValue:"Incrémenter la valeur",decrementValue:"Décrémenter la valeur",dropZoneInstructions:e=>e?"Cliquez pour choisir ou glissez des fichiers ici, ou appuyez sur Entrée ou Espace pour ouvrir le sélecteur de fichiers":"Glissez des fichiers ici",fileSizeUnits:["Octets","Ko","Mo","Go","To"],removeFile:"Supprimer le fichier",clearAllFiles:"Effacer tous les fichiers",clearValue:"Réinitialiser",unknownType:"Type inconnu",filesInputInstructions:(e,i,n)=>{let l=e==null||e>1?"Cliquez pour choisir ou glissez des fichiers ici":"Cliquez pour choisir ou glissez un fichier ici";if(e||i){const r=[];if(e!=null&&e>1&&r.push(`jusqu'à ${e} fichiers`),i&&n){const t=o.formatFileSize(i,{units:n});r.push(`max ${t} chacun`)}r.length>0&&(l+=` (${r.join(", ")})`)}else if(i&&n){const r=o.formatFileSize(i,{units:n});l+=` (max ${r})`}return l}};exports.default=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./notice-DBME6bFw.cjs"),a={loadingExtended:"Chargement, veuillez patienter",loadingShort:"Chargement...",locale:"Langue",iconDescription:"Icône",loadingIcon:"Icône de chargement",failedToLoadIcon:"Échec du chargement de l'icône",editLabel:"Modifier",selectOne:"Sélectionner un",selectMany:"Sélectionner plusieurs",noResults:"Aucun résultat",passwordPlaceholderText:"Mot de passe secret",togglePasswordVisibility:"Basculer la visibilité du mot de passe",toggleMenu:"Basculer le menu",toggleAside:"Basculer le panneau latéral",mainNavigation:"Navigation principale",sidebar:"Barre latérale",closeDrawer:"Fermer le tiroir",closeModal:"Fermer la modale",confirm:"Confirmer",cancel:"Annuler",addLabel:"Ajouter",removeItem:"Supprimer l’élément",currentLocale:"Français",ar:"Arabe",de:"Allemand",en:"Anglais",es:"Espagnol",fr:"Français",hi:"Hindi",it:"Italien",ja:"Japonais",ko:"Coréen",nl:"Néerlandais",pl:"Polonais",pt:"Portuguais",ru:"Russe",tr:"Turc",vi:"Vietnamien",zh:"Chinois",he:"Hébreu",fa:"Persan",ur:"Ourdou",emailPlaceholderText:"Entrez votre e-mail",incrementValue:"Incrémenter la valeur",decrementValue:"Décrémenter la valeur",dropZoneInstructions:e=>e?"Cliquez pour choisir ou glissez des fichiers ici, ou appuyez sur Entrée ou Espace pour ouvrir le sélecteur de fichiers":"Glissez des fichiers ici",fileSizeUnits:["Octets","Ko","Mo","Go","To"],removeFile:"Supprimer le fichier",clearAllFiles:"Effacer tous les fichiers",clearValue:"Réinitialiser",unknownType:"Type inconnu",filesInputInstructions:(e,i,n)=>{let l=e==null||e>1?"Cliquez pour choisir ou glissez des fichiers ici":"Cliquez pour choisir ou glissez un fichier ici";if(e||i){const r=[];if(e!=null&&e>1&&r.push(`jusqu'à ${e} fichiers`),i&&n){const t=o.formatFileSize(i,{units:n});r.push(`max ${t} chacun`)}r.length>0&&(l+=` (${r.join(", ")})`)}else if(i&&n){const r=o.formatFileSize(i,{units:n});l+=` (max ${r})`}return l}};exports.default=a;
@@ -1,4 +1,4 @@
1
- import { f as o } from "./notice-DKO4C8y2.js";
1
+ import { f as o } from "./notice-DVEacWKt.js";
2
2
  const t = {
3
3
  loadingExtended: "Chargement, veuillez patienter",
4
4
  loadingShort: "Chargement...",
@@ -1,4 +1,4 @@
1
- import { f as l } from "./notice-DKO4C8y2.js";
1
+ import { f as l } from "./notice-DVEacWKt.js";
2
2
  const s = {
3
3
  loadingExtended: "טוען, אנא המתן",
4
4
  loadingShort: "טוען...",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DrmHRjLV.cjs"),i={loadingExtended:"טוען, אנא המתן",loadingShort:"טוען...",locale:"שפה",iconDescription:"סמל",loadingIcon:"סמל טעינה",failedToLoadIcon:"נכשל בטעינת הסמל",editLabel:"עריכה",selectOne:"בחר אחד",selectMany:"בחר מספר",noResults:"אין תוצאות",passwordPlaceholderText:"סיסמה סודית",togglePasswordVisibility:"הצג/הסתר סיסמה",toggleMenu:"הצג/הסתר תפריט",toggleAside:"הצג/הסתר פאנל צדדי",mainNavigation:"ניווט ראשי",sidebar:"סרגל צדדי",closeDrawer:"סגור מגירה",closeModal:"סגור חלון קופץ",confirm:"אישור",cancel:"ביטול",addLabel:"הוסף",removeItem:"הסר פריט",currentLocale:"עברית",ar:"ערבית",de:"גרמנית",en:"אנגלית",es:"ספרדית",fr:"צרפתית",he:"עברית",hi:"הינדי",it:"איטלקית",ja:"יפנית",ko:"קוריאנית",nl:"הולנדית",pl:"פולנית",pt:"פורטוגזית",ru:"רוסית",tr:"טורקית",vi:"וייטנאמית",zh:"סינית",fa:"פרסית",ur:"אורדו",emailPlaceholderText:'הכנס את כתובת הדוא"ל',incrementValue:"הגדלת ערך",decrementValue:"הקטנת ערך",dropZoneInstructions:e=>e?"לחץ לבחירה או גרור קבצים כאן, או לחץ Enter או רווח לפתיחת בורר הקבצים":"גרור קבצים כאן",fileSizeUnits:["בתים","ק״ב","מ״ב","ג״ב","ט״ב"],removeFile:"הסר קובץ",clearAllFiles:"נקה את כל הקבצים",clearValue:"נקה ערך",unknownType:"סוג לא ידוע",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"לחץ לבחירה או גרור קבצים כאן":"לחץ לבחירה או גרור קובץ כאן";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`עד ${e} קבצים`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`מקסימום ${c} כל אחד`)}t.length>0&&(r+=` (${t.join(", ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (מקסימום ${t})`}return r}};exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DBME6bFw.cjs"),i={loadingExtended:"טוען, אנא המתן",loadingShort:"טוען...",locale:"שפה",iconDescription:"סמל",loadingIcon:"סמל טעינה",failedToLoadIcon:"נכשל בטעינת הסמל",editLabel:"עריכה",selectOne:"בחר אחד",selectMany:"בחר מספר",noResults:"אין תוצאות",passwordPlaceholderText:"סיסמה סודית",togglePasswordVisibility:"הצג/הסתר סיסמה",toggleMenu:"הצג/הסתר תפריט",toggleAside:"הצג/הסתר פאנל צדדי",mainNavigation:"ניווט ראשי",sidebar:"סרגל צדדי",closeDrawer:"סגור מגירה",closeModal:"סגור חלון קופץ",confirm:"אישור",cancel:"ביטול",addLabel:"הוסף",removeItem:"הסר פריט",currentLocale:"עברית",ar:"ערבית",de:"גרמנית",en:"אנגלית",es:"ספרדית",fr:"צרפתית",he:"עברית",hi:"הינדי",it:"איטלקית",ja:"יפנית",ko:"קוריאנית",nl:"הולנדית",pl:"פולנית",pt:"פורטוגזית",ru:"רוסית",tr:"טורקית",vi:"וייטנאמית",zh:"סינית",fa:"פרסית",ur:"אורדו",emailPlaceholderText:'הכנס את כתובת הדוא"ל',incrementValue:"הגדלת ערך",decrementValue:"הקטנת ערך",dropZoneInstructions:e=>e?"לחץ לבחירה או גרור קבצים כאן, או לחץ Enter או רווח לפתיחת בורר הקבצים":"גרור קבצים כאן",fileSizeUnits:["בתים","ק״ב","מ״ב","ג״ב","ט״ב"],removeFile:"הסר קובץ",clearAllFiles:"נקה את כל הקבצים",clearValue:"נקה ערך",unknownType:"סוג לא ידוע",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"לחץ לבחירה או גרור קבצים כאן":"לחץ לבחירה או גרור קובץ כאן";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`עד ${e} קבצים`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`מקסימום ${c} כל אחד`)}t.length>0&&(r+=` (${t.join(", ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (מקסימום ${t})`}return r}};exports.default=i;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DrmHRjLV.cjs"),i={loadingExtended:"लोड हो रहा है, कृपया प्रतीक्षा करें",loadingShort:"लोड हो रहा है...",locale:"स्थानीय",iconDescription:"आइकन",loadingIcon:"लोडिंग आइकन",failedToLoadIcon:"आइकन लोड करने में विफल",editLabel:"संपादित करें",selectOne:"एक चुनें",selectMany:"बहुत चुनें",noResults:"कोई परिणाम नहीं",passwordPlaceholderText:"गुप्त पासवर्ड",togglePasswordVisibility:"पासवर्ड दृश्यता टॉगल करें",toggleMenu:"मेनू टॉगल करें",toggleAside:"साइड पैनल टॉगल करें",mainNavigation:"मुख्य नेवीगेशन",sidebar:"साइडबार",closeDrawer:"ड्रॉअर बंद करें",closeModal:"मॉडल बंद करें",confirm:"पुष्टि करें",cancel:"रद्द करें",addLabel:"जोड़ें",removeItem:"आइटम हटाएं",currentLocale:"हिंदी",ar:"अरबी",de:"जर्मन",en:"अंग्रेज़ी",es:"स्पेनिश",fr:"फ्रेंच",hi:"हिन्दी",it:"इतालवी",ja:"जापानी",ko:"कोरियाई",nl:"डच",pl:"पोलिश",pt:"पोर्तुगीज",ru:"रूसी",tr:"तुर्की",vi:"वियतनामी",zh:"चीनी",he:"हिब्रू",fa:"फारसी",ur:"उर्दू",emailPlaceholderText:"अपना ईमेल दर्ज करें",incrementValue:"वृद्धि मान",decrementValue:"घटाना मान",dropZoneInstructions:e=>e?"चुनने के लिए क्लिक करें या फ़ाइलें यहाँ खींचें, या फाइल चयनकर्ता खोलने के लिए Enter या Space दबाएं":"फ़ाइलें यहाँ खींचें",fileSizeUnits:["बाइट्स","KB","MB","GB","TB"],removeFile:"फ़ाइल हटाएं",clearAllFiles:"सभी फ़ाइलें हटाएं",clearValue:"वृद्धि मान",unknownType:"अज्ञात प्रकार",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"चुनने के लिए क्लिक करें या फ़ाइलें यहाँ खींचें":"चुनने के लिए क्लिक करें या फ़ाइल यहाँ खींचें";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`अधिकतम ${e} फ़ाइलें`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`प्रत्येक अधिकतम ${c}`)}t.length>0&&(r+=` (${t.join(", ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (अधिकतम ${t})`}return r}};exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DBME6bFw.cjs"),i={loadingExtended:"लोड हो रहा है, कृपया प्रतीक्षा करें",loadingShort:"लोड हो रहा है...",locale:"स्थानीय",iconDescription:"आइकन",loadingIcon:"लोडिंग आइकन",failedToLoadIcon:"आइकन लोड करने में विफल",editLabel:"संपादित करें",selectOne:"एक चुनें",selectMany:"बहुत चुनें",noResults:"कोई परिणाम नहीं",passwordPlaceholderText:"गुप्त पासवर्ड",togglePasswordVisibility:"पासवर्ड दृश्यता टॉगल करें",toggleMenu:"मेनू टॉगल करें",toggleAside:"साइड पैनल टॉगल करें",mainNavigation:"मुख्य नेवीगेशन",sidebar:"साइडबार",closeDrawer:"ड्रॉअर बंद करें",closeModal:"मॉडल बंद करें",confirm:"पुष्टि करें",cancel:"रद्द करें",addLabel:"जोड़ें",removeItem:"आइटम हटाएं",currentLocale:"हिंदी",ar:"अरबी",de:"जर्मन",en:"अंग्रेज़ी",es:"स्पेनिश",fr:"फ्रेंच",hi:"हिन्दी",it:"इतालवी",ja:"जापानी",ko:"कोरियाई",nl:"डच",pl:"पोलिश",pt:"पोर्तुगीज",ru:"रूसी",tr:"तुर्की",vi:"वियतनामी",zh:"चीनी",he:"हिब्रू",fa:"फारसी",ur:"उर्दू",emailPlaceholderText:"अपना ईमेल दर्ज करें",incrementValue:"वृद्धि मान",decrementValue:"घटाना मान",dropZoneInstructions:e=>e?"चुनने के लिए क्लिक करें या फ़ाइलें यहाँ खींचें, या फाइल चयनकर्ता खोलने के लिए Enter या Space दबाएं":"फ़ाइलें यहाँ खींचें",fileSizeUnits:["बाइट्स","KB","MB","GB","TB"],removeFile:"फ़ाइल हटाएं",clearAllFiles:"सभी फ़ाइलें हटाएं",clearValue:"वृद्धि मान",unknownType:"अज्ञात प्रकार",filesInputInstructions:(e,o,n)=>{let r=e==null||e>1?"चुनने के लिए क्लिक करें या फ़ाइलें यहाँ खींचें":"चुनने के लिए क्लिक करें या फ़ाइल यहाँ खींचें";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`अधिकतम ${e} फ़ाइलें`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`प्रत्येक अधिकतम ${c}`)}t.length>0&&(r+=` (${t.join(", ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (अधिकतम ${t})`}return r}};exports.default=i;
@@ -1,4 +1,4 @@
1
- import { f as l } from "./notice-DKO4C8y2.js";
1
+ import { f as l } from "./notice-DVEacWKt.js";
2
2
  const s = {
3
3
  loadingExtended: "लोड हो रहा है, कृपया प्रतीक्षा करें",
4
4
  loadingShort: "लोड हो रहा है...",
@@ -1,5 +1,5 @@
1
- import { L as r } from "./index-BICIDfB6.js";
2
- import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, l as S, m as o, j as t } from "./milkdown-input-BI5TwGax.js";
1
+ import { L as r } from "./index-BMn-7Ble.js";
2
+ import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, l as S, m as o, j as t } from "./milkdown-input-CciSI_a5.js";
3
3
  const Z = e({
4
4
  null: O.null,
5
5
  instanceof: O.operatorKeyword,