@nocobase/app 1.7.0-beta.9 → 1.8.0-beta.1

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 (26) hide show
  1. package/dist/client/501.72b99d17.async.js +1 -0
  2. package/dist/client/5977.08716e4e.async.js +58 -0
  3. package/dist/client/index.html +1 -1
  4. package/dist/client/index.html.tpl +1 -1
  5. package/dist/client/npm._at_budibase.b1200847.async.js +36 -0
  6. package/dist/client/npm._at_dnd-kit.ebb2cc42.async.js +5 -0
  7. package/dist/client/npm._at_formily.f71b1c62.async.js +96 -0
  8. package/dist/client/{npm._at_rc-component.12d32a22.async.js → npm._at_rc-component.5f4cc5e2.async.js} +1 -1
  9. package/dist/client/{npm.dayjs.54ff5ad9.async.js → npm.dayjs.45ed1676.async.js} +1 -1
  10. package/dist/client/{npm.mermaid.42f5ed21.async.js → npm.mermaid.b398414f.async.js} +114 -114
  11. package/dist/client/{npm.rc-image.c695cc37.async.js → npm.rc-image.d550fa79.async.js} +1 -1
  12. package/dist/client/{npm.rc-menu.ab059b1c.async.js → npm.rc-menu.da4ef0ce.async.js} +1 -1
  13. package/dist/client/{npm.rc-select.6b32e443.async.js → npm.rc-select.44fb85b4.async.js} +1 -1
  14. package/dist/client/{npm.rc-tree.a1cc1b34.async.js → npm.rc-tree.49888c60.async.js} +1 -1
  15. package/dist/client/npm.sanitize-html.506a0a55.async.js +34 -0
  16. package/dist/client/npm.uuid.15e7bb90.async.js +1 -0
  17. package/dist/client/p__index.e8f58a9f.async.js +1665 -0
  18. package/dist/client/{umi.021ad53c.js → umi.a7d2d1d2.js} +16 -16
  19. package/package.json +6 -6
  20. package/dist/client/2167.a74bd66f.async.js +0 -58
  21. package/dist/client/501.e8db2401.async.js +0 -1
  22. package/dist/client/npm._at_budibase.4c85e362.async.js +0 -36
  23. package/dist/client/npm._at_dnd-kit.0058c596.async.js +0 -5
  24. package/dist/client/npm._at_formily.5f112117.async.js +0 -100
  25. package/dist/client/npm.sanitize-html.5dd1860c.async.js +0 -34
  26. package/dist/client/p__index.2fd148ac.async.js +0 -1600
@@ -18,6 +18,6 @@
18
18
  </head>
19
19
  <body>
20
20
  <div id="root"></div>
21
- <script src="/umi.021ad53c.js"></script>
21
+ <script src="/umi.a7d2d1d2.js"></script>
22
22
 
23
23
  </body></html>
@@ -18,6 +18,6 @@
18
18
  </head>
19
19
  <body>
20
20
  <div id="root"></div>
21
- <script src="/umi.021ad53c.js"></script>
21
+ <script src="/umi.a7d2d1d2.js"></script>
22
22
 
23
23
  </body></html>
@@ -0,0 +1,36 @@
1
+ (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[527],{11700:function(h,v,f){"use strict";var l=f(77218);h.exports=function(u,a){typeof u=="string"?u=[u]:Array.isArray(u)||(a=u,u=null),a=a||{};var e=a.handlebars||a.hbs||f(96750);if(h.exports.handlebars=e,u)u.forEach(function(n){e.registerHelper(l[n])});else for(const n in l){const r=l[n];e.registerHelper(r)}return e.helpers};for(const s in l){const u=l[s];h.exports[s]=function(a){a=a||{};var e=a.handlebars||a.hbs||f(96750);return h.exports.handlebars=e,e.registerHelper(u),u}}h.exports.utils=f(18849)},19886:function(h,v,f){"use strict";var l=f(6057),s=h.exports;const u=f(29946),a=f(54358);s.after=function(e,n){return l.isUndefined(e)?"":(e=l.result(e),Array.isArray(e)?e.slice(n):"")},s.arrayify=function(e){return l.isUndefined(e)?[]:e?Array.isArray(e)?e:[e]:[]},s.before=function(e,n){return l.isUndefined(e)?"":(e=l.result(e),Array.isArray(e)?e.slice(0,n-1):"")},s.eachIndex=function(e,n){var r="";if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e))for(var t=0;t<e.length;t++)r+=n.fn({item:e[t],index:t});return r},s.filter=function(e,n,r){if(l.isUndefined(e))return r.inverse(this);if(e=l.result(e),Array.isArray(e)){var t="",i=[],c=r.hash&&(r.hash.property||r.hash.prop);if(c?i=e.filter(function(d){return n===u(d,c)}):i=e.filter(function(d){return n===d}),i&&i.length>0){for(var o=0;o<i.length;o++)t+=r.fn(i[o]);return t}}return r.inverse(this)},s.first=function(e,n){return l.isUndefined(e)?[]:(e=l.result(e),Array.isArray(e)?isNaN(n)?e[0]:e.slice(0,n):[])},s.forEach=function(e,n){if(l.isUndefined(e))return n.inverse(this);if(e=l.result(e),Array.isArray(e)){for(var r=a(n,n.hash),t=e.length,i="",c=-1;++c<t;){var o=e[c];r.index=c,o.index=c+1,o.total=t,o.isFirst=c===0,o.isLast=c===t-1,i+=n.fn(o,{data:r})}return i}return n.inverse(this)},s.inArray=function(e,n,r){return l.isUndefined(e)?"":(e=l.result(e),Array.isArray(e)?l.value(l.indexOf(e,n)>-1,this,r):"")},s.isArray=function(e){return Array.isArray(e)},s.itemAt=function(e,n){if(l.isUndefined(e))return null;if(e=l.result(e),Array.isArray(e)){if(n=isNaN(n)?0:+n,n<0)return e[e.length+n];if(n<e.length)return e[n]}return null},s.join=function(e,n){return l.isUndefined(e)?"":typeof e=="string"?e:(e=l.result(e),Array.isArray(e)?(n=l.isString(n)?n:", ",e.join(n)):"")},s.equalsLength=function(e,n,r){l.isOptions(n)&&(r=n,n=0);var t=s.length(e);return l.value(t===n,this,r)},s.last=function(e,n){return l.isUndefined(e)||!Array.isArray(e)&&typeof value!="string"?"":isNaN(n)?e[e.length-1]:e.slice(-Math.abs(n))},s.length=function(e){return l.isUndefined(e)?0:(l.isObject(e)&&!l.isOptions(e)&&(e=Object.keys(e)),typeof e=="string"&&e.startsWith("[")&&e.endsWith("]")?e.split(",").length:typeof e=="string"||Array.isArray(e)?e.length:0)},s.lengthEqual=s.equalsLength,s.map=function(e,n){if(l.isUndefined(e)||!Array.isArray(e))return"";var r=e.length,t=new Array(r),i=-1;if(typeof n!="function")return e;for(;++i<r;)t[i]=n(e[i],i,e);return t},s.pluck=function(e,n){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){for(var r=[],t=0;t<e.length;t++){var i=u(e[t],n);typeof i<"u"&&r.push(i)}return r}return""},s.reverse=function(e){return l.isUndefined(e)?"":(e=l.result(e),Array.isArray(e)?[...e].reverse():e&&typeof e=="string"?e.split("").reverse().join(""):"")},s.some=function(e,n,r){if(l.isUndefined(e))return r.inverse(this);if(e=l.result(e),Array.isArray(e)){for(var t=0;t<e.length;t++)if(n(e[t],t,e))return r.fn(this)}return r.inverse(this)},s.sort=function(e,n){return l.isUndefined(e)?"":(e=l.result(e),Array.isArray(e)?u(n,"hash.reverse")?[...e].sort().reverse():[...e].sort():"")},s.sortBy=function(e,n,r){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){var t=[].slice.call(arguments);return t.pop(),!l.isString(n)&&typeof n!="function"?[...e].sort():typeof n=="function"?[...e].sort(n):[...e].sort((i,c)=>i[n]>c[n]?1:-1)}return""},s.withAfter=function(e,n,r){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){e=e.slice(n);for(var t="",i=0;i<e.length;i++)t+=r.fn(e[i]);return t}return""},s.withBefore=function(e,n,r){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){e=e.slice(0,-n);for(var t="",i=0;i<e.length;i++)t+=r.fn(e[i]);return t}return""},s.withFirst=function(e,n,r){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){if(l.isUndefined(n)||(n=parseFloat(l.result(n))),l.isUndefined(n))return r=n,r.fn(e[0]);e=e.slice(0,n);for(var t="",i=0;i<e.length;i++)t+=r.fn(e[i]);return t}return""},s.withGroup=function(e,n,r){if(l.isUndefined(e))return"";var t="";if(e=l.result(e),Array.isArray(e)&&e.length>0){for(var i=[],c=0;c<e.length;c++)c>0&&c%n===0&&(t+=r.fn(i),i=[]),i.push(e[c]);t+=r.fn(i)}return t},s.withLast=function(e,n,r){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){if(l.isUndefined(n)||(n=parseFloat(l.result(n))),l.isUndefined(n))return r=n,r.fn(e[e.length-1]);e=e.slice(-n);for(var t=e.length,i=-1,c="";++i<t;)c+=r.fn(e[i]);return c}return""},s.withSort=function(e,n,r){if(l.isUndefined(e))return"";if(e=l.result(e),Array.isArray(e)){var t="";if(l.isUndefined(n)){r=n,e=[...e].sort(),u(r,"hash.reverse")&&(e=e.reverse());for(var i=0,c=e.length;i<c;i++)t+=r.fn(e[i]);return t}e=[...e].sort(function(y,w){return y=u(y,n),w=u(w,n),y>w?1:y<w?-1:0}),u(r,"hash.reverse")&&(e=e.reverse());for(var o=e.length,d=-1;++d<o;)t+=r.fn(e[d]);return t}return""},s.unique=function(e,n){return l.isUndefined(e)?"":(e=l.result(e),Array.isArray(e)?e.filter(function(r,t,i){return i.indexOf(r)===t}):"")}},94841:function(h,v,f){"use strict";var l=f(59816),s=f(94612);const u=f(13319),a=f(12533);var e=h.exports;e.embed=function(r,t){t=typeof t!="string"?s.extname(r).slice(1):t;var i=l.readFileSync(r,"utf8");return(t==="markdown"||t==="md")&&(t="markdown",i=i.split("`").join("&#x60")),u(i,t).trim()+`
2
+ `},e.gist=function(n){return a("script",{src:"https://gist.github.com/"+n+".js"})},e.jsfiddle=function(r){var t=Object.assign({},r&&r.hash);if(typeof t.id>"u")throw new Error("jsfiddle helper expects an `id`");return t.id="http://jsfiddle.net/"+t.id,t.width=t.width||"100%",t.height=t.height||"300",t.skin=t.skin||"/presentation/",t.tabs=(t.tabs||"result,js,html,css")+t.skin,t.src=t.id+"/embedded/"+t.tabs,t.allowfullscreen=t.allowfullscreen||"allowfullscreen",t.frameborder=t.frameborder||"0",delete t.tabs,delete t.skin,delete t.id,a("iframe",t)}},4361:function(h,v,f){"use strict";var l=f(6057),s=f(32975),u=f(19886),a=u.forEach,e=s.forOwn,n=h.exports;n.isEmpty=function(r,t){if(!l.isOptions(t))return t=r,l.fn(!0,this,t);if(Array.isArray(r)&&!r.length)return l.fn(!0,this,t);var i=Object.keys(r),c=typeof r=="object"&&!i.length;return l.value(c,this,t)},n.iterate=function(r,t){return Array.isArray(r)?a.apply(null,arguments):l.isObject(r)?e.apply(null,arguments):t.inverse(this)}},20954:function(h,v,f){"use strict";var l=f(13501),s=f(6057),u=f(18849);const a=f(3503),e=f(72219);var n=h.exports;n.and=function(){for(var r=arguments.length-1,t=arguments[r],i=!0,c=0;c<r;c++)if(!arguments[c]){i=!1;break}return s.value(i,this,t)},n.compare=function(r,t,i,c){if(arguments.length<4)throw new Error("handlebars Helper {{compare}} expects 4 arguments");var o;switch(t){case"==":o=r==i;break;case"===":o=r===i;break;case"!=":o=r!=i;break;case"!==":o=r!==i;break;case"<":o=r<i;break;case">":o=r>i;break;case"<=":o=r<=i;break;case">=":o=r>=i;break;case"typeof":o=typeof r===i;break;default:throw new Error("helper {{compare}}: invalid operator: `"+t+"`")}return s.value(o,this,c)},n.contains=function(r,t,i,c){typeof i=="object"&&(c=i,i=void 0);var o=u.contains(r,t,i);return s.value(o,this,c)},n.default=function(){for(var r=0;r<arguments.length-1;r++)if(arguments[r]!=null)return arguments[r];return""},n.eq=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r===t,this,i)},n.gt=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r>t,this,i)},n.gte=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r>=t,this,i)},n.has=function(r,t,i){return s.isOptions(r)&&(i=r,t=null,r=null),s.isOptions(t)&&(i=t,t=null),r===null?s.value(!1,this,i):arguments.length===2?s.value(l(this,r),this,i):(Array.isArray(r)||s.isString(r))&&s.isString(t)&&r.indexOf(t)>-1?s.fn(!0,this,i):s.isObject(r)&&s.isString(t)&&t in r?s.fn(!0,this,i):s.inverse(!1,this,i)},n.isFalsey=function(r,t){return s.value(a(r),this,t)},n.isTruthy=function(r,t){return s.value(!a(r),this,t)},n.ifEven=function(r,t){return s.value(!e(r),this,t)},n.ifNth=function(r,t,i){var c=!isNaN(r)&&!isNaN(t)&&t%r===0;return s.value(c,this,i)},n.ifOdd=function(r,t){return s.value(e(r),this,t)},n.is=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r==t,this,i)},n.isnt=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r!=t,this,i)},n.lt=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r<t,this,i)},n.lte=function(r,t,i){return arguments.length===2&&(i=t,t=i.hash.compare),s.value(r<=t,this,i)},n.neither=function(r,t,i){return s.value(!r&&!t,this,i)},n.not=function(r,t){return s.value(!r,this,t)},n.or=function(){for(var r=arguments.length-1,t=arguments[r],i=!1,c=0;c<r;c++)if(arguments[c]){i=!0;break}return s.value(i,this,t)},n.unlessEq=function(r,t,i){return s.isOptions(t)&&(i=t,t=i.hash.compare),s.value(r!==t,this,i)},n.unlessGt=function(r,t,i){return s.isOptions(t)&&(i=t,t=i.hash.compare),s.value(r<=t,this,i)},n.unlessLt=function(r,t,i){return s.isOptions(t)&&(i=t,t=i.hash.compare),s.value(r>=t,this,i)},n.unlessGteq=function(r,t,i){return s.isOptions(t)&&(i=t,t=i.hash.compare),s.value(r<t,this,i)},n.unlessLteq=function(r,t,i){return s.isOptions(t)&&(i=t,t=i.hash.compare),s.value(r>t,this,i)}},11691:function(h,v,f){"use strict";var l=f(94612),s=f(6057),u=f(59251),a=u.parseAttributes,e=h.exports;const n=f(12533);e.attr=function(r){var t=a(r&&r.hash||{});return t.trim()?" "+t:""},e.css=function(r,t){arguments.length<2&&(t=r,r=[]);var i=s.arrayify(r),c="";return this&&this.options&&(c=this.options.assets||""),t.hash.href&&(i=s.arrayify(t.hash.href)),i.map(function(o){var d=l.extname(o),y=o;return/(^\/\/)|(:\/\/)/.test(o)||(y=l.posix.join(c,o)),d===".less"?`<link type="text/css" rel="stylesheet/less" href="${y}">`:`<link type="text/css" rel="stylesheet" href="${y}">`}).join(`
3
+ `)},e.js=function(r){if(typeof r=="object"&&r.hash){var t=a(r.hash);return`<script${t?" "+t:""}><\/script>`}return typeof r=="string"?`<script src="${r}"><\/script>`:(r=s.arrayify(r),r.map(function(i){return l.extname(i)===".coffee"?n("script",{type:"text/coffeescript",src:i}):n("script",{src:i})}).join(`
4
+ `))},e.sanitize=function(r){return u.sanitize(r)},e.ul=function(r,t){return"<ul "+a(t.hash)+">"+r.map(function(i){return typeof i!="string"&&(i=t.fn(i)),"<li>"+i+"</li>"}).join(`
5
+ `)+"</ul>"},e.ol=function(r,t){return"<ol "+a(t.hash)+">"+r.map(function(i){return typeof i!="string"&&(i=t.fn(i)),"<li>"+i+"</li>"}).join(`
6
+ `)+"</ol>"},e.thumbnailImage=function(r){var t="",i="",c=r.full||!1,o={alt:r.alt,src:r.thumbnail,width:r.size.width,height:r.size.height},d={id:"image-"+r.id},y={href:c,rel:"thumbnail"};return r.classes&&(r.classes.image&&(o.class=r.classes.image.join(" ")),r.classes.figure&&(d.class=r.classes.figure.join(" ")),r.classes.link&&(y.class=r.classes.link.join(" "))),t+="<figure "+a(d)+`>
7
+ `,i+="<img "+a(o)+`>
8
+ `,c?t+="<a "+a(y)+`>
9
+ `+i+`</a>
10
+ `:t+=i,r.caption&&(t+="<figcaption>"+r.caption+`</figcaption>
11
+ `),t+="</figure>",t}},86205:function(h,v,f){"use strict";var l=f(6057),s=h.exports;const u=f(29946);s.i18n=function(a,e,n){if(l.isOptions(e)&&(n=e,e={}),!l.isString(a))throw new Error('{{i18n}} helper expected "key" to be a string');var r=l.options(this,e,n),t=Object.assign({},this,r),i=t.language||t.lang;if(typeof i!="string")throw new TypeError('{{i18n}} helper expected "language" to be a string');var c=t[i];if(typeof c>"u")throw new Error('{{i18n}} helper cannot find language "'+i+'"');var o=u(c,a);if(typeof o>"u")throw new Error('{{i18n}} helper cannot find property "'+a+'" for language "'+i+'"');return o}},77218:function(h,v,f){"use strict";h.exports={array:f(19886),code:f(94841),collection:f(4361),comparison:f(20954),html:f(11691),i18n:f(86205),inflection:f(74914),match:f(20952),math:f(36231),misc:f(71469),number:f(29389),object:f(32975),path:f(52951),regex:f(34996),string:f(27845),url:f(21769),uuid:f(95936)}},74914:function(h,v,f){"use strict";var l=f(6057),s=h.exports;s.inflect=function(u,a,e,n){var r=u>1||u===0?e:a;return n===!0?String(u)+" "+r:r},s.ordinalize=function(u){var a=Math.abs(Math.round(u)),e=String(u),n=a%100;if(l.indexOf([11,12,13],n)>=0)return e+"th";switch(a%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}}},22194:function(h){const v=`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. Praesent convallis urna a lacus interdum ut hendrerit risus congue. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta.
12
+
13
+ Crase tempor malesuada magna a vehicula. Nam sollicitudin vel turpis id fermentum. Ut sit amet nisl ac nulla vulputate ultrices vitae vitae urna. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio.
14
+
15
+ Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Proin vel ante a orci tempus eleifend ut et magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollicitudin sapien justo in libero. Vestibulum mollis mauris enim. Morbi euismod magna ac lorem rutrum elementum. Donec viverra auctor lobortis. Pellentesque eu est a nulla placerat dignissim. Morbi a enim in magna semper bibendum. Etiam scelerisque, nunc ac egestas consequat, odio nibh euismod nulla, eget auctor orci nibh vel nisi. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus fermentum nibh in augue. Praesent a lacus at urna congue rutrum. Nulla enim eros, porttitor eu, tempus id, varius non, nibh. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id ligula quis est convallis tempor.
16
+
17
+ Aliquam erat volutpat. Integer aliquam ultrices nunc. Ut lectus dui, tincidunt ac, scelerisque ac, ultrices vitae, risus. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur vehicula nisi a magna. Sed nec libero. Phasellus nonummy magna. Sed et libero nec ligula blandit fringilla. Ut pretium tempus gravida. Proin lacinia justo vel ipsum varius eget auctor est iaculis.
18
+
19
+ Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce luctus vestibulum augue ut aliquet. Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. In at libero sed nunc venenatis imperdiet sed ornare turpis. Donec vitae dui eget tellus gravida venenatis. Integer fringilla congue eros non fermentum. Sed dapibus pulvinar nibh tempor porta.
20
+
21
+ Nam dui erat, auctor a, dignissim quis. Aenean dignissim pellentesque felis. Sed gravida ante at nunc dictum placerat. Donec placerat nisl magna, et faucibus arcu condimentum sed. Curabitur et eros ac orci vehicula vestibulum sit amet at nunc. Maecenas non diam cursus, tincidunt nisi vitae, hendrerit enim. Donec vulputate felis id felis dapibus fermentum.
22
+
23
+ Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi. Praesent id justo in neque elementum ultrices. Sed malesuada augue eu sapien sodales congue. Nam ut dui. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
24
+
25
+ Pellentesque sit amet mauris eget lectus commodo viverra. Donec vulputate interdum sollicitudin. Nunc lacinia auctor quam sed pellentesque. Aliquam dui mauris, mattis quis lacus id, pellentesque lobortis odio. Cras ultricies ligula sed magna dictum porta. Curabitur aliquet quam id dui posuere blandit. Nulla porttitor accumsan tincidunt. Donec sollicitudin molestie malesuada. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Sed porttitor lectus nibh. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.
26
+
27
+ Cras ultricies ligula sed magna dictum porta. Donec rutrum congue leo eget malesuada. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Donec rutrum congue leo eget malesuada. Vivamus suscipit tortor eget felis porttitor volutpat. Nulla porttitor accumsan tincidunt.
28
+
29
+ Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit.
30
+
31
+ Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus.
32
+
33
+ Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.`;h.exports=v},20952:function(h,v,f){"use strict";var l=f(6057),s=h.exports;const u=f(19498);s.match=function(a,e,n,r){var t=l.options(this,n,r);return typeof e=="string"&&(e=e.split(/, */)),u(a,e,t)},s.isMatch=function(a,e,n,r){var t=l.options(this,n,r);return u.isMatch(a,e,t)},s.mm=function(){return console.log("the {{mm}} helper is depcrecated and will be removed"),console.log("in handlebars-helpers v1.0.0, please use the {{match}}"),console.log("helper instead."),s.match.apply(this,arguments)}},36231:function(h,v,f){"use strict";var l=f(18849),s=h.exports;s.abs=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.abs(u)},s.add=function(u,a){return!isNaN(u)&&!isNaN(a)?Number(u)+Number(a):typeof u=="string"&&typeof a=="string"?u+a:""},s.avg=function(){const u=[].concat.apply([],arguments);return u.pop(),s.sum(u)/u.length},s.ceil=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.ceil(u)},s.divide=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)/Number(a)},s.floor=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.floor(u)},s.minus=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)-Number(a)},s.modulo=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)%Number(a)},s.multiply=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)*Number(a)},s.plus=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)+Number(a)},s.random=function(u,a){if(isNaN(u))throw new TypeError("expected minimum to be a number");if(isNaN(a))throw new TypeError("expected maximum to be a number");return l.random(u,a)},s.remainder=function(u,a){return u%a},s.round=function(u){if(isNaN(u))throw new TypeError("expected a number");return Math.round(u)},s.subtract=function(u,a){if(isNaN(u))throw new TypeError("expected the first argument to be a number");if(isNaN(a))throw new TypeError("expected the second argument to be a number");return Number(u)-Number(a)},s.sum=function(){for(var u=[].concat.apply([],arguments),a=u.length,e=0;a--;)isNaN(u[a])||(e+=Number(u[a]));return e}},71469:function(h,v,f){"use strict";var l=f(6057),s=h.exports;const u=f(29946),a=f(54358);s.frame=function(e,n){typeof e=="object"&&e.hash&&(n=e,e=n.data);var r=a(e);return typeof n!="object"&&(n={}),r.extend(n.hash),n.fn(this,{data:r})},s.option=function(e,n,r){return u(l.options(this,n,r),e)},s.noop=function(e){return e.fn(this)},s.typeOf=function(e){return typeof e},s.withHash=function(e){return e.hash&&Object.keys(e.hash).length?e.fn(e.hash):e.inverse(this)}},29389:function(h,v,f){"use strict";var l=f(6057),s=h.exports;s.bytes=function(u,a,e){if(u==null||isNaN(u)&&(u=u.length,!u))return"0 B";isNaN(a)&&(a=2);var n=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];a=Math.pow(10,a),u=Number(u);for(var r=n.length-1;r-->=0;){var t=Math.pow(10,r*3);if(t<=u+1){u=Math.round(u*a/t)/a,u+=" "+n[r];break}}return u},s.addCommas=function(u){return u.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")},s.phoneNumber=function(u){return u=u.toString(),"("+u.substr(0,3)+") "+u.substr(3,3)+"-"+u.substr(6,4)},s.toAbbr=function(u,a){isNaN(u)&&(u=0),l.isUndefined(a)&&(a=2),u=Number(u),a=Math.pow(10,a);for(var e=["k","m","b","t","q"],n=e.length-1;n>=0;){var r=Math.pow(10,(n+1)*3);if(r<=u+1){u=Math.round(u*a/r)/a,u+=e[n];break}n--}return u},s.toExponential=function(u,a){return isNaN(u)&&(u=0),l.isUndefined(a)&&(a=0),Number(u).toExponential(a)},s.toFixed=function(u,a){return isNaN(u)&&(u=0),isNaN(a)&&(a=0),Number(u).toFixed(a)},s.toFloat=function(u){return parseFloat(u)},s.toInt=function(u){return parseInt(u,10)},s.toPrecision=function(u,a){return isNaN(u)&&(u=0),isNaN(a)&&(a=1),Number(u).toPrecision(a)}},32975:function(h,v,f){"use strict";var l=Object.hasOwnProperty,s=f(6057),u=f(19886),a=h.exports;const e=f(29946),n=f(69391),r=f(54358);a.extend=function(){var t=[].slice.call(arguments),i={};s.isOptions(t[t.length-1])&&(i=t.pop().hash,t.push(i));for(var c={},o=0;o<t.length;o++){var d=t[o];if(s.isObject(d))for(var y=Object.keys(d),w=0;w<y.length;w++){var C=y[w];c[C]=d[C]}}return c},a.forIn=function(t,i){if(!s.isOptions(i))return t.inverse(this);var c=r(i,i.hash),o="";for(var d in t)c.key=d,o+=i.fn(t[d],{data:c});return o},a.forOwn=function(t,i){if(!s.isOptions(i))return t.inverse(this);var c=r(i,i.hash),o="";for(var d in t)t.hasOwnProperty(d)&&(c.key=d,o+=i.fn(t[d],{data:c}));return o},a.toPath=function(){for(var t=[],i=0;i<arguments.length;i++)(typeof arguments[i]=="string"||typeof arguments[i]=="number")&&t.push(arguments[i]);return t.join(".")},a.get=function(t,i,c){var o=e(i,t);return c&&c.fn?o?c.fn(o):c.inverse(i):o},a.getObject=function(t,i){return n(i,t)},a.hasOwn=function(t,i){return l.call(t,i)},a.isObject=function(t){return typeof t=="object"},a.JSONparse=function(t,i){return JSON.parse(t)},a.JSONstringify=function(t,i){return isNaN(i)&&(i=0),JSON.stringify(t,null,i)},a.merge=function(t){var i=[].slice.call(arguments),c={};return s.isOptions(i[i.length-1])&&(c=i.pop().hash,i.push(c)),Object.assign.apply(null,i)},a.parseJSON=a.JSONparse,a.pick=function(t,i,c){for(var o=u.arrayify(t),d=o.length,y=-1,w={};++y<d;)w=a.extend({},w,n(i,o[y]));return c.fn?Object.keys(w).length?c.fn(w):c.inverse(i):w},a.stringify=a.JSONstringify},52951:function(h,v,f){"use strict";var l=f(34155),s=f(6057),u=f(94612);const a=f(45824);var e=h.exports;e.absolute=function(n,r){r=r||{data:{}};var t=s.options(this,r),i=Object.assign({},r.data.root,t),c=i.cwd||l.cwd();return u.resolve(c,n)},e.dirname=function(n,r){if(typeof n!="string")throw new TypeError(s.expectedType("filepath","string",n));return u.dirname(n)},e.relative=function(n,r){if(typeof n!="string")throw new TypeError(s.expectedType("first path","string",n));if(typeof r!="string")throw new TypeError(s.expectedType("second path","string",r));return a(n,r)},e.basename=function(n){if(typeof n!="string")throw new TypeError(s.expectedType("filepath","string",n));return u.basename(n)},e.stem=function(n){if(typeof n!="string")throw new TypeError(s.expectedType("filepath","string",n));return u.basename(n,u.extname(n))},e.extname=function(n){if(typeof n!="string")throw new TypeError(s.expectedType("filepath","string",n));return u.extname(n)},e.resolve=function(n){var r=[].slice.call(arguments),t=s.options(this,r.pop()),i=u.resolve(t.cwd||l.cwd());return r.unshift(i),u.resolve.apply(u,r)},e.segments=function(n,r,t){if(typeof n!="string")throw new TypeError(s.expectedType("filepath","string",n));var i=n.split(/[\\\/]+/);return i.slice(r,t).join("/")}},34996:function(h,v,f){"use strict";var l=f(6057),s=h.exports;const u=f(26401);s.toRegex=function(a,e,n){var r=l.options({},e,n);return new RegExp(a,r.flags)},s.test=function(a,e){if(typeof a!="string")return!1;if(u(e)!=="regexp")throw new TypeError("expected a regular expression");return e.test(a)}},27845:function(h,v,f){"use strict";var l=f(6057),s=f(18849),u=h.exports;let a=f(22194);u.append=function(e,n){return typeof e=="string"&&typeof n=="string"?e+n:e},u.camelcase=function(e){return typeof e!="string"?"":s.changecase(e,function(n){return n.toUpperCase()})},u.capitalize=function(e){return typeof e!="string"?"":e.charAt(0).toUpperCase()+e.slice(1)},u.capitalizeAll=function(e){if(typeof e!="string")return"";if(l.isString(e))return e.replace(/\w\S*/g,function(n){return u.capitalize(n)})},u.center=function(e,n){if(typeof e!="string")return"";for(var r="",t=0;t<n;)r+="&nbsp;",t++;return r+e+r},u.chop=function(e){return typeof e!="string"?"":s.chop(e)},u.dashcase=function(e){return typeof e!="string"?"":s.changecase(e,function(n){return"-"+n})},u.dotcase=function(e){return typeof e!="string"?"":s.changecase(e,function(n){return"."+n})},u.downcase=function(){return u.lowercase.apply(this,arguments)},u.ellipsis=function(e,n){if(l.isString(e))return e.length<=n?e:u.truncate(e,n)+"\u2026"},u.hyphenate=function(e){return typeof e!="string"?"":e.split(" ").join("-")},u.isString=function(e){return typeof e=="string"},u.lowercase=function(e){return l.isObject(e)&&e.fn?e.fn(this).toLowerCase():typeof e!="string"?"":e.toLowerCase()},u.occurrences=function(e,n){if(typeof e!="string")return"";for(var r=n.length,t=0,i=0;(t=e.indexOf(n,t))>-1;)i++,t+=r;return i},u.pascalcase=function(e){return typeof e!="string"?"":(e=s.changecase(e,function(n){return n.toUpperCase()}),e.charAt(0).toUpperCase()+e.slice(1))},u.pathcase=function(e){return typeof e!="string"?"":s.changecase(e,function(n){return"/"+n})},u.plusify=function(e,n){return typeof e!="string"?"":(l.isString(n)||(n=" "),e.split(n).join("+"))},u.prepend=function(e,n){return typeof e=="string"&&typeof n=="string"?n+e:e},u.raw=function(e){var n=e.fn(),r=l.options(this,e);if(r.escape!==!1)for(var t=0;(t=n.indexOf("{{",t))!==-1;)n[t-1]!=="\\"&&(n=n.slice(0,t)+"\\"+n.slice(t)),t+=3;return n},u.remove=function(e,n){return typeof e!="string"?"":l.isString(n)?e.split(n).join(""):e},u.removeFirst=function(e,n){return typeof e!="string"?"":l.isString(n)?e.replace(n,""):e},u.replace=function(e,n,r){return typeof e!="string"?"":l.isString(n)?(l.isString(r)||(r=""),e.split(n).join(r)):e},u.replaceFirst=function(e,n,r){return typeof e!="string"?"":l.isString(n)?(l.isString(r)||(r=""),e.replace(n,r)):e},u.reverse=f(19886).reverse,u.sentence=function(e){return typeof e!="string"?"":e.replace(/((?:\S[^\.\?\!]*)[\.\?\!]*)/g,function(n){return n.charAt(0).toUpperCase()+n.substr(1).toLowerCase()})},u.snakecase=function(e){return typeof e!="string"?"":s.changecase(e,function(n){return"_"+n})},u.split=function(e,n){return typeof e!="string"?"":(l.isString(n)||(n=","),e.split(n))},u.startsWith=function(e,n,r){var t=[].slice.call(arguments);return r=t.pop(),l.isString(n)&&n.indexOf(e)===0?r.fn(this):typeof r.inverse=="function"?r.inverse(this):""},u.titleize=function(e){if(typeof e!="string")return"";for(var n=e.replace(/[- _]+/g," "),r=n.split(" "),t=r.length,i=[],c=0;t--;){var o=r[c++];i.push(v.capitalize(o))}return i.join(" ")},u.trim=function(e){return typeof e=="string"?e.trim():""},u.trimLeft=function(e){if(l.isString(e))return e.replace(/^\s+/,"")},u.trimRight=function(e){if(l.isString(e))return e.replace(/\s+$/,"")},u.truncate=function(e,n,r){if(l.isString(e))return typeof r!="string"&&(r=""),e.length>n?e.slice(0,n-r.length)+r:e},u.truncateWords=function(e,n,r){if(l.isString(e)&&!isNaN(n)){typeof r!="string"&&(r="\u2026");var t=Number(n),i=e.split(/[ \t]/);if(t>=i.length)return e;i=i.slice(0,t);var c=i.join(" ").trim();return c+r}},u.upcase=function(){return u.uppercase.apply(this,arguments)},u.uppercase=function(e){return l.isObject(e)&&e.fn?e.fn(this).toUpperCase():typeof e!="string"?"":e.toUpperCase()},u.lorem=function(e){return(isNaN(e)||e<1||!e)&&(e=11),a.substring(0,e)}},21769:function(h,v,f){"use strict";var l=f(8575),s=f(6057),u=f(87735),a=h.exports;a.encodeURI=function(e){if(s.isString(e))return encodeURIComponent(e)},a.escape=function(e){if(s.isString(e))return u.escape(e)},a.decodeURI=function(e){if(s.isString(e))return decodeURIComponent(e)},a.urlResolve=function(e,n){return l.resolve(e,n)},a.urlParse=function(e){return l.parse(e)},a.stripQuerystring=function(e){if(s.isString(e))return e.split("?")[0]},a.stripProtocol=function(e){if(s.isString(e)){var n=l.parse(e);return n.protocol="",n.format()}}},54358:function(h){"use strict";h.exports=function(f){if(typeof f!="object")throw new TypeError("createFrame expects data to be an object");var l=Object.assign({},f);if(l._parent=f,l.extend=function(e){Object.assign(this,e)},arguments.length>1)for(var s=[].slice.call(arguments,1),u=s.length,a=-1;++a<u;)l.extend(s[a]||{});return l}},3503:function(h){"use strict";function v(f,l){if(!f)return!0;let s=l||v.keywords;Array.isArray(s)||(s=[s]);const u=typeof f=="string"?f.toLowerCase():null;for(const a of s)if(a===f||a===u)return!0;return!1}v.keywords=["0","false","nada","nil","nay","nah","negative","no","none","nope","nul","null","nix","nyet","uh-uh","veto","zero"],h.exports=v},59251:function(h,v,f){"use strict";var l=f(6057),s=f(62393),u=h.exports;u.condense=function(a){return a.replace(/(\r\n|\r|\n|\u2028|\u2029) {2,}/g,`
34
+ `)},u.padcomments=function(a){return a.replace(/(\s*<!--)/g,`
35
+ $1`)},u.parseAttributes=function(e){return Object.keys(e).map(function(n){var r=String(e[n]).replace(/^['"]|["']$/g,"");return n+'="'+r+'"'}).join(" ")},u.sanitize=function(a){return l.isString(a)?s(a).trim():""},u.toAttributes=function(e){for(var n="",r=Object.keys(e),t=0;t<r.length;t++){var i=e[r[t]];i===!0?n+=" "+r[t]:n+=" "+r[t]+'="'+String(i)+'"'}return n}},18849:function(h,v,f){"use strict";const l=f(6057);v.contains=function(s,u,a){return s==null||u==null||isNaN(s.length)?!1:s.indexOf(u,a)!==-1},v.chop=function(s){if(typeof s!="string")return"";var u=/^[-_.\W\s]+|[-_.\W\s]+$/g;return s.trim().replace(u,"")},v.changecase=function(s,u){if(typeof s!="string")return"";if(s.length===1)return s.toLowerCase();s=v.chop(s).toLowerCase(),typeof u!="function"&&(u=l.identity);var a=/[-_.\W\s]+(\w|$)/g;return s.replace(a,function(e,n){return u(n)})},v.random=function(s,u){return s+Math.floor(Math.random()*(u-s+1))}},72219:function(h){"use strict";h.exports=function(f){const l=Math.abs(f);if(isNaN(l))throw new TypeError("expected a number");if(!Number.isInteger(l))throw new Error("expected an integer");if(!Number.isSafeInteger(l))throw new Error("value exceeds maximum safe integer");return l%2===1}},95936:function(h,v,f){const l=f(67429),s=h.exports;s.uuid=function(){return l.v4()}},68527:function(h,v,f){"use strict";const l=f(59743),s=f(78337),u=f(86582),a=f(11834),e=(n,r={})=>{let t=[];if(Array.isArray(n))for(const i of n){const c=e.create(i,r);Array.isArray(c)?t.push(...c):t.push(c)}else t=[].concat(e.create(n,r));return r&&r.expand===!0&&r.nodupes===!0&&(t=[...new Set(t)]),t};e.parse=(n,r={})=>a(n,r),e.stringify=(n,r={})=>l(typeof n=="string"?e.parse(n,r):n,r),e.compile=(n,r={})=>(typeof n=="string"&&(n=e.parse(n,r)),s(n,r)),e.expand=(n,r={})=>{typeof n=="string"&&(n=e.parse(n,r));let t=u(n,r);return r.noempty===!0&&(t=t.filter(Boolean)),r.nodupes===!0&&(t=[...new Set(t)]),t},e.create=(n,r={})=>n===""||n.length<3?[n]:r.expand!==!0?e.compile(n,r):e.expand(n,r),h.exports=e},78337:function(h,v,f){"use strict";const l=f(38154),s=f(79963),u=(a,e={})=>{const n=(r,t={})=>{const i=s.isInvalidBrace(t),c=r.invalid===!0&&e.escapeInvalid===!0,o=i===!0||c===!0,d=e.escapeInvalid===!0?"\\":"";let y="";if(r.isOpen===!0)return d+r.value;if(r.isClose===!0)return console.log("node.isClose",d,r.value),d+r.value;if(r.type==="open")return o?d+r.value:"(";if(r.type==="close")return o?d+r.value:")";if(r.type==="comma")return r.prev.type==="comma"?"":o?r.value:"|";if(r.value)return r.value;if(r.nodes&&r.ranges>0){const w=s.reduce(r.nodes),C=l(...w,{...e,wrap:!1,toRegex:!0,strictZeros:!0});if(C.length!==0)return w.length>1&&C.length>1?`(${C})`:C}if(r.nodes)for(const w of r.nodes)y+=n(w,r);return y};return n(a)};h.exports=u},2223:function(h){"use strict";h.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
36
+ `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}},86582:function(h,v,f){"use strict";const l=f(38154),s=f(59743),u=f(79963),a=(n="",r="",t=!1)=>{const i=[];if(n=[].concat(n),r=[].concat(r),!r.length)return n;if(!n.length)return t?u.flatten(r).map(c=>`{${c}}`):r;for(const c of n)if(Array.isArray(c))for(const o of c)i.push(a(o,r,t));else for(let o of r)t===!0&&typeof o=="string"&&(o=`{${o}}`),i.push(Array.isArray(o)?a(c,o,t):c+o);return u.flatten(i)},e=(n,r={})=>{const t=r.rangeLimit===void 0?1e3:r.rangeLimit,i=(c,o={})=>{c.queue=[];let d=o,y=o.queue;for(;d.type!=="brace"&&d.type!=="root"&&d.parent;)d=d.parent,y=d.queue;if(c.invalid||c.dollar){y.push(a(y.pop(),s(c,r)));return}if(c.type==="brace"&&c.invalid!==!0&&c.nodes.length===2){y.push(a(y.pop(),["{}"]));return}if(c.nodes&&c.ranges>0){const j=u.reduce(c.nodes);if(u.exceedsLimit(...j,r.step,t))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let R=l(...j,r);R.length===0&&(R=s(c,r)),y.push(a(y.pop(),R)),c.nodes=[];return}const w=u.encloseBrace(c);let C=c.queue,S=c;for(;S.type!=="brace"&&S.type!=="root"&&S.parent;)S=S.parent,C=S.queue;for(let j=0;j<c.nodes.length;j++){const R=c.nodes[j];if(R.type==="comma"&&c.type==="brace"){j===1&&C.push(""),C.push("");continue}if(R.type==="close"){y.push(a(y.pop(),C,w));continue}if(R.value&&R.type!=="open"){C.push(a(C.pop(),R.value));continue}R.nodes&&i(R,c)}return C};return u.flatten(i(n))};h.exports=e},11834:function(h,v,f){"use strict";const l=f(59743),{MAX_LENGTH:s,CHAR_BACKSLASH:u,CHAR_BACKTICK:a,CHAR_COMMA:e,CHAR_DOT:n,CHAR_LEFT_PARENTHESES:r,CHAR_RIGHT_PARENTHESES:t,CHAR_LEFT_CURLY_BRACE:i,CHAR_RIGHT_CURLY_BRACE:c,CHAR_LEFT_SQUARE_BRACKET:o,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:y,CHAR_SINGLE_QUOTE:w,CHAR_NO_BREAK_SPACE:C,CHAR_ZERO_WIDTH_NOBREAK_SPACE:S}=f(2223),j=(R,I={})=>{if(typeof R!="string")throw new TypeError("Expected a string");const m=I||{},A=typeof m.maxLength=="number"?Math.min(s,m.maxLength):s;if(R.length>A)throw new SyntaxError(`Input length (${R.length}), exceeds max characters (${A})`);const p={type:"root",input:R,nodes:[]},b=[p];let g=p,E=p,H=0;const T=R.length;let M=0,P=0,N;const L=()=>R[M++],O=x=>{if(x.type==="text"&&E.type==="dot"&&(E.type="text"),E&&E.type==="text"&&x.type==="text"){E.value+=x.value;return}return g.nodes.push(x),x.parent=g,x.prev=E,E=x,x};for(O({type:"bos"});M<T;)if(g=b[b.length-1],N=L(),!(N===S||N===C)){if(N===u){O({type:"text",value:(I.keepEscaping?N:"")+L()});continue}if(N===d){O({type:"text",value:"\\"+N});continue}if(N===o){H++;let x;for(;M<T&&(x=L());){if(N+=x,x===o){H++;continue}if(x===u){N+=L();continue}if(x===d&&(H--,H===0))break}O({type:"text",value:N});continue}if(N===r){g=O({type:"paren",nodes:[]}),b.push(g),O({type:"text",value:N});continue}if(N===t){if(g.type!=="paren"){O({type:"text",value:N});continue}g=b.pop(),O({type:"text",value:N}),g=b[b.length-1];continue}if(N===y||N===w||N===a){const x=N;let U;for(I.keepQuotes!==!0&&(N="");M<T&&(U=L());){if(U===u){N+=U+L();continue}if(U===x){I.keepQuotes===!0&&(N+=U);break}N+=U}O({type:"text",value:N});continue}if(N===i){P++;const U={type:"brace",open:!0,close:!1,dollar:E.value&&E.value.slice(-1)==="$"||g.dollar===!0,depth:P,commas:0,ranges:0,nodes:[]};g=O(U),b.push(g),O({type:"open",value:N});continue}if(N===c){if(g.type!=="brace"){O({type:"text",value:N});continue}const x="close";g=b.pop(),g.close=!0,O({type:x,value:N}),P--,g=b[b.length-1];continue}if(N===e&&P>0){if(g.ranges>0){g.ranges=0;const x=g.nodes.shift();g.nodes=[x,{type:"text",value:l(g)}]}O({type:"comma",value:N}),g.commas++;continue}if(N===n&&P>0&&g.commas===0){const x=g.nodes;if(P===0||x.length===0){O({type:"text",value:N});continue}if(E.type==="dot"){if(g.range=[],E.value+=N,E.type="range",g.nodes.length!==3&&g.nodes.length!==5){g.invalid=!0,g.ranges=0,E.type="text";continue}g.ranges++,g.args=[];continue}if(E.type==="range"){x.pop();const U=x[x.length-1];U.value+=E.value+N,E=U,g.ranges--;continue}O({type:"dot",value:N});continue}O({type:"text",value:N})}do if(g=b.pop(),g.type!=="root"){g.nodes.forEach(q=>{q.nodes||(q.type==="open"&&(q.isOpen=!0),q.type==="close"&&(q.isClose=!0),q.nodes||(q.type="text"),q.invalid=!0)});const x=b[b.length-1],U=x.nodes.indexOf(g);x.nodes.splice(U,1,...g.nodes)}while(b.length>0);return O({type:"eos"}),p};h.exports=j},59743:function(h,v,f){"use strict";const l=f(79963);h.exports=(s,u={})=>{const a=(e,n={})=>{const r=u.escapeInvalid&&l.isInvalidBrace(n),t=e.invalid===!0&&u.escapeInvalid===!0;let i="";if(e.value)return(r||t)&&l.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(const c of e.nodes)i+=a(c);return i};return a(s)}},79963:function(h,v){"use strict";v.isInteger=f=>typeof f=="number"?Number.isInteger(f):typeof f=="string"&&f.trim()!==""?Number.isInteger(Number(f)):!1,v.find=(f,l)=>f.nodes.find(s=>s.type===l),v.exceedsLimit=(f,l,s=1,u)=>u===!1||!v.isInteger(f)||!v.isInteger(l)?!1:(Number(l)-Number(f))/Number(s)>=u,v.escapeNode=(f,l=0,s)=>{const u=f.nodes[l];u&&(s&&u.type===s||u.type==="open"||u.type==="close")&&u.escaped!==!0&&(u.value="\\"+u.value,u.escaped=!0)},v.encloseBrace=f=>f.type!=="brace"||f.commas>>0+f.ranges>>0?!1:(f.invalid=!0,!0),v.isInvalidBrace=f=>f.type!=="brace"?!1:f.invalid===!0||f.dollar?!0:!(f.commas>>0+f.ranges>>0)||f.open!==!0||f.close!==!0?(f.invalid=!0,!0):!1,v.isOpenOrClose=f=>f.type==="open"||f.type==="close"?!0:f.open===!0||f.close===!0,v.reduce=f=>f.reduce((l,s)=>(s.type==="text"&&l.push(s.value),s.type==="range"&&(s.type="text"),l),[]),v.flatten=(...f)=>{const l=[],s=u=>{for(let a=0;a<u.length;a++){const e=u[a];if(Array.isArray(e)){s(e);continue}e!==void 0&&l.push(e)}return l};return s(f),l}},38154:function(h,v,f){"use strict";const l=f(89539),s=f(45702),u=m=>m!==null&&typeof m=="object"&&!Array.isArray(m),a=m=>A=>m===!0?Number(A):String(A),e=m=>typeof m=="number"||typeof m=="string"&&m!=="",n=m=>Number.isInteger(+m),r=m=>{let A=`${m}`,p=-1;if(A[0]==="-"&&(A=A.slice(1)),A==="0")return!1;for(;A[++p]==="0";);return p>0},t=(m,A,p)=>typeof m=="string"||typeof A=="string"?!0:p.stringify===!0,i=(m,A,p)=>{if(A>0){let b=m[0]==="-"?"-":"";b&&(m=m.slice(1)),m=b+m.padStart(b?A-1:A,"0")}return p===!1?String(m):m},c=(m,A)=>{let p=m[0]==="-"?"-":"";for(p&&(m=m.slice(1),A--);m.length<A;)m="0"+m;return p?"-"+m:m},o=(m,A,p)=>{m.negatives.sort((T,M)=>T<M?-1:T>M?1:0),m.positives.sort((T,M)=>T<M?-1:T>M?1:0);let b=A.capture?"":"?:",g="",E="",H;return m.positives.length&&(g=m.positives.map(T=>c(String(T),p)).join("|")),m.negatives.length&&(E=`-(${b}${m.negatives.map(T=>c(String(T),p)).join("|")})`),g&&E?H=`${g}|${E}`:H=g||E,A.wrap?`(${b}${H})`:H},d=(m,A,p,b)=>{if(p)return s(m,A,{wrap:!1,...b});let g=String.fromCharCode(m);if(m===A)return g;let E=String.fromCharCode(A);return`[${g}-${E}]`},y=(m,A,p)=>{if(Array.isArray(m)){let b=p.wrap===!0,g=p.capture?"":"?:";return b?`(${g}${m.join("|")})`:m.join("|")}return s(m,A,p)},w=(...m)=>new RangeError("Invalid range arguments: "+l.inspect(...m)),C=(m,A,p)=>{if(p.strictRanges===!0)throw w([m,A]);return[]},S=(m,A)=>{if(A.strictRanges===!0)throw new TypeError(`Expected step "${m}" to be a number`);return[]},j=(m,A,p=1,b={})=>{let g=Number(m),E=Number(A);if(!Number.isInteger(g)||!Number.isInteger(E)){if(b.strictRanges===!0)throw w([m,A]);return[]}g===0&&(g=0),E===0&&(E=0);let H=g>E,T=String(m),M=String(A),P=String(p);p=Math.max(Math.abs(p),1);let N=r(T)||r(M)||r(P),L=N?Math.max(T.length,M.length,P.length):0,O=N===!1&&t(m,A,b)===!1,x=b.transform||a(O);if(b.toRegex&&p===1)return d(c(m,L),c(A,L),!0,b);let U={negatives:[],positives:[]},q=$=>U[$<0?"negatives":"positives"].push(Math.abs($)),B=[],F=0;for(;H?g>=E:g<=E;)b.toRegex===!0&&p>1?q(g):B.push(i(x(g,F),L,O)),g=H?g-p:g+p,F++;return b.toRegex===!0?p>1?o(U,b,L):y(B,null,{wrap:!1,...b}):B},R=(m,A,p=1,b={})=>{if(!n(m)&&m.length>1||!n(A)&&A.length>1)return C(m,A,b);let g=b.transform||(O=>String.fromCharCode(O)),E=`${m}`.charCodeAt(0),H=`${A}`.charCodeAt(0),T=E>H,M=Math.min(E,H),P=Math.max(E,H);if(b.toRegex&&p===1)return d(M,P,!1,b);let N=[],L=0;for(;T?E>=H:E<=H;)N.push(g(E,L)),E=T?E-p:E+p,L++;return b.toRegex===!0?y(N,null,{wrap:!1,options:b}):N},I=(m,A,p,b={})=>{if(A==null&&e(m))return[m];if(!e(m)||!e(A))return C(m,A,b);if(typeof p=="function")return I(m,A,1,{transform:p});if(u(p))return I(m,A,0,p);let g={...b};return g.capture===!0&&(g.wrap=!0),p=p||g.step||1,n(p)?n(m)&&n(A)?j(m,A,p,g):R(m,A,Math.max(Math.abs(p),1),g):p!=null&&!u(p)?S(p,g):I(m,A,1,p)};h.exports=I},13501:function(h,v,f){"use strict";const l=f(29946),s=f(45633);h.exports=function(a,e,n){return u(a)&&(typeof e=="string"||Array.isArray(e))?s(l(a,e,n)):!1};function u(a){return a!=null&&(typeof a=="object"||typeof a=="function"||Array.isArray(a))}},45633:function(h,v,f){"use strict";const l=f(26401);h.exports=function s(u){switch(l(u)){case"boolean":case"date":case"function":case"null":case"number":return!0;case"undefined":return!1;case"regexp":return u.source!=="(?:)"&&u.source!=="";case"buffer":return u.toString()!=="";case"error":return u.message!=="";case"string":case"arguments":return u.length!==0;case"file":case"map":case"set":return u.size!==0;case"array":case"object":for(const a of Object.keys(u))if(s(u[a]))return!0;return!1;default:return!0}}},19498:function(h,v,f){"use strict";const l=f(89539),s=f(68527),u=f(59444),a=f(28702),e=t=>t===""||t==="./",n=t=>{const i=t.indexOf("{");return i>-1&&t.indexOf("}",i)>-1},r=(t,i,c)=>{i=[].concat(i),t=[].concat(t);let o=new Set,d=new Set,y=new Set,w=0,C=R=>{y.add(R.output),c&&c.onResult&&c.onResult(R)};for(let R=0;R<i.length;R++){let I=u(String(i[R]),{...c,onResult:C},!0),m=I.state.negated||I.state.negatedExtglob;m&&w++;for(let A of t){let p=I(A,!0);(m?!p.isMatch:p.isMatch)&&(m?o.add(p.output):(o.delete(p.output),d.add(p.output)))}}let j=(w===i.length?[...y]:[...d]).filter(R=>!o.has(R));if(c&&j.length===0){if(c.failglob===!0)throw new Error(`No matches found for "${i.join(", ")}"`);if(c.nonull===!0||c.nullglob===!0)return c.unescape?i.map(R=>R.replace(/\\/g,"")):i}return j};r.match=r,r.matcher=(t,i)=>u(t,i),r.isMatch=(t,i,c)=>u(i,c)(t),r.any=r.isMatch,r.not=(t,i,c={})=>{i=[].concat(i).map(String);let o=new Set,d=[],y=C=>{c.onResult&&c.onResult(C),d.push(C.output)},w=new Set(r(t,i,{...c,onResult:y}));for(let C of d)w.has(C)||o.add(C);return[...o]},r.contains=(t,i,c)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${l.inspect(t)}"`);if(Array.isArray(i))return i.some(o=>r.contains(t,o,c));if(typeof i=="string"){if(e(t)||e(i))return!1;if(t.includes(i)||t.startsWith("./")&&t.slice(2).includes(i))return!0}return r.isMatch(t,i,{...c,contains:!0})},r.matchKeys=(t,i,c)=>{if(!a.isObject(t))throw new TypeError("Expected the first argument to be an object");let o=r(Object.keys(t),i,c),d={};for(let y of o)d[y]=t[y];return d},r.some=(t,i,c)=>{let o=[].concat(t);for(let d of[].concat(i)){let y=u(String(d),c);if(o.some(w=>y(w)))return!0}return!1},r.every=(t,i,c)=>{let o=[].concat(t);for(let d of[].concat(i)){let y=u(String(d),c);if(!o.every(w=>y(w)))return!1}return!0},r.all=(t,i,c)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${l.inspect(t)}"`);return[].concat(i).every(o=>u(o,c)(t))},r.capture=(t,i,c)=>{let o=a.isWindows(c),y=u.makeRe(String(t),{...c,capture:!0}).exec(o?a.toPosixSlashes(i):i);if(y)return y.slice(1).map(w=>w===void 0?"":w)},r.makeRe=(...t)=>u.makeRe(...t),r.scan=(...t)=>u.scan(...t),r.parse=(t,i)=>{let c=[];for(let o of[].concat(t||[]))for(let d of s(String(o),i))c.push(u.parse(d,i));return c},r.braces=(t,i)=>{if(typeof t!="string")throw new TypeError("Expected a string");return i&&i.nobrace===!0||!n(t)?[t]:s(t,i)},r.braceExpand=(t,i)=>{if(typeof t!="string")throw new TypeError("Expected a string");return r.braces(t,{...i,expand:!0})},r.hasBraces=n,h.exports=r},29946:function(h,v,f){var l=f(47798);h.exports=function(n,r,t){if(l(t)||(t={default:t}),!e(n))return typeof t.default<"u"?t.default:n;typeof r=="number"&&(r=String(r));var i=Array.isArray(r),c=typeof r=="string",o=t.separator||".",d=t.joinChar||(typeof o=="string"?o:".");if(!c&&!i)return n;if(c&&r in n)return a(r,n,t)?n[r]:t.default;var y=i?r:u(r,o,t),w=y.length,C=0;do{var S=y[C];for(typeof S=="number"&&(S=String(S));S&&S.slice(-1)==="\\";)S=s([S.slice(0,-1),y[++C]||""],d,t);if(S in n){if(!a(S,n,t))return t.default;n=n[S]}else{for(var j=!1,R=C+1;R<w;)if(S=s([S,y[R++]],d,t),j=S in n){if(!a(S,n,t))return t.default;n=n[S],C=R-1;break}if(!j)return t.default}}while(++C<w&&e(n));return C===w?n:t.default};function s(n,r,t){return typeof t.join=="function"?t.join(n):n[0]+r+n[1]}function u(n,r,t){return typeof t.split=="function"?t.split(n):n.split(r)}function a(n,r,t){return typeof t.isValid=="function"?t.isValid(n,r):!0}function e(n){return l(n)||Array.isArray(n)||typeof n=="function"}}}]);
@@ -0,0 +1,5 @@
1
+ "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4989],{60887:function(on,$e,re){re.r($e),re.d($e,{AutoScrollActivator:function(){return ze},DndContext:function(){return ir},DragOverlay:function(){return xr},KeyboardCode:function(){return N},KeyboardSensor:function(){return xt},MeasuringFrequency:function(){return zt},MeasuringStrategy:function(){return lt},MouseSensor:function(){return ke},PointerSensor:function(){return ct},TouchSensor:function(){return Q},TraversalOrder:function(){return Pe},applyModifiers:function(){return _t},closestCenter:function(){return bt},closestCorners:function(){return qe},defaultAnnouncements:function(){return He},defaultCoordinates:function(){return Z},defaultDropAnimation:function(){return mn},defaultDropAnimationSideEffects:function(){return bn},defaultScreenReaderInstructions:function(){return Ne},getClientRect:function(){return m},getFirstCollision:function(){return Ve},getScrollableAncestors:function(){return M},pointerWithin:function(){return w},rectIntersection:function(){return ot},useDndContext:function(){return pn},useDndMonitor:function(){return We},useDraggable:function(){return cr},useDroppable:function(){return dr},useSensor:function(){return vt},useSensors:function(){return pt}});var s=re(67294),Y=re(73935),d=re(24285);const be={display:"none"};function Ye(e){let{id:t,value:n}=e;return s.createElement("div",{id:t,style:be},n)}function me(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const i={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return s.createElement("div",{id:t,style:i,role:"status","aria-live":r,"aria-atomic":!0},n)}function De(){const[e,t]=(0,s.useState)("");return{announce:(0,s.useCallback)(r=>{r!=null&&t(r)},[]),announcement:e}}const Ue=(0,s.createContext)(null);function We(e){const t=(0,s.useContext)(Ue);(0,s.useEffect)(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Oe(){const[e]=(0,s.useState)(()=>new Set),t=(0,s.useCallback)(r=>(e.add(r),()=>e.delete(r)),[e]);return[(0,s.useCallback)(r=>{let{type:i,event:o}=r;e.forEach(a=>{var c;return(c=a[i])==null?void 0:c.call(a,o)})},[e]),t]}const Ne={draggable:`
2
+ To pick up a draggable item, press the space bar.
3
+ While dragging, use the arrow keys to move the item.
4
+ Press space again to drop the item in its new position, or press escape to cancel.
5
+ `},He={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Je(e){let{announcements:t=He,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=Ne}=e;const{announce:o,announcement:a}=De(),c=(0,d.Ld)("DndLiveRegion"),[l,f]=(0,s.useState)(!1);if((0,s.useEffect)(()=>{f(!0)},[]),We((0,s.useMemo)(()=>({onDragStart(h){let{active:D}=h;o(t.onDragStart({active:D}))},onDragMove(h){let{active:D,over:C}=h;t.onDragMove&&o(t.onDragMove({active:D,over:C}))},onDragOver(h){let{active:D,over:C}=h;o(t.onDragOver({active:D,over:C}))},onDragEnd(h){let{active:D,over:C}=h;o(t.onDragEnd({active:D,over:C}))},onDragCancel(h){let{active:D,over:C}=h;o(t.onDragCancel({active:D,over:C}))}}),[o,t])),!l)return null;const b=s.createElement(s.Fragment,null,s.createElement(Ye,{id:r,value:i.draggable}),s.createElement(me,{id:c,announcement:a}));return n?(0,Y.createPortal)(b,n):b}var U;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(U||(U={}));function le(){}function vt(e,t){return(0,s.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.useMemo)(()=>[...t].filter(r=>r!=null),[...t])}const Z=Object.freeze({x:0,y:0});function Te(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function et(e,t){const n=(0,d.DC)(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function Le(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function tt(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Ge(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function Ve(e,t){if(!e||e.length===0)return null;const[n]=e;return t?n[t]:n}function nt(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}const bt=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=nt(t,t.left,t.top),o=[];for(const a of r){const{id:c}=a,l=n.get(c);if(l){const f=Te(nt(l),i);o.push({id:c,data:{droppableContainer:a,value:f}})}}return o.sort(Le)},qe=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=Ge(t),o=[];for(const a of r){const{id:c}=a,l=n.get(c);if(l){const f=Ge(l),b=i.reduce((D,C,P)=>D+Te(f[P],C),0),h=Number((b/4).toFixed(4));o.push({id:c,data:{droppableContainer:a,value:h}})}}return o.sort(Le)};function rt(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),a=i-r,c=o-n;if(r<i&&n<o){const l=t.width*t.height,f=e.width*e.height,b=a*c,h=b/(l+f-b);return Number(h.toFixed(4))}return 0}const ot=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=[];for(const o of r){const{id:a}=o,c=n.get(a);if(c){const l=rt(c,t);l>0&&i.push({id:a,data:{droppableContainer:o,value:l}})}}return i.sort(tt)};function u(e,t){const{top:n,left:r,bottom:i,right:o}=t;return n<=e.y&&e.y<=i&&r<=e.x&&e.x<=o}const w=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];const i=[];for(const o of t){const{id:a}=o,c=n.get(a);if(c&&u(r,c)){const f=Ge(c).reduce((h,D)=>h+Te(r,D),0),b=Number((f/4).toFixed(4));i.push({id:a,data:{droppableContainer:o,value:b}})}}return i.sort(Le)};function R(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function H(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Z}function G(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return i.reduce((a,c)=>({...a,top:a.top+e*c.y,bottom:a.bottom+e*c.y,left:a.left+e*c.x,right:a.right+e*c.x}),{...n})}}const g=G(1);function v(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function y(e,t,n){const r=v(t);if(!r)return e;const{scaleX:i,scaleY:o,x:a,y:c}=r,l=e.left-a-(1-i)*parseFloat(n),f=e.top-c-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),b=i?e.width/i:e.width,h=o?e.height/o:e.height;return{width:b,height:h,top:f,right:l+b,bottom:f+h,left:l}}const p={ignoreTransform:!1};function m(e,t){t===void 0&&(t=p);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:f,transformOrigin:b}=(0,d.Jj)(e).getComputedStyle(e);f&&(n=y(n,f,b))}const{top:r,left:i,width:o,height:a,bottom:c,right:l}=n;return{top:r,left:i,width:o,height:a,bottom:c,right:l}}function x(e){return m(e,{ignoreTransform:!0})}function S(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function A(e,t){return t===void 0&&(t=(0,d.Jj)(e).getComputedStyle(e)),t.position==="fixed"}function F(e,t){t===void 0&&(t=(0,d.Jj)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const o=t[i];return typeof o=="string"?n.test(o):!1})}function M(e,t){const n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if((0,d.qk)(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,d.Re)(i)||(0,d.vZ)(i)||n.includes(i))return n;const o=(0,d.Jj)(e).getComputedStyle(i);return i!==e&&F(i,o)&&n.push(i),A(i,o)?n:r(i.parentNode)}return e?r(e):n}function z(e){const[t]=M(e,1);return t??null}function j(e){return!d.Nq||!e?null:(0,d.FJ)(e)?e:(0,d.UG)(e)?(0,d.qk)(e)||e===(0,d.r3)(e).scrollingElement?window:(0,d.Re)(e)?e:null:null}function X(e){return(0,d.FJ)(e)?e.scrollX:e.scrollLeft}function J(e){return(0,d.FJ)(e)?e.scrollY:e.scrollTop}function ue(e){return{x:X(e),y:J(e)}}var K;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(K||(K={}));function oe(e){return!d.Nq||!e?!1:e===document.scrollingElement}function Se(e){const t={x:0,y:0},n=oe(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,a=e.scrollTop>=r.y,c=e.scrollLeft>=r.x;return{isTop:i,isLeft:o,isBottom:a,isRight:c,maxScroll:r,minScroll:t}}const ye={x:.2,y:.2};function de(e,t,n,r,i){let{top:o,left:a,right:c,bottom:l}=n;r===void 0&&(r=10),i===void 0&&(i=ye);const{isTop:f,isBottom:b,isLeft:h,isRight:D}=Se(e),C={x:0,y:0},P={x:0,y:0},E={height:t.height*i.y,width:t.width*i.x};return!f&&o<=t.top+E.height?(C.y=K.Backward,P.y=r*Math.abs((t.top+E.height-o)/E.height)):!b&&l>=t.bottom-E.height&&(C.y=K.Forward,P.y=r*Math.abs((t.bottom-E.height-l)/E.height)),!D&&c>=t.right-E.width?(C.x=K.Forward,P.x=r*Math.abs((t.right-E.width-c)/E.width)):!h&&a<=t.left+E.width&&(C.x=K.Backward,P.x=r*Math.abs((t.left+E.width-a)/E.width)),{direction:C,speed:P}}function ee(e){if(e===document.scrollingElement){const{innerWidth:o,innerHeight:a}=window;return{top:0,left:0,right:o,bottom:a,width:o,height:a}}const{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Re(e){return e.reduce((t,n)=>(0,d.IH)(t,ue(n)),Z)}function we(e){return e.reduce((t,n)=>t+X(n),0)}function it(e){return e.reduce((t,n)=>t+J(n),0)}function mt(e,t){if(t===void 0&&(t=m),!e)return;const{top:n,left:r,bottom:i,right:o}=t(e);z(e)&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Wt=[["x",["left","right"],we],["y",["top","bottom"],it]];class st{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=M(n),i=Re(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[o,a,c]of Wt)for(const l of a)Object.defineProperty(this,l,{get:()=>{const f=c(r),b=i[o]-f;return this.rect[l]+b},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class fe{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var i;(i=this.target)==null||i.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function Ht(e){const{EventTarget:t}=(0,d.Jj)(e);return e instanceof t?e:(0,d.r3)(e)}function yt(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var ie;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ie||(ie={}));function wt(e){e.preventDefault()}function Jt(e){e.stopPropagation()}var N;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(N||(N={}));const Tt={start:[N.Space,N.Enter],cancel:[N.Esc],end:[N.Space,N.Enter]},Gt=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case N.Right:return{...n,x:n.x+25};case N.Left:return{...n,x:n.x-25};case N.Down:return{...n,y:n.y+25};case N.Up:return{...n,y:n.y-25}}};class xt{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new fe((0,d.r3)(n)),this.windowListeners=new fe((0,d.Jj)(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ie.Resize,this.handleCancel),this.windowListeners.add(ie.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ie.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&mt(r),n(Z)}handleKeyDown(t){if((0,d.vd)(t)){const{active:n,context:r,options:i}=this.props,{keyboardCodes:o=Tt,coordinateGetter:a=Gt,scrollBehavior:c="smooth"}=i,{code:l}=t;if(o.end.includes(l)){this.handleEnd(t);return}if(o.cancel.includes(l)){this.handleCancel(t);return}const{collisionRect:f}=r.current,b=f?{x:f.left,y:f.top}:Z;this.referenceCoordinates||(this.referenceCoordinates=b);const h=a(t,{active:n,context:r.current,currentCoordinates:b});if(h){const D=(0,d.$X)(h,b),C={x:0,y:0},{scrollableAncestors:P}=r.current;for(const E of P){const I=t.code,{isTop:T,isRight:B,isLeft:L,isBottom:_,maxScroll:$,minScroll:W}=Se(E),O=ee(E),k={x:Math.min(I===N.Right?O.right-O.width/2:O.right,Math.max(I===N.Right?O.left:O.left+O.width/2,h.x)),y:Math.min(I===N.Down?O.bottom-O.height/2:O.bottom,Math.max(I===N.Down?O.top:O.top+O.height/2,h.y))},V=I===N.Right&&!B||I===N.Left&&!L,te=I===N.Down&&!_||I===N.Up&&!T;if(V&&k.x!==h.x){const q=E.scrollLeft+D.x,Ie=I===N.Right&&q<=$.x||I===N.Left&&q>=W.x;if(Ie&&!D.y){E.scrollTo({left:q,behavior:c});return}Ie?C.x=E.scrollLeft-q:C.x=I===N.Right?E.scrollLeft-$.x:E.scrollLeft-W.x,C.x&&E.scrollBy({left:-C.x,behavior:c});break}else if(te&&k.y!==h.y){const q=E.scrollTop+D.y,Ie=I===N.Down&&q<=$.y||I===N.Up&&q>=W.y;if(Ie&&!D.x){E.scrollTo({top:q,behavior:c});return}Ie?C.y=E.scrollTop-q:C.y=I===N.Down?E.scrollTop-$.y:E.scrollTop-W.y,C.y&&E.scrollBy({top:-C.y,behavior:c});break}}this.handleMove(t,(0,d.IH)((0,d.$X)(h,this.referenceCoordinates),C))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}xt.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Tt,onActivation:i}=t,{active:o}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const c=o.activatorNode.current;return c&&e.target!==c?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function Lt(e){return!!(e&&"distance"in e)}function Ee(e){return!!(e&&"delay"in e)}class at{constructor(t,n,r){var i;r===void 0&&(r=Ht(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:o}=t,{target:a}=o;this.props=t,this.events=n,this.document=(0,d.r3)(a),this.documentListeners=new fe(this.document),this.listeners=new fe(r),this.windowListeners=new fe((0,d.Jj)(a)),this.initialCoordinates=(i=(0,d.DC)(o))!=null?i:Z,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(ie.Resize,this.handleCancel),this.windowListeners.add(ie.DragStart,wt),this.windowListeners.add(ie.VisibilityChange,this.handleCancel),this.windowListeners.add(ie.ContextMenu,wt),this.documentListeners.add(ie.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Ee(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(Lt(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(ie.Click,Jt,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ie.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:i,props:o}=this,{onMove:a,options:{activationConstraint:c}}=o;if(!i)return;const l=(n=(0,d.DC)(t))!=null?n:Z,f=(0,d.$X)(i,l);if(!r&&c){if(Lt(c)){if(c.tolerance!=null&&yt(f,c.tolerance))return this.handleCancel();if(yt(f,c.distance))return this.handleStart()}return Ee(c)&&yt(f,c.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),a(l)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===N.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const kt={move:{name:"pointermove"},end:{name:"pointerup"}};class ct extends at{constructor(t){const{event:n}=t,r=(0,d.r3)(n.target);super(t,kt,r)}}ct.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const sn={move:{name:"mousemove"},end:{name:"mouseup"}};var Ct;(function(e){e[e.RightClick=2]="RightClick"})(Ct||(Ct={}));class ke extends at{constructor(t){super(t,sn,(0,d.r3)(t.event.target))}}ke.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Ct.RightClick?!1:(r==null||r({event:n}),!0)}}];const xe={move:{name:"touchmove"},end:{name:"touchend"}};class Q extends at{constructor(t){super(t,xe)}static setup(){return window.addEventListener(xe.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(xe.move.name,t)};function t(){}}}Q.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return i.length>1?!1:(r==null||r({event:n}),!0)}}];var ze;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ze||(ze={}));var Pe;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Pe||(Pe={}));function Dt(e){let{acceleration:t,activator:n=ze.Pointer,canScroll:r,draggingRect:i,enabled:o,interval:a=5,order:c=Pe.TreeOrder,pointerCoordinates:l,scrollableAncestors:f,scrollableAncestorRects:b,delta:h,threshold:D}=e;const C=qt({delta:h,disabled:!o}),[P,E]=(0,d.Yz)(),I=(0,s.useRef)({x:0,y:0}),T=(0,s.useRef)({x:0,y:0}),B=(0,s.useMemo)(()=>{switch(n){case ze.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case ze.DraggableRect:return i}},[n,i,l]),L=(0,s.useRef)(null),_=(0,s.useCallback)(()=>{const W=L.current;if(!W)return;const O=I.current.x*T.current.x,k=I.current.y*T.current.y;W.scrollBy(O,k)},[]),$=(0,s.useMemo)(()=>c===Pe.TreeOrder?[...f].reverse():f,[c,f]);(0,s.useEffect)(()=>{if(!o||!f.length||!B){E();return}for(const W of $){if((r==null?void 0:r(W))===!1)continue;const O=f.indexOf(W),k=b[O];if(!k)continue;const{direction:V,speed:te}=de(W,k,B,t,D);for(const q of["x","y"])C[q][V[q]]||(te[q]=0,V[q]=0);if(te.x>0||te.y>0){E(),L.current=W,P(_,a),I.current=te,T.current=V;return}}I.current={x:0,y:0},T.current={x:0,y:0},E()},[t,_,r,E,o,a,JSON.stringify(B),JSON.stringify(C),P,f,$,b,JSON.stringify(D)])}const Vt={x:{[K.Backward]:!1,[K.Forward]:!1},y:{[K.Backward]:!1,[K.Forward]:!1}};function qt(e){let{delta:t,disabled:n}=e;const r=(0,d.D9)(t);return(0,d.Gj)(i=>{if(n||!r||!i)return Vt;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[K.Backward]:i.x[K.Backward]||o.x===-1,[K.Forward]:i.x[K.Forward]||o.x===1},y:{[K.Backward]:i.y[K.Backward]||o.y===-1,[K.Forward]:i.y[K.Forward]||o.y===1}}},[n,t,r])}function Bn(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return(0,d.Gj)(i=>{var o;return t===null?null:(o=r??i)!=null?o:null},[r,t])}function Fn(e,t){return(0,s.useMemo)(()=>e.reduce((n,r)=>{const{sensor:i}=r,o=i.activators.map(a=>({eventName:a.eventName,handler:t(a.handler,r)}));return[...n,...o]},[]),[e,t])}var lt;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(lt||(lt={}));var zt;(function(e){e.Optimized="optimized"})(zt||(zt={}));const an=new Map;function Xn(e,t){let{dragging:n,dependencies:r,config:i}=t;const[o,a]=(0,s.useState)(null),{frequency:c,measure:l,strategy:f}=i,b=(0,s.useRef)(e),h=I(),D=(0,d.Ey)(h),C=(0,s.useCallback)(function(T){T===void 0&&(T=[]),!D.current&&a(B=>B===null?T:B.concat(T.filter(L=>!B.includes(L))))},[D]),P=(0,s.useRef)(null),E=(0,d.Gj)(T=>{if(h&&!n)return an;if(!T||T===an||b.current!==e||o!=null){const B=new Map;for(let L of e){if(!L)continue;if(o&&o.length>0&&!o.includes(L.id)&&L.rect.current){B.set(L.id,L.rect.current);continue}const _=L.node.current,$=_?new st(l(_),_):null;L.rect.current=$,$&&B.set(L.id,$)}return B}return T},[e,o,n,h,l]);return(0,s.useEffect)(()=>{b.current=e},[e]),(0,s.useEffect)(()=>{h||C()},[n,h]),(0,s.useEffect)(()=>{o&&o.length>0&&a(null)},[JSON.stringify(o)]),(0,s.useEffect)(()=>{h||typeof c!="number"||P.current!==null||(P.current=setTimeout(()=>{C(),P.current=null},c))},[c,h,C,...r]),{droppableRects:E,measureDroppableContainers:C,measuringScheduled:o!=null};function I(){switch(f){case lt.Always:return!1;case lt.BeforeDragging:return n;default:return!n}}}function Zt(e,t){return(0,d.Gj)(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Kn(e,t){return Zt(e,t)}function $n(e){let{callback:t,disabled:n}=e;const r=(0,d.zX)(t),i=(0,s.useMemo)(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:o}=window;return new o(r)},[r,n]);return(0,s.useEffect)(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Pt(e){let{callback:t,disabled:n}=e;const r=(0,d.zX)(t),i=(0,s.useMemo)(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(r)},[n]);return(0,s.useEffect)(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Yn(e){return new st(m(e),e)}function cn(e,t,n){t===void 0&&(t=Yn);const[r,i]=(0,s.useReducer)(c,null),o=$n({callback(l){if(e)for(const f of l){const{type:b,target:h}=f;if(b==="childList"&&h instanceof HTMLElement&&h.contains(e)){i();break}}}}),a=Pt({callback:i});return(0,d.LI)(()=>{i(),e?(a==null||a.observe(e),o==null||o.observe(document.body,{childList:!0,subtree:!0})):(a==null||a.disconnect(),o==null||o.disconnect())},[e]),r;function c(l){if(!e)return null;if(e.isConnected===!1){var f;return(f=l??n)!=null?f:null}const b=t(e);return JSON.stringify(l)===JSON.stringify(b)?l:b}}function Un(e){const t=Zt(e);return H(e,t)}const ln=[];function Wn(e){const t=(0,s.useRef)(e),n=(0,d.Gj)(r=>e?r&&r!==ln&&e&&t.current&&e.parentNode===t.current.parentNode?r:M(e):ln,[e]);return(0,s.useEffect)(()=>{t.current=e},[e]),n}function Hn(e){const[t,n]=(0,s.useState)(null),r=(0,s.useRef)(e),i=(0,s.useCallback)(o=>{const a=j(o.target);a&&n(c=>c?(c.set(a,ue(a)),new Map(c)):null)},[]);return(0,s.useEffect)(()=>{const o=r.current;if(e!==o){a(o);const c=e.map(l=>{const f=j(l);return f?(f.addEventListener("scroll",i,{passive:!0}),[f,ue(f)]):null}).filter(l=>l!=null);n(c.length?new Map(c):null),r.current=e}return()=>{a(e),a(o)};function a(c){c.forEach(l=>{const f=j(l);f==null||f.removeEventListener("scroll",i)})}},[i,e]),(0,s.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((o,a)=>(0,d.IH)(o,a),Z):Re(e):Z,[e,t])}function un(e,t){t===void 0&&(t=[]);const n=(0,s.useRef)(null);return(0,s.useEffect)(()=>{n.current=null},t),(0,s.useEffect)(()=>{const r=e!==Z;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?(0,d.$X)(e,n.current):Z}function Jn(e){(0,s.useEffect)(()=>{if(!d.Nq)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function Gn(e,t){return(0,s.useMemo)(()=>e.reduce((n,r)=>{let{eventName:i,handler:o}=r;return n[i]=a=>{o(a,t)},n},{}),[e,t])}function dn(e){return(0,s.useMemo)(()=>e?S(e):null,[e])}const Qt=[];function Vn(e,t){t===void 0&&(t=m);const[n]=e,r=dn(n?(0,d.Jj)(n):null),[i,o]=(0,s.useReducer)(c,Qt),a=Pt({callback:o});return e.length>0&&i===Qt&&o(),(0,d.LI)(()=>{e.length?e.forEach(l=>a==null?void 0:a.observe(l)):(a==null||a.disconnect(),o())},[e]),i;function c(){return e.length?e.map(l=>oe(l)?r:new st(t(l),l)):Qt}}function fn(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,d.Re)(t)?t:e}function qn(e){let{measure:t}=e;const[n,r]=(0,s.useState)(null),i=(0,s.useCallback)(f=>{for(const{target:b}of f)if((0,d.Re)(b)){r(h=>{const D=t(b);return h?{...h,width:D.width,height:D.height}:D});break}},[t]),o=Pt({callback:i}),a=(0,s.useCallback)(f=>{const b=fn(f);o==null||o.disconnect(),b&&(o==null||o.observe(b)),r(b?t(b):null)},[t,o]),[c,l]=(0,d.wm)(a);return(0,s.useMemo)(()=>({nodeRef:c,rect:n,setRef:l}),[n,c,l])}const Zn=[{sensor:ct,options:{}},{sensor:xt,options:{}}],Qn={current:{}},jt={draggable:{measure:x},droppable:{measure:x,strategy:lt.WhileDragging,frequency:zt.Optimized},dragOverlay:{measure:m}};class St extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const _n={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new St,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:le},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:jt,measureDroppableContainers:le,windowRect:null,measuringScheduled:!1},hn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:le,draggableNodes:new Map,over:null,measureDroppableContainers:le},Rt=(0,s.createContext)(hn),gn=(0,s.createContext)(_n);function er(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new St}}}function tr(e,t){switch(t.type){case U.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case U.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case U.DragEnd:case U.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case U.RegisterDroppable:{const{element:n}=t,{id:r}=n,i=new St(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case U.SetDroppableDisabled:{const{id:n,key:r,disabled:i}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const a=new St(e.droppable.containers);return a.set(n,{...o,disabled:i}),{...e,droppable:{...e.droppable,containers:a}}}case U.UnregisterDroppable:{const{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const o=new St(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function nr(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:i}=(0,s.useContext)(Rt),o=(0,d.D9)(r),a=(0,d.D9)(n==null?void 0:n.id);return(0,s.useEffect)(()=>{if(!t&&!r&&o&&a!=null){if(!(0,d.vd)(o)||document.activeElement===o.target)return;const c=i.get(a);if(!c)return;const{activatorNode:l,node:f}=c;if(!l.current&&!f.current)return;requestAnimationFrame(()=>{for(const b of[l.current,f.current]){if(!b)continue;const h=(0,d.so)(b);if(h){h.focus();break}}})}},[r,t,i,a,o]),null}function _t(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((i,o)=>o({transform:i,...r}),n):n}function rr(e){return(0,s.useMemo)(()=>({draggable:{...jt.draggable,...e==null?void 0:e.draggable},droppable:{...jt.droppable,...e==null?void 0:e.droppable},dragOverlay:{...jt.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function or(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e;const o=(0,s.useRef)(!1),{x:a,y:c}=typeof i=="boolean"?{x:i,y:i}:i;(0,d.LI)(()=>{if(!a&&!c||!t){o.current=!1;return}if(o.current||!r)return;const f=t==null?void 0:t.node.current;if(!f||f.isConnected===!1)return;const b=n(f),h=H(b,r);if(a||(h.x=0),c||(h.y=0),o.current=!0,Math.abs(h.x)>0||Math.abs(h.y)>0){const D=z(f);D&&D.scrollBy({top:h.y,left:h.x})}},[t,a,c,r,n])}const Bt=(0,s.createContext)({...Z,scaleX:1,scaleY:1});var je;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(je||(je={}));const ir=(0,s.memo)(function(t){var n,r,i,o;let{id:a,accessibility:c,autoScroll:l=!0,children:f,sensors:b=Zn,collisionDetection:h=ot,measuring:D,modifiers:C,...P}=t;const E=(0,s.useReducer)(tr,void 0,er),[I,T]=E,[B,L]=Oe(),[_,$]=(0,s.useState)(je.Uninitialized),W=_===je.Initialized,{draggable:{active:O,nodes:k,translate:V},droppable:{containers:te}}=I,q=O?k.get(O):null,Ie=(0,s.useRef)({initial:null,translated:null}),Ae=(0,s.useMemo)(()=>{var ne;return O!=null?{id:O,data:(ne=q==null?void 0:q.data)!=null?ne:Qn,rect:Ie}:null},[O,q]),Be=(0,s.useRef)(null),[wn,xn]=(0,s.useState)(null),[Me,Cn]=(0,s.useState)(null),Et=(0,d.Ey)(P,Object.values(P)),en=(0,d.Ld)("DndDescribedBy",a),Dn=(0,s.useMemo)(()=>te.getEnabled(),[te]),Ze=rr(D),{droppableRects:ut,measureDroppableContainers:Ft,measuringScheduled:Sn}=Xn(Dn,{dragging:W,dependencies:[V.x,V.y],config:Ze.droppable}),he=Bn(k,O),Rn=(0,s.useMemo)(()=>Me?(0,d.DC)(Me):null,[Me]),En=Mr(),In=Kn(he,Ze.draggable.measure);or({activeNode:O?k.get(O):null,config:En.layoutShiftCompensation,initialRect:In,measure:Ze.draggable.measure});const ge=cn(he,Ze.draggable.measure,In),tn=cn(he?he.parentElement:null),Qe=(0,s.useRef)({activatorEvent:null,active:null,activeNode:he,collisionRect:null,collisions:null,droppableRects:ut,draggableNodes:k,draggingNode:null,draggingNodeRect:null,droppableContainers:te,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),An=te.getNodeFor((n=Qe.current.over)==null?void 0:n.id),_e=qn({measure:Ze.dragOverlay.measure}),Xt=(r=_e.nodeRef.current)!=null?r:he,dt=W?(i=_e.rect)!=null?i:ge:null,Mn=!!(_e.nodeRef.current&&_e.rect),On=Un(Mn?null:ge),nn=dn(Xt?(0,d.Jj)(Xt):null),Fe=Wn(W?An??he:null),Kt=Vn(Fe),$t=_t(C,{transform:{x:V.x-On.x,y:V.y-On.y,scaleX:1,scaleY:1},activatorEvent:Me,active:Ae,activeNodeRect:ge,containerNodeRect:tn,draggingNodeRect:dt,over:Qe.current.over,overlayNodeRect:_e.rect,scrollableAncestors:Fe,scrollableAncestorRects:Kt,windowRect:nn}),Nn=Rn?(0,d.IH)(Rn,V):null,Tn=Hn(Fe),Cr=un(Tn),Dr=un(Tn,[ge]),ft=(0,d.IH)($t,Cr),ht=dt?g(dt,$t):null,It=Ae&&ht?h({active:Ae,collisionRect:ht,droppableRects:ut,droppableContainers:Dn,pointerCoordinates:Nn}):null,Ln=Ve(It,"id"),[Xe,kn]=(0,s.useState)(null),Sr=Mn?$t:(0,d.IH)($t,Dr),Rr=R(Sr,(o=Xe==null?void 0:Xe.rect)!=null?o:null,ge),zn=(0,s.useCallback)((ne,se)=>{let{sensor:ae,options:Ke}=se;if(Be.current==null)return;const ce=k.get(Be.current);if(!ce)return;const ve=ne.nativeEvent,Ce=new ae({active:Be.current,activeNode:ce,event:ve,options:Ke,context:Qe,onStart(pe){const At=Be.current;if(At==null)return;const Mt=k.get(At);if(!Mt)return;const{onDragStart:Yt}=Et.current,Ut={active:{id:At,data:Mt.data,rect:Ie}};(0,Y.unstable_batchedUpdates)(()=>{Yt==null||Yt(Ut),$(je.Initializing),T({type:U.DragStart,initialCoordinates:pe,active:At}),B({type:"onDragStart",event:Ut})})},onMove(pe){T({type:U.DragMove,coordinates:pe})},onEnd:gt(U.DragEnd),onCancel:gt(U.DragCancel)});(0,Y.unstable_batchedUpdates)(()=>{xn(Ce),Cn(ne.nativeEvent)});function gt(pe){return async function(){const{active:Mt,collisions:Yt,over:Ut,scrollAdjustedTranslate:jn}=Qe.current;let Ot=null;if(Mt&&jn){const{cancelDrop:Nt}=Et.current;Ot={activatorEvent:ve,active:Mt,collisions:Yt,delta:jn,over:Ut},pe===U.DragEnd&&typeof Nt=="function"&&await Promise.resolve(Nt(Ot))&&(pe=U.DragCancel)}Be.current=null,(0,Y.unstable_batchedUpdates)(()=>{T({type:pe}),$(je.Uninitialized),kn(null),xn(null),Cn(null);const Nt=pe===U.DragEnd?"onDragEnd":"onDragCancel";if(Ot){const rn=Et.current[Nt];rn==null||rn(Ot),B({type:Nt,event:Ot})}})}}},[k]),Er=(0,s.useCallback)((ne,se)=>(ae,Ke)=>{const ce=ae.nativeEvent,ve=k.get(Ke);if(Be.current!==null||!ve||ce.dndKit||ce.defaultPrevented)return;const Ce={active:ve};ne(ae,se.options,Ce)===!0&&(ce.dndKit={capturedBy:se.sensor},Be.current=Ke,zn(ae,se))},[k,zn]),Pn=Fn(b,Er);Jn(b),(0,d.LI)(()=>{ge&&_===je.Initializing&&$(je.Initialized)},[ge,_]),(0,s.useEffect)(()=>{const{onDragMove:ne}=Et.current,{active:se,activatorEvent:ae,collisions:Ke,over:ce}=Qe.current;if(!se||!ae)return;const ve={active:se,activatorEvent:ae,collisions:Ke,delta:{x:ft.x,y:ft.y},over:ce};(0,Y.unstable_batchedUpdates)(()=>{ne==null||ne(ve),B({type:"onDragMove",event:ve})})},[ft.x,ft.y]),(0,s.useEffect)(()=>{const{active:ne,activatorEvent:se,collisions:ae,droppableContainers:Ke,scrollAdjustedTranslate:ce}=Qe.current;if(!ne||Be.current==null||!se||!ce)return;const{onDragOver:ve}=Et.current,Ce=Ke.get(Ln),gt=Ce&&Ce.rect.current?{id:Ce.id,rect:Ce.rect.current,data:Ce.data,disabled:Ce.disabled}:null,pe={active:ne,activatorEvent:se,collisions:ae,delta:{x:ce.x,y:ce.y},over:gt};(0,Y.unstable_batchedUpdates)(()=>{kn(gt),ve==null||ve(pe),B({type:"onDragOver",event:pe})})},[Ln]),(0,d.LI)(()=>{Qe.current={activatorEvent:Me,active:Ae,activeNode:he,collisionRect:ht,collisions:It,droppableRects:ut,draggableNodes:k,draggingNode:Xt,draggingNodeRect:dt,droppableContainers:te,over:Xe,scrollableAncestors:Fe,scrollAdjustedTranslate:ft},Ie.current={initial:dt,translated:ht}},[Ae,he,It,ht,k,Xt,dt,ut,te,Xe,Fe,ft]),Dt({...En,delta:V,draggingRect:ht,pointerCoordinates:Nn,scrollableAncestors:Fe,scrollableAncestorRects:Kt});const Ir=(0,s.useMemo)(()=>({active:Ae,activeNode:he,activeNodeRect:ge,activatorEvent:Me,collisions:It,containerNodeRect:tn,dragOverlay:_e,draggableNodes:k,droppableContainers:te,droppableRects:ut,over:Xe,measureDroppableContainers:Ft,scrollableAncestors:Fe,scrollableAncestorRects:Kt,measuringConfiguration:Ze,measuringScheduled:Sn,windowRect:nn}),[Ae,he,ge,Me,It,tn,_e,k,te,ut,Xe,Ft,Fe,Kt,Ze,Sn,nn]),Ar=(0,s.useMemo)(()=>({activatorEvent:Me,activators:Pn,active:Ae,activeNodeRect:ge,ariaDescribedById:{draggable:en},dispatch:T,draggableNodes:k,over:Xe,measureDroppableContainers:Ft}),[Me,Pn,Ae,ge,T,en,k,Xe,Ft]);return s.createElement(Ue.Provider,{value:L},s.createElement(Rt.Provider,{value:Ar},s.createElement(gn.Provider,{value:Ir},s.createElement(Bt.Provider,{value:Rr},f)),s.createElement(nr,{disabled:(c==null?void 0:c.restoreFocus)===!1})),s.createElement(Je,{...c,hiddenTextDescribedById:en}));function Mr(){const ne=(wn==null?void 0:wn.autoScrollEnabled)===!1,se=typeof l=="object"?l.enabled===!1:l===!1,ae=W&&!ne&&!se;return typeof l=="object"?{...l,enabled:ae}:{enabled:ae}}}),sr=(0,s.createContext)(null),vn="button",ar="Droppable";function cr(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e;const o=(0,d.Ld)(ar),{activators:a,activatorEvent:c,active:l,activeNodeRect:f,ariaDescribedById:b,draggableNodes:h,over:D}=(0,s.useContext)(Rt),{role:C=vn,roleDescription:P="draggable",tabIndex:E=0}=i??{},I=(l==null?void 0:l.id)===t,T=(0,s.useContext)(I?Bt:sr),[B,L]=(0,d.wm)(),[_,$]=(0,d.wm)(),W=Gn(a,t),O=(0,d.Ey)(n);(0,d.LI)(()=>(h.set(t,{id:t,key:o,node:B,activatorNode:_,data:O}),()=>{const V=h.get(t);V&&V.key===o&&h.delete(t)}),[h,t]);const k=(0,s.useMemo)(()=>({role:C,tabIndex:E,"aria-disabled":r,"aria-pressed":I&&C===vn?!0:void 0,"aria-roledescription":P,"aria-describedby":b.draggable}),[r,C,E,I,P,b.draggable]);return{active:l,activatorEvent:c,activeNodeRect:f,attributes:k,isDragging:I,listeners:r?void 0:W,node:B,over:D,setNodeRef:L,setActivatorNodeRef:$,transform:T}}function pn(){return(0,s.useContext)(gn)}const lr="Droppable",ur={timeout:25};function dr(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e;const o=(0,d.Ld)(lr),{active:a,dispatch:c,over:l,measureDroppableContainers:f}=(0,s.useContext)(Rt),b=(0,s.useRef)({disabled:n}),h=(0,s.useRef)(!1),D=(0,s.useRef)(null),C=(0,s.useRef)(null),{disabled:P,updateMeasurementsFor:E,timeout:I}={...ur,...i},T=(0,d.Ey)(E??r),B=(0,s.useCallback)(()=>{if(!h.current){h.current=!0;return}C.current!=null&&clearTimeout(C.current),C.current=setTimeout(()=>{f(Array.isArray(T.current)?T.current:[T.current]),C.current=null},I)},[I]),L=Pt({callback:B,disabled:P||!a}),_=(0,s.useCallback)((k,V)=>{L&&(V&&(L.unobserve(V),h.current=!1),k&&L.observe(k))},[L]),[$,W]=(0,d.wm)(_),O=(0,d.Ey)(t);return(0,s.useEffect)(()=>{!L||!$.current||(L.disconnect(),h.current=!1,L.observe($.current))},[$,L]),(0,d.LI)(()=>(c({type:U.RegisterDroppable,element:{id:r,key:o,disabled:n,node:$,rect:D,data:O}}),()=>c({type:U.UnregisterDroppable,key:o,id:r})),[r]),(0,s.useEffect)(()=>{n!==b.current.disabled&&(c({type:U.SetDroppableDisabled,id:r,key:o,disabled:n}),b.current.disabled=n)},[r,o,n,c]),{active:a,rect:D,isOver:(l==null?void 0:l.id)===r,node:$,over:l,setNodeRef:W}}function fr(e){let{animation:t,children:n}=e;const[r,i]=(0,s.useState)(null),[o,a]=(0,s.useState)(null),c=(0,d.D9)(n);return!n&&!r&&c&&i(c),(0,d.LI)(()=>{if(!o)return;const l=r==null?void 0:r.key,f=r==null?void 0:r.props.id;if(l==null||f==null){i(null);return}Promise.resolve(t(f,o)).then(()=>{i(null)})},[t,r,o]),s.createElement(s.Fragment,null,n,r?(0,s.cloneElement)(r,{ref:a}):null)}const hr={x:0,y:0,scaleX:1,scaleY:1};function gr(e){let{children:t}=e;return s.createElement(Rt.Provider,{value:hn},s.createElement(Bt.Provider,{value:hr},t))}const vr={position:"fixed",touchAction:"none"},pr=e=>(0,d.vd)(e)?"transform 250ms ease":void 0,br=(0,s.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:o,className:a,rect:c,style:l,transform:f,transition:b=pr}=e;if(!c)return null;const h=i?f:{...f,scaleX:1,scaleY:1},D={...vr,width:c.width,height:c.height,top:c.top,left:c.left,transform:d.ux.Transform.toString(h),transformOrigin:i&&r?et(r,c):void 0,transition:typeof b=="function"?b(r):b,...l};return s.createElement(n,{className:a,style:D,ref:t},o)}),bn=e=>t=>{let{active:n,dragOverlay:r}=t;const i={},{styles:o,className:a}=e;if(o!=null&&o.active)for(const[c,l]of Object.entries(o.active))l!==void 0&&(i[c]=n.node.style.getPropertyValue(c),n.node.style.setProperty(c,l));if(o!=null&&o.dragOverlay)for(const[c,l]of Object.entries(o.dragOverlay))l!==void 0&&r.node.style.setProperty(c,l);return a!=null&&a.active&&n.node.classList.add(a.active),a!=null&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[l,f]of Object.entries(i))n.node.style.setProperty(l,f);a!=null&&a.active&&n.node.classList.remove(a.active)}},mn={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:d.ux.Transform.toString(t)},{transform:d.ux.Transform.toString(n)}]},sideEffects:bn({styles:{active:{opacity:"0"}}})};function mr(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return(0,d.zX)((o,a)=>{if(t===null)return;const c=n.get(o);if(!c)return;const l=c.node.current;if(!l)return;const f=fn(a);if(!f)return;const{transform:b}=(0,d.Jj)(a).getComputedStyle(a),h=v(b);if(!h)return;const D=typeof t=="function"?t:yr(t);return mt(l,i.draggable.measure),D({active:{id:o,data:c.data,node:l,rect:i.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(f)},droppableContainers:r,measuringConfiguration:i,transform:h})})}function yr(e){const{duration:t,easing:n,sideEffects:r,keyframes:i}={...mn,...e};return o=>{let{active:a,dragOverlay:c,transform:l,...f}=o;if(!t)return;const b={x:c.rect.left-a.rect.left,y:c.rect.top-a.rect.top},h={scaleX:l.scaleX!==1?a.rect.width*l.scaleX/c.rect.width:1,scaleY:l.scaleY!==1?a.rect.height*l.scaleY/c.rect.height:1},D={x:l.x-b.x,y:l.y-b.y,...h},C=i({...f,active:a,dragOverlay:c,transform:{initial:l,final:D}}),[P]=C,E=C[C.length-1];if(JSON.stringify(P)===JSON.stringify(E))return;const I=r==null?void 0:r({active:a,dragOverlay:c,...f}),T=c.node.animate(C,{duration:t,easing:n,fill:"forwards"});return new Promise(B=>{T.onfinish=()=>{I==null||I(),B()}})}}let yn=0;function wr(e){return(0,s.useMemo)(()=>{if(e!=null)return yn++,yn},[e])}const xr=s.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:o,modifiers:a,wrapperElement:c="div",className:l,zIndex:f=999}=e;const{activatorEvent:b,active:h,activeNodeRect:D,containerNodeRect:C,draggableNodes:P,droppableContainers:E,dragOverlay:I,over:T,measuringConfiguration:B,scrollableAncestors:L,scrollableAncestorRects:_,windowRect:$}=pn(),W=(0,s.useContext)(Bt),O=wr(h==null?void 0:h.id),k=_t(a,{activatorEvent:b,active:h,activeNodeRect:D,containerNodeRect:C,draggingNodeRect:I.rect,over:T,overlayNodeRect:I.rect,scrollableAncestors:L,scrollableAncestorRects:_,transform:W,windowRect:$}),V=Zt(D),te=mr({config:r,draggableNodes:P,droppableContainers:E,measuringConfiguration:B}),q=V?I.setRef:void 0;return s.createElement(gr,null,s.createElement(fr,{animation:te},h&&O?s.createElement(br,{key:O,id:h.id,ref:q,as:c,activatorEvent:b,adjustScale:t,className:l,transition:o,rect:V,style:{zIndex:f,...i},transform:k},n):null))})},45587:function(on,$e,re){re.r($e),re.d($e,{SortableContext:function(){return et},arrayMove:function(){return be},arraySwap:function(){return Ye},defaultAnimateLayoutChanges:function(){return tt},defaultNewIndexGetter:function(){return Le},hasSortableData:function(){return u},horizontalListSortingStrategy:function(){return Ne},rectSortingStrategy:function(){return Je},rectSwappingStrategy:function(){return U},sortableKeyboardCoordinates:function(){return R},useSortable:function(){return rt},verticalListSortingStrategy:function(){return vt}});var s=re(67294),Y=re(60887),d=re(24285);function be(g,v,y){const p=g.slice();return p.splice(y<0?p.length+y:y,0,p.splice(v,1)[0]),p}function Ye(g,v,y){const p=g.slice();return p[v]=g[y],p[y]=g[v],p}function me(g,v){return g.reduce((y,p,m)=>{const x=v.get(p);return x&&(y[m]=x),y},Array(g.length))}function De(g){return g!==null&&g>=0}function Ue(g,v){if(g===v)return!0;if(g.length!==v.length)return!1;for(let y=0;y<g.length;y++)if(g[y]!==v[y])return!1;return!0}function We(g){return typeof g=="boolean"?{draggable:g,droppable:g}:g}const Oe={scaleX:1,scaleY:1},Ne=g=>{var v;let{rects:y,activeNodeRect:p,activeIndex:m,overIndex:x,index:S}=g;const A=(v=y[m])!=null?v:p;if(!A)return null;const F=He(y,S,m);if(S===m){const M=y[x];return M?{x:m<x?M.left+M.width-(A.left+A.width):M.left-A.left,y:0,...Oe}:null}return S>m&&S<=x?{x:-A.width-F,y:0,...Oe}:S<m&&S>=x?{x:A.width+F,y:0,...Oe}:{x:0,y:0,...Oe}};function He(g,v,y){const p=g[v],m=g[v-1],x=g[v+1];return!p||!m&&!x?0:y<v?m?p.left-(m.left+m.width):x.left-(p.left+p.width):x?x.left-(p.left+p.width):p.left-(m.left+m.width)}const Je=g=>{let{rects:v,activeIndex:y,overIndex:p,index:m}=g;const x=be(v,p,y),S=v[m],A=x[m];return!A||!S?null:{x:A.left-S.left,y:A.top-S.top,scaleX:A.width/S.width,scaleY:A.height/S.height}},U=g=>{let{activeIndex:v,index:y,rects:p,overIndex:m}=g,x,S;return y===v&&(x=p[y],S=p[m]),y===m&&(x=p[y],S=p[v]),!S||!x?null:{x:S.left-x.left,y:S.top-x.top,scaleX:S.width/x.width,scaleY:S.height/x.height}},le={scaleX:1,scaleY:1},vt=g=>{var v;let{activeIndex:y,activeNodeRect:p,index:m,rects:x,overIndex:S}=g;const A=(v=x[y])!=null?v:p;if(!A)return null;if(m===y){const M=x[S];return M?{x:0,y:y<S?M.top+M.height-(A.top+A.height):M.top-A.top,...le}:null}const F=pt(x,m,y);return m>y&&m<=S?{x:0,y:-A.height-F,...le}:m<y&&m>=S?{x:0,y:A.height+F,...le}:{x:0,y:0,...le}};function pt(g,v,y){const p=g[v],m=g[v-1],x=g[v+1];return p?y<v?m?p.top-(m.top+m.height):x?x.top-(p.top+p.height):0:x?x.top-(p.top+p.height):m?p.top-(m.top+m.height):0:0}const Z="Sortable",Te=s.createContext({activeIndex:-1,containerId:Z,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Je,disabled:{draggable:!1,droppable:!1}});function et(g){let{children:v,id:y,items:p,strategy:m=Je,disabled:x=!1}=g;const{active:S,dragOverlay:A,droppableRects:F,over:M,measureDroppableContainers:z}=(0,Y.useDndContext)(),j=(0,d.Ld)(Z,y),X=A.rect!==null,J=(0,s.useMemo)(()=>p.map(we=>typeof we=="object"&&"id"in we?we.id:we),[p]),ue=S!=null,K=S?J.indexOf(S.id):-1,oe=M?J.indexOf(M.id):-1,Se=(0,s.useRef)(J),ye=!Ue(J,Se.current),de=oe!==-1&&K===-1||ye,ee=We(x);(0,d.LI)(()=>{ye&&ue&&z(J)},[ye,J,ue,z]),(0,s.useEffect)(()=>{Se.current=J},[J]);const Re=(0,s.useMemo)(()=>({activeIndex:K,containerId:j,disabled:ee,disableTransforms:de,items:J,overIndex:oe,useDragOverlay:X,sortedRects:me(J,F),strategy:m}),[K,j,ee.draggable,ee.droppable,de,J,oe,F,X,m]);return s.createElement(Te.Provider,{value:Re},v)}const Le=g=>{let{id:v,items:y,activeIndex:p,overIndex:m}=g;return be(y,p,m).indexOf(v)},tt=g=>{let{containerId:v,isSorting:y,wasDragging:p,index:m,items:x,newIndex:S,previousItems:A,previousContainerId:F,transition:M}=g;return!M||!p||A!==x&&m===S?!1:y?!0:S!==m&&v===F},Ge={duration:200,easing:"ease"},Ve="transform",nt=d.ux.Transition.toString({property:Ve,duration:0,easing:"linear"}),bt={roleDescription:"sortable"};function qe(g){let{disabled:v,index:y,node:p,rect:m}=g;const[x,S]=(0,s.useState)(null),A=(0,s.useRef)(y);return(0,d.LI)(()=>{if(!v&&y!==A.current&&p.current){const F=m.current;if(F){const M=(0,Y.getClientRect)(p.current,{ignoreTransform:!0}),z={x:F.left-M.left,y:F.top-M.top,scaleX:F.width/M.width,scaleY:F.height/M.height};(z.x||z.y)&&S(z)}}y!==A.current&&(A.current=y)},[v,y,p,m]),(0,s.useEffect)(()=>{x&&S(null)},[x]),x}function rt(g){let{animateLayoutChanges:v=tt,attributes:y,disabled:p,data:m,getNewIndex:x=Le,id:S,strategy:A,resizeObserverConfig:F,transition:M=Ge}=g;const{items:z,containerId:j,activeIndex:X,disabled:J,disableTransforms:ue,sortedRects:K,overIndex:oe,useDragOverlay:Se,strategy:ye}=(0,s.useContext)(Te),de=ot(p,J),ee=z.indexOf(S),Re=(0,s.useMemo)(()=>({sortable:{containerId:j,index:ee,items:z},...m}),[j,m,ee,z]),we=(0,s.useMemo)(()=>z.slice(z.indexOf(S)),[z,S]),{rect:it,node:mt,isOver:Wt,setNodeRef:st}=(0,Y.useDroppable)({id:S,data:Re,disabled:de.droppable,resizeObserverConfig:{updateMeasurementsFor:we,...F}}),{active:fe,activatorEvent:Ht,activeNodeRect:yt,attributes:ie,setNodeRef:wt,listeners:Jt,isDragging:N,over:Tt,setActivatorNodeRef:Gt,transform:xt}=(0,Y.useDraggable)({id:S,data:Re,attributes:{...bt,...y},disabled:de.draggable}),Lt=(0,d.HB)(st,wt),Ee=!!fe,at=Ee&&!ue&&De(X)&&De(oe),kt=!Se&&N,ct=kt&&at?xt:null,Ct=at?ct??(A??ye)({rects:K,activeNodeRect:yt,activeIndex:X,overIndex:oe,index:ee}):null,ke=De(X)&&De(oe)?x({id:S,items:z,activeIndex:X,overIndex:oe}):ee,xe=fe==null?void 0:fe.id,Q=(0,s.useRef)({activeId:xe,items:z,newIndex:ke,containerId:j}),ze=z!==Q.current.items,Pe=v({active:fe,containerId:j,isDragging:N,isSorting:Ee,id:S,index:ee,items:z,newIndex:Q.current.newIndex,previousItems:Q.current.items,previousContainerId:Q.current.containerId,transition:M,wasDragging:Q.current.activeId!=null}),Dt=qe({disabled:!Pe,index:ee,node:mt,rect:it});return(0,s.useEffect)(()=>{Ee&&Q.current.newIndex!==ke&&(Q.current.newIndex=ke),j!==Q.current.containerId&&(Q.current.containerId=j),z!==Q.current.items&&(Q.current.items=z)},[Ee,ke,j,z]),(0,s.useEffect)(()=>{if(xe===Q.current.activeId)return;if(xe&&!Q.current.activeId){Q.current.activeId=xe;return}const qt=setTimeout(()=>{Q.current.activeId=xe},50);return()=>clearTimeout(qt)},[xe]),{active:fe,activeIndex:X,attributes:ie,data:Re,rect:it,index:ee,newIndex:ke,items:z,isOver:Wt,isSorting:Ee,isDragging:N,listeners:Jt,node:mt,overIndex:oe,over:Tt,setNodeRef:Lt,setActivatorNodeRef:Gt,setDroppableNodeRef:st,setDraggableNodeRef:wt,transform:Dt??Ct,transition:Vt()};function Vt(){if(Dt||ze&&Q.current.newIndex===ee)return nt;if(!(kt&&!(0,d.vd)(Ht)||!M)&&(Ee||Pe))return d.ux.Transition.toString({...M,property:Ve})}}function ot(g,v){var y,p;return typeof g=="boolean"?{draggable:g,droppable:!1}:{draggable:(y=g==null?void 0:g.draggable)!=null?y:v.draggable,droppable:(p=g==null?void 0:g.droppable)!=null?p:v.droppable}}function u(g){if(!g)return!1;const v=g.data.current;return!!(v&&"sortable"in v&&typeof v.sortable=="object"&&"containerId"in v.sortable&&"items"in v.sortable&&"index"in v.sortable)}const w=[Y.KeyboardCode.Down,Y.KeyboardCode.Right,Y.KeyboardCode.Up,Y.KeyboardCode.Left],R=(g,v)=>{let{context:{active:y,collisionRect:p,droppableRects:m,droppableContainers:x,over:S,scrollableAncestors:A}}=v;if(w.includes(g.code)){if(g.preventDefault(),!y||!p)return;const F=[];x.getEnabled().forEach(j=>{if(!j||j!=null&&j.disabled)return;const X=m.get(j.id);if(X)switch(g.code){case Y.KeyboardCode.Down:p.top<X.top&&F.push(j);break;case Y.KeyboardCode.Up:p.top>X.top&&F.push(j);break;case Y.KeyboardCode.Left:p.left>X.left&&F.push(j);break;case Y.KeyboardCode.Right:p.left<X.left&&F.push(j);break}});const M=(0,Y.closestCorners)({active:y,collisionRect:p,droppableRects:m,droppableContainers:F,pointerCoordinates:null});let z=(0,Y.getFirstCollision)(M,"id");if(z===(S==null?void 0:S.id)&&M.length>1&&(z=M[1].id),z!=null){const j=x.get(y.id),X=x.get(z),J=X?m.get(X.id):null,ue=X==null?void 0:X.node.current;if(ue&&J&&j&&X){const oe=(0,Y.getScrollableAncestors)(ue).some((we,it)=>A[it]!==we),Se=H(j,X),ye=G(j,X),de=oe||!Se?{x:0,y:0}:{x:ye?p.width-J.width:0,y:ye?p.height-J.height:0},ee={x:J.left,y:J.top};return de.x&&de.y?ee:(0,d.$X)(ee,de)}}}};function H(g,v){return!u(g)||!u(v)?!1:g.data.current.sortable.containerId===v.data.current.sortable.containerId}function G(g,v){return!u(g)||!u(v)||!H(g,v)?!1:g.data.current.sortable.index<v.data.current.sortable.index}},24285:function(on,$e,re){re.d($e,{$X:function(){return tt},D9:function(){return pt},DC:function(){return bt},Ey:function(){return U},FJ:function(){return be},Gj:function(){return le},HB:function(){return Y},IH:function(){return Le},Jj:function(){return me},LI:function(){return Ne},Ld:function(){return Te},Nq:function(){return d},Re:function(){return Ue},UG:function(){return Ye},Yz:function(){return Je},qk:function(){return De},r3:function(){return Oe},so:function(){return ot},ux:function(){return qe},vZ:function(){return We},vd:function(){return Ve},wm:function(){return vt},zX:function(){return He}});var s=re(67294);function Y(){for(var u=arguments.length,w=new Array(u),R=0;R<u;R++)w[R]=arguments[R];return(0,s.useMemo)(()=>H=>{w.forEach(G=>G(H))},w)}const d=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function be(u){const w=Object.prototype.toString.call(u);return w==="[object Window]"||w==="[object global]"}function Ye(u){return"nodeType"in u}function me(u){var w,R;return u?be(u)?u:Ye(u)&&(w=(R=u.ownerDocument)==null?void 0:R.defaultView)!=null?w:window:window}function De(u){const{Document:w}=me(u);return u instanceof w}function Ue(u){return be(u)?!1:u instanceof me(u).HTMLElement}function We(u){return u instanceof me(u).SVGElement}function Oe(u){return u?be(u)?u.document:Ye(u)?De(u)?u:Ue(u)||We(u)?u.ownerDocument:document:document:document}const Ne=d?s.useLayoutEffect:s.useEffect;function He(u){const w=(0,s.useRef)(u);return Ne(()=>{w.current=u}),(0,s.useCallback)(function(){for(var R=arguments.length,H=new Array(R),G=0;G<R;G++)H[G]=arguments[G];return w.current==null?void 0:w.current(...H)},[])}function Je(){const u=(0,s.useRef)(null),w=(0,s.useCallback)((H,G)=>{u.current=setInterval(H,G)},[]),R=(0,s.useCallback)(()=>{u.current!==null&&(clearInterval(u.current),u.current=null)},[]);return[w,R]}function U(u,w){w===void 0&&(w=[u]);const R=(0,s.useRef)(u);return Ne(()=>{R.current!==u&&(R.current=u)},w),R}function le(u,w){const R=(0,s.useRef)();return(0,s.useMemo)(()=>{const H=u(R.current);return R.current=H,H},[...w])}function vt(u){const w=He(u),R=(0,s.useRef)(null),H=(0,s.useCallback)(G=>{G!==R.current&&(w==null||w(G,R.current)),R.current=G},[]);return[R,H]}function pt(u){const w=(0,s.useRef)();return(0,s.useEffect)(()=>{w.current=u},[u]),w.current}let Z={};function Te(u,w){return(0,s.useMemo)(()=>{if(w)return w;const R=Z[u]==null?0:Z[u]+1;return Z[u]=R,u+"-"+R},[u,w])}function et(u){return function(w){for(var R=arguments.length,H=new Array(R>1?R-1:0),G=1;G<R;G++)H[G-1]=arguments[G];return H.reduce((g,v)=>{const y=Object.entries(v);for(const[p,m]of y){const x=g[p];x!=null&&(g[p]=x+u*m)}return g},{...w})}}const Le=et(1),tt=et(-1);function Ge(u){return"clientX"in u&&"clientY"in u}function Ve(u){if(!u)return!1;const{KeyboardEvent:w}=me(u.target);return w&&u instanceof w}function nt(u){if(!u)return!1;const{TouchEvent:w}=me(u.target);return w&&u instanceof w}function bt(u){if(nt(u)){if(u.touches&&u.touches.length){const{clientX:w,clientY:R}=u.touches[0];return{x:w,y:R}}else if(u.changedTouches&&u.changedTouches.length){const{clientX:w,clientY:R}=u.changedTouches[0];return{x:w,y:R}}}return Ge(u)?{x:u.clientX,y:u.clientY}:null}const qe=Object.freeze({Translate:{toString(u){if(!u)return;const{x:w,y:R}=u;return"translate3d("+(w?Math.round(w):0)+"px, "+(R?Math.round(R):0)+"px, 0)"}},Scale:{toString(u){if(!u)return;const{scaleX:w,scaleY:R}=u;return"scaleX("+w+") scaleY("+R+")"}},Transform:{toString(u){if(u)return[qe.Translate.toString(u),qe.Scale.toString(u)].join(" ")}},Transition:{toString(u){let{property:w,duration:R,easing:H}=u;return w+" "+R+"ms "+H}}}),rt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ot(u){return u.matches(rt)?u:u.querySelector(rt)}}}]);