@nocobase/client 2.2.0-beta.6 → 2.2.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./index.css";
2
2
  /*! For license information please see index.mjs.LICENSE.txt */
3
- import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import*as o from"@ant-design/pro-layout";import*as l from"@ctrl/tinycolor";import*as n from"@dnd-kit/core";import*as a from"@dnd-kit/sortable";import*as r from"@emotion/css";import*as i from"@formily/antd-v5";import*as s from"@formily/antd-v5/esm/__builtins__";import*as d from"@formily/core";import*as u from"@formily/core/esm/shared/internals";import*as c from"@formily/react";import*as p from"@formily/reactive";import*as m from"@formily/shared";import*as h from"@formily/validator";import*as x from"@nocobase/client";import*as v from"@nocobase/client-v2";import*as _ from"@nocobase/evaluators/client";import*as f from"@nocobase/flow-engine";import*as g from"@nocobase/sdk";import*as b from"@nocobase/utils/client";import*as y from"ahooks";import*as S from"antd";import*as k from"antd-style";import*as C from"antd/dist/reset.css";import*as M from"antd/es/input/style";import*as w from"axios-mock-adapter";import*as F from"classnames";import*as P from"cronstrue";import*as j from"dayjs";import*as A from"dayjs/plugin/isBetween";import*as I from"dayjs/plugin/isSameOrAfter";import*as T from"dayjs/plugin/isSameOrBefore";import*as D from"dayjs/plugin/isoWeek";import*as L from"dayjs/plugin/localeData";import*as Y from"dayjs/plugin/quarterOfYear";import*as R from"dayjs/plugin/utc";import*as B from"dayjs/plugin/weekday";import*as N from"file-saver";import*as E from"flat";import*as $ from"i18next";import*as z from"lodash";import*as O from"lodash/cloneDeep";import*as q from"lodash/get";import*as H from"lodash/omit";import*as V from"lodash/set";import*as U from"lodash/uniq";import*as G from"qs";import*as K from"rc-util/lib/ref";import*as W from"react";import*as J from"react-dom";import*as X from"react-error-boundary";import*as Z from"react-i18next";import*as Q from"react-router-dom";import*as ee from"react/jsx-runtime";import*as et from"lodash/template";import*as eo from"deepmerge";import*as el from"lodash/debounce";import*as en from"lodash/merge";import*as ea from"rc-motion/es/context";import*as er from"@formily/json-schema";import*as ei from"@formily/path";import*as es from"@formily/reactive-react";import*as ed from"axios";import*as eu from"react-router";import*as ec from"react-hotkeys-hook";import*as ep from"ignore";import*as em from"json5";import*as eh from"html5-qrcode";import*as ex from"react-dom/client";import*as ev from"markdown-it";import*as e_ from"markdown-it-highlightjs";import*as ef from"mermaid";import*as eg from"lru-cache";import*as eb from"sanitize-html";import"antd/es/layout/Sider";import*as ey from"react-device-detect";import*as eS from"mime";import*as ek from"mime-match";import*as eC from"antd/es/upload/style";import*as eM from"filesize";import*as ew from"react-image-lightbox";import"react-image-lightbox/style.css";import*as eF from"react-intersection-observer";import*as eP from"react-js-cron";import"react-js-cron/dist/styles.css";import*as ej from"@antv/g2plot";import*as eA from"bignumber.js";import*as eI from"d3-format";import*as eT from"mathjs";import*as eD from"nanoid";import*as eL from"react-drag-listview";import*as eY from"lodash/pick";import*as eR from"dayjs/plugin/relativeTime";import*as eB from"history";var eN,eE,e$={36519(){},35796(e,t,o){e.exports=function(e){"use strict";var t={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},22933(e,t,o){e.exports=function(e){"use strict";var t={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79399(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},70071(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},83899(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},30674(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},meridiem:function(e){return e>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},81067(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},80633(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},51107(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},95e3(e,t,o){e.exports=function(e){"use strict";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),o={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},l={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return l[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(o(91815))},52912(e,t,o){e.exports=function(e){"use strict";var t={name:"az",weekdays:"Bazar_Bazar ertəsi_\xc7ərşənbə axşamı_\xc7ərşənbə_C\xfcmə axşamı_C\xfcmə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7ər_CAx_C\xfcm_Şən".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7ə_CA_C\xfc_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir ne\xe7ə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},59834(e,t,o){e.exports=function(e){"use strict";var t={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},6160(e,t,o){e.exports=function(e){"use strict";var t={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var t=e%100;if(t>10&&t<20)return e+"-ти";var o=e%10;return 1===o?e+"-ви":2===o?e+"-ри":7===o||8===o?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},31022(e,t,o){e.exports=function(e){"use strict";var t={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},37218(e,t,o){e.exports=function(e){"use strict";var t={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},9986(e,t,o){e.exports=function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},o={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},l={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return o[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},11407(e,t,o){e.exports=function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},o={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},l={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return o[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},64600(e,t,o){e.exports=function(e){"use strict";var t={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},93939(e,t,o){e.exports=function(e){"use strict";function t(e,t,o){var l;return e+" "+(l=({mm:"munutenn",MM:"miz",dd:"devezh"})[o],2===e?({m:"v",b:"v",d:"z"})[l.charAt(0)]+l.substring(1):l)}var o={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},85836(e,t,o){e.exports=function(e){"use strict";var t={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},663(e,t,o){e.exports=function(e){"use strict";var t={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Mar\xe7_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Mar\xe7_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(1===e||3===e?"r":2===e?"n":4===e?"t":"\xe8")}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},40201(e,t,o){e.exports=function(e){"use strict";function t(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,o,l,n){var a=e+" ";switch(l){case"s":return o||n?"p\xe1r sekund":"p\xe1r sekundami";case"m":return o?"minuta":n?"minutu":"minutou";case"mm":return o||n?a+(t(e)?"minuty":"minut"):a+"minutami";case"h":return o?"hodina":n?"hodinu":"hodinou";case"hh":return o||n?a+(t(e)?"hodiny":"hodin"):a+"hodinami";case"d":return o||n?"den":"dnem";case"dd":return o||n?a+(t(e)?"dny":"dn\xed"):a+"dny";case"M":return o||n?"měs\xedc":"měs\xedcem";case"MM":return o||n?a+(t(e)?"měs\xedce":"měs\xedců"):a+"měs\xedci";case"y":return o||n?"rok":"rokem";case"yy":return o||n?a+(t(e)?"roky":"let"):a+"lety"}}var l={name:"cs",weekdays:"neděle_ponděl\xed_\xfater\xfd_středa_čtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_čt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_čt_p\xe1_so".split("_"),months:"leden_\xfanor_březen_duben_květen_červen_červenec_srpen_z\xe1ř\xed_ř\xedjen_listopad_prosinec".split("_"),monthsShort:"led_\xfano_bře_dub_kvě_čvn_čvc_srp_z\xe1ř_ř\xedj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},11718(e,t,o){e.exports=function(e){"use strict";var t={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18383(e,t,o){e.exports=function(e){"use strict";var t={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},65996(e,t,o){e.exports=function(e){"use strict";var t={name:"da",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n._man._tirs._ons._tors._fre._l\xf8r.".split("_"),weekdaysMin:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},52556(e,t,o){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(e,o,l){var n=t[l];return Array.isArray(n)&&(n=n[+!o]),n.replace("%d",e)}var l={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},45498(e,t,o){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(e,o,l){var n=t[l];return Array.isArray(n)&&(n=n[+!o]),n.replace("%d",e)}var l={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},7424(e,t,o){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(e,o,l){var n=t[l];return Array.isArray(n)&&(n=n[+!o]),n.replace("%d",e)}var l={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},53033(e,t,o){e.exports=function(e){"use strict";var t={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},38562(e,t,o){e.exports=function(e){"use strict";var t={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},7435(e,t,o){e.exports=function(e){"use strict";var t={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},66825(e,t,o){e.exports=function(e){"use strict";var t={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},8420(e,t,o){e.exports=function(e){"use strict";var t={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},87651(e,t,o){e.exports=function(e){"use strict";var t={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},82756(e,t,o){e.exports=function(e){"use strict";var t={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},62990(e,t,o){e.exports=function(e){"use strict";var t={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},12733(e,t,o){e.exports=function(e){"use strict";var t={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35635(e,t,o){e.exports=function(e){"use strict";var t={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},41853(e,t,o){e.exports=function(e){"use strict";var t={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},50104(e){e.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}}},84463(e,t,o){e.exports=function(e){"use strict";var t={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},29513(e,t,o){e.exports=function(e){"use strict";var t={name:"es-do",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},26601(e,t,o){e.exports=function(e){"use strict";var t={name:"es-mx",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90554(e,t,o){e.exports=function(e){"use strict";var t={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},61520(e,t,o){e.exports=function(e){"use strict";var t={name:"es-us",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},85331(e,t,o){e.exports=function(e){"use strict";var t={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},81642(e,t,o){e.exports=function(e){"use strict";function t(e,t,o,l){var n={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:["%d minuti","%d minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:["%d tunni","%d tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:["%d kuu","%d kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:["%d aasta","%d aastat"]};return t?(n[o][2]?n[o][2]:n[o][1]).replace("%d",e):(l?n[o][0]:n[o][1]).replace("%d",e)}var o={name:"et",weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},78073(e,t,o){e.exports=function(e){"use strict";var t={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35626(e,t,o){e.exports=function(e){"use strict";var t={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},2386(e,t,o){e.exports=function(e){"use strict";function t(e,t,o,l){var n=l&&!t?{s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xe4iv\xe4n",dd:"%d p\xe4iv\xe4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xe4n_viiden_kuuden_seitsem\xe4n_kahdeksan_yhdeks\xe4n".split("_")}:{s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xe4iv\xe4",dd:"%d p\xe4iv\xe4\xe4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xe4_viisi_kuusi_seitsem\xe4n_kahdeksan_yhdeks\xe4n".split("_")},a=n[o];return e<10?a.replace("%d",n.numbers[e]):a.replace("%d",e)}var o={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},24596(e,t,o){e.exports=function(e){"use strict";var t={name:"fo",weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},38572(e,t,o){e.exports=function(e){"use strict";var t={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},73115(e,t,o){e.exports=function(e){"use strict";var t={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},25287(e,t,o){e.exports=function(e){"use strict";var t={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},33122(e,t,o){e.exports=function(e){"use strict";var t={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35035(e,t,o){e.exports=function(e){"use strict";var t={name:"ga",weekdays:"D\xe9 Domhnaigh_D\xe9 Luain_D\xe9 M\xe1irt_D\xe9 C\xe9adaoin_D\xe9ardaoin_D\xe9 hAoine_D\xe9 Satharn".split("_"),months:"Ean\xe1ir_Feabhra_M\xe1rta_Aibre\xe1n_Bealtaine_M\xe9itheamh_I\xfail_L\xfanasa_Me\xe1n F\xf3mhair_Deaireadh F\xf3mhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_M\xe1i_C\xe9a_D\xe9a_hAo_Sat".split("_"),monthsShort:"Ean\xe1_Feab_M\xe1rt_Aibr_Beal_M\xe9it_I\xfail_L\xfana_Me\xe1n_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_M\xe1_Ce_D\xe9_hA_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79592(e,t,o){e.exports=function(e){"use strict";var t={name:"gd",weekdays:"Did\xf2mhnaich_Diluain_Dim\xe0irt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am M\xe0rt_An Giblean_An C\xe8itean_An t-\xd2gmhios_An t-Iuchar_An L\xf9nastal_An t-Sultain_An D\xe0mhair_An t-Samhain_An D\xf9bhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_M\xe0rt_Gibl_C\xe8it_\xd2gmh_Iuch_L\xf9n_Sult_D\xe0mh_Samh_D\xf9bh".split("_"),weekdaysMin:"D\xf2_Lu_M\xe0_Ci_Ar_Ha_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},15744(e,t,o){e.exports=function(e){"use strict";var t={name:"gl",weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),ordinal:function(e){return e+"\xba"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24146(e,t,o){e.exports=function(e){"use strict";var t={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},99887(e,t,o){e.exports=function(e){"use strict";var t={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},60220(e,t,o){e.exports=function(e){"use strict";var t={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function o(e,o,l){return(t[l+(2===e?"2":"")]||t[l]).replace("%d",e)}var l={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},ordinal:function(e){return e},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},69112(e,t,o){e.exports=function(e){"use strict";var t={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},88313(e,t,o){e.exports=function(e){"use strict";var t="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),o="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),l=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,n=function(e,n){return l.test(n)?t[e.month()]:o[e.month()]};n.s=o,n.f=t;var a={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:n,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(a,null,!0),a}(o(91815))},95571(e,t,o){e.exports=function(e){"use strict";var t={name:"ht",weekdays:"dimanch_lendi_madi_m\xe8kredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiy\xe8_out_septanm_okt\xf2b_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._m\xe8k._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiy\xe8._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_m\xe8_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"k\xe8k segond",m:"yon minit",mm:"%d minit",h:"in\xe8dtan",hh:"%d z\xe8",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90348(e,t,o){e.exports=function(e){"use strict";var t={name:"hu",weekdays:"vas\xe1rnap_h\xe9tfő_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s m\xfalva",past:"%s",s:function(e,t,o,l){return"n\xe9h\xe1ny m\xe1sodperc"+(l||t?"":"e")},m:function(e,t,o,l){return"egy perc"+(l||t?"":"e")},mm:function(e,t,o,l){return e+" perc"+(l||t?"":"e")},h:function(e,t,o,l){return"egy "+(l||t?"\xf3ra":"\xf3r\xe1ja")},hh:function(e,t,o,l){return e+" "+(l||t?"\xf3ra":"\xf3r\xe1ja")},d:function(e,t,o,l){return"egy "+(l||t?"nap":"napja")},dd:function(e,t,o,l){return e+" "+(l||t?"nap":"napja")},M:function(e,t,o,l){return"egy "+(l||t?"h\xf3nap":"h\xf3napja")},MM:function(e,t,o,l){return e+" "+(l||t?"h\xf3nap":"h\xf3napja")},y:function(e,t,o,l){return"egy "+(l||t?"\xe9v":"\xe9ve")},yy:function(e,t,o,l){return e+" "+(l||t?"\xe9v":"\xe9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},62787(e,t,o){e.exports=function(e){"use strict";var t={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},13014(e,t,o){e.exports=function(e){"use strict";var t={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},78983(e,t,o){e.exports=function(e){"use strict";var t={s:["nokkrar sek\xfandur","nokkrar sek\xfandur","nokkrum sek\xfandum"],m:["m\xedn\xfata","m\xedn\xfatu","m\xedn\xfatu"],mm:["m\xedn\xfatur","m\xedn\xfatur","m\xedn\xfatum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","d\xf6gum"],M:["m\xe1nu\xf0ur","m\xe1nu\xf0","m\xe1nu\xf0i"],MM:["m\xe1nu\xf0ir","m\xe1nu\xf0i","m\xe1nu\xf0um"],y:["\xe1r","\xe1r","\xe1ri"],yy:["\xe1r","\xe1r","\xe1rum"]};function o(e,o,l,n){var a;return(a=t[2===l.length&&e%10==1?l[0]:l][o?0:n?1:2],1===l.length?a:"%d "+a).replace("%d",e)}var l={name:"is",weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},47488(e,t,o){e.exports=function(e){"use strict";var t={name:"it-ch",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},59302(e,t,o){e.exports=function(e){"use strict";var t={name:"it",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},36830(e,t,o){e.exports=function(e){"use strict";var t={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},70991(e,t,o){e.exports=function(e){"use strict";var t={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24239(e,t,o){e.exports=function(e){"use strict";var t={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},3529(e,t,o){e.exports=function(e){"use strict";var t={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},76355(e,t,o){e.exports=function(e){"use strict";var t={name:"km",weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekStart:1,weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},5126(e,t,o){e.exports=function(e){"use strict";var t={name:"kn",weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35845(e,t,o){e.exports=function(e){"use strict";var t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},75227(e,t,o){!function(e,t){"use strict";var o={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},l={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],a={name:"ku",months:n,monthsShort:n,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return l[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};(t&&"object"==typeof t&&"default"in t?t:{default:t}).default.locale(a,null,!0),e.default=a,e.englishToArabicNumbersMap=o,Object.defineProperty(e,"__esModule",{value:!0})}(t,o(91815))},87287(e,t,o){e.exports=function(e){"use strict";var t={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},82701(e,t,o){e.exports=function(e){"use strict";var t={name:"lb",weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},85498(e,t,o){e.exports=function(e){"use strict";var t={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90527(e,t,o){e.exports=function(e){"use strict";var t="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),o="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,n=function(e,n){return l.test(n)?t[e.month()]:o[e.month()]};n.s=o,n.f=t;var a={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:n,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(a,null,!0),a}(o(91815))},86049(e,t,o){e.exports=function(e){"use strict";var t={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},76673(e,t,o){e.exports=function(e){"use strict";var t={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},60405(e,t,o){e.exports=function(e){"use strict";var t={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},44915(e,t,o){e.exports=function(e){"use strict";var t={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24874(e,t,o){e.exports=function(e){"use strict";var t={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},20256(e,t,o){e.exports=function(e){"use strict";var t={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},25956(e,t,o){e.exports=function(e){"use strict";var t={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},22194(e,t,o){e.exports=function(e){"use strict";var t={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},25227(e,t,o){e.exports=function(e){"use strict";var t={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},81794(e,t,o){e.exports=function(e){"use strict";var t={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},39301(e,t,o){e.exports=function(e){"use strict";var t={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},97295(e,t,o){e.exports=function(e){"use strict";var t={name:"nb",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},93614(e,t,o){e.exports=function(e){"use strict";var t={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,function(e){return"०१२३४५६७८९"[e]})},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},80447(e,t,o){e.exports=function(e){"use strict";var t={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},92549(e,t,o){e.exports=function(e){"use strict";var t={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},60803(e,t,o){e.exports=function(e){"use strict";var t={name:"nn",weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nadar",y:"eitt \xe5r",yy:"%d \xe5r"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},51099(e,t,o){e.exports=function(e){"use strict";var t={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"geni\xe8r_febri\xe8r_mar\xe7_abrial_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),monthsShort:"gen_feb_mar\xe7_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},69054(e,t,o){e.exports=function(e){"use strict";var t={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},38803(e,t,o){e.exports=function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,o,l){var n=e+" ";switch(l){case"m":return o?"minuta":"minutę";case"mm":return n+(t(e)?"minuty":"minut");case"h":return o?"godzina":"godzinę";case"hh":return n+(t(e)?"godziny":"godzin");case"MM":return n+(t(e)?"miesiące":"miesięcy");case"yy":return n+(t(e)?"lata":"lat")}}var l="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a=/D MMMM/,r=function(e,t){return a.test(t)?l[e.month()]:n[e.month()]};r.s=n,r.f=l;var i={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:r,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(i,null,!0),i}(o(91815))},56704(e,t,o){e.exports=function(e){"use strict";var t={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18571(e,t,o){e.exports=function(e){"use strict";var t={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},93119(e,t,o){e.exports=function(e){"use strict";var t={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},74856(e,t,o){e.exports=function(e){"use strict";var t={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_S\xe2mbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"c\xe2teva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},88090(e,t,o){e.exports=function(e){"use strict";var t="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),o="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),l="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),n="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),a=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function r(e,t,o){var l,n;return"m"===o?t?"минута":"минуту":e+" "+(l=+e,n=({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"})[o].split("_"),l%10==1&&l%100!=11?n[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?n[1]:n[2])}var i=function(e,l){return a.test(l)?t[e.month()]:o[e.month()]};i.s=o,i.f=t;var s=function(e,t){return a.test(t)?l[e.month()]:n[e.month()]};s.s=n,s.f=l;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:i,monthsShort:s,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:r,mm:r,h:"час",hh:r,d:"день",dd:r,M:"месяц",MM:r,y:"год",yy:r},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(d,null,!0),d}(o(91815))},67664(e,t,o){e.exports=function(e){"use strict";var t={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79740(e,t,o){e.exports=function(e){"use strict";var t={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18851(e,t,o){e.exports=function(e){"use strict";var t={name:"se",weekdays:"sotnabeaivi_vuoss\xe1rga_maŋŋeb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),months:"ođđajagem\xe1nnu_guovvam\xe1nnu_njukčam\xe1nnu_cuoŋom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_čakčam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_l\xe1v".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_sk\xe1b_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},48399(e,t,o){e.exports=function(e){"use strict";var t={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(e){return e},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},77329(e,t,o){e.exports=function(e){"use strict";function t(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,o,l,n){var a=e+" ";switch(l){case"s":return o||n?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return o?"min\xfata":n?"min\xfatu":"min\xfatou";case"mm":return o||n?a+(t(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return o?"hodina":n?"hodinu":"hodinou";case"hh":return o||n?a+(t(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return o||n?"deň":"dňom";case"dd":return o||n?a+(t(e)?"dni":"dn\xed"):a+"dňami";case"M":return o||n?"mesiac":"mesiacom";case"MM":return o||n?a+(t(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return o||n?"rok":"rokom";case"yy":return o||n?a+(t(e)?"roky":"rokov"):a+"rokmi"}}var l={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},30308(e,t,o){e.exports=function(e){"use strict";function t(e){return e%100==2}function o(e){return e%100==3||e%100==4}function l(e,l,n,a){var r=e+" ";switch(n){case"s":return l||a?"nekaj sekund":"nekaj sekundami";case"m":return l?"ena minuta":"eno minuto";case"mm":return t(e)?r+(l||a?"minuti":"minutama"):o(e)?r+(l||a?"minute":"minutami"):r+(l||a?"minut":"minutami");case"h":return l?"ena ura":"eno uro";case"hh":return t(e)?r+(l||a?"uri":"urama"):o(e)?r+(l||a?"ure":"urami"):r+(l||a?"ur":"urami");case"d":return l||a?"en dan":"enim dnem";case"dd":return t(e)?r+(l||a?"dneva":"dnevoma"):r+(l||a?"dni":"dnevi");case"M":return l||a?"en mesec":"enim mesecem";case"MM":return t(e)?r+(l||a?"meseca":"mesecema"):o(e)?r+(l||a?"mesece":"meseci"):r+(l||a?"mesecev":"meseci");case"y":return l||a?"eno leto":"enim letom";case"yy":return t(e)?r+(l||a?"leti":"letoma"):o(e)?r+(l||a?"leta":"leti"):r+(l||a?"let":"leti")}}var n={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(o(91815))},53975(e,t,o){e.exports=function(e){"use strict";var t={name:"sq",weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18197(e,t,o){e.exports=function(e){"use strict";var t={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,o,l,n){var a=t.words[l];if(1===l.length)return"y"===l&&o?"једна година":n||o?a[0]:a[1];var r=t.correctGrammarCase(e,a);return"yy"===l&&o&&"%d годину"===r?e+" година":r.replace("%d",e)}},o={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.relativeTimeFormatter,mm:t.relativeTimeFormatter,h:t.relativeTimeFormatter,hh:t.relativeTimeFormatter,d:t.relativeTimeFormatter,dd:t.relativeTimeFormatter,M:t.relativeTimeFormatter,MM:t.relativeTimeFormatter,y:t.relativeTimeFormatter,yy:t.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},95050(e,t,o){e.exports=function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,o,l,n){var a=t.words[l];if(1===l.length)return"y"===l&&o?"jedna godina":n||o?a[0]:a[1];var r=t.correctGrammarCase(e,a);return"yy"===l&&o&&"%d godinu"===r?e+" godina":r.replace("%d",e)}},o={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.relativeTimeFormatter,mm:t.relativeTimeFormatter,h:t.relativeTimeFormatter,hh:t.relativeTimeFormatter,d:t.relativeTimeFormatter,dd:t.relativeTimeFormatter,M:t.relativeTimeFormatter,MM:t.relativeTimeFormatter,y:t.relativeTimeFormatter,yy:t.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},84537(e,t,o){e.exports=function(e){"use strict";var t={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},32442(e,t,o){e.exports=function(e){"use strict";var t={name:"sv-fi",weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79094(e,t,o){e.exports=function(e){"use strict";var t={name:"sv",weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},7285(e,t,o){e.exports=function(e){"use strict";var t={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},92572(e,t,o){e.exports=function(e){"use strict";var t={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},33744(e,t,o){e.exports=function(e){"use strict";var t={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24398(e,t,o){e.exports=function(e){"use strict";var t={name:"tet",weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),weekStart:1,weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},70522(e,t,o){e.exports=function(e){"use strict";var t={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},8235(e,t,o){e.exports=function(e){"use strict";var t={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},7022(e,t,o){e.exports=function(e){"use strict";var t={name:"tk",weekdays:"\xddekşenbe_Duşenbe_Sişenbe_\xc7arşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"\xddek_Duş_Siş_\xc7ar_Pen_Ann_Şen".split("_"),weekdaysMin:"\xddk_Dş_Sş_\xc7r_Pn_An_Şn".split("_"),months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s \xf6ň",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},50516(e,t,o){e.exports=function(e){"use strict";var t={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},61615(e,t,o){e.exports=function(e){"use strict";var t={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},20117(e,t,o){e.exports=function(e){"use strict";var t={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},65365(e,t,o){e.exports=function(e){"use strict";var t={name:"tzl",weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},91134(e,t,o){e.exports=function(e){"use strict";var t={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},56406(e,t,o){e.exports=function(e){"use strict";var t={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90769(e,t,o){e.exports=function(e){"use strict";var t={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},891(e,t,o){e.exports=function(e){"use strict";var t="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),o="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),l=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function n(e,t,o){var l,n;return"m"===o?t?"хвилина":"хвилину":"h"===o?t?"година":"годину":e+" "+(l=+e,n=({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"})[o].split("_"),l%10==1&&l%100!=11?n[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?n[1]:n[2])}var a=function(e,n){return l.test(n)?t[e.month()]:o[e.month()]};a.s=o,a.f=t;var r={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:a,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:n,hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(r,null,!0),r}(o(91815))},97084(e,t,o){e.exports=function(e){"use strict";var t={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},42828(e,t,o){e.exports=function(e){"use strict";var t={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},13476(e,t,o){e.exports=function(e){"use strict";var t={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},28962(e,t,o){e.exports=function(e){"use strict";var t={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ s\xe1u_thứ bảy".split("_"),months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"v\xe0i gi\xe2y",m:"một ph\xfat",mm:"%d ph\xfat",h:"một giờ",hh:"%d giờ",d:"một ng\xe0y",dd:"%d ng\xe0y",M:"một th\xe1ng",MM:"%d th\xe1ng",y:"một năm",yy:"%d năm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},73490(e,t,o){e.exports=function(e){"use strict";var t={name:"x-pseudo",weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),weekStart:1,weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},73739(e,t,o){e.exports=function(e){"use strict";var t={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35483(e,t,o){e.exports=function(e){"use strict";var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},56275(e,t,o){e.exports=function(e){"use strict";var t={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},30747(e,t,o){e.exports=function(e){"use strict";var t={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},76485(e,t,o){e.exports=function(e){"use strict";var t={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},68817(e,t,o){var l={"./en-nz":"12733","./bi.js":"31022","./id.js":"13014","./km":"76355","./he.js":"60220","./me":"76673","./tk":"7022","./ko.js":"35845","./tet.js":"24398","./es-do":"29513","./ku":"75227","./hr":"88313","./zh-tw.js":"30747","./hy-am":"62787","./am.js":"22933","./en-in":"62990","./de-at":"52556","./pt-br":"56704","./ar-iq.js":"70071","./en-sg":"35635","./zh":"76485","./en-il.js":"82756","./lo":"85498","./tlh":"61615","./mi.js":"60405","./el":"38562","./ur.js":"97084","./sq":"53975","./pa-in.js":"69054","./ar-kw.js":"83899","./fr-ca.js":"38572","./de-ch.js":"45498","./ru":"88090","./eo.js":"84463","./nb":"97295","./br":"93939","./fo":"24596","./zh.js":"76485","./vi":"28962","./fr-ch.js":"73115","./ms-my":"22194","./es-pr":"90554","./bo.js":"64600","./ht.js":"95571","./lo.js":"85498","./my.js":"39301","./et":"81642","./br.js":"93939","./gu":"99887","./it-ch":"47488","./sv-fi":"32442","./ne.js":"93614","./zh-cn.js":"35483","./gom-latn.js":"24146","./bg.js":"6160","./mr.js":"25956","./cv.js":"11718","./lt.js":"90527","./pt":"18571","./th.js":"8235","./cs.js":"40201","./es.js":"85331","./bn.js":"11407","./ar-tn":"51107","./mi":"60405","./sr.js":"95050","./tr":"20117","./bn-bd":"9986","./fa.js":"35626","./it":"59302","./nl":"92549","./zh-hk":"56275","./fo.js":"24596","./bs.js":"85836","./ja.js":"36830","./my":"39301","./es-do.js":"29513","./gl":"15744","./nl-be.js":"80447","./en-ca.js":"66825","./tzm-latn.js":"91134","./types.d.ts":"73330","./ru.js":"88090","./sq.js":"53975","./cv":"11718","./km.js":"76355","./fa":"35626","./cs":"40201","./ms":"25227","./types.d":"73330","./ca":"663","./tr.js":"20117","./x-pseudo":"73490","./tzm-latn":"91134","./kn":"5126","./jv":"70991","./ms-my.js":"22194","./ht":"95571","./be":"59834","./gd":"79592","./en-au":"7435","./ka":"24239","./ka.js":"24239","./ur":"97084","./sv.js":"79094","./zh-cn":"35483","./pl.js":"38803","./hi":"69112","./ug-cn":"90769","./ar-kw":"83899","./dv.js":"53033","./id":"13014","./dv":"53033","./vi.js":"28962","./de-ch":"45498","./en-in.js":"62990","./es-pr.js":"90554","./es-us.js":"61520","./ar-iq":"70071","./fi.js":"2386","./ca.js":"663","./ms.js":"25227","./zh-tw":"30747","./bs":"85836","./rw.js":"67664","./fy":"33122","./uz-latn":"42828","./mt.js":"81794","./fr.js":"25287","./hu":"90348","./lv.js":"86049","./sr-cyrl.js":"18197","./tzl":"65365","./mn":"20256","./pa-in":"69054","./nl-be":"80447","./kk":"3529","./en-tt":"41853","./ar-ly.js":"30674","./hr.js":"88313","./kk.js":"3529","./ar":"95000","./ar-dz.js":"79399","./ar-sa":"80633","./nl.js":"92549","./cy":"18383","./en-ie":"87651","./lb.js":"82701","./ar-ly":"30674","./de.js":"7424","./am":"22933","./lv":"86049","./tg":"70522","./de-at.js":"52556","./sl":"30308","./tg.js":"70522","./ky.js":"87287","./kn.js":"5126","./bo":"64600","./da":"65996","./ss.js":"84537","./uz":"13476","./fr-ch":"73115","./sk":"77329","./hu.js":"90348","./sr":"95050","./he":"60220","./uk.js":"891","./es-mx":"26601","./se.js":"18851","./oc-lnc":"51099","./pt-br.js":"56704","./rw":"67664","./ar-sa.js":"80633","./nb.js":"97295","./fr-ca":"38572","./hi.js":"69112","./gl.js":"15744","./en-ie.js":"87651","./me.js":"76673","./fy.js":"33122","./ar.js":"95000","./az":"52912","./lt":"90527","./en":"50104","./ro.js":"74856","./sw":"7285","./te.js":"33744","./tl-ph.js":"50516","./es-mx.js":"26601","./ky":"87287","./it.js":"59302","./zh-hk.js":"56275","./da.js":"65996","./te":"33744","./mt":"81794","./lb":"82701","./uz-latn.js":"42828","./ml.js":"24874","./en-sg.js":"35635","./uz.js":"13476","./tzm.js":"56406","./tet":"24398","./oc-lnc.js":"51099","./az.js":"52912","./en-au.js":"7435","./fr":"25287","./gd.js":"79592","./yo.js":"73739","./nn":"60803","./bm":"37218","./index.d.ts":"84687","./sw.js":"7285","./af":"35796","./en-il":"82756","./eu":"78073","./et.js":"81642","./rn":"93119","./se":"18851","./sv-fi.js":"32442","./gu.js":"99887","./gom-latn":"24146","./pl":"38803","./ar-dz":"79399","./ar-ma":"81067","./eu.js":"78073","./ss":"84537","./tk.js":"7022","./es-us":"61520","./bi":"31022","./ug-cn.js":"90769","./mn.js":"20256","./pt.js":"18571","./cy.js":"18383","./mr":"25956","./ga.js":"35035","./ko":"35845","./ku.js":"75227","./af.js":"35796","./hy-am.js":"62787","./es":"85331","./ml":"24874","./en-ca":"66825","./bn":"11407","./ga":"35035","./is.js":"78983","./sd.js":"79740","./sl.js":"30308","./tlh.js":"61615","./tl-ph":"50516","./uk":"891","./x-pseudo.js":"73490","./is":"78983","./jv.js":"70991","./el.js":"38562","./fi":"2386","./bn-bd.js":"9986","./en-gb":"8420","./en-gb.js":"8420","./mk":"44915","./ne":"93614","./ro":"74856","./mk.js":"44915","./si":"48399","./tzm":"56406","./be.js":"59834","./de":"7424","./rn.js":"93119","./si.js":"48399","./yo":"73739","./bg":"6160","./en.js":"50104","./sv":"79094","./th":"8235","./bm.js":"37218","./nn.js":"60803","./ar-ma.js":"81067","./index.d":"84687","./ja":"36830","./ta.js":"92572","./ar-tn.js":"51107","./sd":"79740","./sk.js":"77329","./tzl.js":"65365","./en-nz.js":"12733","./eo":"84463","./ta":"92572","./en-tt.js":"41853","./it-ch.js":"47488","./sr-cyrl":"18197"};function n(e){return Promise.resolve().then(function(){if(!o.o(l,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}var n=l[e];return o.t(n,23)})}n.keys=()=>Object.keys(l),n.id=68817,e.exports=n},84687(){},73330(){},42536(e,t,o){o.d(t,{AY:()=>v,GL:()=>g,Ik:()=>D,N5:()=>f,X0:()=>k,Zj:()=>P,aK:()=>A,bq:()=>b,fr:()=>j,gU:()=>y,j:()=>S,mu:()=>T,rR:()=>_,uM:()=>w,v6:()=>M,w0:()=>x,xy:()=>I,yb:()=>F});var l=o(71178),n=o(11340),a=o(56920),r=o(77583),i=o(51649),s=o(16211),d=o(82976),u=o(78406),c=o(28227),p=o(23460),m=o(82924),h=o(17157);n.J6;let x=(0,i.createContext)({});x.displayName="ACLContext";let v=e=>(0,l.jsx)(m.t6u,{components:{ACLCollectionFieldProvider:T,ACLActionProvider:A,ACLMenuItemProvider:D,ACLCollectionProvider:F},children:e.children}),_=e=>{let{setDesignable:t}=(0,m.erX)(),{render:o}=(0,d.v)(),n=(0,s.VB)(),a=(0,h.nm)(),r=(0,s.bP)({url:"roles:check"},{onSuccess(e){var o,l,r,i;a.context.acl&&(a.context.acl.setData((null==e?void 0:e.data)||{}),a.context.acl.setMeta((null==e?void 0:e.meta)||{})),(null==e||null==(o=e.data)?void 0:o.snippets.includes("ui.*"))||t(!1),(null==e||null==(l=e.data)?void 0:l.role)!==n.auth.role&&n.auth.setRole(null==e||null==(i=e.data)?void 0:i.role),a.pluginSettingsManager.setAclSnippets((null==e||null==(r=e.data)?void 0:r.snippets)||[])}});return r.loading?o():(0,l.jsx)(x.Provider,{value:r,children:e.children})},f=()=>{let e=(0,i.useContext)(x),{allowAll:t}=M();return()=>{t||e.refresh()}},g=()=>{var e,t;let o=(0,i.useContext)(x);return null==o||null==(t=o.data)||null==(e=t.data)?void 0:e.roleMode},b=()=>(0,i.useContext)(x),y=(0,i.createContext)({});y.displayName="ACLActionParamsContext";let S=(0,i.createContext)({});S.displayName="ACLCustomContext";let k=()=>{var e,t,o;let l=(0,i.useContext)(x),n=(0,p.Mp)(),{dataSources:a}=(null==l||null==(e=l.data)?void 0:e.meta)||{},s={...null==l||null==(t=l.data)?void 0:t.data,...(0,r.omit)(null==a?void 0:a[n],"snippets")},d=(0,i.useCallback)(e=>{var t;let o=e.split(":").pop();return(null==s||null==(t=s.actionAlias)?void 0:t[o])||o},[null==s?void 0:s.actionAlias]);return{data:s,getActionAlias:d,inResources:(0,i.useCallback)(e=>{var t,o;return null==s||null==(o=s.resources)||null==(t=o.includes)?void 0:t.call(o,e)},[null==s?void 0:s.resources]),getResourceActionParams:(0,i.useCallback)(e=>{var t,o;let[l]=e.split(":"),n=d(e);return(null==s||null==(t=s.actions)?void 0:t[`${l}:${n}`])||(null==s||null==(o=s.actions)?void 0:o[e])},[null==s?void 0:s.actions,d]),getStrategyActionParams:(0,i.useCallback)(e=>{var t,o;let l=d(e);return(null==s||null==(o=s.strategy)||null==(t=o.actions)?void 0:t.find(e=>{let[t]=e.split(":");return t===l}))?{}:null},[null==s||null==(o=s.strategy)?void 0:o.actions,d])}},C=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{schema:o,recordPkValue:l}=t,n=!1;return t.ignoreScope&&(n=!0),(null==o?void 0:o["x-acl-ignore-scope"])&&(n=!0),(null==o||null==(e=o["x-acl-action-props"])?void 0:e.skipScopeCheck)&&(n=!0),l||(n=!0),n};function M(){var e,t,o,l;let n,a,{data:r,getActionAlias:s,inResources:d,getResourceActionParams:p,getStrategyActionParams:m}=k(),h=(n=(0,u.br)(),a=(0,c._J)(),(null==n||null==(t=n.data)||null==(e=t.meta)?void 0:e.allowedActions)||(null==a||null==(l=a.data)||null==(o=l.meta)?void 0:o.allowedActions)),x=(0,c.r2)(),v=(0,i.useCallback)((e,t)=>{let o=s(e);return Array.isArray(null==h?void 0:h[o])?h[o].includes(t):null},[h,s]);return{...r,snippets:(null==r?void 0:r.snippets)||[],parseAction:(0,i.useCallback)(function(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,n]=(null==e?void 0:e.split(":"))||[],a=(null==l?void 0:l.includes("."))&&(null==(t=x.getCollectionField(l))?void 0:t.target);if(!C(o)){let e=v(n,o.recordPkValue);if(null!==e)return e?{}:null}return(null==r?void 0:r.allowAll)?{}:d(a)?p(`${a}:${n}`):d(l)?p(e):m(e)},[x,null==r?void 0:r.allowAll,p,m,d,v])}}function w(){let{allowAll:e,snippets:t}=M();return{allowConfigUI:e||t.includes("ui.*")}}let F=e=>{var t,o;let{allowAll:n,parseAction:r}=M(),{allowAll:s}=(0,i.useContext)(S),d=(0,h.nm)(),u=(0,a.useFieldSchema)(),p=(null==u?void 0:u["x-acl-action"])||e.actionPath,m=(null==u||null==(t=u["x-decorator-props"])?void 0:t.association)||(null==u||null==(o=u["x-decorator-props"])?void 0:o.collection);"undefined:list"===p&&m&&"undefined"!==m&&(p=`${m}:list`);let x=(0,i.useMemo)(()=>p?r(p,{schema:u}):null,[r,p,u]);if(n||d.disableAcl||s)return e.children;if(!p)return(0,l.jsx)(y.Provider,{value:{},children:e.children});if(!x)return(0,l.jsx)(c.b,{});let[v,_]=p.split(":");return x.actionName=_,(0,l.jsx)(y.Provider,{value:x,children:e.children})},P=()=>(0,i.useContext)(y),j=()=>{let e=(0,c.Ge)(),t=(0,c.zv)();if(!e)return;let o=e.getPrimaryKey();return null==t?void 0:t[o]},A=e=>{var t;let o,n,r=(0,c.Ge)(),s=j(),d=(o=(0,u.br)(),(null==(n=(0,c.h6)())?void 0:n.resource)||(null==n?void 0:n.association)||(null==n?void 0:n.collection)||(null==o||null==(t=o.defaultRequest)?void 0:t.resource)),{parseAction:p,uiButtonSchemasBlacklist:m}=M(),h=(0,a.useFieldSchema)(),x=h["x-uid"],v=h["x-acl-action"],_=["create","update","destroy","importXlsx","bulkDestroy","bulkUpdate"];!v&&d&&h["x-action"]&&["create","update","destroy","importXlsx","export"].includes(h["x-action"])&&(v=`${d}:${h["x-action"]}`),!v||(null==v?void 0:v.includes(":"))||(v=`${d}:${v}`);let f=(0,i.useMemo)(()=>v&&p(v,{schema:h,recordPkValue:s}),[p,v,h,s]);return(null==m?void 0:m.includes(x))?(0,l.jsx)(y.Provider,{value:!1,children:e.children}):v&&d?f?_.includes(v)||_.includes(null==v?void 0:v.split(":")[1])?r&&"view"!==r.template||(null==r?void 0:r.writableView)?(0,l.jsx)(y.Provider,{value:f,children:e.children}):(0,l.jsx)(y.Provider,{value:!1,children:e.children}):(0,l.jsx)(y.Provider,{value:f,children:e.children}):(0,l.jsx)(y.Provider,{value:f,children:e.children}):(0,l.jsx)(l.Fragment,{children:e.children})},I=()=>{let e=(0,i.useContext)(y),t=(0,i.useMemo)(()=>[].concat((null==e?void 0:e.whitelist)||[]).concat((null==e?void 0:e.fields)||[]).concat((null==e?void 0:e.appends)||[]),[null==e?void 0:e.whitelist,null==e?void 0:e.fields,null==e?void 0:e.appends]);return{whitelist:t,schemaInWhitelist:(0,i.useCallback)((e,o)=>{if(o||0===t.length||!e||!e["x-collection-field"])return!0;let[l,n]=e["x-collection-field"].split("."),[a]=e.name.split(".");return null==t?void 0:t.includes(a||n||l)},[t])}},T=e=>{let t=(0,a.useFieldSchema)(),o=(0,a.useField)(),{allowAll:n}=M(),{whitelist:r}=I(),[s]=t.name.split("."),d=!!t["x-acl-ignore"]||!(r.length>0)||null==t||!t["x-collection-field"]||r.includes(s);return((0,i.useEffect)(()=>{d||(o.required=!1,o.display="hidden")},[d,o]),n||!t["x-collection-field"]||d)?(0,l.jsx)(l.Fragment,{children:e.children}):null},D=e=>(0,l.jsx)(l.Fragment,{children:e.children})},41906(e,t,o){o.d(t,{GL:()=>n.GL,dn:()=>U,j:()=>n.j,mu:()=>n.mu,mW:()=>G,$S:()=>eo,T:()=>J,Zj:()=>n.Zj,XI:()=>P,Ik:()=>n.Ik,v6:()=>n.v6,OV:()=>V,uM:()=>n.uM,gt:()=>er,w0:()=>n.w0,PO:()=>N,bq:()=>n.bq,gU:()=>n.gU,MO:()=>S,WH:()=>K,yb:()=>n.yb,$k:()=>et,aK:()=>n.aK,xy:()=>n.xy,X0:()=>n.X0,dg:()=>F,tA:()=>en,rR:()=>n.rR,N5:()=>n.N5,AY:()=>n.AY,fr:()=>n.fr,kL:()=>w,jc:()=>A});var l={};o.r(l),o.d(l,{MenuConfigure:()=>S,PermissionContext:()=>F,PermissionProvider:()=>P,RoleConfigure:()=>A,RoleResourceCollectionContext:()=>G,RoleTable:()=>N,RolesResourcesActions:()=>K,ScopeSelect:()=>U,SettingCenterPermissionProvider:()=>w,SettingCenterProvider:()=>et,SettingsCenterConfigure:()=>eo,StrategyActions:()=>J,useRolesResourcesScopesSelectedRowKeys:()=>V});var n=o(42536),a=o(71178),r=o(27404),i=o(52793),s=o(51649),d=o(82924),u=o(77583),c=o(77843),p=o(16211),m=o(41944),h=o(86004),x=o(18226);let v=(0,s.createContext)(null);v.displayName="MenuItemsContext";let _=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[];for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let l=e[o],n={title:l.title,uid:l["x-uid"]};l.properties&&(n.children=_(l.properties)),t.push(n)}return t},f=e=>{var t,o;let l=(0,x.w)(),n={url:`uiSchemas:getProperties/${l}`},r=(0,p.bP)(n);if(r.loading)return(0,a.jsx)(i.Spin,{});let s=_(null==(o=r.data)||null==(t=o.data)?void 0:t.properties);return(0,a.jsx)(v.Provider,{value:{service:r,items:s},children:e.children})},g=e=>{if(!Array.isArray(e))return[];let t=[];for(let o of e)t.push(o.uid),t.push(...g(o.children));return t},b=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return[];for(let l of e){if(o.push(l.uid),t(l))return o;if(l.children){let e=b(l.children,t,o);if(e.length)return e}o.pop()}return[]},y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let o of e)t.push(o.uid),o.children&&o.children.length&&y(o.children,t);return t},S=()=>{let e=(0,m.pE)(),t=(0,p.VB)(),{items:o}=(0,s.useContext)(v),{t:l}=(0,c.useTranslation)(),n=g(o),[r,d]=(0,s.useState)([]),{loading:x,refresh:_}=(0,p.bP)({resource:"roles.menuUiSchemas",resourceOf:e.name,action:"list",params:{paginate:!1}},{onSuccess(e){var t;d((null==e||null==(t=e.data)?void 0:t.map(e=>e["x-uid"]))||[])}}),f=t.resource("roles.menuUiSchemas",e.name),S=n.length===r.length,k=async(e,t)=>{let n=b(o,e=>e.uid===t.uid),a=y(null==t?void 0:t.children,[]);if(e){let e=a.concat(t.uid);d([...r.filter(t=>!e.includes(t))]),await f.remove({values:e})}else{let e=a.concat(n);d(t=>(0,u.uniq)([...t,...e])),await f.add({values:e})}i.message.success(l("Saved successfully"))},C=e=>e.map(e=>{let t=l(e.title);return e.children?{...e,title:t,children:C(e.children)}:{...e,title:t}});return(0,a.jsx)(i.Table,{className:h.c,loading:x,rowKey:"uid",pagination:!1,expandable:{defaultExpandAllRows:!0},columns:[{dataIndex:"title",title:l("Menu item title")},{dataIndex:"accessible",title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Checkbox,{checked:S,onChange:async e=>{S?await f.set({values:[]}):await f.set({values:n}),_(),i.message.success(l("Saved successfully"))}})," ",l("Accessible")]}),render:(e,t)=>{let o=r.includes(t.uid);return(0,a.jsx)(i.Checkbox,{checked:o,onChange:()=>k(o,t)})}}],dataSource:C(o)})};var k=o(44814),C=o(56920),M=o(27741);let w=e=>{var t;let{currentRecord:o}=(0,s.useContext)(F);return(null==o||null==(t=o.snippets)?void 0:t.includes("pm.*"))?(0,a.jsx)("div",{children:e.children}):null},F=(0,s.createContext)(null);F.displayName="PermissionContext";let P=e=>{let t=(0,p.VB)(),o=(0,m.pE)(),{t:l}=(0,c.useTranslation)(),{snippets:n}=o;null==n||n.forEach(e=>{o[e]=!0});let[r,d]=(0,s.useState)(o);return(0,a.jsx)(F.Provider,{value:{currentRecord:r,update:async(e,n)=>{let{path:a,value:s}=e.getState();if(["ui.*","pm","pm.*"].includes(a)){let e=t.resource("roles.snippets",o.name);s?await e.add({values:[a]}):await e.remove({values:[a]}),d({...r,...n.values,[a]:s})}else await t.resource("roles").update({filterByTk:o.name,values:n.values}),d({...r,...n.values});i.message.success(l("Saved successfully"))}},children:e.children})},j=(0,C.connect)(e=>{let{t}=(0,c.useTranslation)();return(0,a.jsxs)(i.Checkbox.Group,{style:{width:"100%",display:"block"},value:e.value,onChange:t=>{let o=["ui.*","pm","pm.*","app"],l=o.map(e=>`!${e}`),n=(0,M.default)([...e.value||[],...t]).filter(e=>e&&!l.includes(e)).map(e=>!o.includes(e)||(null==t?void 0:t.includes(e))?e:`!${e}`);for(let e of o)n.includes(e)||n.includes(`!${e}`)||n.push(`!${e}`);e.onChange(n)},children:[(0,a.jsx)("div",{style:{marginTop:16},children:(0,a.jsx)(i.Checkbox,{value:"ui.*",children:t("Allows to configure interface")})}),(0,a.jsx)("div",{style:{marginTop:8},children:(0,a.jsx)(i.Checkbox,{value:"pm",children:t("Allows to install, activate, disable plugins")})}),(0,a.jsx)("div",{style:{marginTop:8},children:(0,a.jsx)(i.Checkbox,{value:"pm.*",children:t("Allows to configure plugins")})}),(0,a.jsx)("div",{style:{marginTop:8},children:(0,a.jsx)(i.Checkbox,{value:"app",children:t("Allows to clear cache, reboot application")})})]})}),A=()=>{let{update:e,currentRecord:t}=(0,s.useContext)(F),{t:o}=(0,c.useTranslation)();return(0,a.jsx)(d.HvB,{components:{SnippetCheckboxGroup:j},schema:{type:"void",name:"form","x-component":"Form","x-component-props":{useValues:e=>{let o=(0,p.VB)();return(0,p.bP)(()=>o.resource("roles").get({filterByTk:t.name}).then(e=>{var t,o;let l=null==e||null==(t=e.data)?void 0:t.data;return null==(o=l.snippets)||o.forEach(e=>{l[e]=!0}),{data:l}}),e)},effects(){(0,k.onFieldChange)("*",async(t,o)=>{o.modified&&await e(t,o)})}},properties:{snippets:{title:o("Configure permissions"),type:"boolean","x-decorator":"FormItem","x-component":"SnippetCheckboxGroup"},allowNewMenu:{title:o("Menu permissions"),"x-decorator":"FormItem","x-component":"Checkbox","x-content":o("New menu items are allowed to be accessed by default.")}}}})};var I=o(56220),T=o(44374);let D={name:"roles",filterTargetKey:"name",targetKey:"name",fields:[{type:"integer",name:"title",interface:"input",uiSchema:{title:'{{t("Role display name")}}',type:"number","x-component":"Input",required:!0}},{type:"string",name:"name",interface:"input",uiSchema:{title:'{{t("Role UID")}}',type:"string","x-component":"Input"}},{type:"boolean",name:"default",interface:"boolean",uiSchema:{title:'{{t("Default role")}}',type:"boolean","x-component":"Checkbox"}}]},L={type:"object",properties:{block1:{type:"void","x-decorator":"ResourceActionProvider","x-decorator-props":{collection:D,resourceName:"roles",request:{resource:"roles",action:"list",params:{pageSize:50,filter:{"name.$ne":"root"},showAnonymous:!0,sort:["createdAt"],appends:[]}}},"x-component":"CollectionProvider_deprecated","x-component-props":{collection:D},properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{style:{marginBottom:16}},properties:{delete:{type:"void",title:'{{ t("Delete") }}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useBulkDestroyAction }}",confirm:{title:"{{t('Delete role')}}",content:"{{t('Are you sure you want to delete it?')}}"}}},create:{type:"void",title:'{{t("Add role")}}',"x-component":"Action","x-component-props":{type:"primary"},properties:{drawer:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues(e){let t=(0,d.D50)();return(0,p.bP)(()=>Promise.resolve({data:{name:`r_${(0,r.uid)()}`,snippets:["!ui.*","!pm","!pm.*"]}}),{...e,refreshDeps:[t.visible]})}},title:'{{t("Add role")}}',properties:{title:{"x-component":"CollectionField","x-decorator":"FormItem"},name:{"x-component":"CollectionField","x-decorator":"FormItem",description:'{{t("Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.")}}'},default:{"x-component":"CollectionField","x-decorator":"FormItem",title:"","x-content":'{{t("Default role")}}'},footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{cancel:{title:'{{t("Cancel")}}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},submit:{title:'{{t("Submit")}}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ cm.useCreateAction }}"}}}}}}}}}},table:{type:"void","x-uid":"input","x-component":"Table.Void","x-component-props":{rowKey:"name",rowSelection:{type:"checkbox"},useDataSource:"{{ cm.useDataSourceFromRAC }}"},properties:{column1:{type:"void","x-decorator":"Table.Column.Decorator","x-component":"Table.Column",properties:{title:{type:"number","x-component":"CollectionField","x-read-pretty":!0}}},column2:{type:"void","x-decorator":"Table.Column.Decorator","x-component":"Table.Column",properties:{name:{type:"string","x-component":"CollectionField","x-read-pretty":!0}}},column3:{type:"void","x-decorator":"Table.Column.Decorator","x-component":"Table.Column",properties:{default:{type:"string","x-component":"CollectionField","x-read-pretty":!0}}},column4:{type:"void",title:'{{t("Actions")}}',"x-component":"Table.Column",properties:{actions:{type:"void","x-component":"Space","x-component-props":{split:"|"},properties:{view:{type:"void",title:'{{t("Configure")}}',"x-component":"Action.Link","x-decorator":"ACLActionProvider","x-acl-action":"roles:update","x-component-props":{},properties:{drawer:{type:"void","x-component":"Action.Drawer","x-decorator":"PermissionProvider",title:'{{t("Configure permissions")}}',properties:{tabs1:{type:"void","x-component":"Tabs","x-component-props":{},properties:{tab1:{type:"void",title:'{{t("General permissions")}}',"x-component":"Tabs.TabPane","x-component-props":{},properties:{role:{"x-component":"RoleConfigure"}}},tab3:{type:"void",title:'{{t("Menu permissions")}}',"x-component":"Tabs.TabPane","x-component-props":{},properties:{menu:{"x-decorator":"MenuItemsProvider","x-component":"MenuConfigure"}}},tab4:{type:"void",title:'{{t("Plugin settings permissions")}}',"x-decorator":"SettingCenterPermissionProvider","x-component":"Tabs.TabPane","x-component-props":{},properties:{menu:{"x-decorator":"SettingCenterProvider","x-component":"SettingsCenterConfigure"}}}}}}}}},update:{type:"void",title:'{{t("Edit")}}',"x-decorator":"ACLActionProvider","x-acl-action":"roles:update","x-component":"Action.Link","x-component-props":{type:"primary"},properties:{drawer:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues:e=>{let t=(0,m.pE)(),o=(0,p.bP)(()=>Promise.resolve({data:(0,eY.default)(t,["title","name","default"])}),{...e,manual:!0}),l=(0,d.D50)();return(0,s.useEffect)(()=>{l.visible&&o.run()},[l.visible]),o}},title:'{{t("Edit role")}}',properties:{title:{"x-component":"CollectionField","x-decorator":"FormItem"},name:{"x-component":"CollectionField","x-decorator":"FormItem","x-disabled":!0},default:{title:"","x-component":"CollectionField","x-decorator":"FormItem","x-content":'{{t("Default role")}}'},footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{cancel:{title:'{{t("Cancel")}}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},submit:{title:'{{t("Submit")}}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ cm.useUpdateAction }}"}}}}}}}},delete:{type:"void",title:'{{ t("Delete") }}',"x-acl-action":"roles:destroy","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-component-props":{confirm:{title:"{{t('Delete role')}}",content:"{{t('Are you sure you want to delete it?')}}"},useAction:"{{cm.useDestroyAction}}"}}}}}}}}}}}},Y=(0,s.createContext)([]);Y.displayName="AvailableActionsContext";let R=e=>{let{data:t,loading:o}=(0,p.bP)({resource:"availableActions",action:"list"});return o?(0,a.jsx)(i.Spin,{}):(0,a.jsx)(Y.Provider,{value:null==t?void 0:t.data,children:e.children})},B=()=>(0,s.useContext)(Y),N=()=>(0,a.jsx)("div",{children:(0,a.jsx)(d.u4V.Provider,{value:{designable:!1},children:(0,a.jsx)(R,{children:(0,a.jsx)(d.HvB,{schema:L,components:{MenuItemsProvider:f,SettingCenterPermissionProvider:w,PermissionProvider:P}})})})});var E=o(69412),$=o(99300);let z={name:"rolesResourcesScopes",fields:[{type:"string",name:"name",interface:"input",uiSchema:{title:'{{t("Scope name")}}',type:"string","x-component":"Input",required:!0}}]},O={type:"object",properties:{scope:{"x-component":"RecordPicker","x-component-props":{size:"small",fieldNames:{label:"name",value:"id"},multiple:!1,association:{target:"rolesResourcesScopes"},onChange:"{{ onChange }}"},properties:{selector:{type:"void",title:'{{ t("Select record") }}',"x-component":"RecordPicker.Selector","x-component-props":{className:"nb-record-picker-selector"},properties:{tableBlock:{type:"void","x-decorator":"TableSelectorProvider","x-decorator-props":{collection:z,resource:"rolesResourcesScopes",action:"list",params:{pageSize:20},useParams:()=>({filter:{$or:[{resourceName:(0,s.useContext)(G).name},{resourceName:null}]}}),rowKey:"id"},"x-component":"BlockItem",properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{style:{marginBottom:16}},properties:{create:{type:"void",title:'{{ t("Add new") }}',"x-action":"create","x-component":"Action","x-component-props":{icon:"PlusOutlined",openMode:"drawer",type:"primary"},properties:{drawer:{type:"void",title:'{{ t("Add record") }}',"x-component":"Action.Container","x-component-props":{className:"nb-action-popup"},properties:{formBlock:{type:"void","x-decorator":"FormBlockProvider","x-decorator-props":{resource:"rolesResourcesScopes",collection:z},"x-component":"CardItem",properties:{form:{type:"void","x-component":"FormV2","x-use-component-props":()=>{let{name:e}=(0,s.useContext)(G),t=(0,E.Es)();return(0,s.useEffect)(()=>{t.form.setInitialValues({resourceName:e})},[e]),{form:t.form}},properties:{name:{type:"string","x-component":"CollectionField","x-decorator":"FormItem"},scope:{type:"object",title:'{{t("Data scope")}}',name:"filter","x-decorator":"FormItem","x-component":"Filter","x-use-component-props":()=>{let e=(0,s.useContext)(G);return{options:(0,d.uwA)(e.name)}},"x-component-props":{dynamicComponent:$.P8}},actions:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column",style:{marginTop:24}},properties:{create:{title:'{{ t("Submit") }}',"x-action":"submit","x-component":"Action","x-use-component-props":"useCreateActionProps","x-component-props":{type:"primary",htmlType:"submit"}}}}}}}}}}}}}},value:{type:"array","x-component":"TableV2.Selector","x-use-component-props":"useTableSelectorProps","x-component-props":{rowKey:"id",rowSelection:{type:"checkbox"}},properties:{column1:{type:"void","x-decorator":"TableV2.Column.Decorator","x-component":"TableV2.Column",properties:{name:{type:"string","x-component":"CollectionField","x-read-pretty":!0}}},actions:{type:"void",title:'{{ t("Actions") }}',"x-action-column":"actions","x-component":"TableV2.Column",properties:{actions:{type:"void","x-decorator":"DndContext","x-component":"Space","x-component-props":{split:"|"},properties:{edit:{type:"void",title:'{{ t("Edit") }}',"x-action":"update","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-component-props":{openMode:"drawer"},properties:{drawer:{type:"void",title:'{{ t("Edit record") }}',"x-component":"Action.Container","x-component-props":{className:"nb-action-popup"},properties:{formBlock:{type:"void","x-decorator":"FormBlockProvider","x-decorator-props":{resource:"rolesResourcesScopes",collection:z,action:"get",useParams:"{{ useParamsFromRecord }}"},"x-component":"CardItem",properties:{form:{type:"void","x-component":"FormV2","x-use-component-props":"useFormBlockProps",properties:{name:{type:"string","x-component":"CollectionField","x-decorator":"FormItem"},scope:{type:"object",title:'{{t("Data scope")}}',name:"filter","x-decorator":"FormItem","x-component":"Filter","x-use-component-props":()=>{let e=(0,s.useContext)(G);return{options:(0,d.uwA)(e.name)}},"x-component-props":{dynamicComponent:$.P8}},actions:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column",style:{marginTop:24}},properties:{update:{title:'{{ t("Submit") }}',"x-action":"submit","x-component":"Action","x-use-component-props":"useUpdateActionProps","x-component-props":{type:"primary",htmlType:"submit"}}}}}}}}}}}},destroy:{title:'{{ t("Delete") }}',"x-action":"destroy","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-use-component-props":"useDestroyActionProps","x-component-props":{icon:"DeleteOutlined",confirm:{title:"{{t('Delete record')}}",content:"{{t('Are you sure you want to delete it?')}}"}}}}}}}}}}},footer:{"x-component":"Action.Container.Footer","x-component-props":{},properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{},properties:{submit:{title:'{{ t("Submit") }}',"x-action":"submit","x-component":"Action","x-use-component-props":"usePickActionProps","x-component-props":{type:"primary",htmlType:"submit"}}}}}}}}}}}},q=(0,s.createContext)(null);q.displayName="RolesResourcesScopesSelectedRowKeysContext";let H=e=>{let[t,o]=(0,s.useState)([]);return(0,a.jsx)(q.Provider,{value:[t,o],children:e.children})},V=()=>(0,s.useContext)(q),U=e=>{let t=(0,s.useMemo)(()=>(0,k.createForm)({values:{scope:e.value}}),[]);return(0,a.jsx)(d.OpO,{form:t,children:(0,a.jsx)(d.HvB,{components:{RolesResourcesScopesSelectedRowKeysProvider:H},scope:{onChange(t){var o;null==e||null==(o=e.onChange)||o.call(e,t)}},schema:O})})},G=(0,s.createContext)({});G.displayName="RoleResourceCollectionContext";let K=(0,C.connect)(e=>{var t,o,l,n,r,s;let d,p=t=>{let o=t.map(e=>({...e,scope:(0,u.isEmpty)(e.scope)?null:e.scope}));e.onChange(o)};(0,C.useForm)();let m=(0,T.useRecord)(),x=B(),{getCollection:v,getCollectionFields:_}=(0,T.useCollectionManager_deprecated)(),f=v(m.collectionName),g=_(m.collectionName),b=(0,T.useCompile)(),{t:y}=(0,c.useTranslation)(),S=(r=(0,C.useField)().value||[],d={},null==r||null==(s=r.forEach)||s.call(r,e=>{e.name&&(d[e.name]=e,d[e.name].scope=(0,u.isEmpty)(e.scope)?null:e.scope)}),d),k=(e,t)=>{var o;let l=null==S?void 0:S[e];return!!l&&(null==l||null==(o=l.fields)?void 0:o.includes(t))},M=x.filter(e=>e.allowConfigureFields),w=null==g||null==(t=g.filter(e=>e.interface))?void 0:t.map(e=>{let t={...e};for(let o of M)t[o.name]=k(o.name,e.name);return t}),F=e=>{if(S[e])delete S[e];else{var t,o;S[e]={name:e,fields:null==g||null==(o=g.filter(e=>e.interface))||null==(t=o.map)?void 0:t.call(o,e=>e.name)}}p(Object.values(S))},P={};for(let e of M)P[e.name]=(null==g||null==(o=g.filter(e=>e.interface))?void 0:o.length)===(null==S||null==(n=S[e.name])||null==(l=n.fields)?void 0:l.length);return(0,a.jsx)("div",{children:(0,a.jsx)(G.Provider,{value:f,children:(0,a.jsxs)(I.FormLayout,{layout:"vertical",children:[(0,a.jsx)(I.FormItem,{label:y("Action permission"),children:(0,a.jsx)(i.Table,{className:h.c,size:"small",pagination:!1,columns:[{dataIndex:"displayName",title:y("Action display name"),render:e=>b(e)},{dataIndex:"onNewRecord",title:y("Action type"),render:e=>e?(0,a.jsx)(i.Tag,{color:"green",children:y("Action on new records")}):(0,a.jsx)(i.Tag,{color:"geekblue",children:y("Action on existing records")})},{dataIndex:"enabled",title:y("Allow"),render:(e,t)=>(0,a.jsx)(i.Checkbox,{checked:e,onChange:()=>{F(t.name)}})},{dataIndex:"scope",title:y("Data scope"),render:(e,t)=>!t.onNewRecord&&(0,a.jsx)(U,{value:e,onChange:e=>{var o;o=t.name,S[o]?(S[o].scope=e,p(Object.values(S))):(F(o),S[o].scope=e)}})}],dataSource:null==x?void 0:x.map(e=>{let t=!1,o=null;return S[e.name]&&(t=!0,e.onNewRecord||(o=S[e.name].scope)),{...e,enabled:t,scope:o}})})}),(0,a.jsx)(I.FormItem,{label:y("Field permission"),children:(0,a.jsx)(i.Table,{className:h.c,pagination:!1,dataSource:w,columns:[{dataIndex:["uiSchema","title"],title:y("Field display name"),render:e=>b(e)},...M.map(e=>{let t=null==P?void 0:P[e.name];return{dataIndex:e.name,title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Checkbox,{checked:t,onChange:()=>{let o=S[e.name]||{name:e.name};if(t)o.fields=[];else{var l;o.fields=null==g||null==(l=g.map)?void 0:l.call(g,e=>e.name)}S[e.name]=o,p(Object.values(S))}})," ",b(e.displayName)]}),render:(t,o)=>(0,a.jsx)(i.Checkbox,{checked:t,"aria-label":`${e.name}_checkbox`,onChange:()=>{let l=S[e.name]||{name:e.name},n=l.fields||[];if(t){let e=n.indexOf(o.name);n.splice(e,1)}else n.push(o.name);l.fields=n,S[e.name]=l,p(Object.values(S))}})}})]})})]})})})}),W=e=>{let t=[];for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let l=e[o];"all"===l?t.push(o):t.push(`${o}:${l}`)}return t},J=(0,C.connect)(e=>{let{onChange:t}=e,o=B(),l=(0,T.useCompile)(),{t:n}=(0,c.useTranslation)(),r=(e=>{var t;if(!e)return{};let o={};return null==e||null==(t=e.forEach)||t.call(e,e=>{let[t,l]=e.split(":");o[t]=l||"all"}),o})((0,C.useField)().value);return(0,a.jsx)("div",{children:(0,a.jsx)(i.Table,{size:"small",pagination:!1,rowKey:"name",columns:[{dataIndex:"displayName",title:n("Action display name"),render:e=>l(e)},{dataIndex:"onNewRecord",title:n("Action type"),render:e=>e?(0,a.jsx)(i.Tag,{color:"green",children:n("Action on new records")}):(0,a.jsx)(i.Tag,{color:"geekblue",children:n("Action on existing records")})},{dataIndex:"enabled",title:n("Allow"),render:(e,o)=>(0,a.jsx)(i.Checkbox,{checked:e,"aria-label":`${o.name}_checkbox`,onChange:l=>{e?delete r[o.name]:r[o.name]="all",t(W(r))}})},{dataIndex:"scope",title:n("Data scope"),render:(e,o)=>!o.onNewRecord&&(0,a.jsx)(i.Select,{"data-testid":"select-data-scope",popupMatchSelectWidth:!1,size:"small",value:e,options:[{label:n("All records"),value:"all"},{label:n("Own records"),value:"own"}],onChange:e=>{r[o.name]=e,t(W(r))}})}],dataSource:null==o?void 0:o.map(e=>{let t="all",o=!1;return r[e.name]&&(o=!0,t=r[e.name]),{...e,enabled:o,scope:t}})})})});var X=o(17157),Z=o(76028);let Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let o of e)t.push(o.aclSnippet),o.children&&o.children.length&&Q(o.children,t);return t},ee=(0,s.createContext)(null);ee.displayName="SettingMenuContext";let et=e=>{let t=(0,s.useContext)(Z.WS);return(0,a.jsx)(ee.Provider,{value:t,children:e.children})},eo=()=>{let e=(0,X.nm)(),t=(0,m.pE)(),o=(0,p.VB)(),l=(0,d.lum)(),n=e.pluginSettingsManager.getList(!1),r=e.pluginSettingsManager.getAclSnippets(),[x,v]=(0,s.useState)([]),_=(0,s.useMemo)(()=>x.includes("pm.*")&&x.every(e=>!e.startsWith("!pm.")),[x]),{t:f}=(0,c.useTranslation)(),{loading:g,refresh:b}=(0,p.bP)({resource:"roles.snippets",resourceOf:t.name,action:"list",params:{paginate:!1}},{onSuccess(e){v((null==e?void 0:e.data)||[])}}),y=o.resource("roles.snippets",t.name),S=async(e,t)=>{let o=Q(null==t?void 0:t.children,[]).concat(t.aclSnippet);e?await y.add({values:o.map(e=>"!"+e)}):await y.remove({values:o.map(e=>"!"+e)}),b(),i.message.success(f("Saved successfully"))};return(0,a.jsx)(i.Table,{className:h.c,loading:g,rowKey:"key",pagination:!1,expandable:{defaultExpandAllRows:!0},columns:[{dataIndex:"title",title:f("Plugin name"),render:e=>l(e)},{dataIndex:"accessible",title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Checkbox,{checked:_,onChange:async()=>{let e=r.map(e=>"!"+e);_?await y.add({values:e}):await y.remove({values:e}),b(),i.message.success(f("Saved successfully"))}})," ",f("Accessible")]}),render:(e,t)=>{let o=!x.includes("!"+t.aclSnippet);return(0,a.jsx)(i.Checkbox,{checked:o,onChange:()=>S(o,t)})}}],dataSource:n.filter(e=>!1!==e.isTopLevel).map(e=>!1!==e.showTabs?e:(0,u.omit)(e,"children"))})},el={type:"object",properties:{[(0,r.uid)()]:{"x-component":"RoleTable"}}},en=()=>(0,a.jsx)(i.Card,{"data-testid":"acl-pane-card",bordered:!1,children:(0,a.jsx)(d.HvB,{components:l,schema:el})});var ea=o(83468);class er extends ea.k{async load(){this.app.addComponents({ACLCollectionFieldProvider:n.mu,ACLActionProvider:n.aK,ACLMenuItemProvider:n.Ik,ACLCollectionProvider:n.yb})}}},86004(e,t,o){o.d(t,{c:()=>n});var l=o(10691);let n=(0,l.css)`
3
+ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import*as o from"@ant-design/pro-layout";import*as l from"@ctrl/tinycolor";import*as n from"@dnd-kit/core";import*as a from"@dnd-kit/sortable";import*as r from"@emotion/css";import*as i from"@formily/antd-v5";import*as s from"@formily/antd-v5/esm/__builtins__";import*as d from"@formily/core";import*as u from"@formily/core/esm/shared/internals";import*as c from"@formily/react";import*as p from"@formily/reactive";import*as m from"@formily/shared";import*as h from"@formily/validator";import*as x from"@nocobase/client";import*as v from"@nocobase/client-v2";import*as _ from"@nocobase/evaluators/client";import*as f from"@nocobase/flow-engine";import*as g from"@nocobase/sdk";import*as b from"@nocobase/utils/client";import*as y from"ahooks";import*as S from"antd";import*as k from"antd-style";import*as C from"antd/dist/reset.css";import*as M from"antd/es/input/style";import*as w from"axios-mock-adapter";import*as F from"classnames";import*as P from"cronstrue";import*as j from"dayjs";import*as A from"dayjs/plugin/isBetween";import*as I from"dayjs/plugin/isSameOrAfter";import*as T from"dayjs/plugin/isSameOrBefore";import*as D from"dayjs/plugin/isoWeek";import*as L from"dayjs/plugin/localeData";import*as Y from"dayjs/plugin/quarterOfYear";import*as R from"dayjs/plugin/utc";import*as B from"dayjs/plugin/weekday";import*as N from"file-saver";import*as E from"flat";import*as $ from"i18next";import*as z from"lodash";import*as O from"lodash/cloneDeep";import*as q from"lodash/get";import*as H from"lodash/omit";import*as V from"lodash/set";import*as U from"lodash/uniq";import*as G from"qs";import*as K from"rc-util/lib/ref";import*as W from"react";import*as J from"react-dom";import*as X from"react-error-boundary";import*as Z from"react-i18next";import*as Q from"react-router-dom";import*as ee from"react/jsx-runtime";import*as et from"lodash/template";import*as eo from"deepmerge";import*as el from"lodash/debounce";import*as en from"lodash/merge";import*as ea from"rc-motion/es/context";import*as er from"@formily/json-schema";import*as ei from"@formily/path";import*as es from"@formily/reactive-react";import*as ed from"axios";import*as eu from"react-router";import*as ec from"react-hotkeys-hook";import*as ep from"ignore";import*as em from"json5";import*as eh from"html5-qrcode";import*as ex from"react-dom/client";import*as ev from"markdown-it";import*as e_ from"markdown-it-highlightjs";import*as ef from"mermaid";import*as eg from"lru-cache";import*as eb from"sanitize-html";import"antd/es/layout/Sider";import*as ey from"react-device-detect";import*as eS from"mime";import*as ek from"mime-match";import*as eC from"antd/es/upload/style";import*as eM from"filesize";import*as ew from"react-image-lightbox";import"react-image-lightbox/style.css";import*as eF from"react-intersection-observer";import*as eP from"react-js-cron";import"react-js-cron/dist/styles.css";import*as ej from"@antv/g2plot";import*as eA from"bignumber.js";import*as eI from"d3-format";import*as eT from"mathjs";import*as eD from"nanoid";import*as eL from"react-drag-listview";import*as eY from"lodash/pick";import*as eR from"dayjs/plugin/relativeTime";import*as eB from"history";var eN,eE,e$={36519(){},35796(e,t,o){e.exports=function(e){"use strict";var t={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},22933(e,t,o){e.exports=function(e){"use strict";var t={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79399(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},70071(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},83899(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},30674(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},meridiem:function(e){return e>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},81067(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},80633(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},51107(e,t,o){e.exports=function(e){"use strict";var t={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},95e3(e,t,o){e.exports=function(e){"use strict";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),o={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},l={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return l[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(o(91815))},52912(e,t,o){e.exports=function(e){"use strict";var t={name:"az",weekdays:"Bazar_Bazar ertəsi_\xc7ərşənbə axşamı_\xc7ərşənbə_C\xfcmə axşamı_C\xfcmə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7ər_CAx_C\xfcm_Şən".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7ə_CA_C\xfc_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir ne\xe7ə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},59834(e,t,o){e.exports=function(e){"use strict";var t={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},6160(e,t,o){e.exports=function(e){"use strict";var t={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var t=e%100;if(t>10&&t<20)return e+"-ти";var o=e%10;return 1===o?e+"-ви":2===o?e+"-ри":7===o||8===o?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},31022(e,t,o){e.exports=function(e){"use strict";var t={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},37218(e,t,o){e.exports=function(e){"use strict";var t={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},9986(e,t,o){e.exports=function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},o={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},l={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return o[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},11407(e,t,o){e.exports=function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},o={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},l={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return o[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},64600(e,t,o){e.exports=function(e){"use strict";var t={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},93939(e,t,o){e.exports=function(e){"use strict";function t(e,t,o){var l;return e+" "+(l=({mm:"munutenn",MM:"miz",dd:"devezh"})[o],2===e?({m:"v",b:"v",d:"z"})[l.charAt(0)]+l.substring(1):l)}var o={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},85836(e,t,o){e.exports=function(e){"use strict";var t={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},663(e,t,o){e.exports=function(e){"use strict";var t={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Mar\xe7_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Mar\xe7_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(1===e||3===e?"r":2===e?"n":4===e?"t":"\xe8")}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},40201(e,t,o){e.exports=function(e){"use strict";function t(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,o,l,n){var a=e+" ";switch(l){case"s":return o||n?"p\xe1r sekund":"p\xe1r sekundami";case"m":return o?"minuta":n?"minutu":"minutou";case"mm":return o||n?a+(t(e)?"minuty":"minut"):a+"minutami";case"h":return o?"hodina":n?"hodinu":"hodinou";case"hh":return o||n?a+(t(e)?"hodiny":"hodin"):a+"hodinami";case"d":return o||n?"den":"dnem";case"dd":return o||n?a+(t(e)?"dny":"dn\xed"):a+"dny";case"M":return o||n?"měs\xedc":"měs\xedcem";case"MM":return o||n?a+(t(e)?"měs\xedce":"měs\xedců"):a+"měs\xedci";case"y":return o||n?"rok":"rokem";case"yy":return o||n?a+(t(e)?"roky":"let"):a+"lety"}}var l={name:"cs",weekdays:"neděle_ponděl\xed_\xfater\xfd_středa_čtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_čt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_čt_p\xe1_so".split("_"),months:"leden_\xfanor_březen_duben_květen_červen_červenec_srpen_z\xe1ř\xed_ř\xedjen_listopad_prosinec".split("_"),monthsShort:"led_\xfano_bře_dub_kvě_čvn_čvc_srp_z\xe1ř_ř\xedj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},11718(e,t,o){e.exports=function(e){"use strict";var t={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18383(e,t,o){e.exports=function(e){"use strict";var t={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},65996(e,t,o){e.exports=function(e){"use strict";var t={name:"da",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n._man._tirs._ons._tors._fre._l\xf8r.".split("_"),weekdaysMin:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},52556(e,t,o){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(e,o,l){var n=t[l];return Array.isArray(n)&&(n=n[+!o]),n.replace("%d",e)}var l={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},45498(e,t,o){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(e,o,l){var n=t[l];return Array.isArray(n)&&(n=n[+!o]),n.replace("%d",e)}var l={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},7424(e,t,o){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(e,o,l){var n=t[l];return Array.isArray(n)&&(n=n[+!o]),n.replace("%d",e)}var l={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},53033(e,t,o){e.exports=function(e){"use strict";var t={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},38562(e,t,o){e.exports=function(e){"use strict";var t={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},7435(e,t,o){e.exports=function(e){"use strict";var t={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},66825(e,t,o){e.exports=function(e){"use strict";var t={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},8420(e,t,o){e.exports=function(e){"use strict";var t={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},87651(e,t,o){e.exports=function(e){"use strict";var t={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},82756(e,t,o){e.exports=function(e){"use strict";var t={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},62990(e,t,o){e.exports=function(e){"use strict";var t={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},12733(e,t,o){e.exports=function(e){"use strict";var t={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35635(e,t,o){e.exports=function(e){"use strict";var t={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},41853(e,t,o){e.exports=function(e){"use strict";var t={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},50104(e){e.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}}},84463(e,t,o){e.exports=function(e){"use strict";var t={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},29513(e,t,o){e.exports=function(e){"use strict";var t={name:"es-do",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},26601(e,t,o){e.exports=function(e){"use strict";var t={name:"es-mx",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90554(e,t,o){e.exports=function(e){"use strict";var t={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},61520(e,t,o){e.exports=function(e){"use strict";var t={name:"es-us",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},85331(e,t,o){e.exports=function(e){"use strict";var t={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},81642(e,t,o){e.exports=function(e){"use strict";function t(e,t,o,l){var n={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:["%d minuti","%d minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:["%d tunni","%d tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:["%d kuu","%d kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:["%d aasta","%d aastat"]};return t?(n[o][2]?n[o][2]:n[o][1]).replace("%d",e):(l?n[o][0]:n[o][1]).replace("%d",e)}var o={name:"et",weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},78073(e,t,o){e.exports=function(e){"use strict";var t={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35626(e,t,o){e.exports=function(e){"use strict";var t={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},2386(e,t,o){e.exports=function(e){"use strict";function t(e,t,o,l){var n=l&&!t?{s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xe4iv\xe4n",dd:"%d p\xe4iv\xe4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xe4n_viiden_kuuden_seitsem\xe4n_kahdeksan_yhdeks\xe4n".split("_")}:{s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xe4iv\xe4",dd:"%d p\xe4iv\xe4\xe4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xe4_viisi_kuusi_seitsem\xe4n_kahdeksan_yhdeks\xe4n".split("_")},a=n[o];return e<10?a.replace("%d",n.numbers[e]):a.replace("%d",e)}var o={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},24596(e,t,o){e.exports=function(e){"use strict";var t={name:"fo",weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},38572(e,t,o){e.exports=function(e){"use strict";var t={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},73115(e,t,o){e.exports=function(e){"use strict";var t={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},25287(e,t,o){e.exports=function(e){"use strict";var t={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},33122(e,t,o){e.exports=function(e){"use strict";var t={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35035(e,t,o){e.exports=function(e){"use strict";var t={name:"ga",weekdays:"D\xe9 Domhnaigh_D\xe9 Luain_D\xe9 M\xe1irt_D\xe9 C\xe9adaoin_D\xe9ardaoin_D\xe9 hAoine_D\xe9 Satharn".split("_"),months:"Ean\xe1ir_Feabhra_M\xe1rta_Aibre\xe1n_Bealtaine_M\xe9itheamh_I\xfail_L\xfanasa_Me\xe1n F\xf3mhair_Deaireadh F\xf3mhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_M\xe1i_C\xe9a_D\xe9a_hAo_Sat".split("_"),monthsShort:"Ean\xe1_Feab_M\xe1rt_Aibr_Beal_M\xe9it_I\xfail_L\xfana_Me\xe1n_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_M\xe1_Ce_D\xe9_hA_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79592(e,t,o){e.exports=function(e){"use strict";var t={name:"gd",weekdays:"Did\xf2mhnaich_Diluain_Dim\xe0irt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am M\xe0rt_An Giblean_An C\xe8itean_An t-\xd2gmhios_An t-Iuchar_An L\xf9nastal_An t-Sultain_An D\xe0mhair_An t-Samhain_An D\xf9bhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_M\xe0rt_Gibl_C\xe8it_\xd2gmh_Iuch_L\xf9n_Sult_D\xe0mh_Samh_D\xf9bh".split("_"),weekdaysMin:"D\xf2_Lu_M\xe0_Ci_Ar_Ha_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},15744(e,t,o){e.exports=function(e){"use strict";var t={name:"gl",weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),ordinal:function(e){return e+"\xba"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24146(e,t,o){e.exports=function(e){"use strict";var t={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},99887(e,t,o){e.exports=function(e){"use strict";var t={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},60220(e,t,o){e.exports=function(e){"use strict";var t={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function o(e,o,l){return(t[l+(2===e?"2":"")]||t[l]).replace("%d",e)}var l={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},ordinal:function(e){return e},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},69112(e,t,o){e.exports=function(e){"use strict";var t={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},88313(e,t,o){e.exports=function(e){"use strict";var t="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),o="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),l=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,n=function(e,n){return l.test(n)?t[e.month()]:o[e.month()]};n.s=o,n.f=t;var a={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:n,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(a,null,!0),a}(o(91815))},95571(e,t,o){e.exports=function(e){"use strict";var t={name:"ht",weekdays:"dimanch_lendi_madi_m\xe8kredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiy\xe8_out_septanm_okt\xf2b_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._m\xe8k._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiy\xe8._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_m\xe8_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"k\xe8k segond",m:"yon minit",mm:"%d minit",h:"in\xe8dtan",hh:"%d z\xe8",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90348(e,t,o){e.exports=function(e){"use strict";var t={name:"hu",weekdays:"vas\xe1rnap_h\xe9tfő_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s m\xfalva",past:"%s",s:function(e,t,o,l){return"n\xe9h\xe1ny m\xe1sodperc"+(l||t?"":"e")},m:function(e,t,o,l){return"egy perc"+(l||t?"":"e")},mm:function(e,t,o,l){return e+" perc"+(l||t?"":"e")},h:function(e,t,o,l){return"egy "+(l||t?"\xf3ra":"\xf3r\xe1ja")},hh:function(e,t,o,l){return e+" "+(l||t?"\xf3ra":"\xf3r\xe1ja")},d:function(e,t,o,l){return"egy "+(l||t?"nap":"napja")},dd:function(e,t,o,l){return e+" "+(l||t?"nap":"napja")},M:function(e,t,o,l){return"egy "+(l||t?"h\xf3nap":"h\xf3napja")},MM:function(e,t,o,l){return e+" "+(l||t?"h\xf3nap":"h\xf3napja")},y:function(e,t,o,l){return"egy "+(l||t?"\xe9v":"\xe9ve")},yy:function(e,t,o,l){return e+" "+(l||t?"\xe9v":"\xe9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},62787(e,t,o){e.exports=function(e){"use strict";var t={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},13014(e,t,o){e.exports=function(e){"use strict";var t={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},78983(e,t,o){e.exports=function(e){"use strict";var t={s:["nokkrar sek\xfandur","nokkrar sek\xfandur","nokkrum sek\xfandum"],m:["m\xedn\xfata","m\xedn\xfatu","m\xedn\xfatu"],mm:["m\xedn\xfatur","m\xedn\xfatur","m\xedn\xfatum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","d\xf6gum"],M:["m\xe1nu\xf0ur","m\xe1nu\xf0","m\xe1nu\xf0i"],MM:["m\xe1nu\xf0ir","m\xe1nu\xf0i","m\xe1nu\xf0um"],y:["\xe1r","\xe1r","\xe1ri"],yy:["\xe1r","\xe1r","\xe1rum"]};function o(e,o,l,n){var a;return(a=t[2===l.length&&e%10==1?l[0]:l][o?0:n?1:2],1===l.length?a:"%d "+a).replace("%d",e)}var l={name:"is",weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},47488(e,t,o){e.exports=function(e){"use strict";var t={name:"it-ch",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},59302(e,t,o){e.exports=function(e){"use strict";var t={name:"it",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},36830(e,t,o){e.exports=function(e){"use strict";var t={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},70991(e,t,o){e.exports=function(e){"use strict";var t={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24239(e,t,o){e.exports=function(e){"use strict";var t={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},3529(e,t,o){e.exports=function(e){"use strict";var t={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},76355(e,t,o){e.exports=function(e){"use strict";var t={name:"km",weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekStart:1,weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},5126(e,t,o){e.exports=function(e){"use strict";var t={name:"kn",weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35845(e,t,o){e.exports=function(e){"use strict";var t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},75227(e,t,o){!function(e,t){"use strict";var o={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},l={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],a={name:"ku",months:n,monthsShort:n,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return l[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};(t&&"object"==typeof t&&"default"in t?t:{default:t}).default.locale(a,null,!0),e.default=a,e.englishToArabicNumbersMap=o,Object.defineProperty(e,"__esModule",{value:!0})}(t,o(91815))},87287(e,t,o){e.exports=function(e){"use strict";var t={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},82701(e,t,o){e.exports=function(e){"use strict";var t={name:"lb",weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},85498(e,t,o){e.exports=function(e){"use strict";var t={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90527(e,t,o){e.exports=function(e){"use strict";var t="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),o="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,n=function(e,n){return l.test(n)?t[e.month()]:o[e.month()]};n.s=o,n.f=t;var a={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:n,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(a,null,!0),a}(o(91815))},86049(e,t,o){e.exports=function(e){"use strict";var t={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},76673(e,t,o){e.exports=function(e){"use strict";var t={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},60405(e,t,o){e.exports=function(e){"use strict";var t={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},44915(e,t,o){e.exports=function(e){"use strict";var t={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24874(e,t,o){e.exports=function(e){"use strict";var t={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},20256(e,t,o){e.exports=function(e){"use strict";var t={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},25956(e,t,o){e.exports=function(e){"use strict";var t={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},22194(e,t,o){e.exports=function(e){"use strict";var t={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},25227(e,t,o){e.exports=function(e){"use strict";var t={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},81794(e,t,o){e.exports=function(e){"use strict";var t={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},39301(e,t,o){e.exports=function(e){"use strict";var t={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},97295(e,t,o){e.exports=function(e){"use strict";var t={name:"nb",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},93614(e,t,o){e.exports=function(e){"use strict";var t={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,function(e){return"०१२३४५६७८९"[e]})},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},80447(e,t,o){e.exports=function(e){"use strict";var t={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},92549(e,t,o){e.exports=function(e){"use strict";var t={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},60803(e,t,o){e.exports=function(e){"use strict";var t={name:"nn",weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nadar",y:"eitt \xe5r",yy:"%d \xe5r"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},51099(e,t,o){e.exports=function(e){"use strict";var t={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"geni\xe8r_febri\xe8r_mar\xe7_abrial_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),monthsShort:"gen_feb_mar\xe7_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},69054(e,t,o){e.exports=function(e){"use strict";var t={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},38803(e,t,o){e.exports=function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,o,l){var n=e+" ";switch(l){case"m":return o?"minuta":"minutę";case"mm":return n+(t(e)?"minuty":"minut");case"h":return o?"godzina":"godzinę";case"hh":return n+(t(e)?"godziny":"godzin");case"MM":return n+(t(e)?"miesiące":"miesięcy");case"yy":return n+(t(e)?"lata":"lat")}}var l="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a=/D MMMM/,r=function(e,t){return a.test(t)?l[e.month()]:n[e.month()]};r.s=n,r.f=l;var i={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:r,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(i,null,!0),i}(o(91815))},56704(e,t,o){e.exports=function(e){"use strict";var t={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18571(e,t,o){e.exports=function(e){"use strict";var t={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},93119(e,t,o){e.exports=function(e){"use strict";var t={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},74856(e,t,o){e.exports=function(e){"use strict";var t={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_S\xe2mbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"c\xe2teva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},88090(e,t,o){e.exports=function(e){"use strict";var t="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),o="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),l="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),n="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),a=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function r(e,t,o){var l,n;return"m"===o?t?"минута":"минуту":e+" "+(l=+e,n=({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"})[o].split("_"),l%10==1&&l%100!=11?n[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?n[1]:n[2])}var i=function(e,l){return a.test(l)?t[e.month()]:o[e.month()]};i.s=o,i.f=t;var s=function(e,t){return a.test(t)?l[e.month()]:n[e.month()]};s.s=n,s.f=l;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:i,monthsShort:s,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:r,mm:r,h:"час",hh:r,d:"день",dd:r,M:"месяц",MM:r,y:"год",yy:r},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(d,null,!0),d}(o(91815))},67664(e,t,o){e.exports=function(e){"use strict";var t={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79740(e,t,o){e.exports=function(e){"use strict";var t={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18851(e,t,o){e.exports=function(e){"use strict";var t={name:"se",weekdays:"sotnabeaivi_vuoss\xe1rga_maŋŋeb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),months:"ođđajagem\xe1nnu_guovvam\xe1nnu_njukčam\xe1nnu_cuoŋom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_čakčam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_l\xe1v".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_sk\xe1b_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},48399(e,t,o){e.exports=function(e){"use strict";var t={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(e){return e},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},77329(e,t,o){e.exports=function(e){"use strict";function t(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,o,l,n){var a=e+" ";switch(l){case"s":return o||n?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return o?"min\xfata":n?"min\xfatu":"min\xfatou";case"mm":return o||n?a+(t(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return o?"hodina":n?"hodinu":"hodinou";case"hh":return o||n?a+(t(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return o||n?"deň":"dňom";case"dd":return o||n?a+(t(e)?"dni":"dn\xed"):a+"dňami";case"M":return o||n?"mesiac":"mesiacom";case"MM":return o||n?a+(t(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return o||n?"rok":"rokom";case"yy":return o||n?a+(t(e)?"roky":"rokov"):a+"rokmi"}}var l={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(l,null,!0),l}(o(91815))},30308(e,t,o){e.exports=function(e){"use strict";function t(e){return e%100==2}function o(e){return e%100==3||e%100==4}function l(e,l,n,a){var r=e+" ";switch(n){case"s":return l||a?"nekaj sekund":"nekaj sekundami";case"m":return l?"ena minuta":"eno minuto";case"mm":return t(e)?r+(l||a?"minuti":"minutama"):o(e)?r+(l||a?"minute":"minutami"):r+(l||a?"minut":"minutami");case"h":return l?"ena ura":"eno uro";case"hh":return t(e)?r+(l||a?"uri":"urama"):o(e)?r+(l||a?"ure":"urami"):r+(l||a?"ur":"urami");case"d":return l||a?"en dan":"enim dnem";case"dd":return t(e)?r+(l||a?"dneva":"dnevoma"):r+(l||a?"dni":"dnevi");case"M":return l||a?"en mesec":"enim mesecem";case"MM":return t(e)?r+(l||a?"meseca":"mesecema"):o(e)?r+(l||a?"mesece":"meseci"):r+(l||a?"mesecev":"meseci");case"y":return l||a?"eno leto":"enim letom";case"yy":return t(e)?r+(l||a?"leti":"letoma"):o(e)?r+(l||a?"leta":"leti"):r+(l||a?"let":"leti")}}var n={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(o(91815))},53975(e,t,o){e.exports=function(e){"use strict";var t={name:"sq",weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},18197(e,t,o){e.exports=function(e){"use strict";var t={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,o,l,n){var a=t.words[l];if(1===l.length)return"y"===l&&o?"једна година":n||o?a[0]:a[1];var r=t.correctGrammarCase(e,a);return"yy"===l&&o&&"%d годину"===r?e+" година":r.replace("%d",e)}},o={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.relativeTimeFormatter,mm:t.relativeTimeFormatter,h:t.relativeTimeFormatter,hh:t.relativeTimeFormatter,d:t.relativeTimeFormatter,dd:t.relativeTimeFormatter,M:t.relativeTimeFormatter,MM:t.relativeTimeFormatter,y:t.relativeTimeFormatter,yy:t.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},95050(e,t,o){e.exports=function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,o,l,n){var a=t.words[l];if(1===l.length)return"y"===l&&o?"jedna godina":n||o?a[0]:a[1];var r=t.correctGrammarCase(e,a);return"yy"===l&&o&&"%d godinu"===r?e+" godina":r.replace("%d",e)}},o={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.relativeTimeFormatter,mm:t.relativeTimeFormatter,h:t.relativeTimeFormatter,hh:t.relativeTimeFormatter,d:t.relativeTimeFormatter,dd:t.relativeTimeFormatter,M:t.relativeTimeFormatter,MM:t.relativeTimeFormatter,y:t.relativeTimeFormatter,yy:t.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(o,null,!0),o}(o(91815))},84537(e,t,o){e.exports=function(e){"use strict";var t={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},32442(e,t,o){e.exports=function(e){"use strict";var t={name:"sv-fi",weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},79094(e,t,o){e.exports=function(e){"use strict";var t={name:"sv",weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},7285(e,t,o){e.exports=function(e){"use strict";var t={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},92572(e,t,o){e.exports=function(e){"use strict";var t={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},33744(e,t,o){e.exports=function(e){"use strict";var t={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},24398(e,t,o){e.exports=function(e){"use strict";var t={name:"tet",weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),weekStart:1,weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},70522(e,t,o){e.exports=function(e){"use strict";var t={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},8235(e,t,o){e.exports=function(e){"use strict";var t={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},7022(e,t,o){e.exports=function(e){"use strict";var t={name:"tk",weekdays:"\xddekşenbe_Duşenbe_Sişenbe_\xc7arşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"\xddek_Duş_Siş_\xc7ar_Pen_Ann_Şen".split("_"),weekdaysMin:"\xddk_Dş_Sş_\xc7r_Pn_An_Şn".split("_"),months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s \xf6ň",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},50516(e,t,o){e.exports=function(e){"use strict";var t={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},61615(e,t,o){e.exports=function(e){"use strict";var t={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},20117(e,t,o){e.exports=function(e){"use strict";var t={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},65365(e,t,o){e.exports=function(e){"use strict";var t={name:"tzl",weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},91134(e,t,o){e.exports=function(e){"use strict";var t={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},56406(e,t,o){e.exports=function(e){"use strict";var t={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},90769(e,t,o){e.exports=function(e){"use strict";var t={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},891(e,t,o){e.exports=function(e){"use strict";var t="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),o="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),l=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function n(e,t,o){var l,n;return"m"===o?t?"хвилина":"хвилину":"h"===o?t?"година":"годину":e+" "+(l=+e,n=({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"})[o].split("_"),l%10==1&&l%100!=11?n[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?n[1]:n[2])}var a=function(e,n){return l.test(n)?t[e.month()]:o[e.month()]};a.s=o,a.f=t;var r={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:a,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:n,hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(r,null,!0),r}(o(91815))},97084(e,t,o){e.exports=function(e){"use strict";var t={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},42828(e,t,o){e.exports=function(e){"use strict";var t={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},13476(e,t,o){e.exports=function(e){"use strict";var t={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},28962(e,t,o){e.exports=function(e){"use strict";var t={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ s\xe1u_thứ bảy".split("_"),months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"v\xe0i gi\xe2y",m:"một ph\xfat",mm:"%d ph\xfat",h:"một giờ",hh:"%d giờ",d:"một ng\xe0y",dd:"%d ng\xe0y",M:"một th\xe1ng",MM:"%d th\xe1ng",y:"một năm",yy:"%d năm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},73490(e,t,o){e.exports=function(e){"use strict";var t={name:"x-pseudo",weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),weekStart:1,weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},73739(e,t,o){e.exports=function(e){"use strict";var t={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},35483(e,t,o){e.exports=function(e){"use strict";var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},56275(e,t,o){e.exports=function(e){"use strict";var t={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},30747(e,t,o){e.exports=function(e){"use strict";var t={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},76485(e,t,o){e.exports=function(e){"use strict";var t={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(o(91815))},68817(e,t,o){var l={"./en-nz":"12733","./bi.js":"31022","./id.js":"13014","./km":"76355","./he.js":"60220","./me":"76673","./tk":"7022","./ko.js":"35845","./tet.js":"24398","./es-do":"29513","./ku":"75227","./hr":"88313","./zh-tw.js":"30747","./hy-am":"62787","./am.js":"22933","./en-in":"62990","./de-at":"52556","./pt-br":"56704","./ar-iq.js":"70071","./en-sg":"35635","./zh":"76485","./en-il.js":"82756","./lo":"85498","./tlh":"61615","./mi.js":"60405","./el":"38562","./ur.js":"97084","./sq":"53975","./pa-in.js":"69054","./ar-kw.js":"83899","./fr-ca.js":"38572","./de-ch.js":"45498","./ru":"88090","./eo.js":"84463","./nb":"97295","./br":"93939","./fo":"24596","./zh.js":"76485","./vi":"28962","./fr-ch.js":"73115","./ms-my":"22194","./es-pr":"90554","./bo.js":"64600","./ht.js":"95571","./lo.js":"85498","./my.js":"39301","./et":"81642","./br.js":"93939","./gu":"99887","./it-ch":"47488","./sv-fi":"32442","./ne.js":"93614","./zh-cn.js":"35483","./gom-latn.js":"24146","./bg.js":"6160","./mr.js":"25956","./cv.js":"11718","./lt.js":"90527","./pt":"18571","./th.js":"8235","./cs.js":"40201","./es.js":"85331","./bn.js":"11407","./ar-tn":"51107","./mi":"60405","./sr.js":"95050","./tr":"20117","./bn-bd":"9986","./fa.js":"35626","./it":"59302","./nl":"92549","./zh-hk":"56275","./fo.js":"24596","./bs.js":"85836","./ja.js":"36830","./my":"39301","./es-do.js":"29513","./gl":"15744","./nl-be.js":"80447","./en-ca.js":"66825","./tzm-latn.js":"91134","./types.d.ts":"73330","./ru.js":"88090","./sq.js":"53975","./cv":"11718","./km.js":"76355","./fa":"35626","./cs":"40201","./ms":"25227","./types.d":"73330","./ca":"663","./tr.js":"20117","./x-pseudo":"73490","./tzm-latn":"91134","./kn":"5126","./jv":"70991","./ms-my.js":"22194","./ht":"95571","./be":"59834","./gd":"79592","./en-au":"7435","./ka":"24239","./ka.js":"24239","./ur":"97084","./sv.js":"79094","./zh-cn":"35483","./pl.js":"38803","./hi":"69112","./ug-cn":"90769","./ar-kw":"83899","./dv.js":"53033","./id":"13014","./dv":"53033","./vi.js":"28962","./de-ch":"45498","./en-in.js":"62990","./es-pr.js":"90554","./es-us.js":"61520","./ar-iq":"70071","./fi.js":"2386","./ca.js":"663","./ms.js":"25227","./zh-tw":"30747","./bs":"85836","./rw.js":"67664","./fy":"33122","./uz-latn":"42828","./mt.js":"81794","./fr.js":"25287","./hu":"90348","./lv.js":"86049","./sr-cyrl.js":"18197","./tzl":"65365","./mn":"20256","./pa-in":"69054","./nl-be":"80447","./kk":"3529","./en-tt":"41853","./ar-ly.js":"30674","./hr.js":"88313","./kk.js":"3529","./ar":"95000","./ar-dz.js":"79399","./ar-sa":"80633","./nl.js":"92549","./cy":"18383","./en-ie":"87651","./lb.js":"82701","./ar-ly":"30674","./de.js":"7424","./am":"22933","./lv":"86049","./tg":"70522","./de-at.js":"52556","./sl":"30308","./tg.js":"70522","./ky.js":"87287","./kn.js":"5126","./bo":"64600","./da":"65996","./ss.js":"84537","./uz":"13476","./fr-ch":"73115","./sk":"77329","./hu.js":"90348","./sr":"95050","./he":"60220","./uk.js":"891","./es-mx":"26601","./se.js":"18851","./oc-lnc":"51099","./pt-br.js":"56704","./rw":"67664","./ar-sa.js":"80633","./nb.js":"97295","./fr-ca":"38572","./hi.js":"69112","./gl.js":"15744","./en-ie.js":"87651","./me.js":"76673","./fy.js":"33122","./ar.js":"95000","./az":"52912","./lt":"90527","./en":"50104","./ro.js":"74856","./sw":"7285","./te.js":"33744","./tl-ph.js":"50516","./es-mx.js":"26601","./ky":"87287","./it.js":"59302","./zh-hk.js":"56275","./da.js":"65996","./te":"33744","./mt":"81794","./lb":"82701","./uz-latn.js":"42828","./ml.js":"24874","./en-sg.js":"35635","./uz.js":"13476","./tzm.js":"56406","./tet":"24398","./oc-lnc.js":"51099","./az.js":"52912","./en-au.js":"7435","./fr":"25287","./gd.js":"79592","./yo.js":"73739","./nn":"60803","./bm":"37218","./index.d.ts":"84687","./sw.js":"7285","./af":"35796","./en-il":"82756","./eu":"78073","./et.js":"81642","./rn":"93119","./se":"18851","./sv-fi.js":"32442","./gu.js":"99887","./gom-latn":"24146","./pl":"38803","./ar-dz":"79399","./ar-ma":"81067","./eu.js":"78073","./ss":"84537","./tk.js":"7022","./es-us":"61520","./bi":"31022","./ug-cn.js":"90769","./mn.js":"20256","./pt.js":"18571","./cy.js":"18383","./mr":"25956","./ga.js":"35035","./ko":"35845","./ku.js":"75227","./af.js":"35796","./hy-am.js":"62787","./es":"85331","./ml":"24874","./en-ca":"66825","./bn":"11407","./ga":"35035","./is.js":"78983","./sd.js":"79740","./sl.js":"30308","./tlh.js":"61615","./tl-ph":"50516","./uk":"891","./x-pseudo.js":"73490","./is":"78983","./jv.js":"70991","./el.js":"38562","./fi":"2386","./bn-bd.js":"9986","./en-gb":"8420","./en-gb.js":"8420","./mk":"44915","./ne":"93614","./ro":"74856","./mk.js":"44915","./si":"48399","./tzm":"56406","./be.js":"59834","./de":"7424","./rn.js":"93119","./si.js":"48399","./yo":"73739","./bg":"6160","./en.js":"50104","./sv":"79094","./th":"8235","./bm.js":"37218","./nn.js":"60803","./ar-ma.js":"81067","./index.d":"84687","./ja":"36830","./ta.js":"92572","./ar-tn.js":"51107","./sd":"79740","./sk.js":"77329","./tzl.js":"65365","./en-nz.js":"12733","./eo":"84463","./ta":"92572","./en-tt.js":"41853","./it-ch.js":"47488","./sr-cyrl":"18197"};function n(e){return Promise.resolve().then(function(){if(!o.o(l,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}var n=l[e];return o.t(n,23)})}n.keys=()=>Object.keys(l),n.id=68817,e.exports=n},84687(){},73330(){},42536(e,t,o){o.d(t,{AY:()=>v,GL:()=>g,Ik:()=>D,N5:()=>f,X0:()=>k,Zj:()=>P,aK:()=>A,bq:()=>b,fr:()=>j,gU:()=>y,j:()=>S,mu:()=>T,rR:()=>_,uM:()=>w,v6:()=>M,w0:()=>x,xy:()=>I,yb:()=>F});var l=o(71178),n=o(11340),a=o(56920),r=o(77583),i=o(51649),s=o(16211),d=o(82976),u=o(78406),c=o(28227),p=o(23460),m=o(82924),h=o(17157);n.J6;let x=(0,i.createContext)({});x.displayName="ACLContext";let v=e=>(0,l.jsx)(m.t6u,{components:{ACLCollectionFieldProvider:T,ACLActionProvider:A,ACLMenuItemProvider:D,ACLCollectionProvider:F},children:e.children}),_=e=>{let{setDesignable:t}=(0,m.erX)(),{render:o}=(0,d.v)(),n=(0,s.VB)(),a=(0,h.nm)(),r=(0,s.bP)({url:"roles:check"},{onSuccess(e){var o,l,r,i;a.context.acl&&(a.context.acl.setData((null==e?void 0:e.data)||{}),a.context.acl.setMeta((null==e?void 0:e.meta)||{})),(null==e||null==(o=e.data)?void 0:o.snippets.includes("ui.*"))||t(!1),(null==e||null==(l=e.data)?void 0:l.role)!==n.auth.role&&n.auth.setRole(null==e||null==(i=e.data)?void 0:i.role),a.pluginSettingsManager.setAclSnippets((null==e||null==(r=e.data)?void 0:r.snippets)||[])}});return r.loading?o():(0,l.jsx)(x.Provider,{value:r,children:e.children})},f=()=>{let e=(0,i.useContext)(x),{allowAll:t}=M();return()=>{t||e.refresh()}},g=()=>{var e,t;let o=(0,i.useContext)(x);return null==o||null==(t=o.data)||null==(e=t.data)?void 0:e.roleMode},b=()=>(0,i.useContext)(x),y=(0,i.createContext)({});y.displayName="ACLActionParamsContext";let S=(0,i.createContext)({});S.displayName="ACLCustomContext";let k=()=>{var e,t,o;let l=(0,i.useContext)(x),n=(0,p.Mp)(),{dataSources:a}=(null==l||null==(e=l.data)?void 0:e.meta)||{},s={...null==l||null==(t=l.data)?void 0:t.data,...(0,r.omit)(null==a?void 0:a[n],"snippets")},d=(0,i.useCallback)(e=>{var t;let o=e.split(":").pop();return(null==s||null==(t=s.actionAlias)?void 0:t[o])||o},[null==s?void 0:s.actionAlias]);return{data:s,getActionAlias:d,inResources:(0,i.useCallback)(e=>{var t,o;return null==s||null==(o=s.resources)||null==(t=o.includes)?void 0:t.call(o,e)},[null==s?void 0:s.resources]),getResourceActionParams:(0,i.useCallback)(e=>{var t,o;let[l]=e.split(":"),n=d(e);return(null==s||null==(t=s.actions)?void 0:t[`${l}:${n}`])||(null==s||null==(o=s.actions)?void 0:o[e])},[null==s?void 0:s.actions,d]),getStrategyActionParams:(0,i.useCallback)(e=>{var t,o;let l=d(e);return(null==s||null==(o=s.strategy)||null==(t=o.actions)?void 0:t.find(e=>{let[t]=e.split(":");return t===l}))?{}:null},[null==s||null==(o=s.strategy)?void 0:o.actions,d])}},C=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{schema:o,recordPkValue:l}=t,n=!1;return t.ignoreScope&&(n=!0),(null==o?void 0:o["x-acl-ignore-scope"])&&(n=!0),(null==o||null==(e=o["x-acl-action-props"])?void 0:e.skipScopeCheck)&&(n=!0),l||(n=!0),n};function M(){var e,t,o,l;let n,a,{data:r,getActionAlias:s,inResources:d,getResourceActionParams:p,getStrategyActionParams:m}=k(),h=(n=(0,u.br)(),a=(0,c._J)(),(null==n||null==(t=n.data)||null==(e=t.meta)?void 0:e.allowedActions)||(null==a||null==(l=a.data)||null==(o=l.meta)?void 0:o.allowedActions)),x=(0,c.r2)(),v=(0,i.useCallback)((e,t)=>{let o=s(e);return Array.isArray(null==h?void 0:h[o])?h[o].includes(t):null},[h,s]);return{...r,snippets:(null==r?void 0:r.snippets)||[],parseAction:(0,i.useCallback)(function(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,n]=(null==e?void 0:e.split(":"))||[],a=(null==l?void 0:l.includes("."))&&(null==(t=x.getCollectionField(l))?void 0:t.target);if(!C(o)){let e=v(n,o.recordPkValue);if(null!==e)return e?{}:null}return(null==r?void 0:r.allowAll)?{}:d(a)?p(`${a}:${n}`):d(l)?p(e):m(e)},[x,null==r?void 0:r.allowAll,p,m,d,v])}}function w(){let{allowAll:e,snippets:t}=M();return{allowConfigUI:e||t.includes("ui.*")}}let F=e=>{var t,o;let{allowAll:n,parseAction:r}=M(),{allowAll:s}=(0,i.useContext)(S),d=(0,h.nm)(),u=(0,a.useFieldSchema)(),p=(null==u?void 0:u["x-acl-action"])||e.actionPath,m=(null==u||null==(t=u["x-decorator-props"])?void 0:t.association)||(null==u||null==(o=u["x-decorator-props"])?void 0:o.collection);"undefined:list"===p&&m&&"undefined"!==m&&(p=`${m}:list`);let x=(0,i.useMemo)(()=>p?r(p,{schema:u}):null,[r,p,u]);if(n||d.disableAcl||s)return e.children;if(!p)return(0,l.jsx)(y.Provider,{value:{},children:e.children});if(!x)return(0,l.jsx)(c.b,{});let[v,_]=p.split(":");return x.actionName=_,(0,l.jsx)(y.Provider,{value:x,children:e.children})},P=()=>(0,i.useContext)(y),j=()=>{let e=(0,c.Ge)(),t=(0,c.zv)();if(!e)return;let o=e.getPrimaryKey();return null==t?void 0:t[o]},A=e=>{var t;let o,n,r=(0,c.Ge)(),s=j(),d=(o=(0,u.br)(),(null==(n=(0,c.h6)())?void 0:n.resource)||(null==n?void 0:n.association)||(null==n?void 0:n.collection)||(null==o||null==(t=o.defaultRequest)?void 0:t.resource)),{parseAction:p,uiButtonSchemasBlacklist:m}=M(),h=(0,a.useFieldSchema)(),x=h["x-uid"],v=h["x-acl-action"],_=["create","update","destroy","importXlsx","bulkDestroy","bulkUpdate"];!v&&d&&h["x-action"]&&["create","update","destroy","importXlsx","export"].includes(h["x-action"])&&(v=`${d}:${h["x-action"]}`),!v||(null==v?void 0:v.includes(":"))||(v=`${d}:${v}`);let f=(0,i.useMemo)(()=>v&&p(v,{schema:h,recordPkValue:s}),[p,v,h,s]);return(null==m?void 0:m.includes(x))?(0,l.jsx)(y.Provider,{value:!1,children:e.children}):v&&d?f?_.includes(v)||_.includes(null==v?void 0:v.split(":")[1])?r&&"view"!==r.template||(null==r?void 0:r.writableView)?(0,l.jsx)(y.Provider,{value:f,children:e.children}):(0,l.jsx)(y.Provider,{value:!1,children:e.children}):(0,l.jsx)(y.Provider,{value:f,children:e.children}):(0,l.jsx)(y.Provider,{value:f,children:e.children}):(0,l.jsx)(l.Fragment,{children:e.children})},I=()=>{let e=(0,i.useContext)(y),t=(0,i.useMemo)(()=>[].concat((null==e?void 0:e.whitelist)||[]).concat((null==e?void 0:e.fields)||[]).concat((null==e?void 0:e.appends)||[]),[null==e?void 0:e.whitelist,null==e?void 0:e.fields,null==e?void 0:e.appends]);return{whitelist:t,schemaInWhitelist:(0,i.useCallback)((e,o)=>{if(o||0===t.length||!e||!e["x-collection-field"])return!0;let[l,n]=e["x-collection-field"].split("."),[a]=e.name.split(".");return null==t?void 0:t.includes(a||n||l)},[t])}},T=e=>{let t=(0,a.useFieldSchema)(),o=(0,a.useField)(),{allowAll:n}=M(),{whitelist:r}=I(),[s]=t.name.split("."),d=!!t["x-acl-ignore"]||!(r.length>0)||null==t||!t["x-collection-field"]||r.includes(s);return((0,i.useEffect)(()=>{d||(o.required=!1,o.display="hidden")},[d,o]),n||!t["x-collection-field"]||d)?(0,l.jsx)(l.Fragment,{children:e.children}):null},D=e=>(0,l.jsx)(l.Fragment,{children:e.children})},41906(e,t,o){o.d(t,{GL:()=>n.GL,dn:()=>U,j:()=>n.j,mu:()=>n.mu,mW:()=>G,$S:()=>eo,T:()=>J,Zj:()=>n.Zj,XI:()=>P,Ik:()=>n.Ik,v6:()=>n.v6,OV:()=>V,uM:()=>n.uM,gt:()=>er,w0:()=>n.w0,PO:()=>N,bq:()=>n.bq,gU:()=>n.gU,MO:()=>S,WH:()=>K,yb:()=>n.yb,$k:()=>et,aK:()=>n.aK,xy:()=>n.xy,X0:()=>n.X0,dg:()=>F,tA:()=>en,rR:()=>n.rR,N5:()=>n.N5,AY:()=>n.AY,fr:()=>n.fr,kL:()=>w,jc:()=>A});var l={};o.r(l),o.d(l,{MenuConfigure:()=>S,PermissionContext:()=>F,PermissionProvider:()=>P,RoleConfigure:()=>A,RoleResourceCollectionContext:()=>G,RoleTable:()=>N,RolesResourcesActions:()=>K,ScopeSelect:()=>U,SettingCenterPermissionProvider:()=>w,SettingCenterProvider:()=>et,SettingsCenterConfigure:()=>eo,StrategyActions:()=>J,useRolesResourcesScopesSelectedRowKeys:()=>V});var n=o(42536),a=o(71178),r=o(27404),i=o(52793),s=o(51649),d=o(82924),u=o(77583),c=o(77843),p=o(16211),m=o(41944),h=o(86004),x=o(18226);let v=(0,s.createContext)(null);v.displayName="MenuItemsContext";let _=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[];for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let l=e[o],n={title:l.title,uid:l["x-uid"]};l.properties&&(n.children=_(l.properties)),t.push(n)}return t},f=e=>{var t,o;let l=(0,x.w)(),n={url:`uiSchemas:getProperties/${l}`},r=(0,p.bP)(n);if(r.loading)return(0,a.jsx)(i.Spin,{});let s=_(null==(o=r.data)||null==(t=o.data)?void 0:t.properties);return(0,a.jsx)(v.Provider,{value:{service:r,items:s},children:e.children})},g=e=>{if(!Array.isArray(e))return[];let t=[];for(let o of e)t.push(o.uid),t.push(...g(o.children));return t},b=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return[];for(let l of e){if(o.push(l.uid),t(l))return o;if(l.children){let e=b(l.children,t,o);if(e.length)return e}o.pop()}return[]},y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let o of e)t.push(o.uid),o.children&&o.children.length&&y(o.children,t);return t},S=()=>{let e=(0,m.pE)(),t=(0,p.VB)(),{items:o}=(0,s.useContext)(v),{t:l}=(0,c.useTranslation)(),n=g(o),[r,d]=(0,s.useState)([]),{loading:x,refresh:_}=(0,p.bP)({resource:"roles.menuUiSchemas",resourceOf:e.name,action:"list",params:{paginate:!1}},{onSuccess(e){var t;d((null==e||null==(t=e.data)?void 0:t.map(e=>e["x-uid"]))||[])}}),f=t.resource("roles.menuUiSchemas",e.name),S=n.length===r.length,k=async(e,t)=>{let n=b(o,e=>e.uid===t.uid),a=y(null==t?void 0:t.children,[]);if(e){let e=a.concat(t.uid);d([...r.filter(t=>!e.includes(t))]),await f.remove({values:e})}else{let e=a.concat(n);d(t=>(0,u.uniq)([...t,...e])),await f.add({values:e})}i.message.success(l("Saved successfully"))},C=e=>e.map(e=>{let t=l(e.title);return e.children?{...e,title:t,children:C(e.children)}:{...e,title:t}});return(0,a.jsx)(i.Table,{className:h.c,loading:x,rowKey:"uid",pagination:!1,expandable:{defaultExpandAllRows:!0},columns:[{dataIndex:"title",title:l("Menu item title")},{dataIndex:"accessible",title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Checkbox,{checked:S,onChange:async e=>{S?await f.set({values:[]}):await f.set({values:n}),_(),i.message.success(l("Saved successfully"))}})," ",l("Accessible")]}),render:(e,t)=>{let o=r.includes(t.uid);return(0,a.jsx)(i.Checkbox,{checked:o,onChange:()=>k(o,t)})}}],dataSource:C(o)})};var k=o(44814),C=o(56920),M=o(27741);let w=e=>{var t;let{currentRecord:o}=(0,s.useContext)(F);return(null==o||null==(t=o.snippets)?void 0:t.includes("pm.*"))?(0,a.jsx)("div",{children:e.children}):null},F=(0,s.createContext)(null);F.displayName="PermissionContext";let P=e=>{let t=(0,p.VB)(),o=(0,m.pE)(),{t:l}=(0,c.useTranslation)(),{snippets:n}=o;null==n||n.forEach(e=>{o[e]=!0});let[r,d]=(0,s.useState)(o);return(0,a.jsx)(F.Provider,{value:{currentRecord:r,update:async(e,n)=>{let{path:a,value:s}=e.getState();if(["ui.*","pm","pm.*"].includes(a)){let e=t.resource("roles.snippets",o.name);s?await e.add({values:[a]}):await e.remove({values:[a]}),d({...r,...n.values,[a]:s})}else await t.resource("roles").update({filterByTk:o.name,values:n.values}),d({...r,...n.values});i.message.success(l("Saved successfully"))}},children:e.children})},j=(0,C.connect)(e=>{let{t}=(0,c.useTranslation)();return(0,a.jsxs)(i.Checkbox.Group,{style:{width:"100%",display:"block"},value:e.value,onChange:t=>{let o=["ui.*","pm","pm.*","app"],l=o.map(e=>`!${e}`),n=(0,M.default)([...e.value||[],...t]).filter(e=>e&&!l.includes(e)).map(e=>!o.includes(e)||(null==t?void 0:t.includes(e))?e:`!${e}`);for(let e of o)n.includes(e)||n.includes(`!${e}`)||n.push(`!${e}`);e.onChange(n)},children:[(0,a.jsx)("div",{style:{marginTop:16},children:(0,a.jsx)(i.Checkbox,{value:"ui.*",children:t("Allows to configure interface")})}),(0,a.jsx)("div",{style:{marginTop:8},children:(0,a.jsx)(i.Checkbox,{value:"pm",children:t("Allows to install, activate, disable plugins")})}),(0,a.jsx)("div",{style:{marginTop:8},children:(0,a.jsx)(i.Checkbox,{value:"pm.*",children:t("Allows to configure plugins")})}),(0,a.jsx)("div",{style:{marginTop:8},children:(0,a.jsx)(i.Checkbox,{value:"app",children:t("Allows to clear cache, reboot application")})})]})}),A=()=>{let{update:e,currentRecord:t}=(0,s.useContext)(F),{t:o}=(0,c.useTranslation)();return(0,a.jsx)(d.HvB,{components:{SnippetCheckboxGroup:j},schema:{type:"void",name:"form","x-component":"Form","x-component-props":{useValues:e=>{let o=(0,p.VB)();return(0,p.bP)(()=>o.resource("roles").get({filterByTk:t.name}).then(e=>{var t,o;let l=null==e||null==(t=e.data)?void 0:t.data;return null==(o=l.snippets)||o.forEach(e=>{l[e]=!0}),{data:l}}),e)},effects(){(0,k.onFieldChange)("*",async(t,o)=>{o.modified&&await e(t,o)})}},properties:{snippets:{title:o("Configure permissions"),type:"boolean","x-decorator":"FormItem","x-component":"SnippetCheckboxGroup"},allowNewMenu:{title:o("Menu permissions"),"x-decorator":"FormItem","x-component":"Checkbox","x-content":o("New menu items are allowed to be accessed by default.")}}}})};var I=o(56220),T=o(44374);let D={name:"roles",filterTargetKey:"name",targetKey:"name",fields:[{type:"integer",name:"title",interface:"input",uiSchema:{title:'{{t("Role display name")}}',type:"number","x-component":"Input",required:!0}},{type:"string",name:"name",interface:"input",uiSchema:{title:'{{t("Role UID")}}',type:"string","x-component":"Input"}},{type:"boolean",name:"default",interface:"boolean",uiSchema:{title:'{{t("Default role")}}',type:"boolean","x-component":"Checkbox"}}]},L={type:"object",properties:{block1:{type:"void","x-decorator":"ResourceActionProvider","x-decorator-props":{collection:D,resourceName:"roles",request:{resource:"roles",action:"list",params:{pageSize:50,filter:{"name.$ne":"root"},showAnonymous:!0,sort:["createdAt"],appends:[]}}},"x-component":"CollectionProvider_deprecated","x-component-props":{collection:D},properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{style:{marginBottom:16}},properties:{delete:{type:"void",title:'{{ t("Delete") }}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useBulkDestroyAction }}",confirm:{title:"{{t('Delete role')}}",content:"{{t('Are you sure you want to delete it?')}}"}}},create:{type:"void",title:'{{t("Add role")}}',"x-component":"Action","x-component-props":{type:"primary"},properties:{drawer:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues(e){let t=(0,d.D50)();return(0,p.bP)(()=>Promise.resolve({data:{name:`r_${(0,r.uid)()}`,snippets:["!ui.*","!pm","!pm.*"]}}),{...e,refreshDeps:[t.visible]})}},title:'{{t("Add role")}}',properties:{title:{"x-component":"CollectionField","x-decorator":"FormItem"},name:{"x-component":"CollectionField","x-decorator":"FormItem",description:'{{t("Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.")}}'},default:{"x-component":"CollectionField","x-decorator":"FormItem",title:"","x-content":'{{t("Default role")}}'},footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{cancel:{title:'{{t("Cancel")}}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},submit:{title:'{{t("Submit")}}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ cm.useCreateAction }}"}}}}}}}}}},table:{type:"void","x-uid":"input","x-component":"Table.Void","x-component-props":{rowKey:"name",rowSelection:{type:"checkbox"},useDataSource:"{{ cm.useDataSourceFromRAC }}"},properties:{column1:{type:"void","x-decorator":"Table.Column.Decorator","x-component":"Table.Column",properties:{title:{type:"number","x-component":"CollectionField","x-read-pretty":!0}}},column2:{type:"void","x-decorator":"Table.Column.Decorator","x-component":"Table.Column",properties:{name:{type:"string","x-component":"CollectionField","x-read-pretty":!0}}},column3:{type:"void","x-decorator":"Table.Column.Decorator","x-component":"Table.Column",properties:{default:{type:"string","x-component":"CollectionField","x-read-pretty":!0}}},column4:{type:"void",title:'{{t("Actions")}}',"x-component":"Table.Column",properties:{actions:{type:"void","x-component":"Space","x-component-props":{split:"|"},properties:{view:{type:"void",title:'{{t("Configure")}}',"x-component":"Action.Link","x-decorator":"ACLActionProvider","x-acl-action":"roles:update","x-component-props":{},properties:{drawer:{type:"void","x-component":"Action.Drawer","x-decorator":"PermissionProvider",title:'{{t("Configure permissions")}}',properties:{tabs1:{type:"void","x-component":"Tabs","x-component-props":{},properties:{tab1:{type:"void",title:'{{t("General permissions")}}',"x-component":"Tabs.TabPane","x-component-props":{},properties:{role:{"x-component":"RoleConfigure"}}},tab3:{type:"void",title:'{{t("Menu permissions")}}',"x-component":"Tabs.TabPane","x-component-props":{},properties:{menu:{"x-decorator":"MenuItemsProvider","x-component":"MenuConfigure"}}},tab4:{type:"void",title:'{{t("Plugin settings permissions")}}',"x-decorator":"SettingCenterPermissionProvider","x-component":"Tabs.TabPane","x-component-props":{},properties:{menu:{"x-decorator":"SettingCenterProvider","x-component":"SettingsCenterConfigure"}}}}}}}}},update:{type:"void",title:'{{t("Edit")}}',"x-decorator":"ACLActionProvider","x-acl-action":"roles:update","x-component":"Action.Link","x-component-props":{type:"primary"},properties:{drawer:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues:e=>{let t=(0,m.pE)(),o=(0,p.bP)(()=>Promise.resolve({data:(0,eY.default)(t,["title","name","default"])}),{...e,manual:!0}),l=(0,d.D50)();return(0,s.useEffect)(()=>{l.visible&&o.run()},[l.visible]),o}},title:'{{t("Edit role")}}',properties:{title:{"x-component":"CollectionField","x-decorator":"FormItem"},name:{"x-component":"CollectionField","x-decorator":"FormItem","x-disabled":!0},default:{title:"","x-component":"CollectionField","x-decorator":"FormItem","x-content":'{{t("Default role")}}'},footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{cancel:{title:'{{t("Cancel")}}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},submit:{title:'{{t("Submit")}}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ cm.useUpdateAction }}"}}}}}}}},delete:{type:"void",title:'{{ t("Delete") }}',"x-acl-action":"roles:destroy","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-component-props":{confirm:{title:"{{t('Delete role')}}",content:"{{t('Are you sure you want to delete it?')}}"},useAction:"{{cm.useDestroyAction}}"}}}}}}}}}}}},Y=(0,s.createContext)([]);Y.displayName="AvailableActionsContext";let R=e=>{let{data:t,loading:o}=(0,p.bP)({resource:"availableActions",action:"list"});return o?(0,a.jsx)(i.Spin,{}):(0,a.jsx)(Y.Provider,{value:null==t?void 0:t.data,children:e.children})},B=()=>(0,s.useContext)(Y),N=()=>(0,a.jsx)("div",{children:(0,a.jsx)(d.u4V.Provider,{value:{designable:!1},children:(0,a.jsx)(R,{children:(0,a.jsx)(d.HvB,{schema:L,components:{MenuItemsProvider:f,SettingCenterPermissionProvider:w,PermissionProvider:P}})})})});var E=o(69412),$=o(99300);let z={name:"rolesResourcesScopes",fields:[{type:"string",name:"name",interface:"input",uiSchema:{title:'{{t("Scope name")}}',type:"string","x-component":"Input",required:!0}}]},O={type:"object",properties:{scope:{"x-component":"RecordPicker","x-component-props":{size:"small",fieldNames:{label:"name",value:"id"},multiple:!1,association:{target:"rolesResourcesScopes"},onChange:"{{ onChange }}"},properties:{selector:{type:"void",title:'{{ t("Select record") }}',"x-component":"RecordPicker.Selector","x-component-props":{className:"nb-record-picker-selector"},properties:{tableBlock:{type:"void","x-decorator":"TableSelectorProvider","x-decorator-props":{collection:z,resource:"rolesResourcesScopes",action:"list",params:{pageSize:20},useParams:()=>({filter:{$or:[{resourceName:(0,s.useContext)(G).name},{resourceName:null}]}}),rowKey:"id"},"x-component":"BlockItem",properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{style:{marginBottom:16}},properties:{create:{type:"void",title:'{{ t("Add new") }}',"x-action":"create","x-component":"Action","x-component-props":{icon:"PlusOutlined",openMode:"drawer",type:"primary"},properties:{drawer:{type:"void",title:'{{ t("Add record") }}',"x-component":"Action.Container","x-component-props":{className:"nb-action-popup"},properties:{formBlock:{type:"void","x-decorator":"FormBlockProvider","x-decorator-props":{resource:"rolesResourcesScopes",collection:z},"x-component":"CardItem",properties:{form:{type:"void","x-component":"FormV2","x-use-component-props":()=>{let{name:e}=(0,s.useContext)(G),t=(0,E.Es)();return(0,s.useEffect)(()=>{t.form.setInitialValues({resourceName:e})},[e]),{form:t.form}},properties:{name:{type:"string","x-component":"CollectionField","x-decorator":"FormItem"},scope:{type:"object",title:'{{t("Data scope")}}',name:"filter","x-decorator":"FormItem","x-component":"Filter","x-use-component-props":()=>{let e=(0,s.useContext)(G);return{options:(0,d.uwA)(e.name)}},"x-component-props":{dynamicComponent:$.P8}},actions:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column",style:{marginTop:24}},properties:{create:{title:'{{ t("Submit") }}',"x-action":"submit","x-component":"Action","x-use-component-props":"useCreateActionProps","x-component-props":{type:"primary",htmlType:"submit"}}}}}}}}}}}}}},value:{type:"array","x-component":"TableV2.Selector","x-use-component-props":"useTableSelectorProps","x-component-props":{rowKey:"id",rowSelection:{type:"checkbox"}},properties:{column1:{type:"void","x-decorator":"TableV2.Column.Decorator","x-component":"TableV2.Column",properties:{name:{type:"string","x-component":"CollectionField","x-read-pretty":!0}}},actions:{type:"void",title:'{{ t("Actions") }}',"x-action-column":"actions","x-component":"TableV2.Column",properties:{actions:{type:"void","x-decorator":"DndContext","x-component":"Space","x-component-props":{split:"|"},properties:{edit:{type:"void",title:'{{ t("Edit") }}',"x-action":"update","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-component-props":{openMode:"drawer"},properties:{drawer:{type:"void",title:'{{ t("Edit record") }}',"x-component":"Action.Container","x-component-props":{className:"nb-action-popup"},properties:{formBlock:{type:"void","x-decorator":"FormBlockProvider","x-decorator-props":{resource:"rolesResourcesScopes",collection:z,action:"get",useParams:"{{ useParamsFromRecord }}"},"x-component":"CardItem",properties:{form:{type:"void","x-component":"FormV2","x-use-component-props":"useFormBlockProps",properties:{name:{type:"string","x-component":"CollectionField","x-decorator":"FormItem"},scope:{type:"object",title:'{{t("Data scope")}}',name:"filter","x-decorator":"FormItem","x-component":"Filter","x-use-component-props":()=>{let e=(0,s.useContext)(G);return{options:(0,d.uwA)(e.name)}},"x-component-props":{dynamicComponent:$.P8}},actions:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column",style:{marginTop:24}},properties:{update:{title:'{{ t("Submit") }}',"x-action":"submit","x-component":"Action","x-use-component-props":"useUpdateActionProps","x-component-props":{type:"primary",htmlType:"submit"}}}}}}}}}}}},destroy:{title:'{{ t("Delete") }}',"x-action":"destroy","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-use-component-props":"useDestroyActionProps","x-component-props":{icon:"DeleteOutlined",confirm:{title:"{{t('Delete record')}}",content:"{{t('Are you sure you want to delete it?')}}"}}}}}}}}}}},footer:{"x-component":"Action.Container.Footer","x-component-props":{},properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{},properties:{submit:{title:'{{ t("Submit") }}',"x-action":"submit","x-component":"Action","x-use-component-props":"usePickActionProps","x-component-props":{type:"primary",htmlType:"submit"}}}}}}}}}}}},q=(0,s.createContext)(null);q.displayName="RolesResourcesScopesSelectedRowKeysContext";let H=e=>{let[t,o]=(0,s.useState)([]);return(0,a.jsx)(q.Provider,{value:[t,o],children:e.children})},V=()=>(0,s.useContext)(q),U=e=>{let t=(0,s.useMemo)(()=>(0,k.createForm)({values:{scope:e.value}}),[]);return(0,a.jsx)(d.OpO,{form:t,children:(0,a.jsx)(d.HvB,{components:{RolesResourcesScopesSelectedRowKeysProvider:H},scope:{onChange(t){var o;null==e||null==(o=e.onChange)||o.call(e,t)}},schema:O})})},G=(0,s.createContext)({});G.displayName="RoleResourceCollectionContext";let K=(0,C.connect)(e=>{var t,o,l,n,r,s;let d,p=t=>{let o=t.map(e=>({...e,scope:(0,u.isEmpty)(e.scope)?null:e.scope}));e.onChange(o)};(0,C.useForm)();let m=(0,T.useRecord)(),x=B(),{getCollection:v,getCollectionFields:_}=(0,T.useCollectionManager_deprecated)(),f=v(m.collectionName),g=_(m.collectionName),b=(0,T.useCompile)(),{t:y}=(0,c.useTranslation)(),S=(r=(0,C.useField)().value||[],d={},null==r||null==(s=r.forEach)||s.call(r,e=>{e.name&&(d[e.name]=e,d[e.name].scope=(0,u.isEmpty)(e.scope)?null:e.scope)}),d),k=(e,t)=>{var o;let l=null==S?void 0:S[e];return!!l&&(null==l||null==(o=l.fields)?void 0:o.includes(t))},M=x.filter(e=>e.allowConfigureFields),w=null==g||null==(t=g.filter(e=>e.interface))?void 0:t.map(e=>{let t={...e};for(let o of M)t[o.name]=k(o.name,e.name);return t}),F=e=>{if(S[e])delete S[e];else{var t,o;S[e]={name:e,fields:null==g||null==(o=g.filter(e=>e.interface))||null==(t=o.map)?void 0:t.call(o,e=>e.name)}}p(Object.values(S))},P={};for(let e of M)P[e.name]=(null==g||null==(o=g.filter(e=>e.interface))?void 0:o.length)===(null==S||null==(n=S[e.name])||null==(l=n.fields)?void 0:l.length);return(0,a.jsx)("div",{children:(0,a.jsx)(G.Provider,{value:f,children:(0,a.jsxs)(I.FormLayout,{layout:"vertical",children:[(0,a.jsx)(I.FormItem,{label:y("Action permission"),children:(0,a.jsx)(i.Table,{className:h.c,size:"small",pagination:!1,columns:[{dataIndex:"displayName",title:y("Action display name"),render:e=>b(e)},{dataIndex:"onNewRecord",title:y("Action type"),render:e=>e?(0,a.jsx)(i.Tag,{color:"green",children:y("Action on new records")}):(0,a.jsx)(i.Tag,{color:"geekblue",children:y("Action on existing records")})},{dataIndex:"enabled",title:y("Allow"),render:(e,t)=>(0,a.jsx)(i.Checkbox,{checked:e,onChange:()=>{F(t.name)}})},{dataIndex:"scope",title:y("Data scope"),render:(e,t)=>!t.onNewRecord&&(0,a.jsx)(U,{value:e,onChange:e=>{var o;o=t.name,S[o]?(S[o].scope=e,p(Object.values(S))):(F(o),S[o].scope=e)}})}],dataSource:null==x?void 0:x.map(e=>{let t=!1,o=null;return S[e.name]&&(t=!0,e.onNewRecord||(o=S[e.name].scope)),{...e,enabled:t,scope:o}})})}),(0,a.jsx)(I.FormItem,{label:y("Field permission"),children:(0,a.jsx)(i.Table,{className:h.c,pagination:!1,dataSource:w,columns:[{dataIndex:["uiSchema","title"],title:y("Field display name"),render:e=>b(e)},...M.map(e=>{let t=null==P?void 0:P[e.name];return{dataIndex:e.name,title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Checkbox,{checked:t,onChange:()=>{let o=S[e.name]||{name:e.name};if(t)o.fields=[];else{var l;o.fields=null==g||null==(l=g.map)?void 0:l.call(g,e=>e.name)}S[e.name]=o,p(Object.values(S))}})," ",b(e.displayName)]}),render:(t,o)=>(0,a.jsx)(i.Checkbox,{checked:t,"aria-label":`${e.name}_checkbox`,onChange:()=>{let l=S[e.name]||{name:e.name},n=l.fields||[];if(t){let e=n.indexOf(o.name);n.splice(e,1)}else n.push(o.name);l.fields=n,S[e.name]=l,p(Object.values(S))}})}})]})})]})})})}),W=e=>{let t=[];for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let l=e[o];"all"===l?t.push(o):t.push(`${o}:${l}`)}return t},J=(0,C.connect)(e=>{let{onChange:t}=e,o=B(),l=(0,T.useCompile)(),{t:n}=(0,c.useTranslation)(),r=(e=>{var t;if(!e)return{};let o={};return null==e||null==(t=e.forEach)||t.call(e,e=>{let[t,l]=e.split(":");o[t]=l||"all"}),o})((0,C.useField)().value);return(0,a.jsx)("div",{children:(0,a.jsx)(i.Table,{size:"small",pagination:!1,rowKey:"name",columns:[{dataIndex:"displayName",title:n("Action display name"),render:e=>l(e)},{dataIndex:"onNewRecord",title:n("Action type"),render:e=>e?(0,a.jsx)(i.Tag,{color:"green",children:n("Action on new records")}):(0,a.jsx)(i.Tag,{color:"geekblue",children:n("Action on existing records")})},{dataIndex:"enabled",title:n("Allow"),render:(e,o)=>(0,a.jsx)(i.Checkbox,{checked:e,"aria-label":`${o.name}_checkbox`,onChange:l=>{e?delete r[o.name]:r[o.name]="all",t(W(r))}})},{dataIndex:"scope",title:n("Data scope"),render:(e,o)=>!o.onNewRecord&&(0,a.jsx)(i.Select,{"data-testid":"select-data-scope",popupMatchSelectWidth:!1,size:"small",value:e,options:[{label:n("All records"),value:"all"},{label:n("Own records"),value:"own"}],onChange:e=>{r[o.name]=e,t(W(r))}})}],dataSource:null==o?void 0:o.map(e=>{let t="all",o=!1;return r[e.name]&&(o=!0,t=r[e.name]),{...e,enabled:o,scope:t}})})})});var X=o(17157),Z=o(76028);let Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let o of e)t.push(o.aclSnippet),o.children&&o.children.length&&Q(o.children,t);return t},ee=(0,s.createContext)(null);ee.displayName="SettingMenuContext";let et=e=>{let t=(0,s.useContext)(Z.WS);return(0,a.jsx)(ee.Provider,{value:t,children:e.children})},eo=()=>{let e=(0,X.nm)(),t=(0,m.pE)(),o=(0,p.VB)(),l=(0,d.lum)(),n=e.pluginSettingsManager.getList(!1),r=e.pluginSettingsManager.getAclSnippets(),[x,v]=(0,s.useState)([]),_=(0,s.useMemo)(()=>x.includes("pm.*")&&x.every(e=>!e.startsWith("!pm.")),[x]),{t:f}=(0,c.useTranslation)(),{loading:g,refresh:b}=(0,p.bP)({resource:"roles.snippets",resourceOf:t.name,action:"list",params:{paginate:!1}},{onSuccess(e){v((null==e?void 0:e.data)||[])}}),y=o.resource("roles.snippets",t.name),S=async(e,t)=>{let o=Q(null==t?void 0:t.children,[]).concat(t.aclSnippet);e?await y.add({values:o.map(e=>"!"+e)}):await y.remove({values:o.map(e=>"!"+e)}),b(),i.message.success(f("Saved successfully"))};return(0,a.jsx)(i.Table,{className:h.c,loading:g,rowKey:"key",pagination:!1,expandable:{defaultExpandAllRows:!0},columns:[{dataIndex:"title",title:f("Plugin name"),render:e=>l(e)},{dataIndex:"accessible",title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Checkbox,{checked:_,onChange:async()=>{let e=r.map(e=>"!"+e);_?await y.add({values:e}):await y.remove({values:e}),b(),i.message.success(f("Saved successfully"))}})," ",f("Accessible")]}),render:(e,t)=>{let o=!x.includes("!"+t.aclSnippet);return(0,a.jsx)(i.Checkbox,{checked:o,onChange:()=>S(o,t)})}}],dataSource:n.filter(e=>!1!==e.isTopLevel).map(e=>!1!==e.showTabs?e:(0,u.omit)(e,"children"))})},el={type:"object",properties:{[(0,r.uid)()]:{"x-component":"RoleTable"}}},en=()=>(0,a.jsx)(i.Card,{"data-testid":"acl-pane-card",bordered:!1,children:(0,a.jsx)(d.HvB,{components:l,schema:el})});var ea=o(83468);class er extends ea.k{async load(){this.app.addComponents({ACLCollectionFieldProvider:n.mu,ACLActionProvider:n.aK,ACLMenuItemProvider:n.Ik,ACLCollectionProvider:n.yb})}}},86004(e,t,o){o.d(t,{c:()=>n});var l=o(10691);let n=(0,l.css)`
4
4
  .ant-table-cell {
5
5
  > .ant-space-horizontal {
6
6
  .ant-space-item-split:has(+ .ant-space-item:empty) {
@@ -84,11 +84,11 @@ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import
84
84
  height: 25px;
85
85
  }
86
86
  }
87
- `},properties:{info:{type:"string","x-component":"div","x-content":"{{t('Are you sure you want to delete it?')}}"},cascade:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox",default:!1,"x-content":p("Automatically drop objects that depend on the collection (such as views), and in turn all objects that depend on those objects")},footer:{type:"void","x-component":"Action.Modal.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ useCancelAction }}"}},action2:{title:'{{ t("Ok") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ useDestroyCollectionAction }}",style:{marginLeft:"8px"}}}}}}}}},components:{...l},scope:{getContainer:o,useDestroyCollectionAction:i?eR:s||eY,useCancelAction:n.useCancelAction,...t}})]})})};eE.displayName="DeleteCollectionAction";let e$=()=>((0,b.D50)(),{async run(){}}),ez=()=>{let{getInterface:e}=(0,S.nj)(),[t,o]=(0,v.useState)(!1),[n,a]=(0,v.useState)({}),r=(0,b.lum)(),i=O(),{t:s}=(0,_.useTranslation)(),p=(0,v.useMemo)(()=>i.map(e=>{let t=e.children.map(e=>({label:r(e.title),key:e.name}));return{label:r(e.label),key:e.key,children:t}}),[i]),y=(0,v.useMemo)(()=>({style:{maxHeight:"60vh",overflow:"auto"},onClick:t=>{a((e=>{if(!e)return;let t=(0,x.cloneDeep)(e.properties),o={name:`f_${(0,m.uid)()}`,...(0,x.cloneDeep)(e.default),interface:e.name};return{type:"object",properties:{[(0,m.uid)()]:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues:e=>(0,f.bP)(()=>Promise.resolve({data:o}),e)},title:'{{ t("Add field") }}',properties:{...t,footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},action2:{title:'{{ t("Submit") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ ds.useCreateAction }}"}}}}}}}}})(e(t.key))),o(!0)},items:p}),[p]),k=(0,et.zv)();return(0,d.jsxs)(b.z45,{value:{visible:t,setVisible:o},children:[(0,d.jsx)(h.Dropdown,{menu:y,children:(0,d.jsx)(h.Button,{icon:(0,d.jsx)(u.PlusOutlined,{}),type:"primary",children:s("Add field")})}),(0,d.jsx)(g.B4,{record:{},parent:k,children:(0,d.jsx)(b.HvB,{schema:n,components:{...l,ArrayTable:c.ArrayTable},scope:{createOnly:!0,useCreateSubField:e$}})})]})},eO=()=>{let e=(0,p.useForm)(),{run:t}=(0,n.useUpdateAction)(),{refreshCM:o}=(0,S.nj)();return{async run(){var l,n,a;await e.submit();let r=(null==e||null==(a=e.values)||null==(n=a.uiSchema)||null==(l=n.enum)?void 0:l.slice())||[];e.setValuesIn("uiSchema.enum",r.map(e=>({value:(0,m.uid)(),...e}))),await t(),await o()}}},eq=e=>{let t=(0,g.pE)(),{getInterface:o}=(0,S.nj)(),[n,a]=(0,v.useState)(!1),[r,i]=(0,v.useState)({});(0,f.VB)();let{t:s}=(0,_.useTranslation)();return(0,d.jsxs)(b.z45,{value:{visible:n,setVisible:a},children:[(0,d.jsx)("a",{onClick:async()=>{i((e=>{if(!e)return;let t=(0,K.default)(e.properties);return t.name["x-disabled"]=!0,{type:"object",properties:{[(0,m.uid)()]:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues:t=>(0,f.bP)(()=>Promise.resolve({data:(0,K.default)(e.default)}),t)},title:'{{ t("Edit field") }}',properties:{...t,footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},action2:{title:'{{ t("Submit") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ ds.useUpdateAction }}"}}}}}}}}})({...o(t.interface),default:t})),a(!0)},children:s("Edit")}),(0,d.jsx)(b.HvB,{schema:r,components:{...l,ArrayTable:c.ArrayTable},scope:{useUpdateCollectionField:eO}})]})},eH=e=>{let{t}=(0,_.useTranslation)(),{getInterface:o}=(0,S.nj)(),l=(0,v.useMemo)(()=>o(e.schemaKey),[o,e.schemaKey]);return(0,d.jsx)(ei,{label:t("Field interface"),schema:l})};eH.displayName="FieldSummary";let eV=(0,er.observer)(e=>{let{value:t}=e,{getInterface:o}=(0,S.nj)(),l=(0,b.lum)(),n=o(t);return n?(0,d.jsx)(h.Tag,{children:l(n.title)}):null},{displayName:"CollectionFieldInterfaceTag"}),eU=(0,er.observer)(e=>{let{value:t}=e,o=(0,b.lum)();return(0,d.jsx)(d.Fragment,{children:null==t?void 0:t.map(e=>(0,d.jsx)(h.Tag,{color:e.color,children:o(null==e?void 0:e.name)},e.name))})},{displayName:"CollectionCategory"}),eG=(0,er.observer)(e=>{let{value:t}=e,{getTemplate:o}=(0,S.nj)(),l=(0,b.lum)(),n=o(t);return(0,d.jsx)(h.Tag,{children:l((null==n?void 0:n.title)||'{{t("General collection")}}')})},{displayName:"CollectionTemplateTag"});(0,s.registerValidateFormats)({uid:/^[a-zA-Z][a-zA-Z0-9_-]*$/});var eK=o(36362),eW=o(99982);let eJ=e=>{var t;let{template:o,onSetPrimaryKey:a,values:r,scope:i,getContainer:s,trigger:u,align:_,children:g}=e,[y,S]=(0,v.useState)(!1),[k,M]=(0,v.useState)(),[w,F]=(0,v.useState)({}),[P,j]=(0,v.useState)(""),A=(0,et.m6)(),I=(0,v.useCallback)(e=>null==A?void 0:A.collectionFieldInterfaceManager.getFieldInterface(e),[A]),T=(0,v.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"general";return null==A?void 0:A.collectionTemplateManager.getCollectionTemplate(e)},[A])(o),D=(null==T||null==(t=T.events)?void 0:t.filterPrimaryKeyCandidate)??(()=>!0),L=(0,b.lum)(),{isDialect:Y}=C(),R=O().map(e=>({...e,children:e.children.filter(q).filter(D)})),{availableFieldInterfaces:B}=T??{},N=Object.fromEntries(((null==B?void 0:B.include)??[]).filter(e=>e.targetScope).map(e=>[e.interface,e.targetScope])),E=(0,v.useCallback)(()=>{let{exclude:e,include:t}=B||{};return R.map(o=>{let l,n;return{...o,children:(o.children??[]).filter(e=>!0!==e.hidden).filter((l=(null==t?void 0:t.map(e=>e.interface??e))??[],e=>!(null==t?void 0:t.length)||l.includes(e.name))).filter((n=(null==e?void 0:e.map(e=>e.interface??e))??[],t=>!(null==e?void 0:e.length)||!n.includes(t.name)))}})},[R,B]),$=(0,v.useMemo)(()=>E().filter(e=>{var t;return null==e||null==(t=e.children)?void 0:t.length}).map(e=>({type:"group",key:e.label,label:L(e.label),title:L(e.label),children:null==e?void 0:e.children.map(e=>({key:e.name,label:L(e.title),title:L(e.title)}))})),[E,L]),z=(0,v.useMemo)(()=>({style:{maxHeight:"60vh",overflow:"auto"},onClick:e=>{j(e.key);let t=N[e.key];t&&M(t);let o=((e,t,o,l)=>{var n,a,r,i;if(!t)return;let s=t.getConfigureFormProperties();null==(a=e.events)||null==(n=a.initPrimaryKeyFiledInterface)||n.call(a,s);let d=t.name===(null==o?void 0:o.interface)?{...(0,x.cloneDeep)(t.default),...(0,x.cloneDeep)(o)}:(0,x.cloneDeep)(t.default);d.uiSchema||(d.uiSchema={}),(null==o||null==(r=o.uiSchema)?void 0:r.title)&&(d.uiSchema.title=o.uiSchema.title),(null==o?void 0:o.field)&&(d.field=o.field),(null==o?void 0:o.description)&&(d.description=o.description),(null==(i=d.uiSchema)?void 0:i.title)?d.uiSchema.title=l(d.uiSchema.title):d.uiSchema.title=l('{{t("ID")}}'),d.description&&(d.description=l(d.description??""));let u={name:(null==o?void 0:o.name)??"id",...d,primaryKey:!0,interface:t.name};return{type:"object",properties:{[(0,m.uid)()]:{type:"void","x-component":"Action.Drawer","x-component-props":{getContainer:"{{ getContainer }}"},"x-decorator":"Form","x-decorator-props":{useValues:e=>(0,f.bP)(()=>Promise.resolve({data:u}),e)},title:`${l('{{ t("Set Primary Key") }}')}`,properties:{summary:{type:"void","x-component":"FieldSummary","x-component-props":{schemaKey:t.name}},...s,description:{type:"string",title:'{{t("Description")}}',"x-decorator":"FormItem","x-component":"Input.TextArea"},footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ useCancelAction }}"}},action2:{title:'{{ t("Submit") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ useSetPrimaryKey }}"}}}}}}}}})(T,I(e.key),r,L);o&&(F(o),S(!0))},items:$}),[T,N,I,r,$,L]);return"sql"!==o&&(0,d.jsxs)(b.z45,{value:{visible:y,setVisible:S},children:[(0,d.jsx)(h.Dropdown,{getPopupContainer:s,trigger:u,align:_,menu:z,children:g}),(0,d.jsx)(b.HvB,{schema:w,distributed:!1,components:{...l,ArrayTable:c.ArrayTable},scope:{getContainer:s,useCancelAction:n.useCancelAction,createOnly:!0,isOverride:!1,override:!1,useSetPrimaryKey:()=>{let e=(0,p.useForm)(),t=(0,b.D50)();return{async run(){a(I(P),(0,x.cloneDeep)(e.values)),t.setVisible(!1)}}},showReverseFieldConfig:!0,targetScope:k,isDialect:Y,disabledJSONB:!1,createMainOnly:!0,editMainOnly:!0,primaryKeyOnly:!0,...i}})]})},eX=(e,t,o)=>{var l;if((null==t?void 0:t.template)==="view"||(null==t?void 0:t.template)==="sql")return t.fields;let n=(null==(l=t.fields)?void 0:l.filter(e=>!o.find(t=>t.value.name===e.name)))||[];return e.map(e=>{let t=o.find(t=>t.value.name===e);t&&n.push(t.value)}),n},eZ=(0,p.observer)(e=>{let{getInterface:t}=(0,S.nj)(),o=(0,p.useForm)(),l=(0,e_.useCompile)(),[n,a]=(0,v.useState)([]),{t:r}=(0,_.useTranslation)(),i=(0,e_.useApp)().pm.get("data-source-main").getCollectionPresetFields(),[s,c]=(0,v.useState)(i.map(e=>{let{value:t,description:o}=e;return{field:t.uiSchema.title,interface:t.interface,description:o,name:t.name,primaryKey:t.primaryKey}})),m=(0,v.useRef)(null);(0,v.useEffect)(()=>{m.current=null},[]);let x=()=>{let e=m.current,[t]=s.filter(e=>!0===e.primaryKey);if(!t||!n.includes(t.name)||!e)return;let l=eX(n,o.values,i);if(!(null==l?void 0:l.length))return;let a=l.find(e=>!0===e.primaryKey),r=l.filter(e=>!e.primaryKey);a&&o.setValues({...o.values,fields:[{...e},...r],autoGenId:!1})},f=(e,t)=>{m.current=t,x(),c(o=>{let l=o.findIndex(e=>!0===e.primaryKey);return -1===l?o:(o[l]={field:t.uiSchema.title,interface:t.interface,description:e.primaryKeyDescription,name:t.name,primaryKey:t.primaryKey},[...o])})},g=[{title:r("Field"),dataIndex:"field",key:"field",render:e=>l(e)},{title:r("Interface"),dataIndex:"interface",key:"interface",render:(o,n)=>{var a,r;return!0===n.primaryKey?(0,d.jsx)(eJ,{template:e.template,onSetPrimaryKey:f,values:m.current,children:(0,d.jsx)(h.Tag,{children:(0,d.jsxs)(h.Space,{children:[(0,d.jsx)(u.SettingOutlined,{}),(0,d.jsx)("span",{children:l(null==(a=t(o))?void 0:a.title)}),(0,d.jsx)(u.DownOutlined,{})]})})}):(0,d.jsx)(h.Tag,{children:l(null==(r=t(o))?void 0:r.title)})}},{title:r("Description"),dataIndex:"description",key:"description",render:e=>l(e)}];return(0,v.useEffect)(()=>{a(s.map(e=>e.name)),o.setValues({...o.values,autoGenId:!1})},[s]),(0,v.useEffect)(()=>{let e=eX(n.map(e=>e),o.values,i);o.setValuesIn("fields",e),x()},[n]),(0,d.jsx)(h.Table,{size:"small",pagination:!1,rowKey:"name",bordered:!0,scroll:{x:600},dataSource:s,columns:g,rowSelection:{type:"checkbox",selectedRowKeys:n,getCheckboxProps:t=>{var o,l;return{name:t.name,disabled:(null==e?void 0:e.disabled)||(null==e||null==(l=e.presetFieldsDisabledIncludes)||null==(o=l.includes)?void 0:o.call(l,t.name))}},onChange:(e,t)=>{let l=eX(e,o.values,i);a(e),o.setValues({...o.values,fields:l,autoGenId:!1})}}})},{displayName:"PresetFields"}),eQ={title:{type:"string",title:'{{ t("Collection display name") }}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Collection name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},inherits:{title:'{{t("Inherits")}}',type:"hasMany",name:"inherits","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple"},"x-disabled":"{{ !createOnly }}","x-visible":"{{ enableInherits}}","x-reactions":['{{useAsyncDataSource(loadCollections, ["file"])}}']},category:{title:'{{t("Categories")}}',type:"hasMany",name:"category","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple"},"x-reactions":["{{useAsyncDataSource(loadCategories)}}"]},description:{title:'{{t("Description")}}',type:"string",name:"description","x-decorator":"FormItem","x-component":"Input.TextArea"},simplePaginate:{"x-content":'{{t("Use simple pagination mode")}}',type:"string",name:"simplePaginate","x-decorator":"FormItem","x-component":"Checkbox",description:'{{t("Skip getting the total number of table records during paging to speed up loading. It is recommended to enable this option for data tables with a large amount of data")}}'},presetFields:{title:'{{t("Preset fields")}}',type:"void","x-decorator":"FormItem","x-visible":"{{ createOnly }}","x-decorator-props":{className:(0,eA.css)`
87
+ `},properties:{info:{type:"string","x-component":"div","x-content":"{{t('Are you sure you want to delete it?')}}"},cascade:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox",default:!1,"x-content":p("Automatically drop objects that depend on the collection (such as views), and in turn all objects that depend on those objects")},footer:{type:"void","x-component":"Action.Modal.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ useCancelAction }}"}},action2:{title:'{{ t("Ok") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ useDestroyCollectionAction }}",style:{marginLeft:"8px"}}}}}}}}},components:{...l},scope:{getContainer:o,useDestroyCollectionAction:i?eR:s||eY,useCancelAction:n.useCancelAction,...t}})]})})};eE.displayName="DeleteCollectionAction";let e$=()=>((0,b.D50)(),{async run(){}}),ez=()=>{let{getInterface:e}=(0,S.nj)(),[t,o]=(0,v.useState)(!1),[n,a]=(0,v.useState)({}),r=(0,b.lum)(),i=O(),{t:s}=(0,_.useTranslation)(),p=(0,v.useMemo)(()=>i.map(e=>{let t=e.children.map(e=>({label:r(e.title),key:e.name}));return{label:r(e.label),key:e.key,children:t}}),[i]),y=(0,v.useMemo)(()=>({style:{maxHeight:"60vh",overflow:"auto"},onClick:t=>{a((e=>{if(!e)return;let t=(0,x.cloneDeep)(e.properties),o={name:`f_${(0,m.uid)()}`,...(0,x.cloneDeep)(e.default),interface:e.name};return{type:"object",properties:{[(0,m.uid)()]:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues:e=>(0,f.bP)(()=>Promise.resolve({data:o}),e)},title:'{{ t("Add field") }}',properties:{...t,footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},action2:{title:'{{ t("Submit") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ ds.useCreateAction }}"}}}}}}}}})(e(t.key))),o(!0)},items:p}),[p]),k=(0,et.zv)();return(0,d.jsxs)(b.z45,{value:{visible:t,setVisible:o},children:[(0,d.jsx)(h.Dropdown,{menu:y,children:(0,d.jsx)(h.Button,{icon:(0,d.jsx)(u.PlusOutlined,{}),type:"primary",children:s("Add field")})}),(0,d.jsx)(g.B4,{record:{},parent:k,children:(0,d.jsx)(b.HvB,{schema:n,components:{...l,ArrayTable:c.ArrayTable},scope:{createOnly:!0,useCreateSubField:e$}})})]})},eO=()=>{let e=(0,p.useForm)(),{run:t}=(0,n.useUpdateAction)(),{refreshCM:o}=(0,S.nj)();return{async run(){var l,n,a;await e.submit();let r=(null==e||null==(a=e.values)||null==(n=a.uiSchema)||null==(l=n.enum)?void 0:l.slice())||[];e.setValuesIn("uiSchema.enum",r.map(e=>({value:(0,m.uid)(),...e}))),await t(),await o()}}},eq=e=>{let t=(0,g.pE)(),{getInterface:o}=(0,S.nj)(),[n,a]=(0,v.useState)(!1),[r,i]=(0,v.useState)({});(0,f.VB)();let{t:s}=(0,_.useTranslation)();return(0,d.jsxs)(b.z45,{value:{visible:n,setVisible:a},children:[(0,d.jsx)("a",{onClick:async()=>{i((e=>{if(!e)return;let t=(0,K.default)(e.properties);return t.name["x-disabled"]=!0,{type:"object",properties:{[(0,m.uid)()]:{type:"void","x-component":"Action.Drawer","x-decorator":"Form","x-decorator-props":{useValues:t=>(0,f.bP)(()=>Promise.resolve({data:(0,K.default)(e.default)}),t)},title:'{{ t("Edit field") }}',properties:{...t,footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ cm.useCancelAction }}"}},action2:{title:'{{ t("Submit") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ ds.useUpdateAction }}"}}}}}}}}})({...o(t.interface),default:t})),a(!0)},children:s("Edit")}),(0,d.jsx)(b.HvB,{schema:r,components:{...l,ArrayTable:c.ArrayTable},scope:{useUpdateCollectionField:eO}})]})},eH=e=>{let{t}=(0,_.useTranslation)(),{getInterface:o}=(0,S.nj)(),l=(0,v.useMemo)(()=>o(e.schemaKey),[o,e.schemaKey]);return(0,d.jsx)(ei,{label:t("Field interface"),schema:l})};eH.displayName="FieldSummary";let eV=(0,er.observer)(e=>{let{value:t}=e,{getInterface:o}=(0,S.nj)(),l=(0,b.lum)(),n=o(t);return n?(0,d.jsx)(h.Tag,{children:l(n.title)}):null},{displayName:"CollectionFieldInterfaceTag"}),eU=(0,er.observer)(e=>{let{value:t}=e,o=(0,b.lum)();return(0,d.jsx)(d.Fragment,{children:null==t?void 0:t.map(e=>(0,d.jsx)(h.Tag,{color:e.color,children:o(null==e?void 0:e.name)},e.name))})},{displayName:"CollectionCategory"}),eG=(0,er.observer)(e=>{let{value:t}=e,{getTemplate:o}=(0,S.nj)(),l=(0,b.lum)(),n=o(t);return(0,d.jsx)(h.Tag,{children:l((null==n?void 0:n.title)||'{{t("General collection")}}')})},{displayName:"CollectionTemplateTag"});(0,s.registerValidateFormats)({uid:/^[a-zA-Z][a-zA-Z0-9_-]*$/});var eK=o(36362),eW=o(99982);let eJ=e=>{var t;let{template:o,onSetPrimaryKey:a,values:r,scope:i,getContainer:s,trigger:u,align:_,children:g}=e,[y,S]=(0,v.useState)(!1),[k,M]=(0,v.useState)(),[w,F]=(0,v.useState)({}),[P,j]=(0,v.useState)(""),A=(0,et.m6)(),I=(0,v.useCallback)(e=>null==A?void 0:A.collectionFieldInterfaceManager.getFieldInterface(e),[A]),T=(0,v.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"general";return null==A?void 0:A.collectionTemplateManager.getCollectionTemplate(e)},[A])(o),D=(null==T||null==(t=T.events)?void 0:t.filterPrimaryKeyCandidate)??(()=>!0),L=(0,b.lum)(),{isDialect:Y}=C(),R=O().map(e=>({...e,children:e.children.filter(q).filter(D)})),{availableFieldInterfaces:B}=T??{},N=Object.fromEntries(((null==B?void 0:B.include)??[]).filter(e=>e.targetScope).map(e=>[e.interface,e.targetScope])),E=(0,v.useCallback)(()=>{let{exclude:e,include:t}=B||{};return R.map(o=>{let l,n;return{...o,children:(o.children??[]).filter(e=>!0!==e.hidden).filter((l=(null==t?void 0:t.map(e=>e.interface??e))??[],e=>!(null==t?void 0:t.length)||l.includes(e.name))).filter((n=(null==e?void 0:e.map(e=>e.interface??e))??[],t=>!(null==e?void 0:e.length)||!n.includes(t.name)))}})},[R,B]),$=(0,v.useMemo)(()=>E().filter(e=>{var t;return null==e||null==(t=e.children)?void 0:t.length}).map(e=>({type:"group",key:e.label,label:L(e.label),title:L(e.label),children:null==e?void 0:e.children.map(e=>({key:e.name,label:L(e.title),title:L(e.title)}))})),[E,L]),z=(0,v.useMemo)(()=>({style:{maxHeight:"60vh",overflow:"auto"},onClick:e=>{j(e.key);let t=N[e.key];t&&M(t);let o=((e,t,o,l)=>{var n,a,r,i;if(!t)return;let s=t.getConfigureFormProperties();null==(a=e.events)||null==(n=a.initPrimaryKeyFiledInterface)||n.call(a,s);let d=t.name===(null==o?void 0:o.interface)?{...(0,x.cloneDeep)(t.default),...(0,x.cloneDeep)(o)}:(0,x.cloneDeep)(t.default);d.uiSchema||(d.uiSchema={}),(null==o||null==(r=o.uiSchema)?void 0:r.title)&&(d.uiSchema.title=o.uiSchema.title),(null==o?void 0:o.field)&&(d.field=o.field),(null==o?void 0:o.description)&&(d.description=o.description),(null==(i=d.uiSchema)?void 0:i.title)?d.uiSchema.title=l(d.uiSchema.title):d.uiSchema.title=l('{{t("ID")}}'),d.description&&(d.description=l(d.description??""));let u={name:(null==o?void 0:o.name)??"id",...d,primaryKey:!0,interface:t.name};return{type:"object",properties:{[(0,m.uid)()]:{type:"void","x-component":"Action.Drawer","x-component-props":{getContainer:"{{ getContainer }}"},"x-decorator":"Form","x-decorator-props":{useValues:e=>(0,f.bP)(()=>Promise.resolve({data:u}),e)},title:`${l('{{ t("Set Primary Key") }}')}`,properties:{summary:{type:"void","x-component":"FieldSummary","x-component-props":{schemaKey:t.name}},...s,description:{type:"string",title:'{{t("Description")}}',"x-decorator":"FormItem","x-component":"Input.TextArea"},footer:{type:"void","x-component":"Action.Drawer.Footer",properties:{action1:{title:'{{ t("Cancel") }}',"x-component":"Action","x-component-props":{useAction:"{{ useCancelAction }}"}},action2:{title:'{{ t("Submit") }}',"x-component":"Action","x-component-props":{type:"primary",useAction:"{{ useSetPrimaryKey }}"}}}}}}}}})(T,I(e.key),r,L);o&&(F(o),S(!0))},items:$}),[T,N,I,r,$,L]);return"sql"!==o&&(0,d.jsxs)(b.z45,{value:{visible:y,setVisible:S},children:[(0,d.jsx)(h.Dropdown,{getPopupContainer:s,trigger:u,align:_,menu:z,children:g}),(0,d.jsx)(b.HvB,{schema:w,distributed:!1,components:{...l,ArrayTable:c.ArrayTable},scope:{getContainer:s,useCancelAction:n.useCancelAction,createOnly:!0,isOverride:!1,override:!1,useSetPrimaryKey:()=>{let e=(0,p.useForm)(),t=(0,b.D50)();return{async run(){a(I(P),(0,x.cloneDeep)(e.values)),t.setVisible(!1)}}},showReverseFieldConfig:!0,targetScope:k,isDialect:Y,disabledJSONB:!1,createMainOnly:!0,editMainOnly:!0,primaryKeyOnly:!0,...i}})]})},eX=(e,t,o)=>{var l;if((null==t?void 0:t.template)==="view"||(null==t?void 0:t.template)==="sql")return t.fields;let n=(null==(l=t.fields)?void 0:l.filter(e=>!o.find(t=>t.value.name===e.name)))||[];return e.map(e=>{let t=o.find(t=>t.value.name===e);t&&n.push(t.value)}),n},eZ=(0,p.observer)(e=>{let{getInterface:t}=(0,S.nj)(),o=(0,p.useForm)(),l=(0,e_.useCompile)(),[n,a]=(0,v.useState)([]),{t:r}=(0,_.useTranslation)(),i=(0,e_.useApp)().pm.get("data-source-main").getCollectionPresetFields(),[s,c]=(0,v.useState)(i.map(e=>{let{value:t,description:o}=e;return{field:t.uiSchema.title,interface:t.interface,description:o,name:t.name,primaryKey:t.primaryKey}})),m=(0,v.useRef)(null);(0,v.useEffect)(()=>{m.current=null},[]);let x=()=>{let e=m.current,[t]=s.filter(e=>!0===e.primaryKey);if(!t||!n.includes(t.name)||!e)return;let l=eX(n,o.values,i);if(!(null==l?void 0:l.length))return;let a=l.find(e=>!0===e.primaryKey),r=l.filter(e=>!e.primaryKey);a&&o.setValues({...o.values,fields:[{...e},...r],autoGenId:!1})},f=(e,t)=>{m.current=t,x(),c(o=>{let l=o.findIndex(e=>!0===e.primaryKey);return -1===l?o:(o[l]={field:t.uiSchema.title,interface:t.interface,description:e.primaryKeyDescription,name:t.name,primaryKey:t.primaryKey},[...o])})},g=[{title:r("Field"),dataIndex:"field",key:"field",render:e=>l(e)},{title:r("Interface"),dataIndex:"interface",key:"interface",render:(o,n)=>{var a,r;return!0===n.primaryKey?(0,d.jsx)(eJ,{template:e.template,onSetPrimaryKey:f,values:m.current,children:(0,d.jsx)(h.Tag,{children:(0,d.jsxs)(h.Space,{children:[(0,d.jsx)(u.SettingOutlined,{}),(0,d.jsx)("span",{children:l(null==(a=t(o))?void 0:a.title)}),(0,d.jsx)(u.DownOutlined,{})]})})}):(0,d.jsx)(h.Tag,{children:l(null==(r=t(o))?void 0:r.title)})}},{title:r("Description"),dataIndex:"description",key:"description",render:e=>l(e)}];return(0,v.useEffect)(()=>{a(s.map(e=>e.name)),o.setValues({...o.values,autoGenId:!1})},[s]),(0,v.useEffect)(()=>{let e=eX(n.map(e=>e),o.values,i);o.setValuesIn("fields",e),x()},[n]),(0,d.jsx)(h.Table,{size:"small",pagination:!1,rowKey:"name",bordered:!0,scroll:{x:600},dataSource:s,columns:g,rowSelection:{type:"checkbox",selectedRowKeys:n,getCheckboxProps:t=>{var o,l;return{name:t.name,disabled:(null==e?void 0:e.disabled)||(null==e||null==(l=e.presetFieldsDisabledIncludes)||null==(o=l.includes)?void 0:o.call(l,t.name))}},onChange:(e,t)=>{let l=eX(e,o.values,i);a(e),o.setValues({...o.values,fields:l,autoGenId:!1})}}})},{displayName:"PresetFields"}),eQ={title:{type:"string",title:'{{ t("Collection display name") }}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Collection name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},inherits:{title:'{{t("Inherits")}}',type:"hasMany",name:"inherits","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple"},"x-disabled":"{{ !createOnly }}","x-visible":"{{ enableInherits}}","x-reactions":['{{useAsyncDataSource(loadCollections, ["file"])}}']},category:{title:'{{t("Categories")}}',type:"hasMany",name:"category","x-decorator":"FormItem","x-component":"Select","x-component-props":{mode:"multiple"},"x-reactions":["{{useAsyncDataSource(loadCategories)}}"]},description:{title:'{{t("Description")}}',type:"string",name:"description","x-decorator":"FormItem","x-component":"Input.TextArea"},simplePaginate:{"x-content":'{{t("Use simple pagination mode")}}',type:"string",name:"simplePaginate","x-decorator":"FormItem","x-component":"Checkbox",description:'{{t("Skip getting the total number of table records during paging to speed up loading. It is recommended to enable this option for data tables with a large amount of data")}}'},presetFields:{title:'{{t("Preset fields")}}',type:"void","x-decorator":"FormItem","x-visible":"{{ createOnly }}","x-decorator-props":{className:(0,eA.css)`
88
88
  .ant-formily-item {
89
89
  margin-bottom: 0;
90
90
  }
91
- `},"x-component":eZ,"x-component-props":{template:"{{ template }}",disabled:"{{ presetFieldsDisabled }}",presetFieldsDisabledIncludes:"{{presetFieldsDisabledIncludes}}"}}},e0=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let l={};for(let e of t)eQ[e]&&(l[e]=eQ[e]);return l};var e1=o(29928);class e2 extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="checkbox",this.type="object",this.group="choices",this.order=1,this.title='{{t("Checkbox")}}',this.default={type:"boolean",uiSchema:{type:"boolean","x-component":"Checkbox"}},this.availableTypes=["boolean","integer","bigInt","bit"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps},this.filterable={operators:eW.operators.boolean}}}class e5 extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="checkboxGroup",this.type="object",this.group="choices",this.order=5,this.title='{{t("Checkbox group")}}',this.default={interface:"checkboxGroup",type:"array",defaultValue:[],uiSchema:{type:"string","x-component":"Checkbox.Group"}},this.availableTypes=["array","json"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps,"uiSchema.enum":eW.dataSource},this.filterable={operators:eW.operators.array}}}class e4 extends e1.y{schemaInitialize(e,t){let{block:o}=t,l=e["x-component-props"]=e["x-component-props"]||{};l.style={...l.style||{},width:"100%"},["Table","Kanban"].includes(o)&&(l.ellipsis=!0)}constructor(...e){super(...e),this.name="collection",this.type="string",this.group="advanced",this.order=5,this.title='{{t("Collection selector")}}',this.description='{{t("Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios")}}',this.sortable=!0,this.default={type:"string",uiSchema:{type:"string","x-component":"CollectionSelect"}},this.availableTypes=["string"],this.hasDefaultValue=!1,this.properties={...eW.defaultProps,"uiSchema.enum":eW.collectionDataSource},this.filterable={operators:eW.operators.collection}}}class e7 extends e1.y{constructor(...e){super(...e),this.name="color",this.type="object",this.group="basic",this.order=10,this.title='{{t("Color")}}',this.default={type:"string",uiSchema:{type:"string","x-component":"ColorPicker"}},this.availableTypes=["string"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps},this.filterable={operators:eW.operators.string}}}class e6 extends e1.y{constructor(...e){super(...e),this.name="createdAt",this.type="object",this.group="systemInfo",this.order=1,this.title='{{t("Created at")}}',this.sortable=!0,this.default={type:"date",field:"createdAt",uiSchema:{type:"datetime",title:'{{t("Created at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}},this.description='{{t("Store the creation time of each record")}}',this.availableTypes=[],this.properties={...eW.defaultProps,...eW.dateTimeProps},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class e9 extends e1.y{schemaInitialize(e,t){let{block:o}=t;e.properties={viewer:(0,x.cloneDeep)(eW.recordPickerViewer)},["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="createdBy",this.type="object",this.group="systemInfo",this.order=3,this.title='{{t("Created by")}}',this.isAssociation=!0,this.default={type:"belongsTo",target:"users",foreignKey:"createdById",uiSchema:{type:"object",title:'{{t("Created by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}},this.availableTypes=["belongsTo"],this.properties={...eW.defaultProps},this.filterable={nested:!0,children:[]},this.description='{{t("Store the creation user of each record")}}'}}class e8 extends e1.y{constructor(...e){super(...e),this.name="datetime",this.type="object",this.group="datetime",this.order=1,this.title='{{t("Datetime (with time zone)")}}',this.sortable=!0,this.default={type:"date",defaultToCurrentTime:!1,onUpdateToCurrentTime:!1,timezone:!0,uiSchema:{type:"string","x-component":"DatePicker","x-component-props":{showTime:!1,utc:!0}}},this.availableTypes=["date","string","datetime","datetimeTz"],this.hasDefaultValue=!0,this.validationType="date",this.properties={...eW.defaultProps,...eW.dateTimeProps,defaultToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Default value to current time")}}'},onUpdateToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Automatically update timestamp on update")}}'},"uiSchema.x-component-props.gmt":{type:"boolean",title:'{{t("GMT")}}',"x-hidden":!0,"x-component":"Checkbox","x-content":'{{t("Use the same time zone (GMT) for all users")}}',"x-decorator":"FormItem",default:!1}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class e3 extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="email",this.type="object",this.group="basic",this.order=4,this.title='{{t("Email")}}',this.sortable=!0,this.default={type:"string",uiSchema:{type:"string","x-component":"Input","x-validator":"email"}},this.availableTypes=["string"],this.hasDefaultValue=!0,this.validationType="string",this.availableValidationOptions=["min","max","length","email","pattern"],this.properties={...eW.defaultProps,unique:eW.unique},this.filterable={operators:eW.operators.string},this.titleUsable=!0}}class te extends e1.y{constructor(...e){super(...e),this.name="icon",this.type="object",this.group="basic",this.order=10,this.title='{{t("Icon")}}',this.default={type:"string",uiSchema:{type:"string","x-component":"IconPicker"}},this.availableTypes=["string"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps}}}class tt extends e1.y{constructor(...e){super(...e),this.name="id",this.type="object",this.group="systemInfo",this.order=0,this.title='{{t("ID")}}',this.hidden=!0,this.sortable=!0,this.default={name:"id",type:"bigInt",autoIncrement:!0,primaryKey:!0,allowNull:!1,uiSchema:{type:"number",title:'{{t("ID")}}',"x-component":"InputNumber","x-read-pretty":!0}},this.availableTypes=["bigInt","integer"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,default:"ID","x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":!0,"x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"}},this.filterable={operators:eW.operators.id},this.description='{{t("Primary key, unique identifier, self growth") }}',this.titleUsable=!0}}var to=o(48849),tl=o(7271);(0,to.registerValidateRules)({username:e=>/^[^@<>"'/]{1,50}$/.test(e)||tl.Ru.t("Must be 1-50 characters in length (excluding @<>\"'/)"),required:(e,t)=>!1===t.required?"":("string"==typeof e&&(e=e.trim()),(e=>{if((0,m.isArr)(e)){for(let t=0;t<e.length;t++)if((0,m.isValid)(e[t]))return!1;return!0}if(null==e?void 0:e.getCurrentContent){var t;return!(null==(t=e.getCurrentContent())?void 0:t.hasText())}return(0,m.isEmpty)(e)})(e)?t.message:"")});class tn extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}validateSchema(e){return{max:{type:"number",title:'{{ t("Max length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":`{{(field) => {
91
+ `},"x-component":eZ,"x-component-props":{template:"{{ template }}",disabled:"{{ presetFieldsDisabled }}",presetFieldsDisabledIncludes:"{{presetFieldsDisabledIncludes}}"}}},e0=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let l={};for(let e of t)eQ[e]&&(l[e]=eQ[e]);return l};var e1=o(29928);class e2 extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="checkbox",this.type="object",this.group="choices",this.order=1,this.title='{{t("Checkbox")}}',this.default={type:"boolean",uiSchema:{type:"boolean","x-component":"Checkbox"}},this.availableTypes=["boolean","integer","bigInt","bit"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps},this.filterable={operators:eW.operators.boolean}}}class e5 extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="checkboxGroup",this.type="object",this.group="choices",this.order=5,this.title='{{t("Checkbox group")}}',this.default={interface:"checkboxGroup",type:"array",defaultValue:[],uiSchema:{type:"string","x-component":"Checkbox.Group"}},this.availableTypes=["array","json"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps,"uiSchema.enum":eW.dataSource},this.filterable={operators:eW.operators.array}}}class e4 extends e1.y{schemaInitialize(e,t){let{block:o}=t,l=e["x-component-props"]=e["x-component-props"]||{};l.style={...l.style||{},width:"100%"},["Table","Kanban"].includes(o)&&(l.ellipsis=!0)}constructor(...e){super(...e),this.name="collection",this.type="string",this.group="advanced",this.order=5,this.title='{{t("Collection selector")}}',this.description='{{t("Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios")}}',this.sortable=!0,this.default={type:"string",uiSchema:{type:"string","x-component":"CollectionSelect"}},this.availableTypes=["string"],this.hasDefaultValue=!1,this.properties={...eW.defaultProps,"uiSchema.enum":eW.collectionDataSource},this.filterable={operators:eW.operators.collection}}}class e7 extends e1.y{constructor(...e){super(...e),this.name="color",this.type="object",this.group="basic",this.order=10,this.title='{{t("Color")}}',this.default={type:"string",uiSchema:{type:"string","x-component":"ColorPicker"}},this.availableTypes=["string"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps},this.filterable={operators:eW.operators.string}}}class e6 extends e1.y{constructor(...e){super(...e),this.name="createdAt",this.type="object",this.group="systemInfo",this.order=1,this.title='{{t("Created at")}}',this.sortable=!0,this.default={type:"date",field:"createdAt",uiSchema:{type:"datetime",title:'{{t("Created at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}},this.description='{{t("Store the creation time of each record")}}',this.availableTypes=[],this.properties={...eW.defaultProps,...eW.dateTimeProps},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class e9 extends e1.y{schemaInitialize(e,t){let{block:o}=t;e.properties={viewer:(0,x.cloneDeep)(eW.recordPickerViewer)},["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="createdBy",this.type="object",this.group="systemInfo",this.order=3,this.title='{{t("Created by")}}',this.isAssociation=!0,this.default={type:"belongsTo",target:"users",foreignKey:"createdById",uiSchema:{type:"object",title:'{{t("Created by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}},this.availableTypes=["belongsTo"],this.properties={...eW.defaultProps},this.filterable={nested:!0,children:[]},this.description='{{t("Store the creation user of each record")}}'}}class e8 extends e1.y{constructor(...e){super(...e),this.name="datetime",this.type="object",this.group="datetime",this.order=1,this.title='{{t("Datetime (with time zone)")}}',this.sortable=!0,this.default={type:"date",defaultToCurrentTime:!1,onUpdateToCurrentTime:!1,timezone:!0,uiSchema:{type:"string","x-component":"DatePicker","x-component-props":{showTime:!1,utc:!0}}},this.availableTypes=["date","string","datetime","datetimeTz"],this.hasDefaultValue=!0,this.validationType="date",this.properties={...eW.defaultProps,...eW.dateTimeProps,defaultToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Default value to current time")}}'},onUpdateToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Automatically update timestamp on update")}}'},"uiSchema.x-component-props.gmt":{type:"boolean",title:'{{t("GMT")}}',"x-hidden":!0,"x-component":"Checkbox","x-content":'{{t("Use the same time zone (GMT) for all users")}}',"x-decorator":"FormItem",default:!1}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class e3 extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="email",this.type="object",this.group="basic",this.order=4,this.title='{{t("Email")}}',this.sortable=!0,this.default={type:"string",uiSchema:{type:"string","x-component":"Input","x-validator":"email"}},this.availableTypes=["string"],this.hasDefaultValue=!0,this.validationType="string",this.availableValidationOptions=["min","max","length","email","pattern"],this.properties={...eW.defaultProps,unique:eW.unique},this.filterable={operators:eW.operators.string},this.titleUsable=!0}}class te extends e1.y{constructor(...e){super(...e),this.name="icon",this.type="object",this.group="basic",this.order=10,this.title='{{t("Icon")}}',this.default={type:"string",uiSchema:{type:"string","x-component":"IconPicker"}},this.availableTypes=["string"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps}}}class tt extends e1.y{constructor(...e){super(...e),this.name="id",this.type="object",this.group="systemInfo",this.order=0,this.title='{{t("ID")}}',this.hidden=!0,this.sortable=!0,this.default={name:"id",type:"bigInt",autoIncrement:!0,primaryKey:!0,allowNull:!1,uiSchema:{type:"number",title:'{{t("ID")}}',"x-component":"InputNumber","x-read-pretty":!0}},this.availableTypes=["bigInt","integer"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,default:"ID","x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":!0,"x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"}},this.filterable={operators:eW.operators.id},this.description='{{t("Primary key, unique identifier, self growth") }}',this.titleUsable=!0}}var to=o(48849),tl=o(7271);(0,to.registerValidateRules)({username:e=>/^[^@<>"'/]{1,50}$/.test(e)||tl.Ru.t("Must be 1-50 characters in length (excluding @<>\"'/)"),required:(e,t)=>!1===t.required?"":("string"==typeof e&&(e=e.trim()),(e=>{if((0,m.isArr)(e)){for(let t=0;t<e.length;t++)if((0,m.isValid)(e[t]))return!1;return!0}if(null==e?void 0:e.getCurrentContent){var t;return!(null==(t=e.getCurrentContent())?void 0:t.hasText())}return(0,m.isEmpty)(e)})(e)?t.message:"")});class tn extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}validateSchema(e){return{max:{type:"number",title:'{{ t("Max length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":`{{(field) => {
92
92
  const targetValue = field.query('.min').value();
93
93
  field.selfErrors =
94
94
  !!targetValue && !!field.value && targetValue > field.value ? '${tl.Ru.t("Max length must greater than min length")}' : ''
@@ -96,7 +96,7 @@ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import
96
96
  const targetValue = field.query('.minimum').value();
97
97
  field.selfErrors =
98
98
  !!targetValue && !!field.value && targetValue > field.value ? '${tl.Ru.t("Maximum must greater than minimum")}' : ''
99
- }}}`},minimum:{type:"number",title:'{{ t("Minimum") }}',"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":{dependencies:[".maximum"],fulfill:{state:{selfErrors:`{{!!$deps[0] && !!$self.value && $deps[0] < $self.value ? '${tl.Ru.t("Minimum must less than maximum")}' : ''}}`}}}},format:{type:"string",title:'{{ t("Format") }}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{allowClear:!0},enum:[{label:'{{ t("Odd") }}',value:"odd"},{label:'{{ t("Even") }}',value:"even"}]},pattern:{type:"string",title:'{{ t("Regular expression") }}',"x-decorator":"FormItem","x-component":"Input","x-component-props":{prefix:"/",suffix:"/"}}})}}(0,s.registerValidateRules)({json(e){try{return JSON.parse(e),!0}catch(e){return{type:"error",message:e.message}}}});class tr extends e1.y{constructor(...e){super(...e),this.name="json",this.type="object",this.group="advanced",this.order=4,this.title='{{t("JSON")}}',this.sortable=!1,this.default={type:"json",uiSchema:{type:"object","x-component":"Input.JSON","x-component-props":{autoSize:{minRows:5}},default:null}},this.availableTypes=["json","array","set","jsonb","text","circle","lineString","point","polygon"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps,jsonb:{type:"boolean",title:"JSONB","x-decorator":e=>{let{children:t}=e;return(0,d.jsx)(c.FormLayout,{children:(0,d.jsx)(c.FormItem,{children:t})})},"x-component":"Checkbox","x-hidden":"{{ !isDialect('postgres') }}","x-disabled":"{{ disabledJSONB }}"}}}}class ti extends e1.y{schemaInitialize(e,t){let{readPretty:o,block:l,targetCollection:n}=t;(null==n?void 0:n.titleField)&&e["x-component-props"]&&(e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:n.filterTargetKey||"id"},e["x-component-props"].fieldNames.label=n.titleField),["Table","Kanban"].includes(l)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}constructor(...e){super(...e),this.name="linkTo",this.type="object",this.group="relation",this.order=1,this.title='{{t("Link to")}}',this.description='{{t("Link to description")}}',this.isAssociation=!0,this.default={type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0,fieldNames:{label:"id",value:"id"}}},reverseField:{interface:"linkTo",type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0,fieldNames:{label:"id",value:"id"}}}}},this.initialize=e=>{"belongsToMany"===e.type&&(e.through||(e.through=`t_${(0,m.uid)()}`),e.foreignKey||(e.foreignKey=`f_${(0,m.uid)()}`),e.otherKey||(e.otherKey=`f_${(0,m.uid)()}`),e.sourceKey||(e.sourceKey="id"),e.targetKey||(e.targetKey="id"))},this.properties={...eW.defaultProps,target:{type:"string",title:'{{t("Related collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"},"uiSchema.x-component-props.multiple":{type:"boolean","x-content":'{{t("Allow linking to multiple records")}}',"x-decorator":"FormItem","x-component":"Checkbox"}},this.filterable={nested:!0,children:[]}}}function ts(e){if(null==e?void 0:e.filterTargetKey){if(Array.isArray(e.filterTargetKey)){var t;return null==e||null==(t=e.filterTargetKey)?void 0:t[0]}return null==e?void 0:e.filterTargetKey}return(null==e?void 0:e.getPrimaryKey())||"id"}class td extends e1.y{schemaInitialize(e,t){var o;let{field:l,readPretty:n,block:a,targetCollection:r}=t;e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==r?void 0:r.titleField)||ts(r),["Table","Kanban"].includes(a)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}initialize(e){"belongsToMany"===e.type&&(e.through||(e.through=`t_${(0,m.uid)()}`),e.foreignKey||(e.foreignKey=`f_${(0,m.uid)()}`),e.otherKey||(e.otherKey=`f_${(0,m.uid)()}`),e.sourceKey||(e.sourceKey="id"),e.targetKey||(e.targetKey="id"))}constructor(...e){super(...e),this.name="m2m",this.type="object",this.group="relation",this.order=6,this.title='{{t("Many to many")}}',this.description='{{t("Many to many description")}}',this.isAssociation=!0,this.default={type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}},reverseField:{interface:"m2m",type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}}}},this.availableTypes=["belongsToMany"],this.validationType="object",this.properties={...eW.defaultProps,type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"string",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{through:{type:"string",title:'{{t("Through collection")}}',description:'{{ t("Generated automatically if left blank") }}',"x-decorator":"FormItem","x-disabled":"{{ !createOnly }}","x-component":"ThroughCollection","x-component-props":{allowClear:!0}}}},col13:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"SourceKey","x-disabled":"{{ !createOnly }}"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key 1")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly||override }}"}}},col23:{type:"void","x-component":"Grid.Col",properties:{}}}},row3:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{}},col22:{type:"void","x-component":"Grid.Col",properties:{otherKey:{type:"string",title:'{{t("Foreign key 2")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly||override }}"}}},col23:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',"x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}",description:"{{t('Field values must be unique.')}}"}}}}}}},...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tu extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,targetCollection:r}=t;e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==r?void 0:r.titleField)||ts(r),["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}constructor(...e){super(...e),this.name="m2o",this.type="object",this.group="relation",this.order=5,this.title='{{t("Many to one")}}',this.description='{{t("Many to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"o2m",type:"hasMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}}}},this.availableTypes=["belongsTo"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}},col22:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tc extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}validateSchema(e){return{max:{type:"number",title:'{{ t("Max length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":`{{(field) => {
99
+ }}}`},minimum:{type:"number",title:'{{ t("Minimum") }}',"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":{dependencies:[".maximum"],fulfill:{state:{selfErrors:`{{!!$deps[0] && !!$self.value && $deps[0] < $self.value ? '${tl.Ru.t("Minimum must less than maximum")}' : ''}}`}}}},format:{type:"string",title:'{{ t("Format") }}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{allowClear:!0},enum:[{label:'{{ t("Odd") }}',value:"odd"},{label:'{{ t("Even") }}',value:"even"}]},pattern:{type:"string",title:'{{ t("Regular expression") }}',"x-decorator":"FormItem","x-component":"Input","x-component-props":{prefix:"/",suffix:"/"}}})}}(0,s.registerValidateRules)({json(e){try{return JSON.parse(e),!0}catch(e){return{type:"error",message:e.message}}}});class tr extends e1.y{constructor(...e){super(...e),this.name="json",this.type="object",this.group="advanced",this.order=4,this.title='{{t("JSON")}}',this.sortable=!1,this.default={type:"json",uiSchema:{type:"object","x-component":"Input.JSON","x-component-props":{autoSize:{minRows:5}},default:null}},this.availableTypes=["json","array","set","jsonb","text","circle","lineString","point","polygon"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps,jsonb:{type:"boolean",title:"JSONB","x-decorator":e=>{let{children:t}=e;return(0,d.jsx)(c.FormLayout,{children:(0,d.jsx)(c.FormItem,{children:t})})},"x-component":"Checkbox","x-hidden":"{{ !isDialect('postgres') }}","x-disabled":"{{ disabledJSONB }}"}}}}class ti extends e1.y{schemaInitialize(e,t){let{readPretty:o,block:l,targetCollection:n}=t;(null==n?void 0:n.titleField)&&e["x-component-props"]&&(e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:n.filterTargetKey||"id"},e["x-component-props"].fieldNames.label=n.titleField),["Table","Kanban"].includes(l)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}constructor(...e){super(...e),this.name="linkTo",this.type="object",this.group="relation",this.order=1,this.title='{{t("Link to")}}',this.description='{{t("Link to description")}}',this.isAssociation=!0,this.default={type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0,fieldNames:{label:"id",value:"id"}}},reverseField:{interface:"linkTo",type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0,fieldNames:{label:"id",value:"id"}}}}},this.initialize=e=>{"belongsToMany"===e.type&&(e.through||(e.through=`t_${(0,m.uid)()}`),e.foreignKey||(e.foreignKey=`f_${(0,m.uid)()}`),e.otherKey||(e.otherKey=`f_${(0,m.uid)()}`),e.sourceKey||(e.sourceKey="id"),e.targetKey||(e.targetKey="id"))},this.properties={...eW.defaultProps,target:{type:"string",title:'{{t("Related collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"},"uiSchema.x-component-props.multiple":{type:"boolean","x-content":'{{t("Allow linking to multiple records")}}',"x-decorator":"FormItem","x-component":"Checkbox"}},this.filterable={nested:!0,children:[]}}}function ts(e){if(null==e?void 0:e.filterTargetKey){if(Array.isArray(e.filterTargetKey)){var t;return null==e||null==(t=e.filterTargetKey)?void 0:t[0]}return null==e?void 0:e.filterTargetKey}return(null==e?void 0:e.getPrimaryKey())||"id"}class td extends e1.y{schemaInitialize(e,t){var o;let{field:l,readPretty:n,block:a,targetCollection:r}=t;e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==r?void 0:r.titleField)||ts(r),["Table","Kanban"].includes(a)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}initialize(e){"belongsToMany"===e.type&&(e.through||(e.through=`t_${(0,m.uid)()}`),e.foreignKey||(e.foreignKey=`f_${(0,m.uid)()}`),e.otherKey||(e.otherKey=`f_${(0,m.uid)()}`),e.sourceKey||(e.sourceKey="id"),e.targetKey||(e.targetKey="id"))}constructor(...e){super(...e),this.name="m2m",this.type="object",this.group="relation",this.order=6,this.title='{{t("Many to many")}}',this.description='{{t("Many to many description")}}',this.isAssociation=!0,this.default={type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}},reverseField:{interface:"m2m",type:"belongsToMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}}}},this.availableTypes=["belongsToMany"],this.validationType="object",this.properties={...eW.defaultProps,type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"string",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{through:{type:"string",title:'{{t("Through collection")}}',description:'{{ t("Generated automatically if left blank") }}',"x-decorator":"FormItem","x-disabled":"{{ !createOnly }}","x-component":"ThroughCollection","x-component-props":{allowClear:!0}}}},col13:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"SourceKey","x-disabled":"{{ !createOnly }}"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key 1")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly||override }}"}}},col23:{type:"void","x-component":"Grid.Col",properties:{}}}},row3:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{}},col22:{type:"void","x-component":"Grid.Col",properties:{otherKey:{type:"string",title:'{{t("Foreign key 2")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly||override }}"}}},col23:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',"x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}",description:"{{t('Field values must be unique.')}}"}}}}}}},...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tu extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,targetCollection:r}=t;e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==r?void 0:r.titleField)||ts(r),["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}constructor(...e){super(...e),this.name="m2o",this.type="object",this.group="relation",this.order=5,this.title='{{t("Many to one")}}',this.description='{{t("Many to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"o2m",type:"hasMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}}}},this.availableTypes=["belongsTo"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}},col22:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tc extends e1.y{schemaInitialize(e,t){let{block:o}=t;["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}validateSchema(e){return{max:{type:"number",title:'{{ t("Max length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":`{{(field) => {
100
100
  const targetValue = field.query('.min').value();
101
101
  field.selfErrors =
102
102
  !!targetValue && !!field.value && targetValue > field.value ? '${tl.Ru.t("Max length must greater than min length")}' : ''
@@ -104,7 +104,7 @@ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import
104
104
  const targetValue = field.query('.minimum').value();
105
105
  field.selfErrors =
106
106
  !!targetValue && !!field.value && targetValue > field.value ? '${tl.Ru.t("Maximum must greater than minimum")}' : ''
107
- }}}`},minimum:{type:"number",title:'{{ t("Minimum") }}',"x-decorator":"FormItem","x-component":"InputNumber","x-reactions":{dependencies:[".maximum"],fulfill:{state:{selfErrors:`{{!!$deps[0] && !!$self.value && $deps[0] < $self.value ? '${tl.Ru.t("Minimum must less than maximum")}' : ''}}`}}}},format:{type:"string",title:'{{ t("Format") }}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{allowClear:!0},enum:[{label:'{{ t("Integer") }}',value:"integer"},{label:'{{ t("Odd") }}',value:"odd"},{label:'{{ t("Even") }}',value:"even"}]},pattern:{type:"string",title:'{{ t("Regular expression") }}',"x-decorator":"FormItem","x-component":"Input","x-component-props":{prefix:"/",suffix:"/"}}}}constructor(...e){super(...e),this.name="number",this.type="object",this.group="basic",this.order=7,this.title='{{t("Number")}}',this.sortable=!0,this.default={type:"double",uiSchema:{type:"number","x-component":"InputNumber","x-component-props":{stringMode:!0,step:"1"}}},this.availableTypes=["double","float","decimal"],this.hasDefaultValue=!0,this.validationType="number",this.excludeValidationOptions=["integer"],this.properties={type:{type:"string",title:'{{t("Data type")}}',"x-component":"Select","x-decorator":"FormItem","x-disabled":"{{ !createOnly }}",default:"double",enum:[{label:'{{t("Double")}}',value:"double"},{label:'{{t("Float")}}',value:"float"},{label:'{{t("Decimal")}}',value:"decimal"}]},...eW.defaultProps,unique:eW.unique,"uiSchema.x-component-props.step":{type:"string",title:'{{t("Precision(UI)")}}',"x-component":"Select","x-decorator":"FormItem",default:"1",enum:[{value:"1",label:"1"},{value:"0.1",label:"1.0"},{value:"0.01",label:"1.00"},{value:"0.001",label:"1.000"},{value:"0.0001",label:"1.0000"},{value:"0.00001",label:"1.00000"},{value:"0.000001",label:"1.000000"},{value:"0.0000001",label:"1.0000000"},{value:"0.00000001",label:"1.00000000"}]},precision:{type:"string",title:'{{t("Precision")}}',"x-component":"InputNumber","x-decorator":"FormItem","x-disabled":"{{ !createOnly }}",default:10,"x-reactions":{dependencies:["type"],fulfill:{state:{visible:'{{$deps[0] === "decimal"}}'}}}},scale:{type:"string",title:'{{t("Scale")}}',"x-component":"InputNumber","x-decorator":"FormItem","x-disabled":"{{ !createOnly }}",default:2,"x-reactions":{dependencies:["type"],fulfill:{state:{visible:'{{$deps[0] === "decimal"}}'}}}}},this.filterable={operators:eW.operators.number},this.titleUsable=!0}}class th extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,targetCollection:r}=t;e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==r?void 0:r.titleField)||ts(r),["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}constructor(...e){super(...e),this.name="o2m",this.type="object",this.group="relation",this.order=4,this.title='{{t("One to many")}}',this.description='{{t("One to many description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"hasMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}},reverseField:{interface:"m2o",type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["hasMany"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection"}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}",default:"id",enum:[{label:"ID",value:"id"}],"x-decorator":"FormItem","x-component":"SourceKey"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}}}},row3:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{}},col22:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',"x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}",description:"{{t('Field values must be unique.')}}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tx extends e1.y{schemaInitialize(e,t){let{field:o,block:l,readPretty:n,action:a,targetCollection:r}=t;["Table","Kanban"].includes(l)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small"),e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==r?void 0:r.titleField)||ts(r)}constructor(...e){super(...e),this.name="o2o",this.type="object",this.group="relation",this.order=3,this.title='{{t("One to one")}}',this.description='{{t("One to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"hasOne",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"obo",type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["hasOne"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"SourceKey"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}}}}}},"reverseField.name":{type:"string",title:'{{t("Inverse field name")}}',"x-hidden":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"}},this.filterable={nested:!0,children:[]}}}class tv extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,action:r,targetCollection:i}=t;["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small"),e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(i)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==i?void 0:i.titleField)||ts(i)}constructor(...e){super(...e),this.name="oho",this.type="object",this.group="relation",this.order=3,this.title='{{t("One to one (has one)")}}',this.description='{{t("One to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"hasOne",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"obo",type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["hasOne"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"SourceKey"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class t_ extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,action:r,targetCollection:i}=t;["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small"),e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(i)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==i?void 0:i.titleField)||ts(i)}constructor(...e){super(...e),this.name="obo",this.type="object",this.group="relation",this.order=3,this.title='{{t("One to one (belongs to)")}}',this.description='{{t("One to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"oho",type:"hasOne",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["belongsTo"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}},col22:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tf extends e1.y{constructor(...e){super(...e),this.name="password",this.type="object",this.group="basic",this.order=9,this.title='{{t("Password")}}',this.default={type:"password",hidden:!0,uiSchema:{type:"string","x-component":"Password"}},this.availableTypes=["password","string"],this.hasDefaultValue=!0,this.validationType="string",this.availableValidationOptions=["min","max","length","pattern"],this.properties={...eW.defaultProps,unique:eW.unique},this.validateSchema=e=>({max:{type:"number",title:'{{ t("Max length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":`{{(field) => {
107
+ }}}`},minimum:{type:"number",title:'{{ t("Minimum") }}',"x-decorator":"FormItem","x-component":"InputNumber","x-reactions":{dependencies:[".maximum"],fulfill:{state:{selfErrors:`{{!!$deps[0] && !!$self.value && $deps[0] < $self.value ? '${tl.Ru.t("Minimum must less than maximum")}' : ''}}`}}}},format:{type:"string",title:'{{ t("Format") }}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{allowClear:!0},enum:[{label:'{{ t("Integer") }}',value:"integer"},{label:'{{ t("Odd") }}',value:"odd"},{label:'{{ t("Even") }}',value:"even"}]},pattern:{type:"string",title:'{{ t("Regular expression") }}',"x-decorator":"FormItem","x-component":"Input","x-component-props":{prefix:"/",suffix:"/"}}}}constructor(...e){super(...e),this.name="number",this.type="object",this.group="basic",this.order=7,this.title='{{t("Number")}}',this.sortable=!0,this.default={type:"double",uiSchema:{type:"number","x-component":"InputNumber","x-component-props":{stringMode:!0,step:"1"}}},this.availableTypes=["double","float","decimal"],this.hasDefaultValue=!0,this.validationType="number",this.excludeValidationOptions=["integer"],this.properties={type:{type:"string",title:'{{t("Data type")}}',"x-component":"Select","x-decorator":"FormItem","x-disabled":"{{ !createOnly }}",default:"double",enum:[{label:'{{t("Double")}}',value:"double"},{label:'{{t("Float")}}',value:"float"},{label:'{{t("Decimal")}}',value:"decimal"}]},...eW.defaultProps,unique:eW.unique,"uiSchema.x-component-props.step":{type:"string",title:'{{t("Precision(UI)")}}',"x-component":"Select","x-decorator":"FormItem",default:"1",enum:[{value:"1",label:"1"},{value:"0.1",label:"1.0"},{value:"0.01",label:"1.00"},{value:"0.001",label:"1.000"},{value:"0.0001",label:"1.0000"},{value:"0.00001",label:"1.00000"},{value:"0.000001",label:"1.000000"},{value:"0.0000001",label:"1.0000000"},{value:"0.00000001",label:"1.00000000"}]},precision:{type:"string",title:'{{t("Precision")}}',"x-component":"InputNumber","x-decorator":"FormItem","x-disabled":"{{ !createOnly }}",default:10,"x-reactions":{dependencies:["type"],fulfill:{state:{visible:'{{$deps[0] === "decimal"}}'}}}},scale:{type:"string",title:'{{t("Scale")}}',"x-component":"InputNumber","x-decorator":"FormItem","x-disabled":"{{ !createOnly }}",default:2,"x-reactions":{dependencies:["type"],fulfill:{state:{visible:'{{$deps[0] === "decimal"}}'}}}}},this.filterable={operators:eW.operators.number},this.titleUsable=!0}}class th extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,targetCollection:r}=t;e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==r?void 0:r.titleField)||ts(r),["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small")}constructor(...e){super(...e),this.name="o2m",this.type="object",this.group="relation",this.order=4,this.title='{{t("One to many")}}',this.description='{{t("One to many description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"hasMany",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!0}},reverseField:{interface:"m2o",type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["hasMany"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection"}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}",default:"id",enum:[{label:"ID",value:"id"}],"x-decorator":"FormItem","x-component":"SourceKey"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}}}},row3:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{}},col22:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',"x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}",description:"{{t('Field values must be unique.')}}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tx extends e1.y{schemaInitialize(e,t){let{field:o,block:l,readPretty:n,action:a,targetCollection:r}=t;["Table","Kanban"].includes(l)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small"),e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(r)},e["x-component-props"].fieldNames.label=(null==r?void 0:r.titleField)||ts(r)}constructor(...e){super(...e),this.name="o2o",this.type="object",this.group="relation",this.order=3,this.title='{{t("One to one")}}',this.description='{{t("One to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"hasOne",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"obo",type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["hasOne"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"SourceKey"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}}}}}},"reverseField.name":{type:"string",title:'{{t("Inverse field name")}}',"x-hidden":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"}},this.filterable={nested:!0,children:[]}}}class tv extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,action:r,targetCollection:i}=t;["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small"),e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(i)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==i?void 0:i.titleField)||ts(i)}constructor(...e){super(...e),this.name="oho",this.type="object",this.group="relation",this.order=3,this.title='{{t("One to one (has one)")}}',this.description='{{t("One to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"hasOne",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"obo",type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["hasOne"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{sourceKey:{type:"string",title:'{{t("Source key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"SourceKey"}}},col22:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class t_ extends e1.y{schemaInitialize(e,t){var o;let{field:l,block:n,readPretty:a,action:r,targetCollection:i}=t;["Table","Kanban"].includes(n)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0,e["x-component-props"].size="small"),e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].fieldNames=e["x-component-props"].fieldNames||{value:ts(i)},e["x-component-props"].fieldNames.label=(null==(o=e["x-component-props"].fieldNames)?void 0:o.label)||(null==i?void 0:i.titleField)||ts(i)}constructor(...e){super(...e),this.name="obo",this.type="object",this.group="relation",this.order=3,this.title='{{t("One to one (belongs to)")}}',this.description='{{t("One to one description")}}',this.isAssociation=!0,this.validationType="object",this.default={type:"belongsTo",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}},reverseField:{interface:"oho",type:"hasOne",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1}}}},this.availableTypes=["belongsTo"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},type:eW.relationshipType,grid:{type:"void","x-component":"Grid",properties:{row1:{type:"void","x-component":"Grid.Row",properties:{col11:{type:"void","x-component":"Grid.Col",properties:{source:{type:"void",title:'{{t("Source collection")}}',"x-decorator":"FormItem","x-component":"SourceCollection","x-disabled":!0}}},col12:{type:"void","x-component":"Grid.Col",properties:{target:{type:"string",title:'{{t("Target collection")}}',required:!0,"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-decorator":"FormItem","x-component":"Select","x-disabled":"{{ !createOnly }}"}}}}},row2:{type:"void","x-component":"Grid.Row",properties:{col21:{type:"void","x-component":"Grid.Col",properties:{foreignKey:{type:"string",title:'{{t("Foreign key")}}',required:!0,default:'{{ useNewId("f_") }}',description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-decorator":"FormItem","x-component":"ForeignKey","x-validator":"uid","x-disabled":"{{ !createOnly }}"}}},col22:{type:"void","x-component":"Grid.Col",properties:{targetKey:{type:"string",title:'{{t("Target key")}}',description:"{{t('Field values must be unique.')}}","x-decorator":"FormItem","x-component":"TargetKey","x-disabled":"{{ !createOnly }}"}}}}}}},...eW.constraintsProps,...eW.reverseFieldProperties},this.filterable={nested:!0,children:[]}}}class tf extends e1.y{constructor(...e){super(...e),this.name="password",this.type="object",this.group="basic",this.order=9,this.title='{{t("Password")}}',this.default={type:"password",hidden:!0,uiSchema:{type:"string","x-component":"Password"}},this.availableTypes=["password","string"],this.hasDefaultValue=!0,this.validationType="string",this.availableValidationOptions=["min","max","length","pattern"],this.properties={...eW.defaultProps,unique:eW.unique},this.validateSchema=e=>({max:{type:"number",title:'{{ t("Max length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":`{{(field) => {
108
108
  const targetValue = field.query('.min').value();
109
109
  field.selfErrors =
110
110
  !!targetValue && !!field.value && targetValue > field.value ? '${tl.Ru.t("Max length must greater than min length")}' : ''
@@ -120,7 +120,7 @@ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import
120
120
  const targetValue = field.query('.min').value();
121
121
  field.selfErrors =
122
122
  !!targetValue && !!field.value && targetValue > field.value ? '${tl.Ru.t("Max length must greater than min length")}' : ''
123
- }}}`},min:{type:"number",title:'{{ t("Min length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":{dependencies:[".max"],fulfill:{state:{selfErrors:`{{!!$deps[0] && !!$self.value && $deps[0] < $self.value ? '${tl.Ru.t("Min length must less than max length")}' : ''}}`}}}}}),this.filterable={operators:eW.operators.string}}}class tP extends e1.y{constructor(...e){super(...e),this.name="time",this.type="object",this.group="datetime",this.order=4,this.title='{{t("Time")}}',this.sortable=!0,this.default={type:"time",uiSchema:{type:"string","x-component":"TimePicker"}},this.availableTypes=["time"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps,...eW.timeProps},this.filterable={operators:eW.operators.time},this.titleUsable=!0}}class tj extends e1.y{constructor(...e){super(...e),this.name="updatedAt",this.type="object",this.group="systemInfo",this.order=2,this.title='{{t("Last updated at")}}',this.sortable=!0,this.default={type:"date",field:"updatedAt",uiSchema:{type:"datetime",title:'{{t("Last updated at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}},this.description='{{t("Store the last update time of each record")}}',this.availableTypes=[],this.properties={...eW.defaultProps,...eW.dateTimeProps},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class tA extends e1.y{schemaInitialize(e,t){let{block:o}=t;e.properties={viewer:(0,x.cloneDeep)(eW.recordPickerViewer)},["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="updatedBy",this.type="object",this.group="systemInfo",this.order=4,this.title='{{t("Last updated by")}}',this.isAssociation=!0,this.default={type:"belongsTo",target:"users",foreignKey:"updatedById",uiSchema:{type:"object",title:'{{t("Last updated by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}},this.availableTypes=["belongsTo"],this.properties={...eW.defaultProps},this.filterable={nested:!0,children:[]},this.description='{{t("Store the last update user of each record")}}'}}class tI extends e1.y{schemaInitialize(e,t){let{block:o}=t}constructor(...e){super(...e),this.name="url",this.type="string",this.group="basic",this.order=5,this.title='{{t("URL")}}',this.default={type:"text",uiSchema:{type:"string","x-component":"Input.URL"}},this.componentOptions=[{label:"URL",value:"Input.URL"},{label:"Preview",value:"Input.Preview"}],this.availableTypes=["string","text"],this.validationType="string",this.availableValidationOptions=["uri","pattern"],this.properties={...eW.defaultProps},this.titleUsable=!0,this.filterable={operators:eW.operators.string}}}class tT extends e1.y{constructor(...e){super(...e),this.name="uuid",this.type="object",this.group="advanced",this.order=0,this.title='{{t("UUID")}}',this.primaryKeyDescription='{{t("Primary key, unique identifier")}}',this.hidden=!1,this.sortable=!0,this.default={type:"uuid",uiSchema:{type:"string","x-component":"Input","x-validator":"uuid"}},this.availableTypes=["uid","uuid"],this.validationType="string",this.availableValidationOptions=["uuid","pattern"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input","x-disabled":"{{ !createOnly }}",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},autoFill:eW.autoFill,layout:{type:"void",title:'{{t("Index")}}',"x-component":"Space","x-decorator":"FormItem","x-decorator-props":{style:{marginBottom:"0px"}},properties:{primaryKey:eW.primaryKey,unique:eW.unique}}},this.filterable={operators:eW.operators.string},this.titleUsable=!0}}class tD extends e1.y{constructor(...e){super(...e),this.name="nanoid",this.type="object",this.group="advanced",this.order=0,this.title='{{t("Nano ID")}}',this.primaryKeyDescription='{{t("Primary key, unique identifier")}}',this.hidden=!1,this.sortable=!0,this.default={type:"nanoid",uiSchema:{type:"string","x-component":"NanoIDInput"}},this.availableTypes=["nanoid"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input","x-disabled":"{{ !createOnly }}",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},customAlphabet:{type:"string",title:'{{t("Alphabet")}}',default:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz","x-decorator":"FormItem","x-component":"Input"},size:{type:"number",title:'{{t("Length")}}',default:21,"x-decorator":"FormItem","x-component":"InputNumber"},autoFill:eW.autoFill,layout:{type:"void",title:'{{t("Index")}}',"x-component":"Space","x-decorator":"FormItem","x-decorator-props":{style:{marginBottom:"0px"}},properties:{primaryKey:eW.primaryKey,unique:eW.unique}}},this.filterable={operators:eW.operators.string},this.titleUsable=!0}}class tL extends e1.y{constructor(...e){super(...e),this.name="unixTimestamp",this.type="object",this.group="datetime",this.order=4,this.title='{{t("Unix Timestamp")}}',this.sortable=!0,this.default={type:"unixTimestamp",accuracy:"second",timezone:!0,defaultToCurrentTime:!1,onUpdateToCurrentTime:!1,uiSchema:{type:"number","x-component":"UnixTimestamp","x-component-props":{showTime:!0}}},this.availableTypes=["unixTimestamp"],this.hasDefaultValue=!1,this.validationType="date",this.availableValidationOptions=["timestamp"],this.properties={...eW.defaultProps,...eW.dateTimeProps,accuracy:{type:"string",title:'{{t("Accuracy")}}',"x-component":"Radio.Group","x-decorator":"FormItem",default:"second",enum:[{value:"millisecond",label:'{{t("Millisecond")}}'},{value:"second",label:'{{t("Second")}}'}]},defaultToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Default value to current time")}}'},onUpdateToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Automatically update timestamp on update")}}'}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class tY extends e1.y{constructor(...e){super(...e),this.name="date",this.type="object",this.group="datetime",this.order=3,this.title='{{t("DateOnly")}}',this.sortable=!0,this.default={type:"dateOnly",uiSchema:{type:"string","x-component":"DatePicker","x-component-props":{dateOnly:!0,showTime:!1}}},this.availableTypes=["dateOnly"],this.hasDefaultValue=!0,this.validationType="date",this.properties={...eW.defaultProps,...eW.dateTimeProps,"uiSchema.x-component-props.showTime":{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-visible":!1}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class tR extends e1.y{constructor(...e){super(...e),this.name="datetimeNoTz",this.type="object",this.group="datetime",this.order=2,this.title='{{t("Datetime (without time zone)")}}',this.sortable=!0,this.default={type:"datetimeNoTz",defaultToCurrentTime:!1,onUpdateToCurrentTime:!1,timezone:!1,uiSchema:{type:"string","x-component":"DatePicker","x-component-props":{showTime:!1,utc:!1}}},this.availableTypes=["string","datetimeNoTz"],this.hasDefaultValue=!0,this.validationType="date",this.properties={...eW.defaultProps,...eW.dateTimeProps,defaultToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Default value to current server time")}}'},onUpdateToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Automatically update timestamp to the current server time on update")}}'},"uiSchema.x-component-props.gmt":{type:"boolean",title:'{{t("GMT")}}',"x-hidden":!0,"x-component":"Checkbox","x-content":'{{t("Use the same time zone (GMT) for all users")}}',"x-decorator":"FormItem",default:!1}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}var tB=o(83468),tN=o(593),tE=o(67574),t$=o(21086);class tz extends t$.p{getParentCollectionsName(){if(this.parentCollectionsName)return this.parentCollectionsName.slice();let e=[],t=o=>{let l=this.collectionManager.getCollection(o);if(l){let{inherits:o}=l;if(o)for(let l=0;l<o.length;l++){let n=o[l];e.push(n),t(n)}}return(0,x.uniq)(e)};return this.parentCollectionsName=t(this.name),this.parentCollectionsName}getParentCollections(){return this.parentCollections?this.parentCollections.slice():(this.parentCollections=this.getParentCollectionsName().map(e=>this.collectionManager.getCollection(e)),this.parentCollections)}getChildrenCollectionsName(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?"supportView":"notSupportView";if(this.childrenCollectionsName[t])return this.childrenCollectionsName[t].slice();let o=[],l=this.collectionManager.getCollections(),n=t=>(l.filter(e=>{var o;return null==(o=e.inherits)?void 0:o.includes(t)}).forEach(e=>{let t=e.name;return o.push(t),n(t)}),e&&l.filter(e=>{var o;return(null==(o=e.sources)?void 0:o.length)===1&&(null==e?void 0:e.sources[0])===t}).forEach(e=>{let t=e.name;return o.push(e.name),n(t)}),(0,x.uniq)(o));return this.childrenCollectionsName[t]=n(this.name),this.childrenCollectionsName[t]}getChildrenCollections(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?"supportView":"notSupportView";return this.childrenCollections[t]?this.childrenCollections[t].slice():(this.childrenCollections[t]=this.getChildrenCollectionsName(e).map(e=>this.collectionManager.getCollection(e)),this.childrenCollections[t])}getInheritedFields(){if(this.inheritsFields)return this.inheritsFields.slice();let e=this.getParentCollectionsName();return this.inheritsFields=e.map(e=>{var t;return null==(t=this.collectionManager.getCollection(e))?void 0:t.getFields()}).flat().filter(Boolean),this.inheritsFields}getFieldsMap(){return this.fieldsMap||(this.fieldsMap=this.getAllFields().reduce((e,t)=>(e[t.name]=t,e),{})),this.fieldsMap}getCurrentFields(e){return super.getFields(e)}getParentCollectionFields(e){if(this.parentCollectionFields||(this.parentCollectionFields={}),this.parentCollectionFields[e])return this.parentCollectionFields[e];let t=this.getCurrentFields(),o=this.getParentCollectionsName(),l=this.collectionManager.getCollection(e).getCurrentFields(),n=o.indexOf(e),a=t;return n>0&&(o.splice(n),o.forEach(e=>{let t=this.collectionManager.getCollection(e);a=a.concat(t.getCurrentFields())})),this.parentCollectionFields[e]=l.filter(e=>{let t=a.find(t=>t.name===e.name);return(null==t?void 0:t.collectionName)!==this.name}),this.parentCollectionFields[e]}getAllCollectionsInheritChain(){if(this.allCollectionsInheritChain)return this.allCollectionsInheritChain.slice();let e=[this.name],t=o=>{let l=this.collectionManager.getCollection(o);if(l){let{inherits:o}=l,n=l.getChildrenCollectionsName();if(o)for(let l=0;l<o.length;l++){let n=o[l];e.includes(n)||(e.push(n),t(n))}if(n)for(let o=0;o<n.length;o++){let l=this.collectionManager.getCollection(n[o]).name;e.includes(l)||(e.push(l),t(l))}}return e};return this.allCollectionsInheritChain=t(this.name),this.allCollectionsInheritChain||[]}getInheritCollectionsChain(){if(this.inheritCollectionsChain)return this.inheritCollectionsChain.slice();let e=[this.name],t=o=>{let l=this.collectionManager.getCollection(o);if(l){let{inherits:o}=l;if(o)for(let l=0;l<o.length;l++){let n=o[l];e.includes(n)||(e.push(n),t(n))}}return e};return this.inheritCollectionsChain=t(this.name),this.inheritCollectionsChain}getInheritChain(){if(this.inheritChain)return this.inheritChain.slice();let e=this.getInheritCollectionsChain(),t=this.getChildrenCollectionsName(),o=[...e],l=e=>{for(let t of e)if(!o.includes(t)){o.push(t);let e=this.collectionManager.getCollection(t);e&&l(e.getChildrenCollectionsName())}};return l(t),this.inheritChain=o,this.inheritChain}getAllFields(e){if(this.allFields)return this.allFields.slice();let t=this.getCurrentFields(),o=this.getInheritedFields(),l=(0,x.unionBy)((null==t?void 0:t.concat(o))||[],"name");return this.allFields=l,e?(0,x.filter)(l,e):l}getForeignKeyFields(){if(this.foreignKeyFields)return this.foreignKeyFields.slice();let e=this.getCurrentFields(),t=this.getInheritedFields();return(0,x.unionBy)((null==e?void 0:e.concat(t))||[],"name")}constructor(...e){super(...e),this.childrenCollections={},this.childrenCollectionsName={},this.parentCollectionFields={}}}var tO=o(83339);class tq extends tO.T{constructor(...e){super(...e),this.name="general",this.title='{{t("General collection")}}',this.order=1,this.color="blue",this.default={fields:[]},this.configurableProperties=e0("title","name","inherits","category","description","simplePaginate","presetFields")}}class tH extends tO.T{constructor(...e){super(...e),this.name="tree",this.title='{{t("Tree collection")}}',this.order=3,this.color="blue",this.default={tree:"adjacencyList",fields:[{interface:"integer",name:"parentId",type:"bigInt",isForeignKey:!0,uiSchema:{type:"number",title:'{{t("Parent ID")}}',"x-component":"InputNumber","x-read-pretty":!0}},{interface:"m2o",type:"belongsTo",name:"parent",foreignKey:"parentId",treeParent:!0,onDelete:"CASCADE",uiSchema:{title:'{{t("Parent")}}',"x-component":"AssociationField","x-component-props":{multiple:!1,fieldNames:{label:"id",value:"id"}}}},{interface:"o2m",type:"hasMany",name:"children",foreignKey:"parentId",treeChildren:!0,onDelete:"CASCADE",uiSchema:{title:'{{t("Children")}}',"x-component":"AssociationField","x-component-props":{multiple:!0,fieldNames:{label:"id",value:"id"}}}}]},this.presetFieldsDisabledIncludes=["id"],this.events={beforeSubmit(e){Array.isArray(null==e?void 0:e.fields)&&(null==e||e.fields.map(t=>{!t.target&&["belongsToMany","belongsTo","hasMany","hasOne"].includes(t.type)&&(t.target=e.name)}));let t=((null==e?void 0:e.fields)??[]).find(e=>!0===e.primaryKey),o=((null==e?void 0:e.fields)??[]).find(e=>"parentId"===e.name&&!0===e.isForeignKey);if(t&&o){o.interface=t.interface,o.type=t.type;let e=o.uiSchema.title;o.uiSchema=(0,x.cloneDeep)(t.uiSchema),o.uiSchema.title=e,o.autoFill=!1}}},this.configurableProperties=e0("title","name","inherits","category","description","presetFields")}}class tV extends tO.T{constructor(...e){super(...e),this.name="view",this.title='{{t("Connect to database view")}}',this.order=4,this.color="yellow",this.default={fields:[]},this.divider=!0,this.configurableProperties={title:{type:"string",title:'{{ t("Collection display name") }}',required:!0,"x-decorator":"FormItem","x-component":"Input"},databaseView:{title:'{{t("Connect to database view")}}',type:"single",required:!0,"x-decorator":"FormItem","x-component":"Select","x-reactions":["{{useAsyncDataSource(loadDBViews)}}"],"x-disabled":"{{ !createOnly }}","x-visible":"{{!createMainOnly}}"},name:{type:"string",title:'{{t("Collection name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}","x-reactions":{dependencies:["databaseView"],when:"{{isPG}}",fulfill:{state:{initialValue:"{{$deps[0]&&$deps[0].match(/^([^_]+)_(.*)$/)?.[2]}}"}},otherwise:{state:{value:null}}}},schema:{type:"string","x-hidden":!0,"x-reactions":{dependencies:["databaseView"],when:"{{isPG}}",fulfill:{state:{value:"{{$deps[0] && $deps[0].split('@')?.[0]}}"}},otherwise:{state:{value:null}}}},viewName:{type:"string","x-hidden":!0,"x-reactions":{dependencies:["databaseView"],when:"{{isPG}}",fulfill:{state:{value:"{{$deps[0] && $deps[0].split('@')?.[1]}}"}},otherwise:{state:{value:"{{$deps[0] || null}}"}}}},writableView:{type:"boolean","x-content":'{{t("Allow add new, update and delete actions")}}',"x-decorator":"FormItem","x-component":"Checkbox",default:!1,"x-visible":"{{!createMainOnly}}"},sources:{type:"array",title:'{{ t("Source collections") }}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-disabled":!0,"x-visible":"{{!createMainOnly}}"},fields:{type:"array","x-component":eb,"x-hidden":"{{ !createOnly }}","x-decorator":"FormItem","x-reactions":{dependencies:["name"],fulfill:{schema:{"x-component-props":"{{$form.values}}"}}},description:'{{t("Fields can only be used correctly if they are defined with an interface.")}}'},preview:{type:"void","x-visible":"{{ createOnly }}","x-component":eS,"x-reactions":{dependencies:["name","fields"],fulfill:{schema:{"x-component-props":"{{$form.values}}"}}}},...e0("category","description","simplePaginate"),filterTargetKey:{title:'{{ t("Record unique key")}}',type:"single",description:'{{t( "If a collection lacks a primary key, you must configure a unique record key to locate row records within a block, failure to configure this will prevent the creation of data blocks for the collection.")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadFilterTargetKeys)}}"]}}}}class tU extends tO.T{constructor(...e){super(...e),this.name="sql",this.title='{{t("SQL collection")}}',this.order=4,this.color="yellow",this.default={fields:[]},this.configurableProperties={title:{type:"string",title:'{{ t("Collection display name") }}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Collection name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"},config:{type:"void","x-decorator":ej,properties:{sql:{type:"string",title:'{{t("SQL")}}',"x-decorator":"FormItem","x-component":eI,required:!0,"x-validator":(e,t,o)=>{let{form:l}=o;return l.query("sql").take().componentProps.disabled?"":tl.Ru.t("Please confirm the SQL statement first")}},sources:{type:"array",title:'{{t("Source collections")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadCollections)}}"]},fields:{type:"array",title:'{{t("Fields")}}',"x-decorator":"FormItem","x-component":eF,required:!0},table:{type:"void",title:'{{t("Preview")}}',"x-decorator":"FormItem","x-component":eP}}},filterTargetKey:{title:'{{ t("Record unique key")}}',type:"single",description:'{{t( "If a collection lacks a primary key, you must configure a unique record key to locate row records within a block, failure to configure this will prevent the creation of data blocks for the collection.")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadFilterTargetKeys)}}"]},...e0("category","description")}}}class tG extends tN.q{async getDataSource(){var e;let t=await this.app.apiClient.request({resource:"collections",action:"listMeta"});return{key:"main",collections:(null==t||null==(e=t.data)?void 0:e.data)||[]}}}class tK extends tB.k{async load(){this.dataSourceManager.addCollectionMixins([tz]),this.addFieldInterfaces(),this.addCollectionTemplates(),this.addFieldInterfaces(),this.addFieldInterfaceGroups(),this.addMainDataSource()}addMainDataSource(){var e,t;(null==(t=this.options)||null==(e=t.config)?void 0:e.enableRemoteDataSource)!==!1&&this.dataSourceManager.addDataSource(tG,{key:tE.Ze,displayName:tE.gP,status:"loaded"})}addFieldInterfaceGroups(){this.dataSourceManager.addFieldInterfaceGroups({basic:{label:'{{t("Basic")}}',order:1},choices:{label:'{{t("Choices")}}',order:20},media:{label:'{{t("Media")}}',order:40},datetime:{label:'{{t("Date & Time")}}',order:80},relation:{label:'{{t("Relation")}}',order:100},advanced:{label:'{{t("Advanced type")}}',order:200},systemInfo:{label:'{{t("System info")}}',order:400},others:{label:'{{t("Others")}}',order:800}})}addFieldInterfaces(){this.dataSourceManager.addFieldInterfaces([e2,e5,e4,e7,e6,e9,e8,e3,te,tt,tn,ta,tr,ti,td,tu,tc,tp,tm,th,tx,tv,t_,tf,tg,tb,ty,tS,tk,tC,tM,tw,tF,tP,tj,tA,tI,tT,tD,tL,tY,tR])}addCollectionTemplates(){this.dataSourceManager.addCollectionTemplates([tq,tU,tH,tV])}}var tW=o(63586),tJ=o(77624);function tX(e){if(!e)return[];let t=e.split(":"),o=t.pop();return[t[0]??"main",o]}function tZ(e,t){return e&&"main"!==e?`${e}:${t}`:t}},99982(e,t,o){o.r(t),o.d(t,{autoFill:()=>c,autoIncrement:()=>u,collectionDataSource:()=>b,constraintsProps:()=>m,dataSource:()=>_,dateTimeProps:()=>x,defaultProps:()=>f,operators:()=>r,primaryKey:()=>d,recordPickerViewer:()=>g,relationshipType:()=>p,reverseFieldProperties:()=>h,timeProps:()=>v,type:()=>i,unique:()=>s});var l=o(27404),n=o(10691),a=o(36090),r=o(40919);let i={type:"string",title:'{{t("Storage type")}}',required:!0,"x-disabled":!0,"x-decorator":"FormItem","x-component":"Select",enum:[{label:"Boolean",value:"boolean"},{label:"String",value:"string"},{label:"Text",value:"text"},{label:"Integer",value:"integer"},{label:"BigInteger",value:"bigInt"},{label:"Float",value:"float"},{label:"Double",value:"double"},{label:"Decimal",value:"decimal"},{label:"Date",value:"date"},{label:"DateOnly",value:"dateonly"},{label:"Time",value:"time"},{label:"Virtual",value:"virtual"},{label:"JSON",value:"json"},{label:"Password",value:"password"},{label:"One to one",value:"hasOne"},{label:"One to many",value:"hasMany"},{label:"Many to one",value:"belongsTo"},{label:"Many to many",value:"belongsToMany"},{label:"Snapshot",value:"snapshot"}]},s={type:"boolean","x-content":'{{t("Unique")}}',"x-decorator":"FormItem","x-component":"Checkbox","x-disabled":"{{ !createMainOnly || primaryKeyOnly }}","x-reactions":[{dependencies:["primaryKey"],when:"{{$deps[0]}}",fulfill:{state:{value:!1}}}]},d={type:"boolean","x-content":'{{t("Primary")}}',"x-decorator":"FormItem","x-component":"Checkbox","x-disabled":"{{ !createMainOnly || primaryKeyOnly }}","x-reactions":[{dependencies:["unique"],when:"{{$deps[0]&&createMainOnly}}",fulfill:{state:{value:!1}}}]},u={type:"boolean",title:'{{t("Auto increment")}}',"x-content":'{{t("Auto increment")}}',"x-decorator":"FormItem","x-component":"Checkbox","x-disabled":"{{ !createMainOnly }}","x-reactions":[{dependencies:["primaryKey"],when:"{{$deps[0]&&createMainOnly}}",fulfill:{state:{value:!0}}}]},c={type:"boolean",title:'{{t("Default value")}}',"x-content":'{{t("Automatically generate default values")}}',"x-decorator":"FormItem","x-component":"Checkbox",default:!0},p={type:"string",title:'{{t("Relationship type")}}',required:!0,"x-disabled":!0,"x-decorator":"FormItem","x-component":"Select",enum:[{label:"{{t('HasOne')}}",value:"hasOne"},{label:"{{t('HasMany')}}",value:"hasMany"},{label:"{{t('BelongsTo')}}",value:"belongsTo"},{label:"{{t('BelongsToMany')}}",value:"belongsToMany"}]},m={onDelete:{type:"string",title:'{{t("ON DELETE")}}',required:!0,default:"SET NULL","x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Select",enum:[{label:"{{t('SET NULL')}}",value:"SET NULL"},{label:"{{t('RESTRICT')}}",value:"RESTRICT"},{label:"{{t('CASCADE')}}",value:"CASCADE"},{label:"{{t('NO ACTION')}}",value:"NO ACTION"}]}},h={reverse:{type:"void","x-component":"div",properties:{autoCreateReverseField:{type:"boolean",default:!1,"x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Create inverse field in the target collection")}}',"x-reactions":[{target:"reverseField.type",when:"{{!!$self.value}}",fulfill:{state:{hidden:!1}},otherwise:{state:{hidden:!0}}},{target:"reverseField.uiSchema.title",when:"{{!!$self.value}}",fulfill:{state:{hidden:!1}},otherwise:{state:{hidden:!0}}},{target:"reverseField.name",when:"{{!!$self.value}}",fulfill:{state:{hidden:!1}},otherwise:{state:{hidden:!0}}},e=>{let{reverseField:t}=e.form.values;e.value=!!(null==t?void 0:t.key),e.disabled=!!(null==t?void 0:t.key)}]},"reverseField.type":{...p,title:'{{t("Inverse relationship type")}}'},"reverseField.uiSchema.title":{type:"string",title:'{{t("Inverse field display name")}}',default:"{{record.title}}",required:!0,"x-decorator":"FormItem","x-component":"Input","x-disabled":"{{ !showReverseFieldConfig }}"},"reverseField.name":{type:"string",title:'{{t("Inverse field name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input","x-validator":"uid","x-disabled":"{{ !showReverseFieldConfig }}",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"}}}},x={"uiSchema.x-component-props.picker":{type:"string",title:'{{t("Picker")}}',"x-decorator":"FormItem","x-component":"Radio.Group",default:"date",enum:[{label:'{{t("Date")}}',value:"date"},{label:'{{t("Month")}}',value:"month"},{label:'{{t("Quarter")}}',value:"quarter"},{label:'{{t("Year")}}',value:"year"}]},"uiSchema.x-component-props.dateFormat":{type:"string",title:'{{t("Date format")}}',"x-decorator":"FormItem","x-component":"ExpiresRadio","x-decorator-props":{},"x-component-props":{className:(0,n.css)`
123
+ }}}`},min:{type:"number",title:'{{ t("Min length") }}',minimum:0,"x-decorator":"FormItem","x-component":"InputNumber","x-component-props":{precision:0},"x-reactions":{dependencies:[".max"],fulfill:{state:{selfErrors:`{{!!$deps[0] && !!$self.value && $deps[0] < $self.value ? '${tl.Ru.t("Min length must less than max length")}' : ''}}`}}}}}),this.filterable={operators:eW.operators.string}}}class tP extends e1.y{constructor(...e){super(...e),this.name="time",this.type="object",this.group="datetime",this.order=4,this.title='{{t("Time")}}',this.sortable=!0,this.default={type:"time",uiSchema:{type:"string","x-component":"TimePicker"}},this.availableTypes=["time"],this.hasDefaultValue=!0,this.properties={...eW.defaultProps,...eW.timeProps},this.filterable={operators:eW.operators.time},this.titleUsable=!0}}class tj extends e1.y{constructor(...e){super(...e),this.name="updatedAt",this.type="object",this.group="systemInfo",this.order=2,this.title='{{t("Last updated at")}}',this.sortable=!0,this.default={type:"date",field:"updatedAt",uiSchema:{type:"datetime",title:'{{t("Last updated at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}},this.description='{{t("Store the last update time of each record")}}',this.availableTypes=[],this.properties={...eW.defaultProps,...eW.dateTimeProps},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class tA extends e1.y{schemaInitialize(e,t){let{block:o}=t;e.properties={viewer:(0,x.cloneDeep)(eW.recordPickerViewer)},["Table","Kanban"].includes(o)&&(e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].ellipsis=!0)}constructor(...e){super(...e),this.name="updatedBy",this.type="object",this.group="systemInfo",this.order=4,this.title='{{t("Last updated by")}}',this.isAssociation=!0,this.default={type:"belongsTo",target:"users",foreignKey:"updatedById",uiSchema:{type:"object",title:'{{t("Last updated by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}},this.availableTypes=["belongsTo"],this.properties={...eW.defaultProps},this.filterable={nested:!0,children:[]},this.description='{{t("Store the last update user of each record")}}'}}class tI extends e1.y{schemaInitialize(e,t){let{block:o}=t}constructor(...e){super(...e),this.name="url",this.type="string",this.group="basic",this.order=5,this.title='{{t("URL")}}',this.default={type:"text",uiSchema:{type:"string","x-component":"Input.URL"}},this.componentOptions=[{label:"URL",value:"Input.URL"},{label:"Preview",value:"Input.Preview"}],this.availableTypes=["string","text"],this.validationType="string",this.availableValidationOptions=["uri","pattern"],this.properties={...eW.defaultProps},this.titleUsable=!0,this.filterable={operators:eW.operators.string}}}class tT extends e1.y{constructor(...e){super(...e),this.name="uuid",this.type="object",this.group="advanced",this.order=0,this.title='{{t("UUID")}}',this.primaryKeyDescription='{{t("Primary key, unique identifier")}}',this.hidden=!1,this.sortable=!0,this.default={type:"uuid",uiSchema:{type:"string","x-component":"Input","x-validator":"uuid"}},this.availableTypes=["uid","uuid"],this.validationType="string",this.availableValidationOptions=["uuid","pattern"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input","x-disabled":"{{ !createOnly }}",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},autoFill:eW.autoFill,layout:{type:"void",title:'{{t("Index")}}',"x-component":"Space","x-decorator":"FormItem","x-decorator-props":{style:{marginBottom:"0px"}},properties:{primaryKey:eW.primaryKey,unique:eW.unique}}},this.filterable={operators:eW.operators.string},this.titleUsable=!0}}class tD extends e1.y{constructor(...e){super(...e),this.name="nanoid",this.type="object",this.group="advanced",this.order=0,this.title='{{t("Nano ID")}}',this.primaryKeyDescription='{{t("Primary key, unique identifier")}}',this.hidden=!1,this.sortable=!0,this.default={type:"nanoid",uiSchema:{type:"string","x-component":"NanoIDInput"}},this.availableTypes=["nanoid"],this.properties={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input","x-disabled":"{{ !createOnly }}",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},customAlphabet:{type:"string",title:'{{t("Alphabet")}}',default:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz","x-decorator":"FormItem","x-component":"Input"},size:{type:"number",title:'{{t("Length")}}',default:21,"x-decorator":"FormItem","x-component":"InputNumber"},autoFill:eW.autoFill,layout:{type:"void",title:'{{t("Index")}}',"x-component":"Space","x-decorator":"FormItem","x-decorator-props":{style:{marginBottom:"0px"}},properties:{primaryKey:eW.primaryKey,unique:eW.unique}}},this.filterable={operators:eW.operators.string},this.titleUsable=!0}}class tL extends e1.y{constructor(...e){super(...e),this.name="unixTimestamp",this.type="object",this.group="datetime",this.order=4,this.title='{{t("Unix Timestamp")}}',this.sortable=!0,this.default={type:"unixTimestamp",accuracy:"second",timezone:!0,defaultToCurrentTime:!1,onUpdateToCurrentTime:!1,uiSchema:{type:"number","x-component":"UnixTimestamp","x-component-props":{showTime:!0}}},this.availableTypes=["unixTimestamp"],this.hasDefaultValue=!1,this.validationType="date",this.availableValidationOptions=["timestamp"],this.properties={...eW.defaultProps,...eW.dateTimeProps,accuracy:{type:"string",title:'{{t("Accuracy")}}',"x-component":"Radio.Group","x-decorator":"FormItem",default:"second",enum:[{value:"millisecond",label:'{{t("Millisecond")}}'},{value:"second",label:'{{t("Second")}}'}]},defaultToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Default value to current time")}}'},onUpdateToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Automatically update timestamp on update")}}'}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class tY extends e1.y{constructor(...e){super(...e),this.name="date",this.type="object",this.group="datetime",this.order=3,this.title='{{t("DateOnly")}}',this.sortable=!0,this.default={type:"dateOnly",uiSchema:{type:"string","x-component":"DatePicker","x-component-props":{dateOnly:!0,showTime:!1}}},this.availableTypes=["dateOnly"],this.hasDefaultValue=!0,this.validationType="date",this.properties={...eW.defaultProps,...eW.dateTimeProps,"uiSchema.x-component-props.showTime":{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-visible":!1}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}class tR extends e1.y{constructor(...e){super(...e),this.name="datetimeNoTz",this.type="object",this.group="datetime",this.order=2,this.title='{{t("Datetime (without time zone)")}}',this.sortable=!0,this.default={type:"datetimeNoTz",defaultToCurrentTime:!1,onUpdateToCurrentTime:!1,timezone:!1,uiSchema:{type:"string","x-component":"DatePicker","x-component-props":{showTime:!1,utc:!1}}},this.availableTypes=["string","datetimeNoTz"],this.hasDefaultValue=!0,this.validationType="date",this.properties={...eW.defaultProps,...eW.dateTimeProps,defaultToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Default value to current server time")}}'},onUpdateToCurrentTime:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Automatically update timestamp to the current server time on update")}}'},"uiSchema.x-component-props.gmt":{type:"boolean",title:'{{t("GMT")}}',"x-hidden":!0,"x-component":"Checkbox","x-content":'{{t("Use the same time zone (GMT) for all users")}}',"x-decorator":"FormItem",default:!1}},this.filterable={operators:eW.operators.datetime},this.titleUsable=!0}}var tB=o(83468),tN=o(593),tE=o(67574),t$=o(21086);class tz extends t$.p{getParentCollectionsName(){if(this.parentCollectionsName)return this.parentCollectionsName.slice();let e=[],t=o=>{let l=this.collectionManager.getCollection(o);if(l){let{inherits:o}=l;if(o)for(let l=0;l<o.length;l++){let n=o[l];e.push(n),t(n)}}return(0,x.uniq)(e)};return this.parentCollectionsName=t(this.name),this.parentCollectionsName}getParentCollections(){return this.parentCollections?this.parentCollections.slice():(this.parentCollections=this.getParentCollectionsName().map(e=>this.collectionManager.getCollection(e)),this.parentCollections)}getChildrenCollectionsName(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?"supportView":"notSupportView";if(this.childrenCollectionsName[t])return this.childrenCollectionsName[t].slice();let o=[],l=this.collectionManager.getCollections(),n=t=>(l.filter(e=>{var o;return null==(o=e.inherits)?void 0:o.includes(t)}).forEach(e=>{let t=e.name;return o.push(t),n(t)}),e&&l.filter(e=>{var o;return(null==(o=e.sources)?void 0:o.length)===1&&(null==e?void 0:e.sources[0])===t}).forEach(e=>{let t=e.name;return o.push(e.name),n(t)}),(0,x.uniq)(o));return this.childrenCollectionsName[t]=n(this.name),this.childrenCollectionsName[t]}getChildrenCollections(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?"supportView":"notSupportView";return this.childrenCollections[t]?this.childrenCollections[t].slice():(this.childrenCollections[t]=this.getChildrenCollectionsName(e).map(e=>this.collectionManager.getCollection(e)),this.childrenCollections[t])}getInheritedFields(){if(this.inheritsFields)return this.inheritsFields.slice();let e=this.getParentCollectionsName();return this.inheritsFields=e.map(e=>{var t;return null==(t=this.collectionManager.getCollection(e))?void 0:t.getFields()}).flat().filter(Boolean),this.inheritsFields}getFieldsMap(){return this.fieldsMap||(this.fieldsMap=this.getAllFields().reduce((e,t)=>(e[t.name]=t,e),{})),this.fieldsMap}getCurrentFields(e){return super.getFields(e)}getParentCollectionFields(e){if(this.parentCollectionFields||(this.parentCollectionFields={}),this.parentCollectionFields[e])return this.parentCollectionFields[e];let t=this.getCurrentFields(),o=this.getParentCollectionsName(),l=this.collectionManager.getCollection(e).getCurrentFields(),n=o.indexOf(e),a=t;return n>0&&(o.splice(n),o.forEach(e=>{let t=this.collectionManager.getCollection(e);a=a.concat(t.getCurrentFields())})),this.parentCollectionFields[e]=l.filter(e=>{let t=a.find(t=>t.name===e.name);return(null==t?void 0:t.collectionName)!==this.name}),this.parentCollectionFields[e]}getAllCollectionsInheritChain(){if(this.allCollectionsInheritChain)return this.allCollectionsInheritChain.slice();let e=[this.name],t=o=>{let l=this.collectionManager.getCollection(o);if(l){let{inherits:o}=l,n=l.getChildrenCollectionsName();if(o)for(let l=0;l<o.length;l++){let n=o[l];e.includes(n)||(e.push(n),t(n))}if(n)for(let o=0;o<n.length;o++){let l=this.collectionManager.getCollection(n[o]).name;e.includes(l)||(e.push(l),t(l))}}return e};return this.allCollectionsInheritChain=t(this.name),this.allCollectionsInheritChain||[]}getInheritCollectionsChain(){if(this.inheritCollectionsChain)return this.inheritCollectionsChain.slice();let e=[this.name],t=o=>{let l=this.collectionManager.getCollection(o);if(l){let{inherits:o}=l;if(o)for(let l=0;l<o.length;l++){let n=o[l];e.includes(n)||(e.push(n),t(n))}}return e};return this.inheritCollectionsChain=t(this.name),this.inheritCollectionsChain}getInheritChain(){if(this.inheritChain)return this.inheritChain.slice();let e=this.getInheritCollectionsChain(),t=this.getChildrenCollectionsName(),o=[...e],l=e=>{for(let t of e)if(!o.includes(t)){o.push(t);let e=this.collectionManager.getCollection(t);e&&l(e.getChildrenCollectionsName())}};return l(t),this.inheritChain=o,this.inheritChain}getAllFields(e){if(this.allFields)return this.allFields.slice();let t=this.getCurrentFields(),o=this.getInheritedFields(),l=(0,x.unionBy)((null==t?void 0:t.concat(o))||[],"name");return this.allFields=l,e?(0,x.filter)(l,e):l}getForeignKeyFields(){if(this.foreignKeyFields)return this.foreignKeyFields.slice();let e=this.getCurrentFields(),t=this.getInheritedFields();return(0,x.unionBy)((null==e?void 0:e.concat(t))||[],"name")}constructor(...e){super(...e),this.childrenCollections={},this.childrenCollectionsName={},this.parentCollectionFields={}}}var tO=o(83339);class tq extends tO.T{constructor(...e){super(...e),this.name="general",this.title='{{t("General collection")}}',this.order=1,this.color="blue",this.default={fields:[]},this.configurableProperties=e0("title","name","inherits","category","description","simplePaginate","presetFields")}}class tH extends tO.T{constructor(...e){super(...e),this.name="tree",this.title='{{t("Tree collection")}}',this.order=3,this.color="blue",this.default={tree:"adjacencyList",fields:[{interface:"integer",name:"parentId",type:"bigInt",isForeignKey:!0,uiSchema:{type:"number",title:'{{t("Parent ID")}}',"x-component":"InputNumber","x-read-pretty":!0}},{interface:"m2o",type:"belongsTo",name:"parent",foreignKey:"parentId",treeParent:!0,onDelete:"CASCADE",uiSchema:{title:'{{t("Parent")}}',"x-component":"AssociationField","x-component-props":{multiple:!1,fieldNames:{label:"id",value:"id"}}}},{interface:"o2m",type:"hasMany",name:"children",foreignKey:"parentId",treeChildren:!0,onDelete:"CASCADE",uiSchema:{title:'{{t("Children")}}',"x-component":"AssociationField","x-component-props":{multiple:!0,fieldNames:{label:"id",value:"id"}}}}]},this.presetFieldsDisabledIncludes=["id"],this.events={beforeSubmit(e){Array.isArray(null==e?void 0:e.fields)&&(null==e||e.fields.map(t=>{!t.target&&["belongsToMany","belongsTo","hasMany","hasOne"].includes(t.type)&&(t.target=e.name)}));let t=((null==e?void 0:e.fields)??[]).find(e=>!0===e.primaryKey),o=((null==e?void 0:e.fields)??[]).find(e=>"parentId"===e.name&&!0===e.isForeignKey);if(t&&o){o.interface=t.interface,o.type=t.type;let e=o.uiSchema.title;o.uiSchema=(0,x.cloneDeep)(t.uiSchema),o.uiSchema.title=e,o.autoFill=!1}}},this.configurableProperties=e0("title","name","inherits","category","description","presetFields")}}class tV extends tO.T{constructor(...e){super(...e),this.name="view",this.title='{{t("Connect to database view")}}',this.order=4,this.color="yellow",this.default={fields:[]},this.divider=!0,this.configurableProperties={title:{type:"string",title:'{{ t("Collection display name") }}',required:!0,"x-decorator":"FormItem","x-component":"Input"},databaseView:{title:'{{t("Connect to database view")}}',type:"single",required:!0,"x-decorator":"FormItem","x-component":"Select","x-reactions":["{{useAsyncDataSource(loadDBViews)}}"],"x-disabled":"{{ !createOnly }}","x-visible":"{{!createMainOnly}}"},name:{type:"string",title:'{{t("Collection name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}","x-reactions":{dependencies:["databaseView"],when:"{{isPG}}",fulfill:{state:{initialValue:"{{$deps[0]&&$deps[0].match(/^([^_]+)_(.*)$/)?.[2]}}"}},otherwise:{state:{value:null}}}},schema:{type:"string","x-hidden":!0,"x-reactions":{dependencies:["databaseView"],when:"{{isPG}}",fulfill:{state:{value:"{{$deps[0] && $deps[0].split('@')?.[0]}}"}},otherwise:{state:{value:null}}}},viewName:{type:"string","x-hidden":!0,"x-reactions":{dependencies:["databaseView"],when:"{{isPG}}",fulfill:{state:{value:"{{$deps[0] && $deps[0].split('@')?.[1]}}"}},otherwise:{state:{value:"{{$deps[0] || null}}"}}}},writableView:{type:"boolean","x-content":'{{t("Allow add new, update and delete actions")}}',"x-decorator":"FormItem","x-component":"Checkbox",default:!1,"x-visible":"{{!createMainOnly}}"},sources:{type:"array",title:'{{ t("Source collections") }}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadCollections)}}"],"x-disabled":!0,"x-visible":"{{!createMainOnly}}"},fields:{type:"array","x-component":eb,"x-hidden":"{{ !createOnly }}","x-decorator":"FormItem","x-reactions":{dependencies:["name"],fulfill:{schema:{"x-component-props":"{{$form.values}}"}}},description:'{{t("Fields can only be used correctly if they are defined with an interface.")}}'},preview:{type:"void","x-visible":"{{ createOnly }}","x-component":eS,"x-reactions":{dependencies:["name","fields"],fulfill:{schema:{"x-component-props":"{{$form.values}}"}}}},...e0("category","description","simplePaginate"),filterTargetKey:{title:'{{ t("Record unique key")}}',type:"single",description:'{{t( "If a collection lacks a primary key, you must configure a unique record key to locate row records within a block, failure to configure this will prevent the creation of data blocks for the collection.")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadFilterTargetKeys)}}"]}}}}class tU extends tO.T{constructor(...e){super(...e),this.name="sql",this.title='{{t("SQL collection")}}',this.order=4,this.color="yellow",this.default={fields:[]},this.configurableProperties={title:{type:"string",title:'{{ t("Collection display name") }}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Collection name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"},config:{type:"void","x-decorator":ej,properties:{sql:{type:"string",title:'{{t("SQL")}}',"x-decorator":"FormItem","x-component":eI,required:!0,"x-validator":(e,t,o)=>{let{form:l}=o;return l.query("sql").take().componentProps.disabled?"":tl.Ru.t("Please confirm the SQL statement first")}},sources:{type:"array",title:'{{t("Source collections")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadCollections)}}"]},fields:{type:"array",title:'{{t("Fields")}}',"x-decorator":"FormItem","x-component":eF,required:!0},table:{type:"void",title:'{{t("Preview")}}',"x-decorator":"FormItem","x-component":eP}}},filterTargetKey:{title:'{{ t("Record unique key")}}',type:"single",description:'{{t( "If a collection lacks a primary key, you must configure a unique record key to locate row records within a block, failure to configure this will prevent the creation of data blocks for the collection.")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},"x-reactions":["{{useAsyncDataSource(loadFilterTargetKeys)}}"]},...e0("category","description")}}}class tG extends tN.q{async getDataSource(){var e;let t=await this.app.apiClient.request({resource:"collections",action:"listMeta"});return{key:"main",collections:(null==t||null==(e=t.data)?void 0:e.data)||[]}}}class tK extends tB.k{async load(){this.dataSourceManager.addCollectionMixins([tz]),this.addFieldInterfaces(),this.addCollectionTemplates(),this.addFieldInterfaces(),this.addFieldInterfaceGroups(),this.addMainDataSource()}addMainDataSource(){var e,t;(null==(t=this.options)||null==(e=t.config)?void 0:e.enableRemoteDataSource)!==!1&&this.dataSourceManager.addDataSource(tG,{key:tE.Ze,displayName:tE.gP,status:"loaded"})}addFieldInterfaceGroups(){this.dataSourceManager.addFieldInterfaceGroups({basic:{label:'{{t("Basic")}}',order:1},choices:{label:'{{t("Choices")}}',order:20},media:{label:'{{t("Media")}}',order:40},datetime:{label:'{{t("Date & Time")}}',order:80},relation:{label:'{{t("Relation")}}',order:100},advanced:{label:'{{t("Advanced type")}}',order:200},systemInfo:{label:'{{t("System info")}}',order:400},others:{label:'{{t("Others")}}',order:800}})}addFieldInterfaces(){this.dataSourceManager.addFieldInterfaces([e2,e5,e4,e7,e6,e9,e8,e3,te,tt,tn,ta,tr,ti,td,tu,tc,tp,tm,th,tx,tv,t_,tf,tg,tb,ty,tS,tk,tC,tM,tw,tF,tP,tj,tA,tI,tT,tD,tL,tY,tR])}addCollectionTemplates(){this.dataSourceManager.addCollectionTemplates([tq,tU,tH,tV])}}var tW=o(63586),tJ=o(77624);function tX(e){if(!e)return[];let t=e.split(":"),o=t.pop();return[t[0]??"main",o]}function tZ(e,t){return e&&"main"!==e?`${e}:${t}`:t}},99982(e,t,o){o.r(t),o.d(t,{autoFill:()=>c,autoIncrement:()=>u,collectionDataSource:()=>b,constraintsProps:()=>m,dataSource:()=>_,dateTimeProps:()=>x,defaultProps:()=>f,operators:()=>r,primaryKey:()=>d,recordPickerViewer:()=>g,relationshipType:()=>p,reverseFieldProperties:()=>h,timeProps:()=>v,type:()=>i,unique:()=>s});var l=o(27404),n=o(10691),a=o(36090),r=o(40919);let i={type:"string",title:'{{t("Storage type")}}',required:!0,"x-disabled":!0,"x-decorator":"FormItem","x-component":"Select",enum:[{label:"Boolean",value:"boolean"},{label:"String",value:"string"},{label:"Text",value:"text"},{label:"Integer",value:"integer"},{label:"BigInteger",value:"bigInt"},{label:"Float",value:"float"},{label:"Double",value:"double"},{label:"Decimal",value:"decimal"},{label:"Date",value:"date"},{label:"DateOnly",value:"dateonly"},{label:"Time",value:"time"},{label:"Virtual",value:"virtual"},{label:"JSON",value:"json"},{label:"Password",value:"password"},{label:"One to one",value:"hasOne"},{label:"One to many",value:"hasMany"},{label:"Many to one",value:"belongsTo"},{label:"Many to many",value:"belongsToMany"},{label:"Snapshot",value:"snapshot"}]},s={type:"boolean","x-content":'{{t("Unique")}}',"x-decorator":"FormItem","x-component":"Checkbox","x-disabled":"{{ !createMainOnly || primaryKeyOnly }}","x-reactions":[{dependencies:["primaryKey"],when:"{{$deps[0]}}",fulfill:{state:{value:!1}}}]},d={type:"boolean","x-content":'{{t("Primary")}}',"x-decorator":"FormItem","x-component":"Checkbox","x-disabled":"{{ !createMainOnly || primaryKeyOnly }}","x-reactions":[{dependencies:["unique"],when:"{{$deps[0]&&createMainOnly}}",fulfill:{state:{value:!1}}}]},u={type:"boolean",title:'{{t("Auto increment")}}',"x-content":'{{t("Auto increment")}}',"x-decorator":"FormItem","x-component":"Checkbox","x-disabled":"{{ !createMainOnly }}","x-reactions":[{dependencies:["primaryKey"],when:"{{$deps[0]&&createMainOnly}}",fulfill:{state:{value:!0}}}]},c={type:"boolean",title:'{{t("Default value")}}',"x-content":'{{t("Automatically generate default values")}}',"x-decorator":"FormItem","x-component":"Checkbox",default:!0},p={type:"string",title:'{{t("Relationship type")}}',required:!0,"x-disabled":!0,"x-decorator":"FormItem","x-component":"Select",enum:[{label:"{{t('HasOne')}}",value:"hasOne"},{label:"{{t('HasMany')}}",value:"hasMany"},{label:"{{t('BelongsTo')}}",value:"belongsTo"},{label:"{{t('BelongsToMany')}}",value:"belongsToMany"}]},m={onDelete:{type:"string",title:'{{t("ON DELETE")}}',required:!0,default:"SET NULL","x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Select",enum:[{label:"{{t('SET NULL')}}",value:"SET NULL"},{label:"{{t('RESTRICT')}}",value:"RESTRICT"},{label:"{{t('CASCADE')}}",value:"CASCADE"},{label:"{{t('NO ACTION')}}",value:"NO ACTION"}]}},h={reverse:{type:"void","x-component":"div",properties:{autoCreateReverseField:{type:"boolean",default:!1,"x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Create inverse field in the target collection")}}',"x-reactions":[{target:"reverseField.type",when:"{{!!$self.value}}",fulfill:{state:{hidden:!1}},otherwise:{state:{hidden:!0}}},{target:"reverseField.uiSchema.title",when:"{{!!$self.value}}",fulfill:{state:{hidden:!1}},otherwise:{state:{hidden:!0}}},{target:"reverseField.name",when:"{{!!$self.value}}",fulfill:{state:{hidden:!1}},otherwise:{state:{hidden:!0}}},e=>{let{reverseField:t}=e.form.values;e.value=!!(null==t?void 0:t.key),e.disabled=!!(null==t?void 0:t.key)}]},"reverseField.type":{...p,title:'{{t("Inverse relationship type")}}'},"reverseField.uiSchema.title":{type:"string",title:'{{t("Inverse field display name")}}',default:"{{record.title}}",required:!0,"x-decorator":"FormItem","x-component":"Input","x-disabled":"{{ !showReverseFieldConfig }}"},"reverseField.name":{type:"string",title:'{{t("Inverse field name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input","x-validator":"uid","x-disabled":"{{ !showReverseFieldConfig }}",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"}}}},x={"uiSchema.x-component-props.picker":{type:"string",title:'{{t("Picker")}}',"x-decorator":"FormItem","x-component":"Radio.Group",default:"date",enum:[{label:'{{t("Date")}}',value:"date"},{label:'{{t("Month")}}',value:"month"},{label:'{{t("Quarter")}}',value:"quarter"},{label:'{{t("Year")}}',value:"year"}]},"uiSchema.x-component-props.dateFormat":{type:"string",title:'{{t("Date format")}}',"x-decorator":"FormItem","x-component":"ExpiresRadio","x-decorator-props":{},"x-component-props":{className:(0,n.css)`
124
124
  .ant-radio-wrapper {
125
125
  display: flex;
126
126
  margin: 5px 0px;
@@ -136,7 +136,7 @@ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import
136
136
  display: flex;
137
137
  margin: 5px 0px;
138
138
  }
139
- `,defaultValue:"h:mm a",formats:["hh:mm:ss a","HH:mm:ss"],timeFormat:!0},default:"HH:mm:ss",enum:[{label:(0,a.b)({format:"hh:mm:ss a"}),value:"hh:mm:ss a"},{label:(0,a.b)({format:"HH:mm:ss"}),value:"HH:mm:ss"},{label:"custom",value:"custom"}]}},_={type:"array",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"ArrayTable","x-component-props":{pagination:{pageSize:1e3}},items:{type:"object",properties:{column1:{type:"void","x-component":"ArrayTable.Column","x-component-props":{width:50,title:"",align:"center"},properties:{sort:{type:"void","x-component":"ArrayTable.SortHandle"}}},column2:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option value")}}'},properties:{value:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input","x-reactions":e=>{e.initialValue||e.initialized||(e.initialValue=(0,l.uid)(),e.setValue((0,l.uid)()))}}}},column3:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option label")}}'},properties:{label:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input"}}},column4:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Color")}}'},properties:{color:{type:"string","x-decorator":"FormItem","x-component":"ColorSelect"}}},column5:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:"",dataIndex:"operations",fixed:"right"},properties:{item:{type:"void","x-component":"FormItem",properties:{remove:{type:"void","x-component":"ArrayTable.Remove"}}}}}}},properties:{add:{type:"void","x-component":"ArrayTable.Addition","x-component-props":{randomValue:!0},title:"{{t('Add option')}}"}}},f={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"}},g={type:"void",title:'{{ t("View record") }}',"x-component":"RecordPicker.Viewer","x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}},b={type:"string",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},enum:"{{collections}}"}},40919(e,t,o){o.r(t),o.d(t,{array:()=>n,bigField:()=>h,boolean:()=>c,collection:()=>m,datetime:()=>r,enumType:()=>d,id:()=>s,number:()=>i,object:()=>a,string:()=>l,tableoid:()=>p,time:()=>u});let l=[{label:'{{t("contains")}}',value:"$includes",selected:!0},{label:'{{t("does not contain")}}',value:"$notIncludes"},{label:'{{t("is")}}',value:"$eq"},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],n=[{label:'{{t("is")}}',value:"$match",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is not")}}',value:"$notMatch",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is any of")}}',value:"$anyOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$noneOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],a=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"}],r=[{label:"{{ t('is') }}",value:"$dateOn",selected:!0,schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is not') }}",value:"$dateNotOn",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is before') }}",value:"$dateBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is after') }}",value:"$dateAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or after') }}",value:"$dateNotBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or before') }}",value:"$dateNotAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is between') }}",value:"$dateBetween",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!0}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],i=[{label:'{{t("=")}}',value:"$eq",selected:!0},{label:'{{t("≠")}}',value:"$ne"},{label:'{{t(">")}}',value:"$gt"},{label:'{{t("≥")}}',value:"$gte"},{label:'{{t("<")}}',value:"$lt"},{label:'{{t("≤")}}',value:"$lte"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],s=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("exists")}}',value:"$exists",noValue:!0},{label:'{{t("not exists")}}',value:"$notExists",noValue:!0}],d=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],u=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$neq"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],c=[{label:'{{t("Yes")}}',value:"$isTruly",selected:!0,noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:'{{t("No")}}',value:"$isFalsy",noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],p=[{label:'{{t("is any of")}}',value:"$childIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$childNotIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}}],m=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],h=[{label:'{{t("contains")}}',value:"$includes",selected:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("does not contain")}}',value:"$notIncludes",schema:{type:"string","x-component":"Input"}},{label:'{{t("is")}}',value:"$eq",schema:{type:"string","x-component":"Input"}},{label:'{{t("is not")}}',value:"$ne",schema:{type:"string","x-component":"Input"}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0,schema:{type:"string","x-component":"Input"}}]},63586(e,t,o){o.d(t,{Jq:()=>p,T8:()=>m,ds:()=>c,hu:()=>u});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44374),s=o(16211);let d={name:"fields",targetKey:"name",fields:[{type:"string",name:"type",interface:"input",uiSchema:{title:'{{ t("Storage type") }}',type:"string","x-component":"Select",enum:[{label:"String",value:"string"}],required:!0}},{type:"string",name:"interface",interface:"input",uiSchema:{title:'{{ t("Field interface") }}',type:"string","x-component":"Select",enum:"{{interfaces}}"}},{type:"string",name:"title",interface:"input",uiSchema:{title:'{{ t("Field display name") }}',type:"string","x-component":"Input",required:!0}},{type:"string",name:"name",interface:"input",uiSchema:{title:'{{ t("Field name") }}',type:"string","x-component":"Input"}}]},u=(0,r.createContext)(null);u.displayName="DataSourceContext_deprecated";let c={useSelectedRowKeys:()=>{let e=(0,r.useContext)(u);return[e.selectedRowKeys,e.setSelectedRowKeys]},useDataSource_deprecated:e=>{let t=(0,r.useContext)(u);return(0,i.useRequest)(()=>Promise.resolve({data:t.dataSource}),{...e,refreshDeps:[JSON.stringify(t.dataSource)]})},useCreateAction:()=>{let e=(0,r.useContext)(u),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)();return{async run(){console.log("form.values",t.values);let l=e.dataSource||[];l.push((0,a.cloneDeep)(t.values)),e.setDataSource([...l]),o(!1),await t.reset()}}},useBulkDestroyAction:()=>{let e=(0,r.useContext)(u),{selectedRowKeys:t,setSelectedRowKeys:o}=e;return{async run(){let l=e.dataSource||[];e.setDataSource(l.filter((e,o)=>!t.includes(o))),o([])}}},useUpdateAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)(),l=(0,r.useContext)(u);return{async run(){let n=((null==l?void 0:l.dataSource)||[]).map((o,l)=>l===e?{...t.values}:o);l.setDataSource([...n]),o(!1)}}},useDestroyAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,r.useContext)(u);return{async run(){let o=t.dataSource||[];t.setDataSource(o.filter((t,o)=>e!==o))}}}},p=(0,n.observer)(e=>{let[t,o]=(0,r.useState)([]),[n,a]=(0,r.useState)([]),c=(0,i.useRecord)(),p=(0,s.VB)(),m=(0,i.useRequest)(()=>{if("subTable"===c.interface){var e;return(null==c||null==(e=c.children)?void 0:e.length)?Promise.resolve({data:(null==c?void 0:c.children)||[]}):p.resource("fields").list({paginate:!1,sort:"sort",filter:{parentKey:c.key}}).then(e=>null==e?void 0:e.data)}return Promise.resolve({data:[]})},{onSuccess(e){console.log("dataSource1",null==e?void 0:e.data),a(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:d,children:(0,l.jsx)(u.Provider,{value:{rowKey:"name",service:m,dataSource:n,setDataSource:a,selectedRowKeys:t,setSelectedRowKeys:o},children:e.children})})},{displayName:"SubFieldDataSourceProvider_deprecated"}),m=(0,n.observer)(e=>{let{rowKey:t,collection:o,association:n}=e,[a,d]=(0,r.useState)([]),[c,p]=(0,r.useState)([]),m=(0,i.useRecord)(),h=(0,s.VB)(),{getCollection:x}=(0,i.useCollectionManager_deprecated)(),v=x(o),_=null==m?void 0:m[n.targetKey||"id"],f=(0,i.useRequest)(()=>{if(_){var e,t;return h.request({resource:`${n.collectionName}.${n.name}`,resourceOf:_,action:"list",params:{appends:null==v||null==(t=v.fields)||null==(e=t.filter(e=>e.target))?void 0:e.map(e=>e.name)}}).then(e=>e.data)}return Promise.resolve({data:(null==m?void 0:m[n.name])||[]})},{onSuccess(e){p(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:v,children:(0,l.jsx)(u.Provider,{value:{rowKey:t,service:f,dataSource:c,setDataSource:p,selectedRowKeys:a,setSelectedRowKeys:d},children:e.children})})},{displayName:"DataSourceProvider_deprecated"})},85162(e,t,o){o.d(t,{b:()=>i});var l=o(71178),n=o(52793);o(51649);var a=o(77843),r=o(38356);let i=()=>{let e=(0,r.useNavigate)(),{t}=(0,a.useTranslation)();return(0,l.jsx)(n.Result,{status:"404",title:"404",subTitle:t("Sorry, the page you visited does not exist."),extra:(0,l.jsx)(n.Button,{onClick:()=>e("/",{replace:!0}),type:"primary",children:"Back Home"})})}},25180(e,t,o){o.d(t,{$:()=>r});var l=o(71178),n=o(52793),a=o(51649);function r(e){let{title:t,defaultValue:o,onChange:r,options:i,fieldNames:s,...d}=e,[u,c]=(0,a.useState)(!1),p=(0,a.useRef)(null);return(0,l.jsxs)("div",{style:{alignItems:"center",display:"flex",justifyContent:"space-between"},onClick:e=>{e.stopPropagation(),c(e=>!e)},onMouseLeave:()=>{p.current=setTimeout(()=>{c(!1)},200)},children:[t,(0,l.jsx)(n.Select,{...d,open:u,"data-testid":`select-${t}`,popupMatchSelectWidth:!1,bordered:!1,defaultValue:o,onChange:r,popupClassName:`select-popup-${t.replaceAll(" ","-")}`,fieldNames:s,options:i,style:{textAlign:"right",minWidth:100},onMouseEnter:()=>{clearTimeout(p.current)}})]})}},52081(e,t,o){o.d(t,{W:()=>a});var l=o(83489),n=o(4627);let a=async(e,t)=>{if(!e)return e;let{evaluate:o}=l.evaluators.get("string"),{exp:a,scope:r}=await (0,n.qk)(e,t);return o(a,{now:()=>new Date().toString(),...r})}},53770(e,t,o){o.d(t,{$d:()=>n.$,Wu:()=>r.W,bM:()=>l.b,qA:()=>a.q});var l=o(85162),n=o(25180),a=o(57359),r=o(52081)},57359(e,t,o){o.d(t,{q:()=>i});var l=o(56920),n=o(46724),a=o(31574),r=o(32221);function i(){var e,t,o,i;let{fieldSchema:s,collectionField:d}=(0,r.BC)(),u=(0,l.useField)(),c=(0,a.oA)(),p=(0,l.useFieldSchema)(),m=(0,n.E1)(),h=s||p,x=d||m,v=(null==h||null==(e=h["x-component-props"])?void 0:e.mode)||(null==u||null==(t=u.componentProps)?void 0:t.mode)||(c?"FileManager":"")||(null==h||null==(o=h["x-component-props"])?void 0:o.component)||(null==x||null==(i=x.uiSchema)?void 0:i["x-component"]);return({AssociationField:"Select"})[v]||v}},85906(e,t,o){o.d(t,{t:()=>n});var l=o(51649);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,l.useRef)(0);return(0,l.useEffect)(()=>{let e=e=>{let{clientY:o}=e;t.current=Math.max(o,window.innerHeight-o)};return window.addEventListener("mousemove",e),()=>{window.removeEventListener("mousemove",e)}},[]),(0,l.useMemo)(()=>t.current-40,e)}},25739(e,t,o){o.d(t,{B:()=>s});var l=o(72741),n=o(51649),a=o(13975),r=o(52793);let i=e=>{let{children:t}=e,{token:o}=r.theme.useToken(),i=o.colorFillTertiary,s=new l.TinyColor(o.colorFill).onBackground(o.colorFillSecondary).toHexShortString(),d=new l.TinyColor(o.colorFill).onBackground(o.colorFill).toHexShortString(),u=new l.TinyColor(o.colorFill).onBackground(o.colorFill).onBackground(o.colorFill).toHexShortString();return(0,n.useEffect)(()=>{document.body.style.setProperty("--nb-spacing",`${o.marginLG}px`),document.body.style.setProperty("--nb-designer-offset",`${o.marginXS}px`),document.body.style.setProperty("--nb-header-height",`${o.sizeXXL-2}px`),document.body.style.setProperty("--nb-box-bg",o.colorBgLayout),document.body.style.setProperty("--colorBgLayout",o.colorBgLayout),document.body.style.setProperty("--colorBgContainer",o.colorBgContainer),document.body.style.setProperty("--controlHeightLG",`${o.controlHeightLG}px`),document.body.style.setProperty("--paddingContentVerticalSM",`${o.paddingContentVerticalSM}px`),document.body.style.setProperty("--marginSM",`${o.marginSM}px`),document.body.style.setProperty("--colorInfoBg",o.colorInfoBg),document.body.style.setProperty("--colorInfoBorder",o.colorInfoBorder),document.body.style.setProperty("--colorWarningBg",o.colorWarningBg),document.body.style.setProperty("--colorWarningBorder",o.colorWarningBorder),document.body.style.setProperty("--colorText",o.colorText),document.body.style.setProperty("--colorTextDescription",o.colorTextDescription),document.body.style.setProperty("--colorBgTextHover",o.colorBgTextHover),document.body.style.setProperty("--colorSplit",o.colorSplit),document.body.style.setProperty("--borderRadiusOuter",`${o.borderRadiusOuter}px`),document.body.style.setProperty("--colorTextHeaderMenu",o.colorTextHeaderMenu),document.body.style.setProperty("--colorPrimaryText",o.colorPrimaryText),document.body.style.setProperty("--colorPrimaryTextActive",o.colorPrimaryTextActive),document.body.style.setProperty("--colorPrimaryTextHover",o.colorPrimaryTextHover),document.body.style.setProperty("--colorBgSider",o.colorBgSider),document.body.style.setProperty("--colorBgSiderMenuHover",o.colorBgSiderMenuHover),document.body.style.setProperty("--colorBgSiderMenuActive",o.colorBgSiderMenuActive),document.body.style.setProperty("--colorTextSiderMenu",o.colorTextSiderMenu),document.body.style.setProperty("--colorTextSiderMenuHover",o.colorTextSiderMenuHover),document.body.style.setProperty("--colorTextSiderMenuActive",o.colorTextSiderMenuActive),document.body.style.setProperty("--colorBgScrollTrack",i),document.body.style.setProperty("--colorBgScrollBar",s),document.body.style.setProperty("--colorBgScrollBarHover",d),document.body.style.setProperty("--colorBgScrollBarActive",u),document.body.style.setProperty("--colorSettings",o.colorSettings||a.defaultTheme.token.colorSettings),document.body.style.setProperty("--colorBgSettingsHover",o.colorBgSettingsHover),document.body.style.setProperty("--colorTemplateBgSettingsHover",o.colorTemplateBgSettingsHover),document.body.style.setProperty("--colorBorderSettingsHover",o.colorBorderSettingsHover),document.body.style.setProperty("--colorBgMenuItemSelected",o.colorBgHeaderMenuActive),document.body.style.setProperty("background-color",o.colorBgContainer)},[s,u,d,i,o.colorBgContainer,o.colorBgLayout,o.colorBgSettingsHover,o.colorTemplateBgSettingsHover,o.colorBorderSettingsHover,o.colorInfoBg,o.colorInfoBorder,o.colorPrimaryText,o.colorPrimaryTextActive,o.colorPrimaryTextHover,o.colorSettings,o.colorBgTextHover,o.colorSplit,o.colorText,o.colorTextDescription,o.colorWarningBg,o.colorWarningBorder,o.borderRadiusOuter,o.controlHeightLG,o.marginLG,o.marginSM,o.marginXS,o.paddingContentVerticalSM,o.sizeXXL,o.colorTextHeaderMenu,o.colorBgSider,o.colorBgSiderMenuHover,o.colorBgSiderMenuActive,o.colorTextSiderMenu,o.colorTextSiderMenuHover,o.colorTextSiderMenuActive,o.colorBgHeaderMenuActive]),t};i.displayName="CSSVariableProvider";let s=i},29928(e,t,o){o.d(t,{y:()=>r});var l=o(77583),n=o(99982),a=o(63526);class r{addComponentOption(e){if(!this.componentOptions){var t,o,n,r,i,s;this.componentOptions=[];let e=null==(o=this.default)||null==(t=o.uiSchema)?void 0:t["x-component"],d=null==(r=this.default)||null==(n=r.uiSchema)?void 0:n["x-component-props"];if(e){let t=(null==(s=this.default)||null==(i=s.uiSchema)?void 0:i.type)||"string",o=(0,a.tval)(e.startsWith("Input")?(0,l.capitalize)(t):e.split(".").pop());this.componentOptions=[{label:o,value:e,useProps:()=>d||{}}]}}this.componentOptions.push(e)}getConfigureFormProperties(e){let t=this.hasDefaultValue?this.getDefaultValueProperty():{};this.availableValidationOptions.push("required");let o=null==e?void 0:e.view,a=(null==e?void 0:e.template)==="sql"||(null==e?void 0:e.sql),r=o||a||!this.validationType?{}:{validation:{title:'{{ t("Validation") }}',required:!1,"x-decorator":"FormItem","x-component":"FieldValidation","x-component-props":{type:this.validationType,availableValidationOptions:[...new Set(this.availableValidationOptions)],excludeValidationOptions:[...new Set(this.excludeValidationOptions)],isAssociation:this.isAssociation}}};return{...(0,l.cloneDeep)({...n.defaultProps,...null===this||void 0===this?void 0:this.properties}),...t,...r}}getDefaultValueProperty(){var e,t;return{defaultValue:{...(0,l.cloneDeep)(null===this||void 0===this||null==(e=this.default)?void 0:e.uiSchema),...null===this||void 0===this||null==(t=this.properties)?void 0:t.uiSchema,required:!1,title:'{{ t("Default value") }}',"x-decorator":"FormItem","x-reactions":[{dependencies:["uiSchema.x-component-props.gmt","uiSchema.x-component-props.showTime","uiSchema.x-component-props.dateFormat","uiSchema.x-component-props.timeFormat","uiSchema.x-component-props.picker","uiSchema.x-component-props.format"],fulfill:{state:{componentProps:{gmt:"{{$deps[0]}}",showTime:"{{$deps[1]}}",dateFormat:"{{$deps[2]}}",timeFormat:"{{$deps[3]}}",picker:"{{$deps[4]}}",format:"{{$deps[5]}}"}}}},{dependencies:["uiSchema.x-component-props.picker"],fulfill:{state:{value:null}}},{dependencies:["primaryKey","unique","autoIncrement","defaultToCurrentTime"],when:"{{$deps[0]||$deps[1]||$deps[2]||$deps[3]}}",fulfill:{state:{hidden:!0,value:null}},otherwise:{state:{hidden:!1}}},{dependencies:["uiSchema.enum"],fulfill:{state:{dataSource:"{{$deps[0]}}"}}}]}}}addOperator(e){(0,l.set)(this,"filterable.operators",[...this.filterable.operators||[]]),this.filterable.operators.find(t=>t.value===e.value)||this.filterable.operators.push(e)}constructor(e){this.collectionFieldInterfaceManager=e,this.availableValidationOptions=[]}}},32799(e,t,o){o.d(t,{y:()=>l.y,L:()=>n});var l=o(29928);class n{addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,Array.isArray(this.actionList[o.name])&&(this.actionList[o.name].forEach(e=>{o[e.type](e.data)}),this.actionList[o.name]=void 0),e},{});Object.assign(this.collectionFieldInterfaceInstances,t)}addFieldInterfaceComponentOption(e,t){let o=this.getFieldInterface(e);if(!o){this.actionList[e]||(this.actionList[e]=[]),this.actionList[e].push({type:"addComponentOption",data:t});return}o.addComponentOption(t)}addFieldInterfaceOperator(e,t){let o=this.getFieldInterface(e);null==o||o.addOperator(t)}getFieldInterface(e){return this.collectionFieldInterfaceInstances[e]}getFieldInterfaces(e){return Object.values(this.collectionFieldInterfaceInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)})}addFieldInterfaceGroups(e){Object.assign(this.collectionFieldGroups,e)}getFieldInterfaceGroups(){return this.collectionFieldGroups}getFieldInterfaceGroup(e){return this.collectionFieldGroups[e]}constructor(e,t,o){this.dataSourceManager=o,this.collectionFieldInterfaceInstances={},this.collectionFieldGroups={},this.actionList={},this.addFieldInterfaces(e),this.addFieldInterfaceGroups(t)}}},42219(e,t,o){o.d(t,{J:()=>g});var l=o(71178),n=o(56920),a=o(2314),r=o(27404),i=o(77583),s=o(51649),d=o(69412),u=o(30644),c=o(80461),p=o(82924),m=o(83508),h=o(59896),x=o(46724);let v=(e,t,o)=>{(0,a.untracked)(()=>{void 0===e[t]&&(e[t]=o)})},_=e=>{var t;let o=(0,p.lum)(),a=(0,n.useField)(),u=(0,n.useFieldSchema)(),{uiSchema:h,defaultValue:_}=(0,x.E1)(),{isAllowToSetDefaultValue:f}=(0,m.eT)(),g=(0,p.xZI)((null==(t=u["x-component-props"])?void 0:t.component)||(null==h?void 0:h["x-component"])||"Input"),b=(0,d.Es)(),y=(0,c.S)(null==h?void 0:h["x-use-component-props"],e);return((0,s.useEffect)(()=>{if(!h)return;let e=o(h);if(v(a,"content",e["x-content"]),v(a,"title",e.title),v(a,"description",e.description),null==b?void 0:b.form){let e=f()?u.default||_:void 0;null!=e&&v(a,"initialValue",e)}!a.validator&&(e["x-validator"]||u["x-validator"])&&(a.validator=(0,i.concat)([],e["x-validator"]||[],u["x-validator"]||[])),!0===u["x-disabled"]&&(a.disabled=!0),!0===u["x-read-pretty"]&&(a.readPretty=!0),void 0===u.required&&(a.required=!!e.required),a.dataSource=e.enum,a.data=a.data||{},a.data.dataSource=null==e?void 0:e.enum;let t=o(e["x-component-props"])||{};a.componentProps=(0,r.merge)(t,a.componentProps||{},y||{})},[h]),h)?(0,l.jsx)(g,{...e,...y}):null},f=e=>{var t;let o=(0,n.useField)(),a=(0,n.useFieldSchema)(),{uiSchema:r}=(0,u.ZC)(),i=(0,p.xZI)((null==(t=a["x-component-props"])?void 0:t.component)||(null==r?void 0:r["x-component"])||"Input"),d=(0,c.S)(null==r?void 0:r["x-use-component-props"],e);if((0,s.useEffect)(()=>{!0!==a["x-read-pretty"]||o.readPretty||(o.readPretty=!0),!0===a["x-disabled"]&&(o.disabled=!0),o.data=o.data||{},o.data.dataSource=null==r?void 0:r.enum},[o,a]),!r)return null;let m={...e,...d};return(0,h.DZ)(m.value)&&m.value===a.default&&(m.value=void 0),(0,l.jsx)(i,{...m})},g=(0,n.connect)(e=>{let t=(0,n.useFieldSchema)(),o=(0,u.IC)();return(0,l.jsx)(x.Ey,{name:t.name,children:o?(0,l.jsx)(f,{...e}):(0,l.jsx)(_,{...e})})});g.displayName="CollectionField"},46724(e,t,o){o.d(t,{E1:()=>c,Ey:()=>d,bJ:()=>u,yn:()=>s});var l=o(71178),n=o(51649),a=o(56920),r=o(40829),i=o(52968);let s=(0,n.createContext)(null);s.displayName="CollectionFieldContext";let d=e=>{let{name:t,children:o,allowNull:d}=e,u=(0,a.useFieldSchema)(),c=(0,r.Ge)(),p=(0,r.r2)(),m=(0,n.useMemo)(()=>{var e;if(!c)return null;let o=null==u||null==(e=u["x-component-props"])?void 0:e.field;return p.getCollectionField(null==u?void 0:u["x-collection-field"])||o||c.getField((null==o?void 0:o.name)||t)},[c,u,p,t]);return!m&&d?(0,l.jsx)(l.Fragment,{children:o}):m?(0,l.jsx)(s.Provider,{value:m,children:o}):(0,l.jsx)(i.x,{type:"Field",name:t})},u=e=>(0,l.jsx)(s.Provider,{value:null,children:e.children}),c=()=>(0,n.useContext)(s)},78813(e,t,o){o.d(t,{o:()=>l});class l{setData(e){this.data=e}setParentRecord(e){this.parentRecord=e}constructor(e){let{data:t,parentRecord:o,isNew:l}=e;this.isNew=l,this.data=t,this.parentRecord=o}}},35432(e,t,o){o.d(t,{Jw:()=>i,PD:()=>s,Vm:()=>u,tH:()=>r,vt:()=>c,zv:()=>d});var l=o(71178),n=o(51649),a=o(78813);let r=(0,n.createContext)(null);r.displayName="CollectionRecordContext";let i=n.default.memo(e=>{let{isNew:t,record:o,parentRecord:i,children:s}=e,d=(0,n.useMemo)(()=>i?i instanceof a.o?i:new a.o({data:i}):o instanceof a.o?o.parentRecord:void 0,[i,o]),u=(0,n.useMemo)(()=>{let e;return o?o instanceof a.o?(e=o).isNew=o.isNew||t:e=new a.o({data:o,isNew:t}):e=new a.o({isNew:t}),e.setParentRecord(d),e},[o,d,t]);return(0,l.jsx)(r.Provider,{value:u,children:s})});function s(){return(0,n.useContext)(r)}function d(){let e=s();return null==e?void 0:e.data}function u(){let e=s();return null==e?void 0:e.parentRecord}function c(){var e;let t=s();return null==t||null==(e=t.parentRecord)?void 0:e.data}i.displayName="CollectionRecordProvider"},66110(e,t,o){o.d(t,{Jw:()=>n.Jw,PD:()=>n.PD,Vm:()=>n.Vm,ol:()=>l.o,tH:()=>n.tH,vt:()=>n.vt,zv:()=>n.zv});var l=o(78813),n=o(35432)},14469(e,t,o){o.d(t,{$:()=>i,_:()=>r});var l=o(2314),n=o(77583);let a="__isNewRecord__",r=e=>(0,l.untracked)(()=>!!(null==e?void 0:e[a])),i=e=>{if(!(0,n.isObject)(e))throw Error("markRecordAsNew: record must be an object");return e[a]=!0,e}},83339(e,t,o){o.d(t,{T:()=>l});class l{constructor(e){this.collectionTemplateManager=e}}},86960(e,t,o){o.d(t,{C:()=>l});class l{addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,e},{});return Object.assign(this.collectionTemplateInstances,t),this.dataSourceManager.getDataSources().forEach(e=>{let o=e.collectionManager.getCollections(e=>t[e.template]);e.collectionManager.reAddCollections(o)}),t}getCollectionTemplate(e){return this.collectionTemplateInstances[e]}getCollectionTemplates(e){return Object.values(this.collectionTemplateInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)}).sort((e,t)=>(e.order||0)-(t.order||0))}constructor(e,t){this.dataSourceManager=t,this.collectionTemplateInstances={},this.addCollectionTemplates(e)}}},94138(e,t,o){o.d(t,{$z:()=>p,KY:()=>c,UJ:()=>m});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174),s=o(49621);let d=(0,n.createContext)(null);d.displayName="ParentCollectionContext";let u=e=>{let t=(0,s.Ge)();return(0,l.jsx)(d.Provider,{value:t,children:e.children})},c=()=>(0,n.useContext)(d),p=e=>{let{name:t,children:o}=e,n=(0,i.r2)().getCollectionName(t);return n?(0,l.jsx)(s.Yz,{name:String(t).split(".")[0],children:(0,l.jsx)(u,{children:(0,l.jsx)(a.Ey,{name:t,children:(0,l.jsx)(s.Yz,{name:n,children:o})})})}):(0,l.jsx)(r.x,{type:"Collection",name:t})},m=()=>{let e=(0,a.E1)();return(null==e?void 0:e.target)?`${e.collectionName}.${e.name}`:null}},21086(e,t,o){o.d(t,{p:()=>n});var l=o(77583);class n{get fields(){return this.options.fields||[]}get app(){return this.collectionManager.app}get dataSource(){return this.options.dataSource}get sourceKey(){return this.options.sourceKey}get name(){return this.options.name}get key(){return this.options.key}get title(){return this.options.title}get inherit(){return this.options.inherit}get hidden(){return this.options.hidden}get description(){return this.options.description}get duplicator(){return this.options.duplicator}get category(){return this.options.category}get targetKey(){return this.options.targetKey}get model(){return this.options.model}get createdBy(){return this.options.createdBy}get updatedBy(){return this.options.updatedBy}get logging(){return this.options.logging}get from(){return this.options.from}get rawTitle(){return this.options.rawTitle}getPrimaryKey(){if(this.primaryKey)return this.primaryKey;if(this.options.targetKey)return this.options.targetKey;let e=this.getFields({primaryKey:!0})[0];return this.primaryKey=null==e?void 0:e.name,this.primaryKey}getFilterTargetKey(){return this.filterTargetKey||this.getPrimaryKey()||"id"}get inherits(){return this.options.inherits||[]}get titleField(){return this.hasField(this.options.titleField)?this.options.titleField:this.getPrimaryKey()}get sources(){return this.options.sources||[]}get template(){return this.options.template}get tableName(){return this.options.tableName}get viewName(){return this.options.viewName}get writableView(){return this.options.writableView}get filterTargetKey(){return this.options.filterTargetKey}get sortable(){return this.options.sortable}get autoGenId(){return this.options.autoGenId}get magicAttribute(){return this.options.magicAttribute}get tree(){return this.options.tree}get isThrough(){return this.options.isThrough}get autoCreate(){return this.options.autoCreate}get resource(){return this.options.resource}setOption(e,t){return this.options[e]=t,this}getOptions(){return this.options}getOption(e){return this.options[e]}getFields(e){return e?(0,l.filter)(this.fields,e):this.fields}getAllFields(e){return this.getFields(e)}getFieldsMap(){return this.fieldsMap||(this.fieldsMap=this.getFields().reduce((e,t)=>(e[t.name]=t,e),{})),this.fieldsMap}getFieldByAssociationName(e){let t=this.getFieldsMap(),[o,...l]=String(e).split("."),n=t[o];if(!n)return;let a=null==n?void 0:n.target;if(!a)return;let r=this.collectionManager.getCollection(a);if(r)return r.getField(l.join("."))}getField(e){if(!e)return;let t=this.getFieldsMap();if(String(e).split(".").length>1){let t=this.getFieldByAssociationName(e);return t||("string"==typeof e&&e.startsWith(`${this.name}.`)?(e=e.replace(`${this.name}.`,""),this.getField(e)):void 0)}return t[e]}hasField(e){return!!this.getField(e)}isTitleField(e){var t;return null==(t=this.app.dataSourceManager.collectionFieldInterfaceManager.getFieldInterface(e.interface))?void 0:t.titleUsable}isInherited(){return this.inherits.length>0}constructor(e,t){this.options=e,this.collectionManager=t}}},26174(e,t,o){o.d(t,{Jr:()=>i,Pf:()=>d,Xd:()=>c,r2:()=>u});var l=o(71178),n=o(51649),a=o(23460),r=o(17544);let i=(0,n.createContext)(null);i.displayName="CollectionManagerContext";let s=e=>{let{instance:t,children:o}=e,s=(0,a.xw)(),d=(0,r.h_)(),u=(0,n.useMemo)(()=>t||(null==s?void 0:s.collectionManager),[t,s]),[c,p]=n.default.useState(Math.random());(0,n.useEffect)(()=>{u.dataSource.addReloadCallback(()=>{p(Math.random())})},[u]);let m=(0,n.useMemo)(()=>(null==d?void 0:d.length)?u.clone(d):u,[u,d,c]);return(0,l.jsx)(i.Provider,{value:m,children:o})},d=e=>{let{instance:t,dataSource:o,children:n}=e;return(0,l.jsx)(a.tc,{dataSource:o,children:(0,l.jsx)(s,{instance:t,children:n})})};function u(){return(0,n.useContext)(i)}let c=e=>{let t=u();return(0,n.useMemo)(()=>t.getCollections(e),[t,e])}},49621(e,t,o){o.d(t,{$h:()=>p,CQ:()=>s,Ge:()=>c,N5:()=>u,Yz:()=>d});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174);let s=(0,n.createContext)(null);s.displayName="CollectionContext";let d=e=>{let{name:t,children:o,allowNull:a}=e,d=(0,i.r2)(),u=(0,n.useMemo)(()=>null==d?void 0:d.getCollection(t),[d,t]);return!u&&a?(0,l.jsx)(l.Fragment,{children:e.children}):u||a?(0,l.jsx)(s.Provider,{value:u,children:o}):(0,l.jsx)(r.x,{type:"Collection",name:t})},u=e=>(0,l.jsx)(a.yn.Provider,{value:null,children:(0,l.jsx)(d,{...e})});function c(){return(0,n.useContext)(s)}let p=e=>{let t=c();return(0,n.useMemo)(()=>t.getFields(e),[t,e])}},17544(e,t,o){o.d(t,{Jl:()=>s,h_:()=>d,pi:()=>i});var l=o(71178),n=o(51649),a=o(23460),r=o(26174);let i=(0,n.createContext)(null);i.displayName="ExtendCollectionsContext";let s=e=>{let{children:t,collections:o}=e,s=d(),u=(0,n.useMemo)(()=>s?[...s,...o]:o,[s,o]),c=(0,a.Mp)();return(0,l.jsx)(i.Provider,{value:u,children:(0,l.jsx)(r.Pf,{dataSource:c,children:t})})};function d(){return(0,n.useContext)(i)}},40829(e,t,o){o.d(t,{pM:()=>l.p,r2:()=>u.r2,Jr:()=>u.Jr,Pf:()=>u.Pf,$z:()=>a.$z,UJ:()=>a.UJ,h_:()=>c.h_,pi:()=>c.pi,Jl:()=>c.Jl,qG:()=>d,KY:()=>a.KY,N5:()=>n.N5,Yz:()=>n.Yz,Xd:()=>u.Xd,$h:()=>n.$h,CQ:()=>n.CQ,Ge:()=>n.Ge});var l=o(21086),n=o(49621),a=o(94138),r=o(42966),i=o(7271);let s=(e,t)=>{let{rawTitle:o,title:l,fields:n=[],...a}=e,r=(o,l)=>{var n,a;if(e.disableTranslation)return o;if(null==(n=t.context)?void 0:n.t)return t.context.t(o,l);let r=t.i18n||(null==(a=t.getOptions)?void 0:a.call(t).i18n)||i.Ru;return(null==r?void 0:r.t)?r.t(o,l):o};return{...a,title:o?l:r(l,{ns:"lm-collections"}),rawTitle:o||l,fields:null==n?void 0:n.map(e=>{let{uiSchema:t,...o}=e;if(null==t?void 0:t.title){let e=t.title;t.title=t.rawTitle?e:r(e,{ns:"lm-collections"}),t.rawTitle=t.rawTitle||e}return Array.isArray(null==t?void 0:t.enum)&&(t.enum=t.enum.map(e=>({...e,value:(null==e?void 0:e.value)===void 0?e:e.value,label:e.rawLabel?e.label:r(e.label,{ns:"lm-collections"}),rawLabel:e.rawLabel||e.label}))),{uiSchema:t,...o}})}};class d{get dataSourceManager(){return this.dataSource.dataSourceManager}get app(){return this.dataSourceManager.app}getCollectionInstance(e){var t,o;let n,a=this.dataSource.dataSourceManager.collectionTemplateManager.getCollectionTemplate(e.template),r=(null==a?void 0:a.Collection)||l.p,i=null==a?void 0:a.transform,d={...i?i(s(e,this.app),this.app):s(e,this.dataSource.dataSourceManager.app),dataSource:this.dataSource.key};return t=this.dataSourceManager.collectionMixins,o=this,n=new r(d,o),t.forEach(e=>{let t=new e(d,o);Object.getOwnPropertyNames(t).forEach(e=>{let o=Object.getOwnPropertyDescriptor(t,e);o?Object.defineProperty(n,e,o):n[e]=t[e]}),Object.getOwnPropertyNames(e.prototype).forEach(t=>{"constructor"!==t&&(n.__proto__[t]=e.prototype[t])})}),n}getInstancesMap(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>this.getCollectionInstance(e)).reduce((e,t)=>(e[t.name]=t,e),{})}addCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.getInstancesMap(e);this.collectionInstancesMap={...this.collectionInstancesMap,...t},this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}setCollections(e){this.collectionInstancesMap=this.getInstancesMap(e),this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}reAddCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.collectionInstancesArr,t=e.map(e=>e.getOptions());this.addCollections(t)}getCollection(e){if(e){if("object"==typeof e)return e.disableTranslation=!0,this.getCollectionInstance(e);if(String(e).split(".").length>1){let t=this.getCollectionField(e);if(!t)return;return this.getCollection(t.target)}return this.collectionInstancesMap[e]}}getCollections(e){return e?this.collectionInstancesArr.filter(e):this.collectionInstancesArr}getCollectionName(e){let t=this.getCollection(e);return null==t?void 0:t.name}getCollectionField(e){if(!e)return;if("object"==typeof e)return e;if(String(e).split(".").length<2)return void console.error(`[@nocobase/client]: CollectionManager.getField() path "${e}" is invalid`);let[t,...o]=String(e).split("."),l=this.getCollection(t);if(l)return l.getField(o.join("."))}getCollectionFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getFields(t))||[]}getCollectionAllFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getAllFields(t))||[]}getFilterByTK(e,t){if(!e||!t)return void console.error("@nocobase/client]: CollectionManager.getFilterByTK() collectionOrAssociation or collectionRecordOrAssociationRecord is invalid");let o=(e,t)=>{if(!Array.isArray(e))return t[e];{let o={};return e.forEach(e=>{o[e]=t[e]}),r.default.stringify(o)}};if(e instanceof l.p)return o(e.getFilterTargetKey(),t);if(e.includes(".")){let l=this.getCollectionField(e);if(!l)return void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() field "${e}" is invalid`);let n=this.getCollection(l.target);if(n)return o(n.getFilterTargetKey(),t);if(l.targetKey)return t[l.targetKey]}let n=this.getCollection(e);return n?o(n.getFilterTargetKey(),t):void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() collection "${e}" is invalid`)}getSourceKeyByAssociation(e){if(!e)return;let t=this.getCollectionField(e);if(!t)return;if(t.sourceKey)return t.sourceKey;let o=this.getCollection(e.split(".")[0]);if(o)return o.filterTargetKey||o.getPrimaryKey()||"id"}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=new d([],this.dataSource);return t.collectionInstancesArr=this.collectionInstancesArr,t.collectionInstancesMap=this.collectionInstancesMap,t.addCollections(e),t}constructor(e,t){this.dataSource=t,this.collectionInstancesMap={},this.collectionInstancesArr=[],this.addCollections(e)}}var u=o(26174),c=o(17544)},92719(e,t,o){o.d(t,{I:()=>c});var l=o(56920),n=o(77583),a=o(77843),r=o(14669),i=o(46724),s=o(32221),d=o(61013),u=o(95951);let c={name:"fieldComponent",type:"select",useVisible(){let e=(0,i.E1)(),t=(0,r.m6)();if(!e)return!1;let o=t.collectionFieldInterfaceManager.getFieldInterface(null==e?void 0:e.interface);return Array.isArray(null==o?void 0:o.componentOptions)&&o.componentOptions.length>1&&o.componentOptions.filter(e=>!e.useVisible||e.useVisible()).length>1},useComponentProps(){var e,t,o,c;let{t:p}=(0,a.useTranslation)(),m=(0,l.useField)(),h=(0,l.useFieldSchema)(),x=(0,i.E1)(),v=(0,r.m6)().collectionFieldInterfaceManager.getFieldInterface(null==x?void 0:x.interface),{fieldSchema:_}=(0,s.BC)(),f=_||h,{dn:g}=(0,u.er)(),b=(0,d.l)(),y=(null==v||null==(t=v.componentOptions)||null==(e=t.filter(e=>!e.useVisible||e.useVisible()))?void 0:e.map(e=>({label:b(e.label),value:e.value,useProps:e.useProps})))||[];return{title:p("Field component"),options:y,value:(null==(o=f["x-component-props"])?void 0:o.component)||(null==(c=y[0])?void 0:c.value),onChange(e){var t;let o=y.find(t=>t.value===e),l={component:e,...(null==o||null==(t=o.useProps)?void 0:t.call(o))||{},...e===x.uiSchema["x-component"]?x.uiSchema["x-component-props"]:{}};n.default.set(f,"x-component-props",l),m.componentProps=l,g.emit("patch",{schema:{"x-uid":f["x-uid"],"x-component-props":l}})}}}}},52968(e,t,o){o.d(t,{b:()=>v,x:()=>h});var l=o(71178),n=o(52793),a=o(51649),r=o(77843),i=o(82924),s=o(23460),d=o(2490),u=o(67574),c=o(40829),p=o(71226);let{Text:m}=n.Typography,h=e=>{let{type:t,name:o,message:h}=e,{designable:x,dn:v}=(0,i.erX)(),{modal:_}=n.App.useApp(),{t:f}=(0,r.useTranslation)(),g=(0,s.xw)(),b=(0,i.lum)(),y=(0,c.Ge)(),S=(0,d.m6)(),k=(0,a.useMemo)(()=>{if("Data Source"===t)return o;let e=(null==S?void 0:S.getDataSources().length)>=1&&g&&g.key!==u.Ze?`${b(g.displayName||g.key)} > `:"";if("Collection"===t)return`${e}${o}`;let l=y?`${b(y.title)||y.name||y.tableName} > `:"";return`${e}${l}${o}`},[]),C=(0,a.useMemo)(()=>"Field"===t?"Field":"Block",[t]),M=(0,a.useMemo)(()=>o?h?`${f(t)} "${k}" ${h}`:f('The {{type}} "{{name}}" may have been deleted. Please remove this {{blockType}}.',{type:f(t).toLocaleLowerCase(),name:k,blockType:f(C).toLocaleLowerCase()}).replaceAll("&gt;",">"):`${f(t)} name is required`,[h,k,t,f,C]);return x?"Field"===t?(0,l.jsx)(i.R_2,{ellipsis:!0,children:(0,l.jsx)(m,{type:"secondary",children:M})}):(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:M,extra:(0,l.jsx)(n.Button,{onClick:()=>_.confirm({title:f("Delete block"),content:f("Are you sure you want to delete it?"),...confirm,onOk(){v.remove(null,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}),v.refresh({refreshParentSchema:!0})}}),children:f("Delete")},"Delete")})}):null},x=()=>{let{t:e}=(0,r.useTranslation)(),t=(0,s.xw)(),o=(0,i.lum)(),m=(0,c.Ge)(),h=(0,d.m6)(),x=(0,a.useMemo)(()=>{let e=(null==h?void 0:h.getDataSources().length)>=1&&t&&t.key!==u.Ze?`${o(t.displayName||t.key)} > `:"";if(m)return`${e}${m.name}`;let l=m?`${o(m.title)||m.name||m.tableName} > `:"";return`${e}${l}${m.name}`},[]),v=(0,a.useMemo)(()=>e('The current user only has the UI configuration permission, but don\'t have view permission for collection "{{name}}"',{name:x}).replaceAll("&gt;",">"),[x,e]);return(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:v})})},v=()=>{let{designable:e}=(0,i.erX)();return e?(0,l.jsx)(x,{}):null}},62248(e,t,o){o.d(t,{N:()=>r});var l=o(71178);o(51649);var n=o(14669),a=o(26174);let r=e=>{let{children:t,dataSourceManager:o,...r}=e;return(0,l.jsx)(n.e1,{dataSourceManager:o,children:(0,l.jsx)(a.Pf,{...r,children:t})})}},32444(e,t,o){o.d(t,{$$:()=>b,Kx:()=>S,Qj:()=>_,R6:()=>x,T4:()=>g,h6:()=>y,uG:()=>f});var l=o(71178),n=o(51649),a=o(42536),r=o(11482),i=o(80461),s=o(95951),d=o(40829),u=o(14187),c=o(46776),p=o(38892),m=o(76460),h=o(56920);let x=(0,n.createContext)({});x.displayName="DataBlockContext";let v=(0,n.createContext)(null),_=e=>{let{children:t}=e,[o,a]=n.default.useState(!1),r=(0,n.useMemo)(()=>({rerenderDataBlock:()=>{a(!0),setTimeout(()=>{a(!1)})}}),[]);return o?null:(0,l.jsx)(v.Provider,{value:r,children:t})},f=e=>{let{collection:t,association:o,allowNull:a=!1}=e,r=(0,n.useMemo)(()=>o?{Component:d.$z,name:o}:{Component:d.N5,name:t},[t,o]);return(0,l.jsx)(r.Component,{name:r.name,allowNull:a,children:e.children})},g=(0,i.T)(n.default.memo(e=>{let{collection:t,association:o,dataSource:n,children:i,hidden:v,...g}=e,{dn:b}=(0,s.er)(),y=(0,h.useFieldSchema)();return v?null:(0,l.jsx)(m.j0,{scopeId:null==y?void 0:y["x-uid"],type:"dataBlock",children:(0,l.jsx)(x.Provider,{value:{dn:b,props:{...g,collection:t,association:o,dataSource:n}},children:(0,l.jsx)(d.Pf,{dataSource:n,children:(0,l.jsx)(f,{collection:t,association:o,children:(0,l.jsx)(a.yb,{children:(0,l.jsx)(p._,{children:(0,l.jsx)(c.Fr,{children:(0,l.jsx)(u.Yu,{children:(0,l.jsx)(r.Pt,{params:e.params,children:(0,l.jsx)(_,{children:i})})})})})})})})})})}),{displayName:"DataBlockProvider"}),b=()=>{let e=(0,n.useContext)(x);if(!e)throw Error("useDataBlock() must be used within a DataBlockProvider");return e},y=()=>b().props,S=()=>{let e=(0,n.useContext)(v);if(!e)throw Error("useRerenderDataBlock() must be used within a DataBlockProvider");return e}},14187(e,t,o){o.d(t,{$G:()=>b,NB:()=>y,OO:()=>f,YE:()=>M,Yu:()=>S,ZK:()=>C,_J:()=>k});var l=o(71178),n=o(51649),a=o(77583),r=o(16211),i=o(41897),s=o(70136),d=o(43873),u=o(67242),c=o(79647),p=o(67285),m=o(66110),h=o(29558),x=o(32444),v=o(46776);let _=(0,n.createContext)(null);_.displayName="BlockRequestRefContext";let f=(0,n.createContext)(!1);f.displayName="BlockRequestLoadingContext";let g=(0,n.createContext)(null);async function b(e){let{sourceId:t,association:o,parentRecord:l,api:n,headers:a,sourceKey:r}=e;if(l)return Promise.resolve({data:l});if(!o||!r||!t)return Promise.resolve({data:void 0});let i=o.split("."),s=`${i[0]}:get?filter[${r}]=${t}`;return(await n.request({url:s,headers:a})).data}g.displayName="BlockRequestDataContext";let y=e=>{var t,o,r,s,d,u;let p=(0,n.useRef)(e.recordRequest),m=(0,n.useRef)(null==(t=e.recordRequest)?void 0:t.data),{active:h}=(0,c.Y)(),v=(0,i.$Q)(),b=(0,n.useRef)(h),y=(0,n.useRef)(v),S=(0,n.useDeferredValue)(h),k=(0,x.h6)(),C=b.current;return S&&!C&&y.current===v&&(a.default.isNil(k.dataLoadingMode)||"auto"===k.dataLoadingMode)&&(null==(d=e.recordRequest)||d.refresh()),!S||!C||(null==(o=e.recordRequest)?void 0:o.loading)||a.default.isEqual(m.current,null==(r=e.recordRequest)?void 0:r.data)||(m.current=null==(u=e.recordRequest)?void 0:u.data),h&&C&&(y.current=v),S!==C&&(b.current=S),p.current=e.recordRequest,(0,l.jsx)(_.Provider,{value:p,children:(0,l.jsx)(f.Provider,{value:null==(s=e.recordRequest)?void 0:s.loading,children:(0,l.jsx)(g.Provider,{value:m.current,children:e.children})})})},S=n.default.memo(e=>{var t,o;let{children:i}=e,{action:c,filterByTk:_,sourceId:f,params:g=p.M,association:S,collection:k,record:C,parentRecord:M,requestOptions:w,requestService:F}=(0,x.h6)(),P=function(e){let t=(0,d.fY)(),o=(0,v.jz)(),{action:l,params:i={},record:c,requestService:p,requestOptions:m,sourceId:_,association:f,parentRecord:g}=e,y=(0,r.VB)(),S=(0,x.h6)(),k=(0,h.TF)(S.dataSource),C=(0,u.i)(f),[M,w]=(0,n.useMemo)(()=>[JSON.stringify(i),JSON.stringify(c)],[i,c]),{isBlockTemplate:F,templateFinished:P}=(0,s.y)(),j=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(null==F?void 0:F())&&!P?null:(p||(e=>{var t;if(c)return Promise.resolve({data:c});if(!l)throw Error("[nocobase]: The 'action' parameter is missing in the 'DataBlockRequestProvider' component");if("get"===l&&a.default.isNil(i.filterByTk))return console.warn('[nocobase]: The "filterByTk" parameter is missing in the "DataBlockRequestProvider" component');let n={...void 0===i.filterByTk?a.default.omit(i,"filterByTk"):i,...e};return null==(t=o[l])?void 0:t.call(o,n).then(e=>e.data)}))(...t)},A=async function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let[l,n]=await Promise.all([j(...t),b({sourceId:_,association:f,parentRecord:g,api:y,headers:k,sourceKey:C})]);return l&&(l.parentRecord=null==n?void 0:n.data),l},I=(0,r.bP)(A,{...m,manual:"manual"===t,ready:!!l,refreshDeps:[l,M,w,o,f,g,_,P]});return I._defaultParams=i,I}({action:c,sourceId:f,record:C,association:S,collection:k,requestOptions:w,requestService:F,params:(0,n.useMemo)(()=>({...g,filterByTk:_||g.filterByTk}),[_,g]),parentRecord:M}),j=null==(t=P.data)?void 0:t.parentRecord,A=(0,n.useMemo)(()=>j&&new m.ol({isNew:!1,data:j instanceof m.ol?j.data:j}),[j]);return(0,l.jsx)(y,{recordRequest:P,children:"list"!==c?(0,l.jsx)(m.Jw,{isNew:null==c,record:(null==(o=P.data)?void 0:o.data)||C,parentRecord:A||M,children:i}):(0,l.jsx)(m.Jw,{isNew:!1,record:null,parentRecord:A||M,children:i})})});S.displayName="DataBlockRequestProvider";let k=()=>{let e=(0,n.useContext)(_),t=(0,n.useContext)(f),o=(0,n.useContext)(g);return(0,n.useMemo)(()=>e?{...e.current,loading:t,data:o}:null,[e,o,t])},C=()=>{let e=(0,n.useContext)(_);return(0,n.useMemo)(()=>({getDataBlockRequest:()=>e?e.current:null}),[e])},M=()=>(0,n.useContext)(g)},46776(e,t,o){o.d(t,{Fr:()=>p,RE:()=>c,jz:()=>m});var l=o(71178),n=o(77583),a=o(51649),r=o(16211),i=o(40829),s=o(66110),d=o(29558),u=o(32444);let c=(0,a.createContext)(null);c.displayName="DataBlockResourceContext";let p=e=>{let{children:t}=e,o=(0,u.h6)(),p=(0,i.r2)(),{association:m,collection:h,dataSource:x,sourceId:v,parentRecord:_}=o,f=(0,r.VB)(),g=(0,d.TF)(x),b=(0,a.useMemo)(()=>"string"==typeof h?h:null==h?void 0:h.name,[h]),y=(0,a.useMemo)(()=>{if(v)return v;if(m&&_){let e=p.getSourceKeyByAssociation(m),t=_ instanceof s.ol?_.data:_;if(!(0,n.isArray)(e))return t[e];{let o={};for(let l of e)o[l]=null==t?void 0:t[l];return encodeURIComponent(JSON.stringify(o))}}},[m,v,_]),S=(0,a.useMemo)(()=>m?f.resource(m,y,g,!y):f.resource(b,void 0,g),[f,m,h,y,g]);return(0,l.jsx)(c.Provider,{value:S,children:t})};function m(){let e=(0,a.useContext)(c);if(!e)throw Error("useDataBlockResource() must be used within a DataBlockResourceProvider");return e}},593(e,t,o){o.d(t,{h:()=>a,q:()=>n});var l=o(40829);class n{get app(){return this.dataSourceManager.app}get key(){return this.options.key}get displayName(){return this.options.displayName}get status(){return this.options.status}get errorMessage(){return this.options.errorMessage}get collections(){return this.collectionManager.getCollections()||[]}getOptions(){return this.options}setOptions(e){Object.assign(this.options,e)}getOption(e){return this.options[e]}addReloadCallback(e){this.reloadCallbacks.includes(e)||this.reloadCallbacks.push(e)}removeReloadCallback(e){this.reloadCallbacks=this.reloadCallbacks.filter(t=>t!==e)}get flowEngineDataSourceManager(){var e;return null==(e=this.app.flowEngine)?void 0:e.context.dataSourceManager}async reload(){let e=await this.getDataSource(),t=this.flowEngineDataSourceManager;return t&&(t.upsertDataSource(this.options),t.getDataSource(this.key).upsertCollections(e.collections||[],{clearFields:!0})),this.setOptions(e),this.collectionManager.setCollections(e.collections||[]),this.reloadCallbacks.forEach(t=>t(e.collections)),this.options}constructor(e,t){this.options=e,this.dataSourceManager=t,this.reloadCallbacks=[],this.collectionManager=new l.qG(e.collections,this)}}class a extends n{getDataSource(){return{collections:this.collections}}}},67574(e,t,o){o.d(t,{Ze:()=>i,gP:()=>s,zA:()=>d});var l=o(593),n=o(86960),a=o(32799),r=o(77583);let i="main",s='{{t("Main")}}';class d{addCollectionMixins(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>!this.collectionMixins.includes(e));t.length&&(this.collectionMixins.push(...t),this.getDataSources().forEach(e=>e.collectionManager.reAddCollections()))}getDataSources(e){let t=Object.values(this.dataSourceInstancesMap);return e?r.default.filter(t,e):t}setDataSources(e){let t=r.default.keyBy(e,"key");Object.keys(this.dataSourceInstancesMap).forEach(e=>{let o=t[e];o&&this.dataSourceInstancesMap[e].setOptions({displayName:o.displayName,status:o.status})})}getDataSource(e){return e?this.dataSourceInstancesMap[e]:this.dataSourceInstancesMap[i]}removeDataSources(e){e.forEach(e=>{delete this.dataSourceInstancesMap[e]})}addDataSource(e,t){let o=new e(t,this);return this.dataSourceInstancesMap[o.key]=o,o}async addDataSources(e,t){this.multiDataSources.some(o=>{let[l,n]=o;return l===e&&n===t})||this.multiDataSources.push([e,t])}getAllCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{filterCollection:t,filterDataSource:o}=e;return this.getDataSources(o).reduce((e,o)=>(e.push({...o.getOptions(),collections:o.collectionManager.getCollections(t)}),e),[])}addFieldInterfaceGroups(e){this.collectionFieldInterfaceManager.addFieldInterfaceGroups(e)}addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionTemplateManager.addCollectionTemplates(e)}addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionFieldInterfaceManager.addFieldInterfaces(e)}async reload(){return await Promise.all(this.multiDataSources.map(async e=>{let[t,o]=e;(await t()).map(e=>this.addDataSource(o,e))})),Promise.all(this.getDataSources().map(e=>e.reload()))}constructor(e={},t){this.options=e,this.app=t,this.dataSourceInstancesMap={},this.multiDataSources=[],this.collectionMixins=[],this.collectionTemplateManager=new n.C(e.collectionTemplates,this),this.collectionFieldInterfaceManager=new a.L(e.fieldInterfaces,e.fieldInterfaceGroups,this),this.collectionMixins.push(...e.collectionMixins||[]),this.addDataSource(l.h,{key:i,displayName:s,collections:e.collections||[],status:"loaded"}),(e.dataSources||[]).forEach(e=>{this.addDataSource(l.h,e)})}}},14669(e,t,o){o.d(t,{LQ:()=>s,e1:()=>r,m6:()=>i,oc:()=>a});var l=o(71178),n=o(51649);let a=(0,n.createContext)(null);a.displayName="DataSourceManagerContext";let r=e=>{let{children:t,dataSourceManager:o}=e;return(0,l.jsx)(a.Provider,{value:o,children:t})};function i(){return(0,n.useContext)(a)}function s(){let e=i();return{getAllCollectionsInheritChain:(0,n.useCallback)((t,o)=>{var l,n,a;return null==e||null==(a=e.getDataSource(o))||null==(n=a.collectionManager)||null==(l=n.getCollection(t))?void 0:l.getInheritChain()},[e])}}},23460(e,t,o){o.d(t,{Mp:()=>h,Vl:()=>c,tc:()=>p,xw:()=>m});var l=o(71178),n=o(51649),a=o(14669),r=o(52968),i=o(82924),s=o(52793),d=o(82113),u=o(77843);let c=(0,n.createContext)(null);c.displayName="DataSourceContext";let p=e=>{let{children:t,dataSource:o}=e,p=(0,a.m6)(),{t:m}=(0,u.useTranslation)(),{refresh:h}=(0,i.Fag)(),[x,v]=n.default.useState(0),_=null==p?void 0:p.getDataSource(o);return _?"loading-failed"===_.status?(0,l.jsx)(r.x,{type:"Data Source",name:_.displayName||o,message:_.errorMessage||"loading failed"}):"loading"===_.status||"reloading"===_.status?(0,l.jsx)(i.oVU,{children:(0,l.jsx)(s.Result,{icon:(0,l.jsx)(d.LoadingOutlined,{}),title:`${_.displayName||o} ${m("data source")} ${m("loading")}...`,extra:(0,l.jsx)(s.Button,{type:"primary",onClick:()=>_.reload().then(()=>{h(),v(Math.random())}),children:m("Refresh")})})}):(0,l.jsx)(c.Provider,{value:_,children:t}):(0,l.jsx)(r.x,{type:"Data Source",name:o})};function m(){return(0,n.useContext)(c)}function h(){let e=(0,n.useContext)(c);return null==e?void 0:e.key}},2490(e,t,o){o.d(t,{LQ:()=>r.LQ,Mp:()=>a.Mp,Vl:()=>a.Vl,Ze:()=>n.Ze,e1:()=>r.e1,gP:()=>n.gP,h0:()=>l.h,m6:()=>r.m6,oc:()=>r.oc,qS:()=>l.q,tc:()=>a.tc,xw:()=>a.xw,zA:()=>n.zA});var l=o(593),n=o(67574),a=o(23460),r=o(14669)},28227(e,t,o){o.d(t,{pM:()=>l.pM,I1:()=>N.I,qS:()=>h.qS,tH:()=>x.tH,$z:()=>l.$z,bC:()=>B,Pf:()=>l.Pf,T0:()=>i.T,SG:()=>L,UJ:()=>l.UJ,yz:()=>r.y,Ey:()=>a.Ey,C1:()=>s.C,R6:()=>m.R6,$G:()=>p.$G,Vm:()=>x.Vm,h6:()=>m.h6,YE:()=>p.YE,ZK:()=>p.ZK,tc:()=>h.tc,Qj:()=>m.Qj,bJ:()=>a.bJ,NB:()=>p.NB,_J:()=>p._J,Fr:()=>c.Fr,jz:()=>c.jz,LQ:()=>h.LQ,Ln:()=>r.L,N5:()=>l.N5,OO:()=>p.OO,$$:()=>m.$$,h0:()=>h.h0,xw:()=>h.xw,vt:()=>x.vt,JL:()=>n.J,b:()=>d.b,gP:()=>h.gP,Dk:()=>Y,r2:()=>l.r2,CQ:()=>l.CQ,Nd:()=>u.N,Jr:()=>l.Jr,h_:()=>l.h_,Kx:()=>m.Kx,oc:()=>h.oc,pi:()=>l.pi,Mp:()=>h.Mp,ol:()=>x.ol,qG:()=>l.qG,zv:()=>x.zv,KY:()=>l.KY,Yu:()=>p.Yu,Vl:()=>h.Vl,ji:()=>v.ji,Jy:()=>T,yn:()=>a.yn,Xd:()=>l.Xd,m6:()=>h.m6,E1:()=>a.E1,Ge:()=>l.Ge,PD:()=>x.PD,Jw:()=>x.Jw,Ze:()=>h.Ze,zA:()=>h.zA,Jl:()=>l.Jl,T4:()=>m.T4,RE:()=>c.RE,kb:()=>v.kb,xd:()=>d.x,uG:()=>m.uG,Yz:()=>l.Yz,e1:()=>h.e1,TF:()=>v.TF,$h:()=>l.$h});var l=o(40829),n=o(42219),a=o(46724),r=o(32799),i=o(83339),s=o(86960),d=o(52968),u=o(62248),c=o(46776),p=o(14187),m=o(32444),h=o(2490),x=o(66110),v=o(29558),_=o(71178);function f(e,t,o){var l;let{block:n,isReadPretty:a=e=>{let{form:t}=e;return t.readPretty},filter:r=()=>!0,getInitializerItem:i=()=>({}),getSchema:s=()=>({})}=e,{collectionManager:d,collection:u,dataSourceManager:c,actionContext:p}=o,m=null==(l=p.fieldSchema)?void 0:l["x-action"];return u?t.map(e=>{let t=d.getCollection(e.target),l=c.collectionFieldInterfaceManager.getFieldInterface(e.interface);return{collectionField:e,context:{...o,targetCollection:t,collectionFieldInterface:l}}}).filter(e=>{let{collectionField:t}=e;return t.interface}).filter(e=>{let{collectionField:t,context:o}=e;return r(t,o)}).map(e=>{var t,o;let{collectionField:l,context:n}=e,a={type:"string",title:(null==l||null==(t=l.uiSchema)?void 0:t.title)||l.name,name:l.name,"x-component":"CollectionField","x-collection-field":`${u.name}.${l.name}`,"x-read-pretty":null==l||null==(o=l.uiSchema)?void 0:o["x-read-pretty"]},r=s(l,{...n,defaultSchema:a}),i={...a,...r||{}};return{collectionField:l,schema:i,context:{...n,schema:i}}}).map(e=>{var t;let{collectionField:o,context:l}=e,r={type:"item",name:o.name,title:(null==o||null==(t=o.uiSchema)?void 0:t.title)||o.name,Component:"CollectionFieldInitializer",schemaInitialize:e=>{var t,r;null==(r=l.collectionFieldInterface)||null==(t=r.schemaInitialize)||t.call(r,e,{field:o,block:n,readPretty:null==a?void 0:a(l),action:m,targetCollection:l.targetCollection})},schema:l.schema};return{collectionField:o,context:l,defaultInitializerItem:r}}).map(e=>{let{collectionField:t,defaultInitializerItem:o,context:l}=e,n=i(t,{...l,defaultInitializerItem:o});return{...o,...n||{}}}):[]}o(51649);var g=o(56920),b=o(77843),y=o(49621),S=o(23460),k=o(78562),C=o(26174),M=o(14669),w=o(82924);function F(){let{t:e}=(0,b.useTranslation)(),t=(0,y.Ge)(),o=(0,M.m6)(),l=(0,k.D5)(),n=(0,S.xw)(),a=(0,g.useForm)(),r=(0,g.useFieldSchema)(),i=(0,C.r2)();return{t:e,compile:(0,w.lum)(),actionContext:l,fieldSchema:r,collection:t,dataSource:n,form:a,collectionManager:i,dataSourceManager:o}}var P=o(96023);let j=e=>{let t=F(),{t:o,collection:l}=t,n=f(e,l.getFields(),t);return(0,_.jsx)(P.G0,{title:o("Display fields"),children:n})},A=e=>{let t=F(),{collection:o,t:l,collectionManager:n}=t,a=o.getParentCollectionsName();if(!a.length)return null;let r=a.map(e=>{let t=o.getParentCollectionFields(e);return 0===t.length?null:{parentCollection:n.getCollection(e),parentCollectionFields:t}}).filter(Boolean).map(o=>{let{parentCollection:n,parentCollectionFields:a}=o,r={...t,collection:n};return{type:"itemGroup",divider:!0,title:l("Parent collection fields")+"("+t.compile(n.title)+")",children:f(e,a,r)}});return(0,_.jsx)(P.ZI,{children:r})},I=e=>{let{filterAssociationField:t,filterSelfField:o=()=>!0,getSchema:l,...n}=e,{collection:a,t:r,collectionManager:i}=e.context,s=a.getFields(),d=["o2o","oho","obo","m2o"],u=s.filter(e=>d.includes(e.interface)).filter(t=>o(t,e.context));if(!u.length)return null;let c=u.map(e=>{let t=i.getCollection(e.target);if(!t)return null;let o=null==t?void 0:t.getAllFields();return o.length?{associationField:e,associationCollection:t,associationCollectionFields:o}:null}).filter(Boolean).map(o=>{var r,i;let{associationField:s,associationCollection:d,associationCollectionFields:u}=o,c={...e.context,collection:d};return{type:"subMenu",name:null==(r=s.uiSchema)?void 0:r.title,title:null==(i=s.uiSchema)?void 0:i.title,children:f({...n,filter:t,getSchema:(e,t)=>({...l(e,t)||{},"x-read-pretty":!0,name:`${s.name}.${e.name}`,"x-collection-field":`${a.name}.${s.name}.${e.name}`})},u,c)}});return c.length?(0,_.jsx)(P.G0,{title:r("Display association fields"),children:c}):null},T=e=>{let{selfField:t,parentField:o,associationField:l,block:n}=e,a=F();return a.collection?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(j,{block:n,...t,context:{...a,collection:a.collection}}),o&&(0,_.jsx)(A,{block:n,...o,context:{...a,collection:a.collection}}),l&&(0,_.jsx)(I,{block:n,...l,context:{...a,collection:a.collection}})]}):null};var D=o(81936);let L=(e,t,o)=>{let l=(0,D.Rg)(e,"x-component","Kanban");return(0,D.Rg)(l,t,o)},Y=e=>{let t=(null==e?void 0:e.block)||"Form",o={"x-toolbar":"FormItemSchemaToolbar","x-settings":"fieldSettings:FormItem","x-decorator":"FormItem"},l={remove:D.AZ};return(0,_.jsx)(T,{block:t,selfField:{filter:e=>!e.treeChildren,getSchema:(e,t)=>{var l,n;let{targetCollection:a}=t,r=(null==a?void 0:a.template)==="file",i=null==e||null==(n=e.uiSchema)||null==(l=n["x-component-props"])?void 0:l.fieldNames;return{...o,"x-component-props":r?{fieldNames:{label:"preview",value:"id"}}:a&&i?{fieldNames:{...i,label:(null==a?void 0:a.titleField)||i.label}}:{}}},getInitializerItem:()=>({...l,find:(null==e?void 0:e.block)==="Kanban"?L:void 0})},parentField:{getSchema:()=>o,getInitializerItem:()=>l},associationField:{filterSelfField:e=>"Form"!==t||(null==e?void 0:e.interface)==="m2o",filterAssociationField:e=>(null==e?void 0:e.interface)&&!["subTable"].includes(null==e?void 0:e.interface)&&!e.treeChildren,getSchema:()=>o,getInitializerItem:()=>l}})},R=["attachment","textarea","markdown","json","richText","polygon","circle","point","lineString"],B=e=>{function t(e){let{fieldSchema:t,form:o}=e;return"AssociationField.SubTable"!==t["x-component"]||o.readPretty}return(0,_.jsx)(T,{block:"Table",selfField:{isReadPretty:t,filter:e=>"subTable"!==e.interface&&!e.treeChildren,getSchema:(e,o)=>{var l,n;let{targetCollection:a,fieldSchema:r,form:i}=o,s=(null==a?void 0:a.template)==="file",d=(null==(l=e.uiSchema)?void 0:l["x-component"])==="Preview",u="AssociationField.SubTable"===r["x-component"];return{"x-component-props":s?{fieldNames:{label:"preview",value:"id"}}:d?{size:"small"}:{},"x-read-pretty":t({fieldSchema:r,form:i})||(null==(n=e.uiSchema)?void 0:n["x-read-pretty"]),"x-decorator":u?R.includes(e.interface)||s?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({find:D.Oo,remove:D.nt})},parentField:{isReadPretty:t,getSchema(e,o){var l;let{targetCollection:n,fieldSchema:a,form:r}=o,i=(null==n?void 0:n.template)==="file",s="AssociationField.SubTable"===a["x-component"];return{"x-component-props":i?{fieldNames:{label:"preview",value:"id"}}:{},"x-read-pretty":t({fieldSchema:a,form:r})||(null==(l=e.uiSchema)?void 0:l["x-read-pretty"]),"x-decorator":s?R.includes(e.interface)||i?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({remove:D.AZ})},associationField:{filterAssociationField:e=>!["subTable"].includes(e.interface)&&!e.treeChildren,getSchema:()=>({}),getInitializerItem:()=>({find:D.Oo,remove:D.nt})}})};var N=o(92719)},29558(e,t,o){o.d(t,{TF:()=>i,ji:()=>r,kb:()=>s});var l=o(51649),n=o(67574);let a="x-data-source",r=(e,t)=>{var o;return null==(o=e.collectionFieldInterfaceManager.getFieldInterface(t.interface))?void 0:o.titleUsable},i=e=>(0,l.useMemo)(()=>{if(e&&e!==n.Ze)return{[a]:e}},[e]),s=e=>e&&e!==n.Ze?{[a]:e}:{}},50255(e,t,o){o.d(t,{L2:()=>m,er:()=>p,pf:()=>d,rN:()=>c,to:()=>s,vB:()=>u});var l=o(71178),n=o(51649),a=o(83468),r=o(86393),i=o(504);let s=(0,n.createContext)({getTitle:()=>"",setTitle:()=>{}});s.displayName="DocumentTitleContext";let d=n.default.memo(e=>{let{addonBefore:t,addonAfter:o}=e,a=(0,i.useFlowEngineContext)(),r=a.t.bind(a),d=e=>a.t(e,{ns:"lm-desktop-routes"}),u=e=>a.t(e,{ns:"lm-collections"}),c=n.default.useRef(""),p=(0,n.useCallback)(()=>c.current,[]),m=(0,n.useCallback)(e=>{setTimeout(()=>{document.title=c.current=`${t?` - ${r(t)}`:""}${d(e||"")}${o?` - ${u(o)}`:""}`})},[o,t,r,d,u]),h=(0,n.useMemo)(()=>({getTitle:p,setTitle:m}),[p,m]);return(0,l.jsx)(s.Provider,{value:h,children:e.children})});d.displayName="DocumentTitleProvider";let u=e=>{var t,o;let n=(0,r.e6)();return(0,l.jsx)(d,{addonAfter:null==n||null==(o=n.data)||null==(t=o.data)?void 0:t.title,children:e.children})},c=()=>(0,n.useContext)(s),p=e=>{let{setTitle:t}=c();(0,n.useEffect)(()=>{t(e)},[t,e])};class m extends a.k{async load(){this.app.use(u,this.options)}}},11482(e,t,o){o.d(t,{$3:()=>h,Pt:()=>x,xZ:()=>v});var l=o(71178),n=o(56920),a=o(77583),r=o(49621),i=o(14187),s=o(43873),d=o(82924),u=o(58980),c=o(51649),p=o(50570);let m=(0,c.createContext)(null);m.displayName="FilterContext";let h=c.default.memo(e=>{let{children:t}=e,o=c.default.useRef([]),n=(0,c.useCallback)(e=>{"function"==typeof e?o.current=e(o.current):o.current=e},[]),a=(0,c.useCallback)(()=>o.current,[]),r=(0,c.useMemo)(()=>({getDataBlocks:a,setDataBlocks:n}),[a,n]);return(0,l.jsx)(m.Provider,{value:r,children:t})});h.displayName="FilterBlockProvider";let x=e=>{let{children:t,params:o}=e,a=(0,r.Ge)(),{recordDataBlocks:p}=v(),{getDataBlockRequest:m}=(0,i.ZK)(),h=(0,n.useField)(),x=(0,n.useFieldSchema)(),_=(0,u.ze)(),f=(0,c.useRef)(null),g=(0,s.fY)(),b=h&&"FilterFormBlockProvider"!==h.decoratorType&&"FormBlockProvider"!==h.decoratorType&&"filter"!==h.decoratorProps.blockType,y=(0,c.useCallback)(()=>{let e=m();p({uid:x["x-uid"],title:h.componentProps.title,doFilter:e.runAsync,collection:a,associatedFields:_,foreignKeyFields:null==a?void 0:a.getFields("isForeignKey"),defaultFilter:(null==o?void 0:o.filter)||{},service:e,dom:f.current,dataLoadingMode:g,clearFilter(e){var t,l,n;let a=(null==(t=this.service.params)?void 0:t[0])||{},r=(null==(n=this.service.params)||null==(l=n[1])?void 0:l.filters)||{};delete r[e];let i=(0,u.Dj)([...Object.values(r).map(e=>(0,d.pA3)(e)),(null==o?void 0:o.filter)||{}]);this.service.run({...a,page:1,filter:i},{filters:r})},clearData(){this.service.mutate(void 0)},clearSelection(){if(h){var e,t;null==(t=h.data)||null==(e=t.clearSelectedRowKeys)||e.call(t)}},highlightBlock(){var e;let t=f.current;if(!t)return;let o=t.querySelector(".ant-nb-schema-toolbar");o&&o.classList.remove("hidden"),t.style.boxShadow="0 3px 12px rgba(0, 0, 0, 0.15)",t.style.transition="box-shadow 0.3s ease, transform 0.2s ease",null==(e=t.scrollIntoView)||e.call(t,{behavior:"smooth",block:"start"})},unhighlightBlock(){let e=f.current;if(!e)return;let t=e.querySelector(".ant-nb-schema-toolbar");t&&t.classList.add("hidden"),e.style.boxShadow="none",e.style.transition="box-shadow 0.3s ease, transform 0.2s ease"}})},[_,a,g,x,null==o?void 0:o.filter,p,m,h]);return(0,c.useEffect)(()=>{b&&y()},[y,b]),(0,l.jsx)("div",{ref:f,children:t})},v=()=>{let e=c.default.useContext(m),t=(0,p.dW)(),o=(0,c.useCallback)(()=>(null==e?void 0:e.getDataBlocks())||[],[e]),l=(0,c.useCallback)(o=>{t.recordDataBlocks(o);let l=null==e?void 0:e.getDataBlocks().find(e=>e.uid===o.uid);l?Object.assign(l,o):null==e||e.setDataBlocks(e=>[...e,o])},[e]),n=(0,c.useCallback)(o=>{t.removeDataBlock(o),null!=e&&e.getDataBlocks().every(e=>e.uid!==o)||null==e||e.setDataBlocks(e=>e.filter(e=>e.uid!==o))},[e]);return e?{recordDataBlocks:l,getDataBlocks:o,removeDataBlock:n,inProvider:!0}:{inProvider:!1,recordDataBlocks:a.default.noop,getDataBlocks:o,removeDataBlock:a.default.noop}}},65613(e,t,o){o.d(t,{$3:()=>l.$3,Dj:()=>n.Dj,I1:()=>n.I1,Lt:()=>n.Lt,Pt:()=>l.Pt,Rm:()=>n.Rm,SU:()=>n.SU,TQ:()=>n.TQ,Uf:()=>n.Uf,W0:()=>n.W0,eB:()=>n.eB,vc:()=>n.vc,xZ:()=>l.xZ,ze:()=>n.ze});var l=o(11482),n=o(58980)},58980(e,t,o){o.d(t,{Dj:()=>h,I1:()=>m,Lt:()=>x,Rm:()=>v,SU:()=>f,TQ:()=>y,Uf:()=>_,W0:()=>b,eB:()=>S,vc:()=>k,ze:()=>g});var l,n=o(56920),a=o(63526),r=o(77583),i=o(51649),s=o(73761),d=o(49621),u=o(14669),c=o(82924),p=o(11482),m=((l={})[l.FORM=0]="FORM",l[l.TABLE=1]="TABLE",l[l.TREE=2]="TREE",l[l.COLLAPSE=3]="COLLAPSE",l);let h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$and",o=e.filter(e=>{if(e&&"object"==typeof e&&!Array.isArray(e))return Object.values(e).filter(e=>void 0!==e).length});return 0===o.length?{}:1===o.length?o[0]:{[t]:o}},x=(e,t)=>{var o;return null==(o=t.associatedFields)?void 0:o.filter(t=>null==e?void 0:e.some(e=>e===t.target))},v=(e,t)=>{var o;return null==(o=t.foreignKeyFields)?void 0:o.filter(t=>e.fields.some(e=>"belongsTo"!==e.type&&e.foreignKey===t.name&&e.target===t.collectionName))},_=e=>{let{getDataBlocks:t}=(0,p.xZ)(),o=(0,n.useFieldSchema)(),l=(0,d.Ge)(),{getAllCollectionsInheritChain:a}=(0,u.LQ)();return 0===e||3===e?t().filter(e=>y(e.collection,l)):1===e||2===e?t().filter(e=>{var t,n;return o["x-uid"]!==e.uid&&(y(e.collection,l)||(null==(t=x(a(l.name,l.dataSource),e))?void 0:t.length)||(null==(n=v(l,e))?void 0:n.length))}):void 0},f=(e,t,o,l)=>({$and:Object.keys(e=(0,a.flatten)(e,{breakOn(e){let{value:n,path:a}=e;if(["$match","$notMatch","$anyOf","$noneOf","$childIn","$childNotIn","$dateBetween","$in","$notIn"].includes(t[a]))return!0;let r=o(`${l}.${a}`);if(["datetime","datetimeNoTz","date","unixTimestamp","createdAt","updatedAt"].includes(null==r?void 0:r.interface))return!0;if(null==r?void 0:r.target){if(Array.isArray(n))return!0;let e=r.targetKey||"id";if(n&&null!=n[e])return!0}return!1}})).map(n=>{let i=r.default.get(e,n),s=o(`${l}.${n}`);return((null==s?void 0:s.target)&&["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(s.type)&&(i=(0,a.getValuesByPath)(i,s.targetKey||"id"),n=`${n}.${s.targetKey||"id"}`,(null==s?void 0:s.interface)==="chinaRegion"&&(i=r.default.last(i))),i||0===i||!1===i)?{[n]:{[t[n]||"$eq"]:i}}:null}).filter(Boolean)}),g=()=>{var e;return(null==(e=(0,d.Ge)())?void 0:e.fields.filter(e=>b(e)))||[]},b=e=>["o2o","oho","obo","m2o","createdBy","updatedBy","o2m","m2m","linkTo","chinaRegion","mbm"].includes(null==e?void 0:e.interface),y=(e,t)=>e.name===t.name&&e.dataSource===t.dataSource,S=()=>{let e=(0,n.useFieldSchema)(),{getDataBlocks:t}=(0,p.xZ)(),{targets:o,uid:l}=(0,s.findFilterTargets)(e),a=t(),[d,u]=(0,i.useState)(()=>o&&o.some(e=>a.some(t=>t.uid===e.uid))),m=Object.keys(o||{});return(0,i.useEffect)(()=>{u(o&&o.some(e=>a.some(t=>t.uid===e.uid)))},[m.length,o,a]),{isConnected:d,doFilter:(0,i.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$eq",s=a.find(t=>t.uid===e.parent["x-uid"]);a.forEach(e=>{var a,d,u,p,m,x,v,_,f;let g,b=n,y=o.find(t=>t.uid===e.uid);if(!y)return;r.default.isFunction(t)&&(t=t(y,e,(m=s,x=y.field,(null==(g=null==m||null==(v=m.associatedFields)?void 0:v.find(e=>e.foreignKey===x))?void 0:g.sourceKey)||(null==x||null==(f=x.split)||null==(_=f.call(x,"."))?void 0:_[1])))),r.default.isFunction(n)&&(b=n(y,e)),r.default.isFunction(i)&&(i=i(y));let S=(null==(a=e.service.params)?void 0:a[0])||{},k=(null==(u=e.service.params)||null==(d=u[1])?void 0:d.filters)||{};if(null!=t)k[l]={$and:[{[b]:{[i]:t}}]};else if(null==(p=e.clearSelection)||p.call(e),delete k[l],"manual"===e.dataLoadingMode)return e.clearData();let C=h([...Object.values(k).map(e=>(0,c.pA3)(e)),e.defaultFilter]);e.doFilter({...S,page:1,filter:C},{filters:k})})},[a,o,l,e])}},k=e=>{for(;e;){if(e["x-filter-targets"])return"FilterFormBlockProvider"===e["x-decorator"];e=e.parent}return!1}},4658(e,t,o){o.d(t,{I:()=>n,U:()=>a});var l=o(71178);let n=o(51649).default.createContext(null),a=e=>(0,l.jsx)(n.Provider,{value:e,children:e.children})},92619(e,t,o){o.d(t,{_:()=>a});var l=o(51649),n=o(4658);let a=()=>(0,l.useContext)(n.I)||{}},69575(e,t,o){o.d(t,{Im:()=>l.I,UU:()=>l.U,_P:()=>n._});var l=o(4658),n=o(92619)},30644(e,t,o){o.d(t,{ZC:()=>C,E0:()=>y,cQ:()=>S,dw:()=>A,Tu:()=>M,Bs:()=>P,IC:()=>j,o8:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(77583),s=o(51649),d=o(26174),u=o(49621),c=o(93726),p=o(67285),m=o(61013);let h=e=>{var t;let o,r,i=(0,s.useContext)(n.SchemaComponentsContext),d=e.field,u=((e,t)=>{if((e||t)&&!(0,a.isFn)(e))return(0,l.jsxs)(s.Fragment,{children:[e,t]})})((o=e.children,r=d.form,(0,a.isFn)(o)?o(d,r):o),d.content??d.componentProps.children);if("visible"!==d.display)return null;let c=e=>e&&("object"==typeof e||"function"==typeof e)?e:a.FormPath.getIn(i,e)??e;return t=d.componentType?s.default.createElement(c(d.componentType),{...d.componentProps,value:d.value},u):u,d.decoratorType?s.default.createElement(c(d.decoratorType),d.decoratorProps,t):(0,l.jsx)(s.Fragment,{children:t})};h.displayName="NocoBaseReactiveInternal",h.displayName="NocoBaseReactiveField";class x{initialize(){var e,t,o,l,n,r,s,d,u,c,p,m,h,x,v,_,f,g,b,y;let S=this.props.compile;this.pattern="readPretty",this.readPretty=!0,this.initialized=!0,this.loading=!1,this.validating=!1,this.submitting=!1,this.selfModified=!1,this.active=!1,this.visited=!0,this.mounted=!0,this.unmounted=!1,this.inputValues=[],this.inputValue=null,this.feedbacks=[],this.title=S(this.props.title||(null==(e=this.props.schema)?void 0:e.title)),this.description=S(this.props.description||(null==(t=this.props.schema)?void 0:t.description)),this.display="visible",this.editable=this.props.editable||(null==(o=this.props.schema)?void 0:o["x-editable"]),this.disabled=this.props.disabled||(null==(l=this.props.schema)?void 0:l["x-disabled"]),this.readOnly=this.props.readOnly||(null==(n=this.props.schema)?void 0:n["x-read-only"]),this.visible=this.props.visible||(null==(r=this.props.schema)?void 0:r["x-visible"]),this.hidden=this.props.hidden||(null==(s=this.props.schema)?void 0:s["x-hidden"]),this.dataSource=S(this.props.dataSource||(null==(d=this.props.schema)?void 0:d.enum)),this.validator=this.props.validator,this.required=this.props.required||!!(null==(u=this.props.schema)?void 0:u.required),this.content=S(this.props.content||(null==(c=this.props.schema)?void 0:c["x-content"])),this.initialValue=S(this.props.initialValue||(null==(p=this.props.schema)?void 0:p.default)),this.value=S(this.props.value),this.data=this.props.data||(null==(m=this.props.schema)?void 0:m["x-data"]),this.decorator=this.props.decorator?(0,a.toArr)(this.props.decorator):[null==(h=this.props.schema)?void 0:h["x-decorator"],null==(x=this.props.schema)?void 0:x["x-decorator-props"]],this.component=this.props.component?(0,a.toArr)(this.props.component):[null==(v=this.props.schema)?void 0:v["x-component"],null==(_=this.props.schema)?void 0:_["x-component-props"]],this.decoratorProps=(null==(f=this.props.schema)?void 0:f["x-decorator-props"])||{},this.componentProps=(null==(g=this.props.schema)?void 0:g["x-component-props"])||{},this.decoratorType=null==(b=this.props.schema)?void 0:b["x-decorator"],this.componentType=null==(y=this.props.schema)?void 0:y["x-component"],this.path={},this.form={},this.address={concat:i.default.noop}}constructor(e){this.props=e,this.initialize()}}let v=e=>{let t=(0,m.l)(),o=(0,n.useFieldSchema)(),a=(0,s.useMemo)(()=>new x({...e,compile:t}),[]);return Object.assign(a.componentProps,o["x-component-props"]),a.value=e.value,(0,l.jsx)(n.FieldContext.Provider,{value:a,children:(0,l.jsx)(h,{field:a,children:e.children})})},_=s.default.createContext({}),f=s.default.createContext(i.default.noop),g=e=>{let{children:t,refresh:o}=e,n=k(),a=(0,s.useCallback)(e=>{o(),(null==e?void 0:e.refreshParentSchema)&&(null==n||n())},[n,o]);return(0,l.jsx)(f.Provider,{value:a,children:t})},b=s.default.createContext(i.default.noop),y=e=>{let{children:t,refresh:o}=e;return(0,l.jsx)(b.Provider,{value:o,children:t})},S=()=>s.default.useContext(b),k=()=>s.default.useContext(f),C=()=>s.default.useContext(_)||{},M=e=>{let{children:t,fieldSchema:o}=e,n=(0,u.Ge)(),a=(0,d.r2)(),r=null==o?void 0:o.name,i=(0,s.useMemo)(()=>{var e;if(!n)return null;let t=null==o||null==(e=o["x-component-props"])?void 0:e.field;return a.getCollectionField(null==o?void 0:o["x-collection-field"])||t||n.getField((null==t?void 0:t.name)||r)},[n,a,o,r]);return(0,l.jsx)(_.Provider,{value:i,children:t})},w=i.default.memoize((e,t)=>e.toFieldProps({scope:t})),F=(e,t,o)=>{let l=e.toJSON();if(o){if(!l.properties)return e;let o=Object.keys(l.properties)[0],r=Object.values(l.properties)[0];return l.properties[o]=(0,a.merge)(i.default.omit(t,"type","x-read-pretty"),r),new n.Schema(l)}return new n.Schema((0,a.merge)(i.default.omit(t,"type","x-read-pretty"),l))},P=s.default.createContext(!1),j=()=>s.default.useContext(P),A=s.default.memo(e=>{let{schema:t,name:o,onlyRenderProperties:d,onlyRenderSelf:u,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b=!0,uiSchema:y,parentSchema:S}=e,k=(e=>{let t=(0,n.useField)();if(e.onlyRenderProperties){var o;return e.basePath||(null==t||null==(o=t.address)?void 0:o.concat(e.name))}return e.basePath||(null==t?void 0:t.address)})(e),j=(0,s.useRef)(null),I=(0,s.useMemo)(()=>(j.current=null,new n.Schema(t)),[t]),{uiSchema:T,defaultValue:D}=C(),L=(0,r.useUpdate)(),{onChange:Y}=(0,s.useContext)(c.D),R=j.current||I;if(!R.parent&&S){var B,N;R.parent=S,(null==(N=R.parent)||null==(B=N.properties)?void 0:B[R.name])||!R.name||i.default.set(R.parent,`properties.${R.name}`,R)}let E=(0,s.useCallback)(()=>{let e=R.parent;j.current=new n.Schema(R.toJSON(),e),(null==e?void 0:e.properties)&&Object.keys(e.properties).forEach(t=>{t===R.name&&(e.properties[t]=j.current)}),L(),null==Y||Y()},[R,Y,L]),$=(0,s.useMemo)(()=>y?F(R,y,d):T?(T.default=D,F(R,T,d)):R,[T,D,R,d,y]),z=w($,(0,n.useExpressionScope)()),O=e=>{if(!u)return(e=>{let{schema:t,field:o,basePath:r,mapProperties:d,filterProperties:u,propsRecursion:c,values:m,isUseFormilyField:h}=e,x=n.Schema.getOrderProperties(t);return x.length?(0,l.jsx)(s.Fragment,{children:x.map((e,t)=>{let{schema:n,key:s}=e,x=(null==o?void 0:o.address)||r,v=n;if((0,a.isFn)(d)){let e=d(n,s);e&&(v=e)}if((0,a.isFn)(u)&&!1===u(v,s))return null;let f=(0,a.isBool)(c)&&c?(0,l.jsx)(A,{propsRecursion:!0,filterProperties:u,mapProperties:d,schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h}):(0,l.jsx)(A,{schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h});return"CollectionField"===v["x-component"]?(0,l.jsx)(P.Provider,{value:!0,children:(0,l.jsx)(M,{fieldSchema:v,children:f})},`${t}-${s}`):(0,l.jsx)(P.Provider,{value:!1,children:(0,l.jsx)(_.Provider,{value:p.M,children:f})},`${t}-${s}`)})}):null})({schema:R,field:e,basePath:k,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b})};return R?(0,l.jsx)(n.SchemaContext.Provider,{value:R,children:(0,l.jsx)(g,{refresh:E,children:(0,a.isValid)(o)?"object"===$.type?d?O():(0,l.jsx)(n.ObjectField,{...z,name:o,basePath:k,children:O}):"array"===$.type?(0,l.jsx)(n.ArrayField,{...z,name:o,basePath:k}):"void"===$.type?d?O():(0,l.jsx)(n.VoidField,{...z,name:o,basePath:k,children:O}):b?(0,l.jsx)(n.Field,{...z,name:o,basePath:k}):(0,l.jsx)(v,{name:o,value:f,initialValue:f,basePath:k,schema:$}):O()})}):(0,l.jsx)(s.Fragment,{})});A.displayName="NocoBaseRecursionField"},79980(e,t,o){o.d(t,{Ne:()=>l.compatOldTheme,Og:()=>l.AntdAppProvider,U_:()=>l.GlobalThemeProvider,_l:()=>l.addCustomAlgorithmToTheme,my:()=>l.useGlobalTheme,zQ:()=>l.defaultTheme,ze:()=>l.customAlgorithm});var l=o(13975)},80461(e,t,o){o.d(t,{S:()=>c,T:()=>p});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(52793),s=o(95951);let d=()=>void 0,u=(e,t,o)=>{let l;return a.default.isFunction(e)?l=e:(l=t[e])||console.error(`${o} is not registered`),l||d};function c(e,t){return((e,t)=>{let o;if(!e)return d;if(a.default.isFunction(e))return e;for(let l of e.split("."))o=u(l,o||t,e);return o})(e,(0,n.useExpressionScope)())(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.displayName||e.displayName||e.name,n=t=>{let{dn:o,findComponent:a}=(0,s.er)(),d=c((0,r.useMemo)(()=>{let e=o.getSchemaAttribute("x-component"),t=o.getSchemaAttribute("x-decorator"),l=o.getSchemaAttribute("x-use-component-props"),r=o.getSchemaAttribute("x-use-decorator-props");return e&&l&&a(e)===n?l:t&&r&&a(t)===n?r:void 0},[o]),t),u=(0,r.useMemo)(()=>({...t,...d}),[d,t]);return(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(i.Spin,{}),children:(0,l.jsx)(e,{...u,children:t.children})})};return e.displayName=o,n.displayName=`withSchemaProps(${o})`,n}},99847(e,t,o){o.d(t,{t:()=>s});var l=o(71178),n=o(52793),a=o(14187),r=o(51649);let i=()=>{var e;return!!(null==(e=(0,a._J)())?void 0:e.loading)},s=(e,t)=>{let{useLoading:o=i,displayName:a,SkeletonComponent:s=n.Skeleton}=t||{},d=r.default.memo(t=>{let n=o(),a=(0,r.useRef)(!1),i=(0,r.useDeferredValue)(n);return!a.current&&i?(0,l.jsx)(s,{}):(a.current=!0,(0,l.jsx)(e,{...t}))});return d.displayName=a||`${e.displayName}(withSkeletonComponent)`||`${e.name}(withSkeletonComponent)`,d}},7775(e,t,o){o.d(t,{L:()=>i});var l=o(71178);o(51649);var n=o(52793),a=o(82113);let r={display:"flex",alignItems:"center",gap:4},i=e=>t=>{let{tooltip:o}=t;return o?(0,l.jsxs)("div",{style:r,children:[(0,l.jsx)(e,{...t}),(0,l.jsx)(n.Tooltip,{title:o,children:(0,l.jsx)(a.QuestionCircleOutlined,{style:{zIndex:1}})})]}):(0,l.jsx)(e,{...t})}},18226(e,t,o){o.d(t,{w:()=>l,k:()=>a});let l=()=>"nocobase-admin-menu";var n=o(51649);function a(){let e,t,{metaRef:o,restore:l}=(e=(0,n.useRef)("initial-scale=0.1"),t=(0,n.useRef)(),(0,n.useEffect)(()=>{let o=document.querySelector('meta[name="viewport"]');o?e.current=o.content:(o=document.createElement("meta")).name="viewport",o&&(o.content="width=device-width, initial-scale=1, user-scalable=0",t.current=o)},[]),{metaRef:t,restore:()=>{t.current&&(t.current.content=e.current)}});(0,n.useEffect)(()=>{if(o.current)return document.head.insertBefore(o.current,document.head.firstChild),()=>{l()}},[])}},33750(e,t,o){o.d(t,{Os:()=>u,co:()=>s,re:()=>d});var l=o(71178),n=o(77583),a=o(51649);let r=(0,a.createContext)(null);r.displayName="GetMenuItemContext";let i=(0,a.createContext)(null);i.displayName="GetMenuItemsContext";let s=()=>(0,a.useContext)(r)||{},d=()=>(0,a.useContext)(i)||{},u=()=>{let e=(0,a.useRef)([]),t=(0,a.useRef)(null),o=(0,a.useRef)(!1),s=(0,a.useCallback)(n=>{let{limitCount:a}=n;return o.current?(o.current=!1,t.current)?t.current():a&&e.current.length>a?(0,l.jsx)(l.Fragment,{children:e.current.slice(0,a).map((e,t)=>(0,l.jsx)(e,{},t))}):(0,l.jsx)(l.Fragment,{children:e.current.map((e,t)=>(0,l.jsx)(e,{},t))}):null},[]),d=(0,a.useCallback)(e=>{let a=[],r=e=>{a.push(e),a.sort((e,t)=>(e.order||0)-(t.order||0))};return o.current=!0,t.current=()=>{let t=a.filter(e=>e.notdelete).map(e=>n.default.omit(e,"notdelete"));return a.length=0,a.push(...t),(0,l.jsx)(i.Provider,{value:{pushMenuItem:r},children:e()})},a},[]);return{Component:s,getMenuItems:d,getMenuItem:(0,a.useCallback)(t=>{let n={},a=e=>{Object.assign(n,e)};return o.current=!0,e.current.push(()=>(0,l.jsx)(r.Provider,{value:{collectMenuItem:a},children:t()})),n},[]),clean:(0,a.useCallback)(()=>{e.current=[]},[])}}},60070(e,t,o){o.d(t,{J:()=>i});var l=o(51649),n=o(43923),a=o(99300);let{evaluate:r}=o(83489).evaluators.get("formula.js"),i=e=>{let t=(0,n.$l)(),o=(0,n.gp)(),[i,s]=(0,l.useState)();return(0,l.useEffect)(()=>{(async()=>{if(null==e||""===e)return s(void 0);let{exp:l,scope:n}=await (0,a.qk)(e,{variables:t,localVariables:o});try{let e=r(l,{now:()=>new Date().toString(),...n});s(e)}catch(e){console.error(e)}})()},[t.parseVariable,e,o]),i}},24943(e,t,o){o.d(t,{r:()=>d});var l=o(71178),n=o(82113),a=o(52793);o(51649);var r=o(16211),i=o(28601),s=o(86393);function d(){var e,t,o;let{data:d}=(0,s.e6)()||{},u=(0,r.VB)();return(null==d||null==(e=d.data)?void 0:e.enabledLanguages.length)>1&&(0,l.jsx)(a.Dropdown,{menu:{onClick(e){u.auth.setLocale(e.key),window.location.reload()},selectable:!0,defaultSelectedKeys:[u.auth.locale],items:null==d||null==(o=d.data)||null==(t=o.enabledLanguages)?void 0:t.filter(e=>i.Ay[e]).map(e=>({key:e,label:i.Ay[e].label}))},children:(0,l.jsx)(n.TranslationOutlined,{style:{fontSize:24}})})}},839(e,t,o){o.d(t,{z:()=>l});let l="ui-schema-storage"},7271(e,t,o){o.d(t,{Ru:()=>i,ul:()=>r,zg:()=>d.z});var l=o(23977),n=o(77843),a=o(28601);function r(e,t){return t?`{{t(${JSON.stringify(e)}, ${JSON.stringify(t)})}}`:`{{t(${JSON.stringify(e)})}}`}let i=l.default.createInstance(),s={};Object.keys(a.Ay).forEach(e=>{s[e]=a.Ay[e].resources}),i.use(n.initReactI18next).init({lng:"en-US",defaultNS:"client",resources:{},keySeparator:!1,nsSeparator:!1});var d=o(839)},37679(e,t,o){let l;o.d(t,{In:()=>u,K1:()=>d,Pt:()=>r,cE:()=>s,pU:()=>i});var n=o(71178),a=o(82113);o(51649);let r=new Map;function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;r.set(e.toLowerCase(),t)}function s(e){return!!e&&r.has(e.toLowerCase())}function d(e){Object.keys(e).forEach(t=>{i(t,e[t])})}Object.keys(a).forEach(e=>{i(e,a[e])});let u=e=>{let{type:t="",component:o,...i}=e;if(o)return(0,n.jsx)(a.default,{component:o,...i});if(t&&r.has(t.toLowerCase())){let e=r.get(t.toLowerCase());return(0,n.jsx)(e,{...i})}return t&&l?(0,n.jsx)(l,{type:t}):null};u.createFromIconfontCN=e=>{l=(0,a.createFromIconfontCN)(e)},u.register=e=>{d(e)}},60430(e,t,o){o.d(t,{In:()=>l.In,K1:()=>l.K1,Pt:()=>l.Pt,cE:()=>l.cE,pU:()=>l.pU});var l=o(37679)},44374(e,t,o){o.r(t),o.d(t,{ACLActionParamsContext:()=>r.gU,ACLActionProvider:()=>r.aK,ACLCollectionFieldProvider:()=>r.mu,ACLCollectionProvider:()=>r.yb,ACLContext:()=>r.w0,ACLCustomContext:()=>r.j,ACLMenuItemProvider:()=>r.Ik,ACLPane:()=>r.tA,ACLPlugin:()=>r.gt,ACLProvider:()=>r.AY,ACLRolesCheckProvider:()=>r.rR,ADMIN_SETTINGS_KEY:()=>u.w$,ADMIN_SETTINGS_PATH:()=>u.wq,AIManager:()=>ec._T,APIClient:()=>s.Q9,APIClientContext:()=>s.j8,APIClientProvider:()=>s.nd,AccessControl:()=>B.kx,Action:()=>D.rcl,ActionBar:()=>D.E76,ActionBarAssociationFilterAction:()=>Y.pB,ActionBarProvider:()=>D.xqq,ActionContext:()=>D.yVm,ActionContextNoRerender:()=>D.Wis,ActionContextProvider:()=>D.z45,ActionDesigner:()=>D.U6o,ActionGroupModel:()=>a.ActionGroupModel,ActionInitializer:()=>Y.LF,ActionInitializerItem:()=>Y.E2,ActionModel:()=>a.ActionModel,ActionSceneEnum:()=>a.ActionSceneEnum,ActionType:()=>B.X2,AddChildActionModel:()=>a.AddChildActionModel,AddCollection:()=>h.qS,AddCollectionAction:()=>h.IE,AddCollectionField:()=>h.qQ,AddFieldAction:()=>h.g,AddNewActionModel:()=>a.AddNewActionModel,AddSubFieldAction:()=>h.w3,AdminDynamicPage:()=>T.Y4,AdminLayout:()=>T.Ui,AdminLayoutMenuItemModel:()=>T.xF,AdminLayoutPlugin:()=>T.NC,AdminProvider:()=>T.X7,AdminSettingsLayout:()=>j.dj,AdminSettingsLayoutModel:()=>j.C_,AfterSuccess:()=>D.Kql,AllDataBlocksContext:()=>D.rrz,AllDataBlocksProvider:()=>D.J3t,AntdAppProvider:()=>y.Og,AntdConfigPlugin:()=>i.j,AntdConfigProvider:()=>i.Rk,AntdSchemaComponentPlugin:()=>D.bkX,AntdSchemaComponentProvider:()=>D.TDj,AppLangContext:()=>i.P4,AppNotFound:()=>x.bM,AppendsTreeSelect:()=>D.m$h,Application:()=>u.lg,ApplicationContext:()=>u.gD,AssignFormModel:()=>a.AssignFormModel,AssignedFieldValues:()=>D.TB2,AssociatedFields:()=>Y.Ag,AssociationField:()=>D.m2w,AssociationFieldMode:()=>D.Bnf,AssociationFieldModeProvider:()=>D.o8F,AssociationFilter:()=>Y.AO,AssociationFilterDesignerDelete:()=>Y.um,AssociationFilterDesignerDisplayField:()=>Y.xc,AssociationFilterPlugin:()=>Y.PB,AssociationOrCollectionProvider:()=>_.uG,AssociationProvider:()=>_.$z,AssociationSelect:()=>D.i_F,AsyncDataContext:()=>c.IC,AsyncDataProvider:()=>c.Gd,AttachmentList:()=>D._sT,AutoComplete:()=>D.j9R,BackButtonUsedInSubPage:()=>D.hsK,BaseVariableProvider:()=>B.jr,BlankComponent:()=>u.ct,Block:()=>D.eBw,BlockAssociationContext:()=>m.qM,BlockConfigsContext:()=>p.U1,BlockConfigsProvider:()=>p.AZ,BlockContext:()=>m.zL,BlockGridModel:()=>a.BlockGridModel,BlockInitializer:()=>Y.yl,BlockItem:()=>D.Z0V,BlockItemCard:()=>D.tn0,BlockItemCardContext:()=>D.AQf,BlockItemInitializer:()=>Y.z6,BlockModel:()=>a.BlockModel,BlockProvider:()=>m.VL,BlockRequestContextProvider:()=>_.NB,BlockRequestContext_deprecated:()=>m.cM,BlockRequestLoadingContext:()=>_.OO,BlockRequestProvider:()=>_.Yu,BlockRequestProvider_deprecated:()=>m.ge,BlockResourceContext:()=>m.fh,BlockSceneEnum:()=>a.BlockSceneEnum,BlockSchemaComponentPlugin:()=>m.tv,BlockSchemaComponentProvider:()=>m.hS,BlockSchemaToolbar:()=>W.C,BlockTemplateContext:()=>N.V5,BlockTemplateDetails:()=>N.YU,BlockTemplatePage:()=>N.BZ,BlockTemplateProvider:()=>N.XZ,BlockTemplatesPane:()=>N.NV,BlocksSelector:()=>D.Gjn,ButtonEditor:()=>D.Ypd,CSSVariableProvider:()=>v.B,CardItem:()=>D.oVU,Cascader:()=>D.vxQ,Checkbox:()=>D.Sc0,CheckboxFieldInterface:()=>h.jc,CheckboxGroupFieldInterface:()=>h.sf,ChildPageModel:()=>a.ChildPageModel,ChildPageTabModel:()=>a.ChildPageTabModel,ClearCollectionFieldContext:()=>_.bJ,ClickableFieldModel:()=>a.ClickableFieldModel,CodeEditor:()=>a.CodeEditor,CodeEditorExtension:()=>a.CodeEditorExtension,Collection:()=>_.pM,CollectionActionGroupModel:()=>a.CollectionActionGroupModel,CollectionActionModel:()=>a.CollectionActionModel,CollectionBlockModel:()=>a.CollectionBlockModel,CollectionCategoriesContext:()=>h.CI,CollectionCategoriesProvider:()=>h.q0,CollectionCategory:()=>h.F8,CollectionContext:()=>_.CQ,CollectionDeletedPlaceholder:()=>_.xd,CollectionField:()=>_.JL,CollectionFieldContext:()=>_.yn,CollectionFieldInterface:()=>_.yz,CollectionFieldInterfaceManager:()=>_.Ln,CollectionFieldInterfaceTag:()=>h.Mi,CollectionFieldProvider:()=>_.Ey,CollectionFieldUISchemaProvider:()=>ei.Tu,CollectionFieldsToFormInitializerItems:()=>_.Dk,CollectionFieldsToInitializerItems:()=>_.Jy,CollectionFieldsToTableInitializerItems:()=>_.bC,CollectionHistoryProvider:()=>h.US,CollectionManager:()=>_.qG,CollectionManagerContext:()=>_.Jr,CollectionManagerProvider:()=>_.Pf,CollectionManagerProvider_deprecated:()=>h.nq,CollectionManagerSchemaComponentProvider:()=>h.Xm,CollectionNotAllowViewPlaceholder:()=>_.b,CollectionPlugin:()=>h.Kf,CollectionProvider:()=>_.Yz,CollectionProvider_deprecated:()=>h.io,CollectionRecord:()=>_.ol,CollectionRecordContext:()=>_.tH,CollectionRecordProvider:()=>_.Jw,CollectionSelect:()=>D.vzL,CollectionSelectFieldInterface:()=>h.CF,CollectionTemplate:()=>_.T0,CollectionTemplateManager:()=>_.C1,CollectionTemplateTag:()=>h.xq,ColorFieldInterface:()=>h.h1,ColorPicker:()=>D.skP,ColorSelect:()=>D.qy5,CommonItemModel:()=>a.CommonItemModel,CompatibleSchemaInitializer:()=>u.__,CreateFilterActionInitializer:()=>Y.z8,CreateFormModel:()=>a.CreateFormModel,CreateResetActionInitializer:()=>Y.uj,CreatedAtFieldInterface:()=>h.vv,CreatedByFieldInterface:()=>h.VA,Cron:()=>D.l46,CronSet:()=>D.hbv,CurrentAppInfoContext:()=>d.G0,CurrentAppInfoProvider:()=>d.qm,CurrentPageUidContext:()=>u.MR,CurrentPageUidProvider:()=>u.tu,CurrentRouteProvider:()=>T.yb,CurrentTabUidContext:()=>u.EB,CurrentTabUidProvider:()=>u.sn,CurrentUserContext:()=>O.Ip,CurrentUserProvider:()=>O.Qd,CurrentUserSettingsMenuProvider:()=>O.Y,CustomRouterContextProvider:()=>u.Jr,CustomizeActionInitializer:()=>Y.A4,DEBOUNCE_WAIT:()=>q.wU,DEFAULT_DATA_SOURCE_KEY:()=>_.Ze,DEFAULT_DATA_SOURCE_TITLE:()=>_.gP,DataBlockCollector:()=>g.Pt,DataBlockContext:()=>_.R6,DataBlockInitializer:()=>Y.kq,DataBlockModel:()=>a.DataBlockModel,DataBlockProvider:()=>_.T4,DataBlockResourceContext:()=>_.RE,DataBlockResourceProvider:()=>_.Fr,DataSource:()=>_.qS,DataSourceApplicationProvider:()=>_.Nd,DataSourceCollectionCascader:()=>D.C4D,DataSourceContext:()=>_.Vl,DataSourceContext_deprecated:()=>h.hu,DataSourceManager:()=>_.zA,DataSourceManagerContext:()=>_.oc,DataSourceManagerProvider:()=>_.e1,DataSourceProvider:()=>_.tc,DataSourceProvider_deprecated:()=>h.T8,DataSourceSelect:()=>D.qy$,DateFieldInterface:()=>h.W5,DateFilterDynamicComponent:()=>D.dVP,DateFormatCom:()=>D.b2W,DatePicker:()=>D.lrV,DatePickerProvider:()=>D.QoO,DatetimeFieldInterface:()=>h.Nr,DatetimeNoTzFieldInterface:()=>h.a1,DefaultToolsManager:()=>ec.eY,DefaultValueProvider:()=>B.UY,DeleteCollection:()=>h.Ik,DeleteCollectionAction:()=>h.A9,Designable:()=>D.d1R,DesignableSwitch:()=>D.N3p,Details:()=>D.B_g,DetailsAssociationFieldGroupModel:()=>a.DetailsAssociationFieldGroupModel,DetailsBlockContext:()=>m.R6,DetailsBlockModel:()=>a.DetailsBlockModel,DetailsBlockProvider:()=>m.f0,DetailsCustomItemModel:()=>a.DetailsCustomItemModel,DetailsDesigner:()=>D.CqQ,DetailsGridModel:()=>a.DetailsGridModel,DetailsItemModel:()=>a.DetailsItemModel,DisplaySubTableFieldModel:()=>a.DisplaySubTableFieldModel,DisplayTextFieldModel:()=>a.DisplayTextFieldModel,DisplayTitleFieldModel:()=>a.DisplayTitleFieldModel,Divider:()=>D.cGx,DndContext:()=>D.Mp5,DocumentTitleContext:()=>f.to,DocumentTitleProvider:()=>f.pf,DragHandler:()=>D.L3t,DraggableContext:()=>D.X_,DropdownVisibleContext:()=>O.R2,EMPTY_OBJECT:()=>q.Ml,EditCollection:()=>h.V,EditCollectionAction:()=>h.Jx,EditCollectionField:()=>h.jY,EditComponent:()=>D.iI7,EditDefaultValue:()=>D.tvd,EditDescription:()=>D.JQe,EditFieldAction:()=>h.pA,EditFormModel:()=>a.EditFormModel,EditOperator:()=>D.B4G,EditPattern:()=>D.$t1,EditRequired:()=>D.QpY,EditSortField:()=>D.jgC,EditSubFieldAction:()=>h.Lj,EditTable:()=>D.j0_,EditTableAction:()=>D.vjx,EditTableActionContext:()=>D.uc_,EditTitle:()=>D.Xzy,EditTitleField:()=>D.Ff5,EditTooltip:()=>D.IJ7,EditValidationRules:()=>D.vPC,Editable:()=>D.FoY,EllipsisWithTooltip:()=>D.R_2,EmailFieldInterface:()=>h.em,ErrorFallback:()=>D.xPi,Expand:()=>D.JaO,ExpiresRadio:()=>D.S5r,ExtendCollectionsContext:()=>_.pi,ExtendCollectionsProvider:()=>_.Jl,FieldModel:()=>a.FieldModel,FieldModelRenderer:()=>es.FieldModelRenderer,FieldSummary:()=>h.fn,FieldValidation:()=>h.g7,FieldsTreeSelect:()=>D.ARu,Fieldset:()=>D.LBS,Filter:()=>D.dJT,FilterAction:()=>D.BsJ,FilterActionContext:()=>D.SOm,FilterActionModel:()=>a.FilterActionModel,FilterAssociatedFields:()=>Y.Q3,FilterBlockModel:()=>a.FilterBlockModel,FilterBlockProvider:()=>g.$3,FilterBlockType:()=>g.I1,FilterContext:()=>D.gM2,FilterDynamicComponent:()=>D.N$k,FilterFormActionGroupModel:()=>a.FilterFormActionGroupModel,FilterFormBlockModel:()=>a.FilterFormBlockModel,FilterFormBlockProvider:()=>m.JZ,FilterFormItemModel:()=>a.FilterFormItemModel,FilterGroup:()=>a.FilterGroup,FilterLogicContext:()=>D.c_d,FilterParentCollectionFields:()=>Y.gE,FlagContext:()=>b.Im,FlagProvider:()=>b.UU,ForeignKey:()=>h.mJ,Form:()=>D.lVW,FormActionGroupModel:()=>a.FormActionGroupModel,FormActionModel:()=>a.FormActionModel,FormActiveFieldsProvider:()=>m.Xz,FormAssociationFieldGroupModel:()=>a.FormAssociationFieldGroupModel,FormBlockContext:()=>m.JD,FormBlockInitializer:()=>J.yU,FormBlockModel:()=>a.FormBlockModel,FormBlockProvider:()=>m.r1,FormComponent:()=>a.FormComponent,FormDialog:()=>D.RD4,FormDrawer:()=>D.wA7,FormField:()=>D.zBI,FormFieldContext:()=>m.wh,FormFieldProvider:()=>m.UJ,FormGridModel:()=>a.FormGridModel,FormItem:()=>L.e,FormItemModel:()=>a.FormItemModel,FormItemSchemaToolbar:()=>J.iz,FormProvider:()=>D.OpO,FormSubmitActionModel:()=>a.FormSubmitActionModel,FormV2:()=>D.htN,G2Plot:()=>D.D6h,G2PlotInitializer:()=>Y.PV,G2PlotRenderer:()=>D.ic7,GeneralSchemaDesigner:()=>B.xK,GeneralSchemaItems:()=>R.g$,GlobalThemeProvider:()=>y.U_,Grid:()=>D.xA9,GridCard:()=>D.RLS,GridModel:()=>a.GridModel,GridRowContext:()=>D.mz8,HTMLEncode:()=>D.mJi,HeightMode:()=>B.Dn,ICON_POPUP_Z_INDEX:()=>D.b6K,Icon:()=>C.In,IconFieldInterface:()=>h.Po,IconPicker:()=>D.arW,IdFieldInterface:()=>h.Xk,InheritanceCollectionMixin:()=>h.WW,InitializerWithSwitch:()=>Y.Nl,Input:()=>D.pde,InputFieldInterface:()=>h.Yf,InputFieldModel:()=>a.InputFieldModel,InputNumber:()=>D.YIz,InputReadPretty:()=>D.FZR,InputRecordPicker:()=>D.qKt,IntegerFieldInterface:()=>h.Kv,InternalAdminSettingsLayout:()=>j.Q7,IsInNocoBaseRecursionFieldContext:()=>ei.Bs,IsSubPageClosedByPageMenuContext:()=>u.C1,IsSubPageClosedByPageMenuProvider:()=>u.Cj,JSActionModel:()=>a.JSActionModel,Json:()=>D.LMh,JsonFieldInterface:()=>h.UF,KeepAlive:()=>T.PR,LAZY_COMPONENT_KEY:()=>M.PE,LOADING_DELAY:()=>q.fG,Layout:()=>B.PE,LayoutContent:()=>T.A1,LinkActionModel:()=>a.LinkActionModel,LinkToFieldInterface:()=>h.Li,LinkageFilter:()=>D.ccy,LinkageRuleCategory:()=>B.Od,LinkageRuleDataKeyMap:()=>B.bx,List:()=>D.B8B,LocalDataSource:()=>_.h0,LocationSearchContext:()=>u.bR,M2MFieldInterface:()=>h.Em,M2OFieldInterface:()=>h.ms,Markdown:()=>D.ozN,MarkdownFieldInterface:()=>h.B9,MarkdownReadPretty:()=>D.wN6,MaybeCollectionProvider:()=>m.oe,Menu:()=>D.W1t,MenuConfigure:()=>r.MO,MockFlowModelRepository:()=>a.MockFlowModelRepository,ModalActionSchemaInitializerItem:()=>Y.Au,MultipleSelectFieldInterface:()=>h.if,NAMESPACE_UI_SCHEMA:()=>k.zg,NanoIDInput:()=>D.Q00,NanoidFieldInterface:()=>h.fZ,NocoBaseBuildInPlugin:()=>F.x,NocoBaseDesktopRouteType:()=>T.q2,NocoBaseRecursionField:()=>ei.dw,NocoBaseRouteContext:()=>T.dI,NumberFieldInterface:()=>h.Nj,O2MFieldInterface:()=>h.IL,O2OFieldInterface:()=>h.SB,OBOFieldInterface:()=>h.Sd,OHOFieldInterface:()=>h.Si,OpenModeProvider:()=>eo.R,OverridingCollectionField:()=>h.oO,OverridingFieldAction:()=>h.yu,PMPlugin:()=>j.V_,Page:()=>D.YW0,PagePopups:()=>D.rNg,PageTabs:()=>D.Y2j,Pagination:()=>D.dKS,ParentCollectionFields:()=>Y.y8,ParentRouteContext:()=>D.Zy6,Password:()=>D._22,PasswordFieldInterface:()=>h.NL,Percent:()=>D.QEB,PercentFieldInterface:()=>h.$N,PermissionContext:()=>r.dg,PermissionProvider:()=>r.XI,PhoneFieldInterface:()=>h.wv,PinnedListPlugin:()=>P._,PinnedPluginList:()=>P.i6,PinnedPluginListContext:()=>P.DW,PinnedPluginListProvider:()=>P.P7,Plugin:()=>u.k_,PluginManager:()=>j.R0,PluginManagerLink:()=>j.X1,PluginSettingsManager:()=>u.mz,PopupActionModel:()=>a.PopupActionModel,PopupContextProvider:()=>el.P,PopupSettingsProvider:()=>D.T$Q,PopupSubTableFormActionGroupModel:()=>a.PopupSubTableFormActionGroupModel,PoweredBy:()=>A.G,Preview:()=>D.lNE,QuickEdit:()=>D.gt0,REGEX_OF_VARIABLE:()=>q.vV,REGEX_OF_VARIABLE_IN_EXPRESSION:()=>q.qe,Radio:()=>D.sxL,RadioGroupFieldInterface:()=>h.QZ,ReadPretty:()=>D.hqJ,ReadPrettyRecordPicker:()=>D.w2W,RecordActionGroupModel:()=>a.RecordActionGroupModel,RecordAssociationBlockInitializer:()=>Y.Cg,RecordAssociationDetailsBlockInitializer:()=>Y.QP,RecordAssociationFormBlockInitializer:()=>Y.we,RecordAssociationGridCardBlockInitializer:()=>Y.Q2,RecordAssociationListBlockInitializer:()=>Y.kv,RecordContext_deprecated:()=>I.Ze,RecordFormBlockInitializer:()=>J.BM,RecordIndexContext:()=>I.t9,RecordIndexProvider:()=>I.l2,RecordLink:()=>m.Ur,RecordPicker:()=>D.O$4,RecordPickerContent:()=>a.RecordPickerContent,RecordPickerContext:()=>D.pEl,RecordPickerProvider:()=>D.bee,RecordProvider:()=>I.B4,RecordReadPrettyAssociationFormBlockInitializer:()=>Y.SL,RecordSelectFieldModel:()=>a.RecordSelectFieldModel,RecordSimpleProvider:()=>I.RP,RefreshActionModel:()=>a.RefreshActionModel,RefreshComponentProvider:()=>ei.E0,RefreshDataBlockRequest:()=>D.ud1,RemoteCollectionManagerProvider:()=>h.Ho,RemoteDocumentTitlePlugin:()=>f.L2,RemoteDocumentTitleProvider:()=>f.vB,RemoteSchemaComponent:()=>D.DYS,RemoteSchemaTemplateManagerPlugin:()=>N.IU,RemoteSchemaTemplateManagerProvider:()=>N.sx,RemoteSelect:()=>D.lTd,RemoveButton:()=>D.d09,RemoveConditionContext:()=>D.b7u,RenderChildrenWithAssociationFilter:()=>m.hJ,RequestSettings:()=>D.RhU,RerenderDataBlockProvider:()=>_.Qj,Resizable:()=>X.cM,ResourceActionContext:()=>h.aB,ResourceActionProvider:()=>h.mD,RichText:()=>D.sDQ,RichTextFieldInterface:()=>h.X6,RoleConfigure:()=>r.jc,RoleResourceCollectionContext:()=>r.mW,RoleTable:()=>r.PO,RolesResourcesActions:()=>r.WH,RouteSchemaComponent:()=>T.yU,RouterContextCleaner:()=>u.PK,RouterManager:()=>u.pZ,SNIPPET_PREFIX:()=>u.tJ,SanitizedCollectionProvider:()=>_.N5,SchemaComponent:()=>D.HvB,SchemaComponentContext:()=>D.u4V,SchemaComponentOnChangeContext:()=>D.Doh,SchemaComponentOptions:()=>D.t6u,SchemaComponentPlugin:()=>D.GD6,SchemaComponentProvider:()=>D.OAH,SchemaInitializer:()=>u.IY,SchemaInitializerActionModal:()=>u.z3,SchemaInitializerActionModalInternal:()=>u.Yx,SchemaInitializerChild:()=>u.wp,SchemaInitializerChildren:()=>u.ZI,SchemaInitializerContext:()=>u.dQ,SchemaInitializerDivider:()=>u.Z$,SchemaInitializerItem:()=>u.rR,SchemaInitializerItemContext:()=>u.G8,SchemaInitializerItemGroup:()=>u.G0,SchemaInitializerItemGroupInternal:()=>u.JL,SchemaInitializerItemInternal:()=>u.KK,SchemaInitializerItems:()=>u.e1,SchemaInitializerManager:()=>u.FE,SchemaInitializerMenu:()=>u.$l,SchemaInitializerMenuProvider:()=>u.Ix,SchemaInitializerOpenModeSchemaItems:()=>R.yF,SchemaInitializerPlugin:()=>Y.X1,SchemaInitializerSelect:()=>u.S3,SchemaInitializerSelectInternal:()=>u.Vf,SchemaInitializerSubMenu:()=>u.zw,SchemaInitializerSubMenuInternal:()=>u.gc,SchemaInitializerSwitch:()=>u.qX,SchemaInitializerSwitchInternal:()=>u.NH,SchemaSettingAccessControl:()=>B.Xh,SchemaSettingItemContext:()=>u.KY,SchemaSettingOpenModeSchemaItems:()=>R.sm,SchemaSettings:()=>u.RT,SchemaSettingsActionLinkItem:()=>G.i,SchemaSettingsActionModalItem:()=>B.l,SchemaSettingsBlockHeightItem:()=>B._M,SchemaSettingsBlockTitleItem:()=>B.Pp,SchemaSettingsCascaderItem:()=>B.Wk,SchemaSettingsChild:()=>u.T2,SchemaSettingsChildren:()=>u.Ah,SchemaSettingsConnectDataBlocks:()=>B.$r,SchemaSettingsDataScope:()=>B.Zy,SchemaSettingsDataTemplates:()=>B.iJ,SchemaSettingsDateFormat:()=>B.AH,SchemaSettingsDefaultSortingRules:()=>B.lZ,SchemaSettingsDefaultValue:()=>B.Jw,SchemaSettingsDivider:()=>B.kT,SchemaSettingsDropdown:()=>B.QA,SchemaSettingsEnableChildCollections:()=>B.DE,SchemaSettingsFixed:()=>X.$e,SchemaSettingsFormItemTemplate:()=>B.Sm,SchemaSettingsItem:()=>B.iU,SchemaSettingsItemGroup:()=>B.NT,SchemaSettingsLayoutItem:()=>B.qj,SchemaSettingsLinkageRules:()=>B.f9,SchemaSettingsManager:()=>u.mh,SchemaSettingsModalItem:()=>B.fY,SchemaSettingsNumberFormat:()=>B.vv,SchemaSettingsPlugin:()=>B.SA,SchemaSettingsPopupItem:()=>B.QN,SchemaSettingsProvider:()=>B.Kd,SchemaSettingsRemove:()=>B.d$,SchemaSettingsRenderEngine:()=>B.Fs,SchemaSettingsSelectItem:()=>B.Al,SchemaSettingsSortingRule:()=>B.bO,SchemaSettingsSubMenu:()=>B.OO,SchemaSettingsSwitchItem:()=>B.Qd,SchemaSettingsTemplate:()=>B.lC,SchemaSettingsWrapper:()=>u.OD,SchemaTemplateManagerContext:()=>N.cC,SchemaToolbar:()=>B.Bw,SchemaToolbarContext:()=>u.OI,SchemaToolbarProvider:()=>u.y6,SchemaToolbarVisibleContext:()=>B.Oy,ScopeSelect:()=>r.dn,SearchCollections:()=>Y.Cl,SearchParamsContext:()=>u.yh,SecondConFirm:()=>D.VXI,Select:()=>D.l6P,SelectActionInitializer:()=>Y.J_,SelectFieldInterface:()=>h.ur,SelectWithTitle:()=>x.$d,SetDataLoadingMode:()=>Q.yz,SettingCenterPermissionProvider:()=>r.kL,SettingCenterProvider:()=>r.$k,SettingsCenterConfigure:()=>r.$S,SettingsCenterContext:()=>j.WS,SettingsCenterDropdown:()=>j.wj,SettingsMenuProvider:()=>O.mn,ShowFormData:()=>D.a1G,SkeletonFallback:()=>a.SkeletonFallback,SkipValidation:()=>D.zN,SnowflakeIdFieldInterface:()=>h.xS,Sortable:()=>D.L1H,SortableContext:()=>D.gBZ,SortableItem:()=>D.UqM,SortableProvider:()=>D.gBz,SourceCollection:()=>h.sN,SourceForeignKey:()=>h.l7,SourceKey:()=>h.D0,Space:()=>D.$xS,StablePopover:()=>D.$mi,StrategyActions:()=>r.T,SubFieldDataSourceProvider_deprecated:()=>h.Jq,SubTableColumnModel:()=>a.SubTableColumnModel,SubTableFieldInterface:()=>h.OA,SubTableFieldModel:()=>a.SubTableFieldModel,SubmitActionInitializer:()=>Y.pW,SwitchLanguage:()=>U.r,SyncFieldsAction:()=>h.xG,SyncFieldsActionCom:()=>h.Yy,SyncSQLFieldsAction:()=>h.BK,SystemSettingsPane:()=>$.nS,SystemSettingsPlugin:()=>$.Cz,SystemSettingsSource:()=>$.or,Table:()=>D.XIK,TableActionColumnInitializer:()=>Y.rb,TableAssociationFieldGroupModel:()=>a.TableAssociationFieldGroupModel,TableBlockContext:()=>m.V3,TableBlockDesigner:()=>D.v93,TableBlockInitializer:()=>X.IB,TableBlockModel:()=>a.TableBlockModel,TableBlockProvider:()=>m.to,TableColumnModel:()=>a.TableColumnModel,TableColumnSchemaToolbar:()=>X.lI,TableField:()=>D.Bmi,TableFieldContext:()=>m.G8,TableFieldProvider:()=>m.Cc,TableFieldResource:()=>m.vv,TableSelectorContext:()=>m.$1,TableSelectorDesigner:()=>D.p9h,TableSelectorInitializer:()=>Z.w,TableSelectorParamsProvider:()=>m.bp,TableSelectorProvider:()=>m.j4,TableV2:()=>D.Hi5,TableoidFieldInterface:()=>h.YK,Tabs:()=>D.tUM,TabsContextProvider:()=>D.hY7,TargetForeignKey:()=>h.Pg,TargetKey:()=>h.n0,TemplateBlockProvider:()=>m.lm,TemplateSummary:()=>h.N8,Templates:()=>D.I5x,TestDesigner:()=>D.qIn,TextAreaWithContextSelector:()=>a.TextAreaWithContextSelector,TextAreaWithGlobalScope:()=>D.Ur4,TextareaFieldInterface:()=>h.OK,ThroughCollection:()=>h.Uq,ThroughForeignKey:()=>h.P$,TimeFieldInterface:()=>h.ju,TimePicker:()=>D.AG,TreeSelect:()=>D.f7I,UUIDFieldInterface:()=>h.nF,UnSupportFields:()=>h.u6,UnixTimestamp:()=>D.zVE,UnixTimestampFieldInterface:()=>h.qT,UpdateRecordActionModel:()=>a.UpdateRecordActionModel,UpdatedAtFieldInterface:()=>h.A8,UpdatedByFieldInterface:()=>h.CT,Upload:()=>D._OO,Uploader:()=>D.d9b,UrlFieldInterface:()=>h.Nc,Variable:()=>D.rTt,VariableFilterItem:()=>a.VariableFilterItem,VariableInput:()=>B.P8,VariablePopupRecordProvider:()=>ea.P3,VariableScope:()=>q.j0,VariableScopeProvider:()=>D.sIN,VariableSelect:()=>D.PnP,VariablesContext:()=>q.jT,VariablesProvider:()=>q.fK,ViewCollectionField:()=>h.w7,ViewFieldAction:()=>h.YG,WithoutFormFieldResource:()=>m.vi,WithoutTableFieldResource:()=>m.nI,actionSettings:()=>D.Sh8,actionSettingsItems:()=>D.MoU,addCustomAlgorithmToTheme:()=>y._l,allowAddNew:()=>D.lE3,appendQueryStringToUrl:()=>m.gN,applyCollectionFieldUiSchemaToDefaultValueSchema:()=>B.Ux,applyMobilePaginationProps:()=>a.applyMobilePaginationProps,attachmentFileTypes:()=>D.lNX,autoFill:()=>h.l5,autoIncrement:()=>h.N1,canMakeAssociationBlock:()=>Y.xj,collectionDataSource:()=>h.C8,compatOldTheme:()=>y.Ne,completeURL:()=>m.Dg,compose:()=>u.Zz,constraintsProps:()=>h.jg,createCompactSimpleItemRender:()=>a.createCompactSimpleItemRender,createCreateFormBlockUISchema:()=>J.U9,createDesignable:()=>D.pxY,createDetailsBlockSchema:()=>Y.DJ,createFormActionInitializers:()=>J.CQ,createFormActionInitializers_deprecated:()=>J.E9,createFormBlockSchema:()=>Y.je,createFormBlockSettings:()=>J.NO,createModalSettingsItem:()=>u.IN,createReadPrettyFormBlockSchema:()=>Y.TA,createRouterManager:()=>u.xd,createSelectSchemaSettingsItem:()=>u.IF,createStyles:()=>E.r,createSwitchSettingsItem:()=>u.$c,createTableBlockSchema:()=>Y.JP,createTableBlockUISchema:()=>X.DJ,createTextSettingsItem:()=>u.pi,customAlgorithm:()=>y.ze,customFormItemInitializers:()=>Y.qf,customFormItemInitializers_deprecated:()=>Y.KL,dataSource:()=>h.Ex,dateTimeProps:()=>h.E2,defaultFieldNames:()=>D.KDQ,defaultInputStyle:()=>B.D0,defaultProps:()=>h.Gs,defaultTheme:()=>y.zQ,dispatchEventDeep:()=>a.dispatchEventDeep,ds:()=>h.ds,editFormBlockSettings:()=>J.RG,editMarkdownFlow:()=>a.editMarkdownFlow,fetchTemplateData:()=>D.rlt,fieldComponentSettingsItem:()=>_.I1,fieldSettingsFormItem:()=>J.ln,fileSizeSetting:()=>er.oc,fillParentFields:()=>m.Rg,filterFormItemSettings:()=>D.Dgp,findByUid:()=>D.X6x,findFilterTargets:()=>m.OP,findFirstPageRoute:()=>T.sj,findFormBlock:()=>m.r9,findKanbanFormItem:()=>_.SG,findKeysByUid:()=>D.VFg,findMenuItem:()=>D.OZ6,findParentFieldSchema:()=>B.Jq,findRouteBySchemaUid:()=>T.bl,formActionInitializers:()=>J.eI,formDetailsSettings:()=>D.QIX,formItemInitializers:()=>J.rj,formItemInitializers_deprecated:()=>J.Lm,formItemSettings:()=>D.DVX,formSettings:()=>D.UyB,formV1Settings:()=>D.$Eq,genStyleHook:()=>D.fDF,getAppends:()=>m.c3,getAssociationPath:()=>m.jh,getCardItemSchema:()=>m.Km,getCollectionTitle:()=>W.R,getConfigurableProperties:()=>h.TC,getCurrentOptions:()=>D.oMF,getDataSourceHeaders:()=>_.kb,getDateExact:()=>D.Q2z,getDatePickerLabels:()=>D.Mwt,getDateRanges:()=>D.fDM,getFieldDefaultValue:()=>B.lD,getFilterByTkByCollection:()=>m.g7,getFlowPageMenuSchema:()=>eu.g,getFormValues:()=>m.ru,getIdsWithChildren:()=>m.O6,getLabelFormatValue:()=>D.PB5,getLabelWithTooltip:()=>B.YO,getPageMenuSchema:()=>et.my,getPageSchema:()=>m.RN,getPinnedPluginListKeys:()=>P.k4,getPopupPathFromParams:()=>D.C5g,getRenderContent:()=>D.a2g,getSchemaSettingsConfirmZIndex:()=>B.rf,getSchemaSettingsDialogZIndex:()=>B.tN,getShouldChange:()=>B.io,getSimpleModePaginationClassName:()=>a.getSimpleModePaginationClassName,getStoredPopupContext:()=>D.lSn,getSupportFieldsByAssociation:()=>g.Lt,getSupportFieldsByForeignKey:()=>g.Rm,getSystemSettingsMutationData:()=>$.mY,getTabSchema:()=>D.jZb,getURLSearchParams:()=>B._V,getURLSearchParamsChildren:()=>B.B_,getUniqueKeyFromCollection:()=>h.$e,getUnknownCountPaginationTotal:()=>a.getUnknownCountPaginationTotal,getVariableComponentWithScope:()=>K.Iy,getVariableValue:()=>x.Wu,getVariablesFromExpression:()=>q.e3,getZIndex:()=>D.flR,gridRowColWrap:()=>Y.xH,handleDateChangeOnForm:()=>D.QD_,hasIcon:()=>C.cE,i18n:()=>k.Ru,icons:()=>C.Pt,inferPickerType:()=>D.Pnr,interfacesOfUnsupportedDefaultValue:()=>B.lM,interfacesProperties:()=>h.q,isAssocField:()=>g.W0,isBulkEditAction:()=>D.PSc,isDeleteButtonDisabled:()=>h.WL,isFileCollection:()=>D.XOn,isInFilterFormBlock:()=>g.vc,isInitializersSame:()=>u.qt,isMobile:()=>D.FrL,isPatternDisabled:()=>B.h2,isSameCollection:()=>g.TQ,isShowFilePicker:()=>D.GmQ,isSystemField:()=>B.kr,isTabPage:()=>D.nKd,isTitleField:()=>_.ji,isVariable:()=>q.DZ,isWriteEmailAction:()=>D.cWk,itemsMerge:()=>Y.jz,joinCollectionName:()=>h.Sv,joinUrlSearch:()=>a.joinUrlSearch,languageCodes:()=>w.XK,lazy:()=>M.RZ,locale:()=>w.Ay,mapDatePicker:()=>D.x1p,mapRangePicker:()=>D.UTu,mapTimeFormat:()=>D.JDj,matchMimetype:()=>D._bM,mergeFilter:()=>g.Dj,mergePaginationClassName:()=>a.mergePaginationClassName,mockAPIClient:()=>z.a,moment2str:()=>D.msY,navigateToTab:()=>D.s23,navigateWithinSelf:()=>m.Ff,normalizeContainer:()=>u.Bv,openViewFlow:()=>a.openViewFlow,operators:()=>h.II,pageSettings:()=>D.fM,pageTabSettings:()=>D.uUT,parseCollectionName:()=>h.Hu,parseVariablesAndChangeParamsToQueryString:()=>m.iz,primaryKey:()=>h.ie,readPrettyFormSettings:()=>D.ud$,recordBlockInitializers:()=>Y.o$,recordBlockInitializers_deprecated:()=>Y.GA,recordPickerViewer:()=>h.mK,recursiveParent:()=>m.H2,reduceValueSize:()=>m.hu,registerIcon:()=>C.pU,registerIcons:()=>C.K1,registerInitializerMenusGenerator:()=>Y.LR,relationshipType:()=>h.B1,removeNullCondition:()=>D.pA3,replaceVariableValue:()=>m.WY,replaceVariables:()=>B.qk,requestParentRecordData:()=>_.$G,resolveFilterPickerFormat:()=>D.CEt,reverseFieldProperties:()=>h.Mw,schemaSettingsLabelLayout:()=>B.jN,setDataLoadingModeSettingsItem:()=>Q.qm,setDefaultSortingRulesSchemaSettingsItem:()=>B.ez,setTheDataScopeSchemaSettingsItem:()=>B.dh,shouldRenderIconInTitle:()=>T.Uc,showFileName:()=>er.FU,splitWrapSchema:()=>D.kBD,storePopupContext:()=>D.NVg,subTableActionInitializers:()=>Y.cj,subTableActionInitializers_deprecated:()=>Y.m,systemKeys:()=>B.Kg,tabPaneInitializers:()=>Y.fq,tabPaneInitializersForBulkEditFormBlock:()=>Y.BM,tabPaneInitializersForRecordBlock:()=>Y.C6,tabPaneInitializers_deprecated:()=>Y.DP,tableActionColumnInitializers:()=>X.Wf,tableActionColumnInitializers_deprecated:()=>X.Wd,tableActionInitializers:()=>X.kL,tableActionInitializers_deprecated:()=>X.Wc,tableBlockSettings:()=>X.Fe,tableColumnInitializers:()=>X.Cg,tableColumnInitializers_deprecated:()=>X.UH,tableColumnSettings:()=>X._s,tableSelectorBlockSettings:()=>Z.A,timeProps:()=>h.kg,titleField:()=>a.titleField,toToolsMap:()=>ec.f,transformFilter:()=>ed.transformFilter,transformToFilter:()=>g.SU,transformVariableValue:()=>q.Ap,tval:()=>k.ul,type:()=>h.NW,unique:()=>h.Am,updateFilterTargets:()=>m.Ez,updateFormActionInitializers:()=>J.Zg,updateFormActionInitializers_deprecated:()=>J.T,useACLActionParamsContext:()=>r.Zj,useACLContext:()=>r.bq,useACLFieldWhitelist:()=>r.xy,useACLRoleContext:()=>r.v6,useACLRolesCheck:()=>r.X0,useAPIClient:()=>s.VB,useAPITokenVariable:()=>B.ff,useAclSnippets:()=>u.K3,useActionAvailable:()=>Q.$R,useActionBarContext:()=>D.MIq,useActionContext:()=>D.D50,useAdminSchemaUid:()=>S.w,useAfterSuccessOptions:()=>D.bZ4,useAllAccessDesktopRoutes:()=>T.nr,useAllCollectionsInheritChainGetter:()=>_.LQ,useAllDataBlocks:()=>D.dWC,useApp:()=>u.nm,useAppLangContext:()=>i.IK,useAppSpin:()=>u.vk,useAriaAttributeOfMenuItem:()=>u.yb,useAssociatedFields:()=>g.ze,useAssociatedFormItemInitializerFields:()=>Y.aY,useAssociatedTableColumnInitializerFields:()=>Y.vP,useAssociationCreateActionProps:()=>m.Pj,useAssociationFieldContext:()=>D.G2C,useAssociationFieldModeContext:()=>D.Xjr,useAssociationFilterBlockProps:()=>m.UN,useAssociationFilterProps:()=>m.L1,useAssociationName:()=>_.UJ,useAssociationNames:()=>m.Ry,useAsyncData:()=>c.e6,useAttach:()=>D.TDH,useBackButton:()=>D.zEg,useBaseVariable:()=>B.de,useBlockAssociationContext:()=>m.Ps,useBlockConfigs:()=>p.oL,useBlockContext:()=>m.MX,useBlockHeight:()=>D.a97,useBlockHeightProps:()=>m.es,useBlockRequestContext:()=>m.J6,useBlockResource:()=>m.V0,useBlockTemplateContext:()=>N.kU,useBuiltinVariables:()=>q.c7,useBulkDestroyAction:()=>h.ZC,useBulkDestroyActionAndRefreshCM:()=>h.uq,useBulkDestroyActionProps:()=>m.Y0,useCancelAction:()=>h.Y7,useCloseAction:()=>D.GjU,useCollectValuesToSubmit:()=>m.TJ,useCollection:()=>_.Ge,useCollectionDataSource:()=>h.LF,useCollectionDataSourceItems:()=>Y.nG,useCollectionField:()=>_.E1,useCollectionFieldFormValues:()=>h.mY,useCollectionField_deprecated:()=>h.gp,useCollectionFields:()=>_.$h,useCollectionFieldsOptions:()=>h.Tt,useCollectionFilterOptions:()=>h.OU,useCollectionHistory:()=>h.W,useCollectionManager:()=>_.r2,useCollectionManager_deprecated:()=>h.nj,useCollectionParentRecord:()=>_.Vm,useCollectionParentRecordData:()=>_.vt,useCollectionRecord:()=>_.PD,useCollectionRecordData:()=>_.zv,useCollectionState:()=>B.lI,useCollection_deprecated:()=>h.k7,useCollections:()=>_.Xd,useColumnSchema:()=>D.BCL,useColumnSettings:()=>D.dbD,useCompatOldVariables:()=>B.aw,useCompile:()=>D.lum,useComponent:()=>D.xZI,useContextAssociationFields:()=>B.JV,useContextVariable:()=>q.Rr,useCreateActionProps:()=>m.wx,useCreateAssociationDetailsBlock:()=>Y.ug,useCreateAssociationDetailsWithoutPagination:()=>Y.Xr,useCreateAssociationFormBlock:()=>Y.MG,useCreateAssociationGridCardBlock:()=>Y.EC,useCreateAssociationListBlock:()=>Y.Q9,useCreateAssociationTableBlock:()=>Y.m5,useCreateEditFormBlock:()=>J.fi,useCreateFormBlock:()=>J.tH,useCreateTableBlock:()=>X.Hb,useCurrentAppInfo:()=>d.gL,useCurrentDocumentTitle:()=>f.er,useCurrentPageUid:()=>u.es,useCurrentPopupContext:()=>D.IX0,useCurrentPopupRecord:()=>ea.EZ,useCurrentRoleMode:()=>r.GL,useCurrentRoleVariable:()=>B.TV,useCurrentRoles:()=>O._N,useCurrentRoute:()=>T.K7,useCurrentSchema:()=>Y.oK,useCurrentSearchParams:()=>u.dT,useCurrentTabUid:()=>u.CR,useCurrentUserContext:()=>O.BW,useCurrentUserSettingsMenu:()=>O.Gg,useCurrentUserVariable:()=>B.oW,useCustomizeBulkUpdateActionProps:()=>m.qj,useCustomizeRequestActionProps:()=>m.Bq,useCustomizeUpdateActionProps:()=>m.Gb,useDataBlock:()=>_.$$,useDataBlockHeight:()=>D.mhY,useDataBlockParentRecord:()=>m.Q7,useDataBlockProps:()=>_.h6,useDataBlockRequest:()=>_._J,useDataBlockRequestData:()=>_.YE,useDataBlockRequestGetter:()=>_.ZK,useDataBlockResource:()=>_.jz,useDataLoadingMode:()=>Q.fY,useDataSource:()=>_.xw,useDataSourceFromRAC:()=>h.PN,useDataSourceHeaders:()=>_.TF,useDataSourceKey:()=>_.Mp,useDataSourceManager:()=>_.m6,useDataTemplates:()=>B.dF,useDatePickerContext:()=>D.nxV,useDateVariable:()=>B.Yv,useDatetimeVariable:()=>B.hY,useDatetimeVariableContext:()=>B.U$,useDeleteRouteSchema:()=>T.NH,useDesignable:()=>D.erX,useDesigner:()=>D.Hbp,useDestroyAction:()=>h.YZ,useDestroyActionAndRefreshCM:()=>h.uk,useDestroyActionProps:()=>m.eZ,useDetailsBlockContext:()=>m.gU,useDetailsBlockProps:()=>m.nw,useDetailsDecoratorProps:()=>Q.DM,useDetailsPaginationProps:()=>m.EV,useDetailsParentRecord:()=>Q.lJ,useDetailsProps:()=>Q.Yb,useDetailsWithPaginationBlockParams:()=>Q.lO,useDetailsWithPaginationDecoratorProps:()=>Q.Bd,useDetailsWithPaginationProps:()=>Q.ys,useDisassociateActionProps:()=>m.wY,useDocumentTitle:()=>f.rN,useDownloadLogs:()=>D.nu1,useEditTableActionProps:()=>m.Il,useEnsureOperatorsValid:()=>D.lhV,useExactDateVariable:()=>B.vm,useExactDateVariableContext:()=>B.gQ,useExtendCollections:()=>_.h_,useFieldComponentName:()=>x.qA,useFieldComponentOptions:()=>D.xB5,useFieldInterfaceOptions:()=>h.nO,useFieldMode:()=>D.J1,useFieldModeOptions:()=>D.jE9,useFieldNames:()=>D.gZ,useFieldProps:()=>D.OJX,useFieldTitle:()=>D.Us6,useFilterAPI:()=>g.eB,useFilterActionProps:()=>D.Um,useFilterBlock:()=>g.xZ,useFilterBlockActionProps:()=>m.B6,useFilterByTk:()=>m.E6,useFilterFieldOptions:()=>D.g9w,useFilterFieldProps:()=>D.yGk,useFilterOptions:()=>D.uwA,useFindComponent:()=>D.QIi,useFlag:()=>b._P,useFormActiveFields:()=>m.dW,useFormBlockContext:()=>m.Es,useFormBlockProps:()=>m.xp,useFormBlockType:()=>m.zE,useFormDataTemplates:()=>D.nlx,useFormFieldContext:()=>m.bt,useFormFieldProps:()=>m.U5,useFormItemInitializerFields:()=>Y.g_,useGetAriaLabelOfAction:()=>D.U8O,useGetAriaLabelOfDesigner:()=>B.$X,useGetAriaLabelOfDrawer:()=>D.HPy,useGetAriaLabelOfModal:()=>D.tO8,useGetAriaLabelOfPopover:()=>D.l2i,useGetFilterFieldOptions:()=>D.OqW,useGetFilterOptions:()=>D.wnJ,useGetSchemaInitializerMenuItems:()=>u.q9,useGlobalTheme:()=>y.my,useGlobalVariable:()=>u.$q,useGlobalVariableCtx:()=>u.i0,useGridContext:()=>D.ZB7,useGridRowContext:()=>D.FVw,useHistoryCollectionsByNames:()=>h.gV,useInheritsTableColumnInitializerFields:()=>Y.FJ,useInsertPageSchema:()=>et.rP,useIsAddNewForm:()=>D.TNL,useIsAdminPage:()=>u.MJ,useIsAllowToSetDefaultValue:()=>B.eT,useIsAssociationField:()=>D.xq$,useIsDetailBlock:()=>m.yH,useIsFieldReadPretty:()=>D.U5u,useIsFileField:()=>D.oAT,useIsFormReadPretty:()=>D.q7s,useIsInSettingsPage:()=>u.JY,useIsLoggedIn:()=>O.DB,useIsSameOrChildCollection:()=>B.j6,useIsSelectFieldMode:()=>D.jeY,useIsSubPageClosedByPageMenu:()=>u.ol,useKeepAlive:()=>T.Y,useKeepAliveLocationSearch:()=>D.xAQ,useLabelUiSchema:()=>D.RB3,useLazy:()=>M._P,useLinkActionProps:()=>m.Su,useLinkageAction:()=>D.LtX,useLinkageCollectionFilterOptions:()=>h.NU,useListBlockContext:()=>D.cl6,useLocalVariables:()=>q.gp,useLocalVariablesWithoutCustomVariable:()=>q.T_,useLocationNoUpdate:()=>u.zd,useLocationSearch:()=>u.$Q,useMenuDragEnd:()=>D.yt2,useMenuSearch:()=>Y.Fh,useMenuTranslation:()=>D.Qgm,useMobileLayout:()=>T.mY,useNavigateNoUpdate:()=>u.vx,useNocoBaseRoutes:()=>D.Ob5,useOpenModeContext:()=>eo.k,useOptionalFieldList:()=>m._q,useParamsFromRecord:()=>m.DQ,useParentCollection:()=>_.KY,useParentRecordCommon:()=>ee.M,useParentRoute:()=>D.TrS,useParseDataScopeFilter:()=>B.hJ,useParseURLAndParams:()=>m.Zj,useParsedFilter:()=>m.jY,usePickActionProps:()=>m.RH,usePlugin:()=>u.nu,usePopupSettings:()=>D.X43,usePopupUtils:()=>en.H,usePopupVariable:()=>B.GL,usePopupVariableContext:()=>B.hK,useProps:()=>D.YYe,useRecord:()=>I.pE,useRecordCollectionDataSourceItems:()=>Y.aU,useRecordIndex:()=>I.Hg,useRecordIsOwn:()=>I.BH,useRecordPkValue:()=>r.fr,useRefreshActionProps:()=>m.tG,useRefreshFieldSchema:()=>ei.o8,useRemoteCollectionManagerLoading:()=>h.RH,useRemoveActionProps:()=>m.Gg,useRemoveGridFormItem:()=>Y.l,useRequest:()=>s.bP,useRerenderDataBlock:()=>_.Kx,useResetBlockActionProps:()=>m.yE,useResource:()=>s.qK,useResourceActionContext:()=>h.br,useResourceContext:()=>h.xh,useRoleRecheck:()=>r.N5,useRoleVariable:()=>B._K,useRolesResourcesScopesSelectedRowKeys:()=>r.OV,useRouter:()=>u.rd,useRouterBasename:()=>u.$y,useSchemaComponentContext:()=>D.Fag,useSchemaInitializer:()=>u.fx,useSchemaInitializerItem:()=>u.eL,useSchemaInitializerMenuItems:()=>u.AK,useSchemaInitializerRender:()=>u.vt,useSchemaInitializerStyles:()=>u.Lm,useSchemaInitializerSubMenuContext:()=>u.Zk,useSchemaOptionsContext:()=>D.MqW,useSchemaSettings:()=>B.KR,useSchemaSettingsItem:()=>u.vr,useSchemaSettingsRender:()=>u.y$,useSchemaTemplate:()=>N.D$,useSchemaTemplateManager:()=>N.ov,useSchemaToolbar:()=>u.C5,useSchemaToolbarRender:()=>u.s6,useSortFields:()=>h.lY,useSourceId:()=>Q.YF,useSourceIdFromParentRecord:()=>m.hY,useSourceIdFromRecord:()=>m.ZC,useStyles:()=>D.ISS,useSupportedBlocks:()=>g.Uf,useSyncFromForm:()=>B.r3,useSystemSettings:()=>$.e6,useSystemSettingsVariable:()=>B.G,useTableBlockContext:()=>m.El,useTableBlockContextBasicValue:()=>m.Vb,useTableBlockDecoratorProps:()=>X.Av,useTableBlockParams:()=>X.Lu,useTableBlockProps:()=>X.ZI,useTableColumnInitializerFields:()=>Y.HG,useTableColumnIntegration:()=>D.i_r,useTableColumns:()=>m.XS,useTableFieldContext:()=>m.tt,useTableFieldProps:()=>m.cY,useTableSelectorContext:()=>m.K8,useTableSelectorProps:()=>m.fX,useTableSize:()=>D.LjE,useTabsContext:()=>D.f2z,useTemplateBlockContext:()=>m.yn,useTitleFieldOptions:()=>D.kDr,useToken:()=>E.K,useUIConfigurationPermissions:()=>r.uM,useURLAndHTMLSchema:()=>K.my,useURLSearchParamsCtx:()=>B.yu,useURLSearchParamsVariable:()=>B.hx,useUpdateActionProps:()=>m.f2,useUpdateCollectionActionAndRefreshCM:()=>h.ry,useUploadStyles:()=>D.dF1,useUserVariable:()=>B.vY,useValidateSchema:()=>D.doK,useValuesFromRecord:()=>h.Jn,useVariableOptions:()=>B._R,useVariableScope:()=>D.ami,useVariableScopeInfo:()=>q.g5,useVariables:()=>q.$l,useViewport:()=>S.k,useZIndexContext:()=>D.$5j,withDynamicSchemaProps:()=>H.T,withInitializer:()=>u.Vr,withSearchParams:()=>D.tXY,withSkeletonComponent:()=>V.t,zIndexContext:()=>D.Eaz}),o(37260),o(60339),o(65132),o(43017),o(38694),o(95836),o(26362),o(45814),o(29663),o(36519);var l=o(10691),n={};for(let e in l)0>["EditFormModel","PopupSubTableFormActionGroupModel","AddChildActionModel","InputFieldModel","PopupContextProvider","usePopupUtils","LinkActionModel","BlockModel","FormSubmitActionModel","joinUrlSearch","FilterFormBlockModel","FormActionGroupModel","RecordSelectFieldModel","DetailsCustomItemModel","GridModel","RefreshActionModel","CollectionBlockModel","DetailsBlockModel","JSActionModel","PopupActionModel","getUnknownCountPaginationTotal","openViewFlow","OpenModeProvider","FormAssociationFieldGroupModel","withDynamicSchemaProps","FilterFormItemModel","languageCodes","getVariableComponentWithScope","AssignFormModel","DisplayTextFieldModel","FilterActionModel","transformFilter","useOpenModeContext","SubTableColumnModel","ActionModel","BlockGridModel","FieldModel","CollectionActionGroupModel","DetailsGridModel","CollectionActionModel","AddNewActionModel","ActionSceneEnum","ClickableFieldModel","editMarkdownFlow","FormItem","useInsertPageSchema","ChildPageModel","getSimpleModePaginationClassName","dispatchEventDeep","VariablePopupRecordProvider","CreateFormModel","IsInNocoBaseRecursionFieldContext","FieldModelRenderer","DisplayTitleFieldModel","locale","DataBlockModel","ActionGroupModel","CodeEditorExtension","withSkeletonComponent","RecordActionGroupModel","SubTableFieldModel","titleField","SwitchLanguage","getPageMenuSchema","FilterGroup","UpdateRecordActionModel","CollectionFieldUISchemaProvider","FormGridModel","TableColumnModel","NocoBaseRecursionField","ChildPageTabModel","FormBlockModel","VariableFilterItem","RefreshComponentProvider","MockFlowModelRepository","fileSizeSetting","default","FilterBlockModel","useRefreshFieldSchema","DetailsItemModel","TextAreaWithContextSelector","CommonItemModel","FormActionModel","FormComponent","CodeEditor","SkeletonFallback","applyMobilePaginationProps","createCompactSimpleItemRender","TableBlockModel","RecordPickerContent","TableAssociationFieldGroupModel","FilterFormActionGroupModel","DisplaySubTableFieldModel","BlockSceneEnum","useCurrentPopupRecord","FormItemModel","DetailsAssociationFieldGroupModel","SchemaSettingsActionLinkItem","showFileName","useURLAndHTMLSchema","mergePaginationClassName"].indexOf(e)&&(n[e]=()=>l[e]);o.d(t,n);var a=o(13975),r=o(41906),i=o(51771),s=o(16211),d=o(94702),u=o(17157),c=o(13274),p=o(29594),m=o(18111),h=o(43288),x=o(53770),v=o(25739),_=o(28227),f=o(50255),g=o(65613),b=o(69575),y=o(79980),S=o(18226),k=o(7271),C=o(60430),M=o(88448),w=o(28601),F=o(21676),P=o(6997),j=o(76028),A=o(92627),I=o(41944),T=o(93160),D=o(82924),L=o(2046),Y=o(5101),R=o(18272),B=o(99300),N=o(96932),E=o(49948),$=o(86393),z=o(48245),O=o(84693),q=o(43923),H=o(80461),V=o(99847),U=o(24943),G=o(39315),K=o(1590),W=o(56250),J=o(12416),X=o(77526),Z=o(92452),Q=o(97173),ee=o(14696),et=o(52973),eo=o(38693),el=o(47851),en=o(84313),ea=o(39888),er=o(15701),ei=o(30644),es=o(504),ed=o(63526),eu=o(40854),ec=o(83249)},88448(e,t,o){o.d(t,{PE:()=>i,RZ:()=>d,_P:()=>u});var l=o(71178),n=o(51649),a=o(52793),r=o(77583);let i=Symbol("LAZY_COMPONENT_KEY"),s=new Map;function d(e){for(var t=arguments.length,o=Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];if(0===o.length){let t=(0,n.lazy)(()=>e().then(e=>{let t=e.default;return o[i]=t,{default:t}})),o=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(t,{...e})});return o}return o.reduce((t,o)=>{let s=(0,n.lazy)(()=>e().then(e=>{let l=(0,r.get)(e,o);return t[o][i]=l,{default:l}}));return t[o]=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(s,{...e})}),t},{})}function u(e,t){let o="function"==typeof t?t:e=>e[t],l=e.toString(),n=s.get(l);if(null==n?void 0:n.error)throw n.error;if(null==n?void 0:n.module)return o(n.module);if(!(null==n?void 0:n.promise)){let t=n||{};throw t.promise=e().then(e=>(t.module=e,e)).catch(e=>{throw t.error=e,e}),s.set(l,t),t.promise}throw n.promise}},28601(e,t,o){o.d(t,{At:()=>l,Ay:()=>a,XK:()=>n});let l={"ar-EG":"ar","az-AZ":"az","bg-BG":"bg","bn-BD":"bn-bd","by-BY":"en","ca-ES":"ca","cs-CZ":"cs","da-DK":"da","de-DE":"de","el-GR":"el","en-GB":"en-gb","en-US":"en","es-ES":"es","et-EE":"et","fa-IR":"fa","fi-FI":"fi","fr-BE":"fr","fr-CA":"fr","fr-FR":"fr","ga-IE":"ga","gl-ES":"gl","he-IL":"he","hi-IN":"hi","hr-HR":"hr","hu-HU":"hu","hy-AM":"hy-am","id-ID":"id","is-IS":"is","it-IT":"it","ja-JP":"ja","ka-GE":"ka","kk-KZ":"kk","km-KH":"km","kn-IN":"kn","ko-KR":"ko","ku-IQ":"ku","lt-LT":"lt","lv-LV":"lv","mk-MK":"mk","ml-IN":"ml","mn-MN":"mn","ms-MY":"ms","nb-NO":"nb","ne-NP":"ne","nl-BE":"nl-be","nl-NL":"nl","pl-PL":"pl","pt-BR":"pt-br","pt-PT":"pt","ro-RO":"ro","ru-RU":"ru","si-LK":"si","sk-SK":"sk","sl-SI":"sl","sr-RS":"sr","sv-SE":"sv","ta-IN":"ta","th-TH":"th","tk-TK":"tk","tr-TR":"tr","uk-UA":"uk","ur-PK":"ur","vi-VN":"vi","zh-CN":"zh-cn","zh-HK":"zh-hk","zh-TW":"zh-tw"},n={"ar-EG":{label:"العربية"},"az-AZ":{label:"Azərbaycan dili"},"bg-BG":{label:"Български"},"bn-BD":{label:"Bengali"},"by-BY":{label:"Беларускі"},"ca-ES":{label:"Сatal\xe0/Espanya"},"cs-CZ":{label:"Česky"},"da-DK":{label:"Dansk"},"de-DE":{label:"Deutsch"},"el-GR":{label:"Ελληνικά"},"en-GB":{label:"English(GB)"},"en-US":{label:"English"},"es-ES":{label:"Espa\xf1ol"},"et-EE":{label:"Estonian (Eesti)"},"fa-IR":{label:"فارسی"},"fi-FI":{label:"Suomi"},"fr-BE":{label:"Fran\xe7ais(BE)"},"fr-CA":{label:"Fran\xe7ais(CA)"},"fr-FR":{label:"Fran\xe7ais"},"ga-IE":{label:"Gaeilge"},"gl-ES":{label:"Galego"},"he-IL":{label:"עברית"},"hi-IN":{label:"हिन्दी"},"hr-HR":{label:"Hrvatski jezik"},"hu-HU":{label:"Magyar"},"hy-AM":{label:"Հայերեն"},"id-ID":{label:"Bahasa Indonesia"},"is-IS":{label:"\xcdslenska"},"it-IT":{label:"Italiano"},"ja-JP":{label:"日本語"},"ka-GE":{label:"ქართული"},"kk-KZ":{label:"Қазақ тілі"},"km-KH":{label:"ភាសាខ្មែរ"},"kn-IN":{label:"ಕನ್ನಡ"},"ko-KR":{label:"한국어"},"ku-IQ":{label:"کوردی"},"lt-LT":{label:"lietuvių"},"lv-LV":{label:"Latviešu valoda"},"mk-MK":{label:"македонски јазик"},"ml-IN":{label:"മലയാളം"},"mn-MN":{label:"Монгол хэл"},"ms-MY":{label:"بهاس ملايو"},"nb-NO":{label:"Norsk bokm\xe5l"},"ne-NP":{label:"नेपाली"},"nl-BE":{label:"Vlaams"},"nl-NL":{label:"Nederlands"},"pl-PL":{label:"Polski"},"pt-BR":{label:"Portugu\xeas brasileiro"},"pt-PT":{label:"Portugu\xeas"},"ro-RO":{label:"Rom\xe2nia"},"ru-RU":{label:"Русский"},"si-LK":{label:"සිංහල"},"sk-SK":{label:"Slovenčina"},"sl-SI":{label:"Slovenščina"},"sr-RS":{label:"српски језик"},"sv-SE":{label:"Svenska"},"ta-IN":{label:"Tamil"},"th-TH":{label:"ภาษาไทย"},"tk-TK":{label:"Turkmen"},"tr-TR":{label:"T\xfcrk\xe7e"},"uk-UA":{label:"Українська"},"ur-PK":{label:"Oʻzbekcha"},"vi-VN":{label:"Tiếng Việt"},"zh-CN":{label:"简体中文"},"zh-HK":{label:"繁體中文(香港)"},"zh-TW":{label:"繁體中文(台湾)"}},a=n},39315(e,t,o){o.d(t,{V:()=>v,i:()=>x});var l=o(71178),n=o(56220),a=o(56920);o(51649);var r=o(77843),i=o(44374),s=o(17157),d=o(38951),u=o(45036),c=o(43288),p=o(99300),m=o(1590),h=o(28227);let x=()=>{let e=(0,a.useField)(),t=(0,a.useFieldSchema)(),{dn:o}=(0,i.useDesignable)(),{t:s}=(0,r.useTranslation)(),{urlSchema:d,paramsSchema:u,openInNewWindowSchema:c}=(0,m.my)(),h=t["x-component-props"]||{},x={url:h.url,params:h.params||[{}],openInNewWindow:h.openInNewWindow};return(0,l.jsx)(p.fY,{title:s("Edit link"),components:{ArrayItems:n.ArrayItems},schema:{type:"object",title:s("Edit link"),properties:{url:{...d,required:!0},params:u,openInNewWindow:c}},onSubmit:l=>{let{url:n,params:a,openInNewWindow:r}=l;h.url=n,h.params=a,h.openInNewWindow=r,t["x-component-props"]=h,e.componentProps.url=n,e.componentProps.params=a,e.componentProps.openInNewWindow=r,o.emit("patch",{schema:{"x-uid":t["x-uid"],"x-component-props":h}}),o.refresh()},initialValues:x})},v=new d.R({name:"actionSettings:link",items:[{name:"editButton",Component:u.Yp,useComponentProps(){let{buttonEditorProps:e}=(0,s.C5)();return e}},{name:"editLink",Component:x},{name:"linkageRules",Component:p.f9,useComponentProps(){let{linkageRulesProps:e}=(0,s.C5)(),{association:t}=(0,h.h6)()||{},{getCollectionField:o}=(0,c.nj)();return o(t),{...e}}},p.Xh,{name:"remove",sort:100,Component:u.d0,useComponentProps(){let{removeButtonProps:e}=(0,s.C5)();return e}}]})},1590(e,t,o){o.d(t,{Iy:()=>m,my:()=>h});var l=o(71178),n=o(10691),a=o(56920),r=o(51649),i=o(77843),s=o(69412),d=o(41944),u=o(7122),c=o(96123),p=o(45560);let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o=>{let n=(0,a.useFieldSchema)(),{form:r}=(0,s.Es)(),i=(0,d.pE)(),u=(0,c._)({collectionField:{uiSchema:n},form:r,record:i,uiSchema:n,noDisabled:!0});return(0,l.jsx)(e,{...o,scope:t.concat(u).filter(Boolean)})}},h=()=>{let{t:e}=(0,i.useTranslation)(),t=(()=>{let e=(0,p.$)("$env"),t=(0,r.useMemo)(()=>e?JSON.stringify((e.children||[]).map(e=>({name:null==e?void 0:e.name,type:null==e?void 0:e.type,title:null==e?void 0:e.title}))):null,[e]),o=(0,r.useRef)(null),l=(0,r.useRef)(null);if(!e)return o.current=null,l.current=null,null;if(l.current!==t){let{children:n=[]}=e;o.current={...e,children:n.filter(e=>"default"===e.type)},l.current=t}return o.current})(),o=(0,r.useMemo)(()=>m(u.rT.TextArea,t?[t]:[]),[t]),l=(0,r.useMemo)(()=>({title:e("URL"),type:"string","x-decorator":"FormItem","x-component":o,description:e("Do not concatenate search params in the URL"),"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "html"}}'}}}}),[e,o]),a=(0,r.useMemo)(()=>({title:'{{t("Mode")}}',"x-component":"Radio.Group","x-decorator":"FormItem",default:"url",enum:[{value:"url",label:e("URL")},{value:"html",label:e("HTML")}]}),[e]),s=(0,r.useMemo)(()=>({title:e("html"),type:"string","x-decorator":"FormItem","x-component":m(u.rT.RawTextArea),"x-component-props":{rows:10},"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "url"}}'}}}}),[e]);return{urlSchema:l,paramsSchema:(0,r.useMemo)(()=>({type:"array","x-component":"ArrayItems","x-decorator":"FormItem",title:'{{t("Search parameters")}}',items:{type:"object",properties:{space:{type:"void","x-component":"Space","x-component-props":{style:{flexWrap:"nowrap",maxWidth:"100%"},className:(0,n.css)`
139
+ `,defaultValue:"h:mm a",formats:["hh:mm:ss a","HH:mm:ss"],timeFormat:!0},default:"HH:mm:ss",enum:[{label:(0,a.b)({format:"hh:mm:ss a"}),value:"hh:mm:ss a"},{label:(0,a.b)({format:"HH:mm:ss"}),value:"HH:mm:ss"},{label:"custom",value:"custom"}]}},_={type:"array",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"ArrayTable","x-component-props":{pagination:{pageSize:1e3}},items:{type:"object",properties:{column1:{type:"void","x-component":"ArrayTable.Column","x-component-props":{width:50,title:"",align:"center"},properties:{sort:{type:"void","x-component":"ArrayTable.SortHandle"}}},column2:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option value")}}'},properties:{value:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input","x-reactions":e=>{e.initialValue||e.initialized||(e.initialValue=(0,l.uid)(),e.setValue((0,l.uid)()))}}}},column3:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option label")}}'},properties:{label:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input"}}},column4:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Color")}}'},properties:{color:{type:"string","x-decorator":"FormItem","x-component":"ColorSelect"}}},column5:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:"",dataIndex:"operations",fixed:"right"},properties:{item:{type:"void","x-component":"FormItem",properties:{remove:{type:"void","x-component":"ArrayTable.Remove"}}}}}}},properties:{add:{type:"void","x-component":"ArrayTable.Addition","x-component-props":{randomValue:!0},title:"{{t('Add option')}}"}}},f={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with a letter.')}}"}},g={type:"void",title:'{{ t("View record") }}',"x-component":"RecordPicker.Viewer","x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}},b={type:"string",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},enum:"{{collections}}"}},40919(e,t,o){o.r(t),o.d(t,{array:()=>n,bigField:()=>h,boolean:()=>c,collection:()=>m,datetime:()=>r,enumType:()=>d,id:()=>s,number:()=>i,object:()=>a,string:()=>l,tableoid:()=>p,time:()=>u});let l=[{label:'{{t("contains")}}',value:"$includes",selected:!0},{label:'{{t("does not contain")}}',value:"$notIncludes"},{label:'{{t("is")}}',value:"$eq"},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],n=[{label:'{{t("is")}}',value:"$match",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is not")}}',value:"$notMatch",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is any of")}}',value:"$anyOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$noneOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],a=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"}],r=[{label:"{{ t('is') }}",value:"$dateOn",selected:!0,schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is not') }}",value:"$dateNotOn",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is before') }}",value:"$dateBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is after') }}",value:"$dateAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or after') }}",value:"$dateNotBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or before') }}",value:"$dateNotAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is between') }}",value:"$dateBetween",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!0}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],i=[{label:'{{t("=")}}',value:"$eq",selected:!0},{label:'{{t("≠")}}',value:"$ne"},{label:'{{t(">")}}',value:"$gt"},{label:'{{t("≥")}}',value:"$gte"},{label:'{{t("<")}}',value:"$lt"},{label:'{{t("≤")}}',value:"$lte"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],s=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("exists")}}',value:"$exists",noValue:!0},{label:'{{t("not exists")}}',value:"$notExists",noValue:!0}],d=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],u=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$neq"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],c=[{label:'{{t("Yes")}}',value:"$isTruly",selected:!0,noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:'{{t("No")}}',value:"$isFalsy",noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],p=[{label:'{{t("is any of")}}',value:"$childIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$childNotIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}}],m=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],h=[{label:'{{t("contains")}}',value:"$includes",selected:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("does not contain")}}',value:"$notIncludes",schema:{type:"string","x-component":"Input"}},{label:'{{t("is")}}',value:"$eq",schema:{type:"string","x-component":"Input"}},{label:'{{t("is not")}}',value:"$ne",schema:{type:"string","x-component":"Input"}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0,schema:{type:"string","x-component":"Input"}}]},63586(e,t,o){o.d(t,{Jq:()=>p,T8:()=>m,ds:()=>c,hu:()=>u});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44374),s=o(16211);let d={name:"fields",targetKey:"name",fields:[{type:"string",name:"type",interface:"input",uiSchema:{title:'{{ t("Storage type") }}',type:"string","x-component":"Select",enum:[{label:"String",value:"string"}],required:!0}},{type:"string",name:"interface",interface:"input",uiSchema:{title:'{{ t("Field interface") }}',type:"string","x-component":"Select",enum:"{{interfaces}}"}},{type:"string",name:"title",interface:"input",uiSchema:{title:'{{ t("Field display name") }}',type:"string","x-component":"Input",required:!0}},{type:"string",name:"name",interface:"input",uiSchema:{title:'{{ t("Field name") }}',type:"string","x-component":"Input"}}]},u=(0,r.createContext)(null);u.displayName="DataSourceContext_deprecated";let c={useSelectedRowKeys:()=>{let e=(0,r.useContext)(u);return[e.selectedRowKeys,e.setSelectedRowKeys]},useDataSource_deprecated:e=>{let t=(0,r.useContext)(u);return(0,i.useRequest)(()=>Promise.resolve({data:t.dataSource}),{...e,refreshDeps:[JSON.stringify(t.dataSource)]})},useCreateAction:()=>{let e=(0,r.useContext)(u),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)();return{async run(){console.log("form.values",t.values);let l=e.dataSource||[];l.push((0,a.cloneDeep)(t.values)),e.setDataSource([...l]),o(!1),await t.reset()}}},useBulkDestroyAction:()=>{let e=(0,r.useContext)(u),{selectedRowKeys:t,setSelectedRowKeys:o}=e;return{async run(){let l=e.dataSource||[];e.setDataSource(l.filter((e,o)=>!t.includes(o))),o([])}}},useUpdateAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)(),l=(0,r.useContext)(u);return{async run(){let n=((null==l?void 0:l.dataSource)||[]).map((o,l)=>l===e?{...t.values}:o);l.setDataSource([...n]),o(!1)}}},useDestroyAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,r.useContext)(u);return{async run(){let o=t.dataSource||[];t.setDataSource(o.filter((t,o)=>e!==o))}}}},p=(0,n.observer)(e=>{let[t,o]=(0,r.useState)([]),[n,a]=(0,r.useState)([]),c=(0,i.useRecord)(),p=(0,s.VB)(),m=(0,i.useRequest)(()=>{if("subTable"===c.interface){var e;return(null==c||null==(e=c.children)?void 0:e.length)?Promise.resolve({data:(null==c?void 0:c.children)||[]}):p.resource("fields").list({paginate:!1,sort:"sort",filter:{parentKey:c.key}}).then(e=>null==e?void 0:e.data)}return Promise.resolve({data:[]})},{onSuccess(e){console.log("dataSource1",null==e?void 0:e.data),a(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:d,children:(0,l.jsx)(u.Provider,{value:{rowKey:"name",service:m,dataSource:n,setDataSource:a,selectedRowKeys:t,setSelectedRowKeys:o},children:e.children})})},{displayName:"SubFieldDataSourceProvider_deprecated"}),m=(0,n.observer)(e=>{let{rowKey:t,collection:o,association:n}=e,[a,d]=(0,r.useState)([]),[c,p]=(0,r.useState)([]),m=(0,i.useRecord)(),h=(0,s.VB)(),{getCollection:x}=(0,i.useCollectionManager_deprecated)(),v=x(o),_=null==m?void 0:m[n.targetKey||"id"],f=(0,i.useRequest)(()=>{if(_){var e,t;return h.request({resource:`${n.collectionName}.${n.name}`,resourceOf:_,action:"list",params:{appends:null==v||null==(t=v.fields)||null==(e=t.filter(e=>e.target))?void 0:e.map(e=>e.name)}}).then(e=>e.data)}return Promise.resolve({data:(null==m?void 0:m[n.name])||[]})},{onSuccess(e){p(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:v,children:(0,l.jsx)(u.Provider,{value:{rowKey:t,service:f,dataSource:c,setDataSource:p,selectedRowKeys:a,setSelectedRowKeys:d},children:e.children})})},{displayName:"DataSourceProvider_deprecated"})},85162(e,t,o){o.d(t,{b:()=>i});var l=o(71178),n=o(52793);o(51649);var a=o(77843),r=o(38356);let i=()=>{let e=(0,r.useNavigate)(),{t}=(0,a.useTranslation)();return(0,l.jsx)(n.Result,{status:"404",title:"404",subTitle:t("Sorry, the page you visited does not exist."),extra:(0,l.jsx)(n.Button,{onClick:()=>e("/",{replace:!0}),type:"primary",children:"Back Home"})})}},25180(e,t,o){o.d(t,{$:()=>r});var l=o(71178),n=o(52793),a=o(51649);function r(e){let{title:t,defaultValue:o,onChange:r,options:i,fieldNames:s,...d}=e,[u,c]=(0,a.useState)(!1),p=(0,a.useRef)(null);return(0,l.jsxs)("div",{style:{alignItems:"center",display:"flex",justifyContent:"space-between"},onClick:e=>{e.stopPropagation(),c(e=>!e)},onMouseLeave:()=>{p.current=setTimeout(()=>{c(!1)},200)},children:[t,(0,l.jsx)(n.Select,{...d,open:u,"data-testid":`select-${t}`,popupMatchSelectWidth:!1,bordered:!1,defaultValue:o,onChange:r,popupClassName:`select-popup-${t.replaceAll(" ","-")}`,fieldNames:s,options:i,style:{textAlign:"right",minWidth:100},onMouseEnter:()=>{clearTimeout(p.current)}})]})}},52081(e,t,o){o.d(t,{W:()=>a});var l=o(83489),n=o(4627);let a=async(e,t)=>{if(!e)return e;let{evaluate:o}=l.evaluators.get("string"),{exp:a,scope:r}=await (0,n.qk)(e,t);return o(a,{now:()=>new Date().toString(),...r})}},53770(e,t,o){o.d(t,{$d:()=>n.$,Wu:()=>r.W,bM:()=>l.b,qA:()=>a.q});var l=o(85162),n=o(25180),a=o(57359),r=o(52081)},57359(e,t,o){o.d(t,{q:()=>i});var l=o(56920),n=o(46724),a=o(31574),r=o(32221);function i(){var e,t,o,i;let{fieldSchema:s,collectionField:d}=(0,r.BC)(),u=(0,l.useField)(),c=(0,a.oA)(),p=(0,l.useFieldSchema)(),m=(0,n.E1)(),h=s||p,x=d||m,v=(null==h||null==(e=h["x-component-props"])?void 0:e.mode)||(null==u||null==(t=u.componentProps)?void 0:t.mode)||(c?"FileManager":"")||(null==h||null==(o=h["x-component-props"])?void 0:o.component)||(null==x||null==(i=x.uiSchema)?void 0:i["x-component"]);return({AssociationField:"Select"})[v]||v}},85906(e,t,o){o.d(t,{t:()=>n});var l=o(51649);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,l.useRef)(0);return(0,l.useEffect)(()=>{let e=e=>{let{clientY:o}=e;t.current=Math.max(o,window.innerHeight-o)};return window.addEventListener("mousemove",e),()=>{window.removeEventListener("mousemove",e)}},[]),(0,l.useMemo)(()=>t.current-40,e)}},25739(e,t,o){o.d(t,{B:()=>s});var l=o(72741),n=o(51649),a=o(13975),r=o(52793);let i=e=>{let{children:t}=e,{token:o}=r.theme.useToken(),i=o.colorFillTertiary,s=new l.TinyColor(o.colorFill).onBackground(o.colorFillSecondary).toHexShortString(),d=new l.TinyColor(o.colorFill).onBackground(o.colorFill).toHexShortString(),u=new l.TinyColor(o.colorFill).onBackground(o.colorFill).onBackground(o.colorFill).toHexShortString();return(0,n.useEffect)(()=>{document.body.style.setProperty("--nb-spacing",`${o.marginLG}px`),document.body.style.setProperty("--nb-designer-offset",`${o.marginXS}px`),document.body.style.setProperty("--nb-header-height",`${o.sizeXXL-2}px`),document.body.style.setProperty("--nb-box-bg",o.colorBgLayout),document.body.style.setProperty("--colorBgLayout",o.colorBgLayout),document.body.style.setProperty("--colorBgContainer",o.colorBgContainer),document.body.style.setProperty("--controlHeightLG",`${o.controlHeightLG}px`),document.body.style.setProperty("--paddingContentVerticalSM",`${o.paddingContentVerticalSM}px`),document.body.style.setProperty("--marginSM",`${o.marginSM}px`),document.body.style.setProperty("--colorInfoBg",o.colorInfoBg),document.body.style.setProperty("--colorInfoBorder",o.colorInfoBorder),document.body.style.setProperty("--colorWarningBg",o.colorWarningBg),document.body.style.setProperty("--colorWarningBorder",o.colorWarningBorder),document.body.style.setProperty("--colorText",o.colorText),document.body.style.setProperty("--colorTextDescription",o.colorTextDescription),document.body.style.setProperty("--colorBgTextHover",o.colorBgTextHover),document.body.style.setProperty("--colorSplit",o.colorSplit),document.body.style.setProperty("--borderRadiusOuter",`${o.borderRadiusOuter}px`),document.body.style.setProperty("--colorTextHeaderMenu",o.colorTextHeaderMenu),document.body.style.setProperty("--colorPrimaryText",o.colorPrimaryText),document.body.style.setProperty("--colorPrimaryTextActive",o.colorPrimaryTextActive),document.body.style.setProperty("--colorPrimaryTextHover",o.colorPrimaryTextHover),document.body.style.setProperty("--colorBgSider",o.colorBgSider),document.body.style.setProperty("--colorBgSiderMenuHover",o.colorBgSiderMenuHover),document.body.style.setProperty("--colorBgSiderMenuActive",o.colorBgSiderMenuActive),document.body.style.setProperty("--colorTextSiderMenu",o.colorTextSiderMenu),document.body.style.setProperty("--colorTextSiderMenuHover",o.colorTextSiderMenuHover),document.body.style.setProperty("--colorTextSiderMenuActive",o.colorTextSiderMenuActive),document.body.style.setProperty("--colorBgScrollTrack",i),document.body.style.setProperty("--colorBgScrollBar",s),document.body.style.setProperty("--colorBgScrollBarHover",d),document.body.style.setProperty("--colorBgScrollBarActive",u),document.body.style.setProperty("--colorSettings",o.colorSettings||a.defaultTheme.token.colorSettings),document.body.style.setProperty("--colorBgSettingsHover",o.colorBgSettingsHover),document.body.style.setProperty("--colorTemplateBgSettingsHover",o.colorTemplateBgSettingsHover),document.body.style.setProperty("--colorBorderSettingsHover",o.colorBorderSettingsHover),document.body.style.setProperty("--colorBgMenuItemSelected",o.colorBgHeaderMenuActive),document.body.style.setProperty("background-color",o.colorBgContainer)},[s,u,d,i,o.colorBgContainer,o.colorBgLayout,o.colorBgSettingsHover,o.colorTemplateBgSettingsHover,o.colorBorderSettingsHover,o.colorInfoBg,o.colorInfoBorder,o.colorPrimaryText,o.colorPrimaryTextActive,o.colorPrimaryTextHover,o.colorSettings,o.colorBgTextHover,o.colorSplit,o.colorText,o.colorTextDescription,o.colorWarningBg,o.colorWarningBorder,o.borderRadiusOuter,o.controlHeightLG,o.marginLG,o.marginSM,o.marginXS,o.paddingContentVerticalSM,o.sizeXXL,o.colorTextHeaderMenu,o.colorBgSider,o.colorBgSiderMenuHover,o.colorBgSiderMenuActive,o.colorTextSiderMenu,o.colorTextSiderMenuHover,o.colorTextSiderMenuActive,o.colorBgHeaderMenuActive]),t};i.displayName="CSSVariableProvider";let s=i},29928(e,t,o){o.d(t,{y:()=>r});var l=o(77583),n=o(99982),a=o(63526);class r{addComponentOption(e){if(!this.componentOptions){var t,o,n,r,i,s;this.componentOptions=[];let e=null==(o=this.default)||null==(t=o.uiSchema)?void 0:t["x-component"],d=null==(r=this.default)||null==(n=r.uiSchema)?void 0:n["x-component-props"];if(e){let t=(null==(s=this.default)||null==(i=s.uiSchema)?void 0:i.type)||"string",o=(0,a.tval)(e.startsWith("Input")?(0,l.capitalize)(t):e.split(".").pop());this.componentOptions=[{label:o,value:e,useProps:()=>d||{}}]}}this.componentOptions.push(e)}getConfigureFormProperties(e){let t=this.hasDefaultValue?this.getDefaultValueProperty():{};this.availableValidationOptions.push("required");let o=null==e?void 0:e.view,a=(null==e?void 0:e.template)==="sql"||(null==e?void 0:e.sql),r=o||a||!this.validationType?{}:{validation:{title:'{{ t("Validation") }}',required:!1,"x-decorator":"FormItem","x-component":"FieldValidation","x-component-props":{type:this.validationType,availableValidationOptions:[...new Set(this.availableValidationOptions)],excludeValidationOptions:[...new Set(this.excludeValidationOptions)],isAssociation:this.isAssociation}}};return{...(0,l.cloneDeep)({...n.defaultProps,...null===this||void 0===this?void 0:this.properties}),...t,...r}}getDefaultValueProperty(){var e,t;return{defaultValue:{...(0,l.cloneDeep)(null===this||void 0===this||null==(e=this.default)?void 0:e.uiSchema),...null===this||void 0===this||null==(t=this.properties)?void 0:t.uiSchema,required:!1,title:'{{ t("Default value") }}',"x-decorator":"FormItem","x-reactions":[{dependencies:["uiSchema.x-component-props.gmt","uiSchema.x-component-props.showTime","uiSchema.x-component-props.dateFormat","uiSchema.x-component-props.timeFormat","uiSchema.x-component-props.picker","uiSchema.x-component-props.format"],fulfill:{state:{componentProps:{gmt:"{{$deps[0]}}",showTime:"{{$deps[1]}}",dateFormat:"{{$deps[2]}}",timeFormat:"{{$deps[3]}}",picker:"{{$deps[4]}}",format:"{{$deps[5]}}"}}}},{dependencies:["uiSchema.x-component-props.picker"],fulfill:{state:{value:null}}},{dependencies:["primaryKey","unique","autoIncrement","defaultToCurrentTime"],when:"{{$deps[0]||$deps[1]||$deps[2]||$deps[3]}}",fulfill:{state:{hidden:!0,value:null}},otherwise:{state:{hidden:!1}}},{dependencies:["uiSchema.enum"],fulfill:{state:{dataSource:"{{$deps[0]}}"}}}]}}}addOperator(e){(0,l.set)(this,"filterable.operators",[...this.filterable.operators||[]]),this.filterable.operators.find(t=>t.value===e.value)||this.filterable.operators.push(e)}constructor(e){this.collectionFieldInterfaceManager=e,this.availableValidationOptions=[]}}},32799(e,t,o){o.d(t,{y:()=>l.y,L:()=>n});var l=o(29928);class n{addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,Array.isArray(this.actionList[o.name])&&(this.actionList[o.name].forEach(e=>{o[e.type](e.data)}),this.actionList[o.name]=void 0),e},{});Object.assign(this.collectionFieldInterfaceInstances,t)}addFieldInterfaceComponentOption(e,t){let o=this.getFieldInterface(e);if(!o){this.actionList[e]||(this.actionList[e]=[]),this.actionList[e].push({type:"addComponentOption",data:t});return}o.addComponentOption(t)}addFieldInterfaceOperator(e,t){let o=this.getFieldInterface(e);null==o||o.addOperator(t)}getFieldInterface(e){return this.collectionFieldInterfaceInstances[e]}getFieldInterfaces(e){return Object.values(this.collectionFieldInterfaceInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)})}addFieldInterfaceGroups(e){Object.assign(this.collectionFieldGroups,e)}getFieldInterfaceGroups(){return this.collectionFieldGroups}getFieldInterfaceGroup(e){return this.collectionFieldGroups[e]}constructor(e,t,o){this.dataSourceManager=o,this.collectionFieldInterfaceInstances={},this.collectionFieldGroups={},this.actionList={},this.addFieldInterfaces(e),this.addFieldInterfaceGroups(t)}}},42219(e,t,o){o.d(t,{J:()=>g});var l=o(71178),n=o(56920),a=o(2314),r=o(27404),i=o(77583),s=o(51649),d=o(69412),u=o(30644),c=o(80461),p=o(82924),m=o(83508),h=o(59896),x=o(46724);let v=(e,t,o)=>{(0,a.untracked)(()=>{void 0===e[t]&&(e[t]=o)})},_=e=>{var t;let o=(0,p.lum)(),a=(0,n.useField)(),u=(0,n.useFieldSchema)(),{uiSchema:h,defaultValue:_}=(0,x.E1)(),{isAllowToSetDefaultValue:f}=(0,m.eT)(),g=(0,p.xZI)((null==(t=u["x-component-props"])?void 0:t.component)||(null==h?void 0:h["x-component"])||"Input"),b=(0,d.Es)(),y=(0,c.S)(null==h?void 0:h["x-use-component-props"],e);return((0,s.useEffect)(()=>{if(!h)return;let e=o(h);if(v(a,"content",e["x-content"]),v(a,"title",e.title),v(a,"description",e.description),null==b?void 0:b.form){let e=f()?u.default||_:void 0;null!=e&&v(a,"initialValue",e)}!a.validator&&(e["x-validator"]||u["x-validator"])&&(a.validator=(0,i.concat)([],e["x-validator"]||[],u["x-validator"]||[])),!0===u["x-disabled"]&&(a.disabled=!0),!0===u["x-read-pretty"]&&(a.readPretty=!0),void 0===u.required&&(a.required=!!e.required),a.dataSource=e.enum,a.data=a.data||{},a.data.dataSource=null==e?void 0:e.enum;let t=o(e["x-component-props"])||{};a.componentProps=(0,r.merge)(t,a.componentProps||{},y||{})},[h]),h)?(0,l.jsx)(g,{...e,...y}):null},f=e=>{var t;let o=(0,n.useField)(),a=(0,n.useFieldSchema)(),{uiSchema:r}=(0,u.ZC)(),i=(0,p.xZI)((null==(t=a["x-component-props"])?void 0:t.component)||(null==r?void 0:r["x-component"])||"Input"),d=(0,c.S)(null==r?void 0:r["x-use-component-props"],e);if((0,s.useEffect)(()=>{!0!==a["x-read-pretty"]||o.readPretty||(o.readPretty=!0),!0===a["x-disabled"]&&(o.disabled=!0),o.data=o.data||{},o.data.dataSource=null==r?void 0:r.enum},[o,a]),!r)return null;let m={...e,...d};return(0,h.DZ)(m.value)&&m.value===a.default&&(m.value=void 0),(0,l.jsx)(i,{...m})},g=(0,n.connect)(e=>{let t=(0,n.useFieldSchema)(),o=(0,u.IC)();return(0,l.jsx)(x.Ey,{name:t.name,children:o?(0,l.jsx)(f,{...e}):(0,l.jsx)(_,{...e})})});g.displayName="CollectionField"},46724(e,t,o){o.d(t,{E1:()=>c,Ey:()=>d,bJ:()=>u,yn:()=>s});var l=o(71178),n=o(51649),a=o(56920),r=o(40829),i=o(52968);let s=(0,n.createContext)(null);s.displayName="CollectionFieldContext";let d=e=>{let{name:t,children:o,allowNull:d}=e,u=(0,a.useFieldSchema)(),c=(0,r.Ge)(),p=(0,r.r2)(),m=(0,n.useMemo)(()=>{var e;if(!c)return null;let o=null==u||null==(e=u["x-component-props"])?void 0:e.field;return p.getCollectionField(null==u?void 0:u["x-collection-field"])||o||c.getField((null==o?void 0:o.name)||t)},[c,u,p,t]);return!m&&d?(0,l.jsx)(l.Fragment,{children:o}):m?(0,l.jsx)(s.Provider,{value:m,children:o}):(0,l.jsx)(i.x,{type:"Field",name:t})},u=e=>(0,l.jsx)(s.Provider,{value:null,children:e.children}),c=()=>(0,n.useContext)(s)},78813(e,t,o){o.d(t,{o:()=>l});class l{setData(e){this.data=e}setParentRecord(e){this.parentRecord=e}constructor(e){let{data:t,parentRecord:o,isNew:l}=e;this.isNew=l,this.data=t,this.parentRecord=o}}},35432(e,t,o){o.d(t,{Jw:()=>i,PD:()=>s,Vm:()=>u,tH:()=>r,vt:()=>c,zv:()=>d});var l=o(71178),n=o(51649),a=o(78813);let r=(0,n.createContext)(null);r.displayName="CollectionRecordContext";let i=n.default.memo(e=>{let{isNew:t,record:o,parentRecord:i,children:s}=e,d=(0,n.useMemo)(()=>i?i instanceof a.o?i:new a.o({data:i}):o instanceof a.o?o.parentRecord:void 0,[i,o]),u=(0,n.useMemo)(()=>{let e;return o?o instanceof a.o?(e=o).isNew=o.isNew||t:e=new a.o({data:o,isNew:t}):e=new a.o({isNew:t}),e.setParentRecord(d),e},[o,d,t]);return(0,l.jsx)(r.Provider,{value:u,children:s})});function s(){return(0,n.useContext)(r)}function d(){let e=s();return null==e?void 0:e.data}function u(){let e=s();return null==e?void 0:e.parentRecord}function c(){var e;let t=s();return null==t||null==(e=t.parentRecord)?void 0:e.data}i.displayName="CollectionRecordProvider"},66110(e,t,o){o.d(t,{Jw:()=>n.Jw,PD:()=>n.PD,Vm:()=>n.Vm,ol:()=>l.o,tH:()=>n.tH,vt:()=>n.vt,zv:()=>n.zv});var l=o(78813),n=o(35432)},14469(e,t,o){o.d(t,{$:()=>i,_:()=>r});var l=o(2314),n=o(77583);let a="__isNewRecord__",r=e=>(0,l.untracked)(()=>!!(null==e?void 0:e[a])),i=e=>{if(!(0,n.isObject)(e))throw Error("markRecordAsNew: record must be an object");return e[a]=!0,e}},83339(e,t,o){o.d(t,{T:()=>l});class l{constructor(e){this.collectionTemplateManager=e}}},86960(e,t,o){o.d(t,{C:()=>l});class l{addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,e},{});return Object.assign(this.collectionTemplateInstances,t),this.dataSourceManager.getDataSources().forEach(e=>{let o=e.collectionManager.getCollections(e=>t[e.template]);e.collectionManager.reAddCollections(o)}),t}getCollectionTemplate(e){return this.collectionTemplateInstances[e]}getCollectionTemplates(e){return Object.values(this.collectionTemplateInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)}).sort((e,t)=>(e.order||0)-(t.order||0))}constructor(e,t){this.dataSourceManager=t,this.collectionTemplateInstances={},this.addCollectionTemplates(e)}}},94138(e,t,o){o.d(t,{$z:()=>p,KY:()=>c,UJ:()=>m});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174),s=o(49621);let d=(0,n.createContext)(null);d.displayName="ParentCollectionContext";let u=e=>{let t=(0,s.Ge)();return(0,l.jsx)(d.Provider,{value:t,children:e.children})},c=()=>(0,n.useContext)(d),p=e=>{let{name:t,children:o}=e,n=(0,i.r2)().getCollectionName(t);return n?(0,l.jsx)(s.Yz,{name:String(t).split(".")[0],children:(0,l.jsx)(u,{children:(0,l.jsx)(a.Ey,{name:t,children:(0,l.jsx)(s.Yz,{name:n,children:o})})})}):(0,l.jsx)(r.x,{type:"Collection",name:t})},m=()=>{let e=(0,a.E1)();return(null==e?void 0:e.target)?`${e.collectionName}.${e.name}`:null}},21086(e,t,o){o.d(t,{p:()=>n});var l=o(77583);class n{get fields(){return this.options.fields||[]}get app(){return this.collectionManager.app}get dataSource(){return this.options.dataSource}get sourceKey(){return this.options.sourceKey}get name(){return this.options.name}get key(){return this.options.key}get title(){return this.options.title}get inherit(){return this.options.inherit}get hidden(){return this.options.hidden}get description(){return this.options.description}get duplicator(){return this.options.duplicator}get category(){return this.options.category}get targetKey(){return this.options.targetKey}get model(){return this.options.model}get createdBy(){return this.options.createdBy}get updatedBy(){return this.options.updatedBy}get logging(){return this.options.logging}get from(){return this.options.from}get rawTitle(){return this.options.rawTitle}getPrimaryKey(){if(this.primaryKey)return this.primaryKey;if(this.options.targetKey)return this.options.targetKey;let e=this.getFields({primaryKey:!0})[0];return this.primaryKey=null==e?void 0:e.name,this.primaryKey}getFilterTargetKey(){return this.filterTargetKey||this.getPrimaryKey()||"id"}get inherits(){return this.options.inherits||[]}get titleField(){return this.hasField(this.options.titleField)?this.options.titleField:this.getPrimaryKey()}get sources(){return this.options.sources||[]}get template(){return this.options.template}get tableName(){return this.options.tableName}get viewName(){return this.options.viewName}get writableView(){return this.options.writableView}get filterTargetKey(){return this.options.filterTargetKey}get sortable(){return this.options.sortable}get autoGenId(){return this.options.autoGenId}get magicAttribute(){return this.options.magicAttribute}get tree(){return this.options.tree}get isThrough(){return this.options.isThrough}get autoCreate(){return this.options.autoCreate}get resource(){return this.options.resource}setOption(e,t){return this.options[e]=t,this}getOptions(){return this.options}getOption(e){return this.options[e]}getFields(e){return e?(0,l.filter)(this.fields,e):this.fields}getAllFields(e){return this.getFields(e)}getFieldsMap(){return this.fieldsMap||(this.fieldsMap=this.getFields().reduce((e,t)=>(e[t.name]=t,e),{})),this.fieldsMap}getFieldByAssociationName(e){let t=this.getFieldsMap(),[o,...l]=String(e).split("."),n=t[o];if(!n)return;let a=null==n?void 0:n.target;if(!a)return;let r=this.collectionManager.getCollection(a);if(r)return r.getField(l.join("."))}getField(e){if(!e)return;let t=this.getFieldsMap();if(String(e).split(".").length>1){let t=this.getFieldByAssociationName(e);return t||("string"==typeof e&&e.startsWith(`${this.name}.`)?(e=e.replace(`${this.name}.`,""),this.getField(e)):void 0)}return t[e]}hasField(e){return!!this.getField(e)}isTitleField(e){var t;return null==(t=this.app.dataSourceManager.collectionFieldInterfaceManager.getFieldInterface(e.interface))?void 0:t.titleUsable}isInherited(){return this.inherits.length>0}constructor(e,t){this.options=e,this.collectionManager=t}}},26174(e,t,o){o.d(t,{Jr:()=>i,Pf:()=>d,Xd:()=>c,r2:()=>u});var l=o(71178),n=o(51649),a=o(23460),r=o(17544);let i=(0,n.createContext)(null);i.displayName="CollectionManagerContext";let s=e=>{let{instance:t,children:o}=e,s=(0,a.xw)(),d=(0,r.h_)(),u=(0,n.useMemo)(()=>t||(null==s?void 0:s.collectionManager),[t,s]),[c,p]=n.default.useState(Math.random());(0,n.useEffect)(()=>{u.dataSource.addReloadCallback(()=>{p(Math.random())})},[u]);let m=(0,n.useMemo)(()=>(null==d?void 0:d.length)?u.clone(d):u,[u,d,c]);return(0,l.jsx)(i.Provider,{value:m,children:o})},d=e=>{let{instance:t,dataSource:o,children:n}=e;return(0,l.jsx)(a.tc,{dataSource:o,children:(0,l.jsx)(s,{instance:t,children:n})})};function u(){return(0,n.useContext)(i)}let c=e=>{let t=u();return(0,n.useMemo)(()=>t.getCollections(e),[t,e])}},49621(e,t,o){o.d(t,{$h:()=>p,CQ:()=>s,Ge:()=>c,N5:()=>u,Yz:()=>d});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174);let s=(0,n.createContext)(null);s.displayName="CollectionContext";let d=e=>{let{name:t,children:o,allowNull:a}=e,d=(0,i.r2)(),u=(0,n.useMemo)(()=>null==d?void 0:d.getCollection(t),[d,t]);return!u&&a?(0,l.jsx)(l.Fragment,{children:e.children}):u||a?(0,l.jsx)(s.Provider,{value:u,children:o}):(0,l.jsx)(r.x,{type:"Collection",name:t})},u=e=>(0,l.jsx)(a.yn.Provider,{value:null,children:(0,l.jsx)(d,{...e})});function c(){return(0,n.useContext)(s)}let p=e=>{let t=c();return(0,n.useMemo)(()=>t.getFields(e),[t,e])}},17544(e,t,o){o.d(t,{Jl:()=>s,h_:()=>d,pi:()=>i});var l=o(71178),n=o(51649),a=o(23460),r=o(26174);let i=(0,n.createContext)(null);i.displayName="ExtendCollectionsContext";let s=e=>{let{children:t,collections:o}=e,s=d(),u=(0,n.useMemo)(()=>s?[...s,...o]:o,[s,o]),c=(0,a.Mp)();return(0,l.jsx)(i.Provider,{value:u,children:(0,l.jsx)(r.Pf,{dataSource:c,children:t})})};function d(){return(0,n.useContext)(i)}},40829(e,t,o){o.d(t,{pM:()=>l.p,r2:()=>u.r2,Jr:()=>u.Jr,Pf:()=>u.Pf,$z:()=>a.$z,UJ:()=>a.UJ,h_:()=>c.h_,pi:()=>c.pi,Jl:()=>c.Jl,qG:()=>d,KY:()=>a.KY,N5:()=>n.N5,Yz:()=>n.Yz,Xd:()=>u.Xd,$h:()=>n.$h,CQ:()=>n.CQ,Ge:()=>n.Ge});var l=o(21086),n=o(49621),a=o(94138),r=o(42966),i=o(7271);let s=(e,t)=>{let{rawTitle:o,title:l,fields:n=[],...a}=e,r=(o,l)=>{var n,a;if(e.disableTranslation)return o;if(null==(n=t.context)?void 0:n.t)return t.context.t(o,l);let r=t.i18n||(null==(a=t.getOptions)?void 0:a.call(t).i18n)||i.Ru;return(null==r?void 0:r.t)?r.t(o,l):o};return{...a,title:o?l:r(l,{ns:"lm-collections"}),rawTitle:o||l,fields:null==n?void 0:n.map(e=>{let{uiSchema:t,...o}=e;if(null==t?void 0:t.title){let e=t.title;t.title=t.rawTitle?e:r(e,{ns:"lm-collections"}),t.rawTitle=t.rawTitle||e}return Array.isArray(null==t?void 0:t.enum)&&(t.enum=t.enum.map(e=>({...e,value:(null==e?void 0:e.value)===void 0?e:e.value,label:e.rawLabel?e.label:r(e.label,{ns:"lm-collections"}),rawLabel:e.rawLabel||e.label}))),{uiSchema:t,...o}})}};class d{get dataSourceManager(){return this.dataSource.dataSourceManager}get app(){return this.dataSourceManager.app}getCollectionInstance(e){var t,o;let n,a=this.dataSource.dataSourceManager.collectionTemplateManager.getCollectionTemplate(e.template),r=(null==a?void 0:a.Collection)||l.p,i=null==a?void 0:a.transform,d={...i?i(s(e,this.app),this.app):s(e,this.dataSource.dataSourceManager.app),dataSource:this.dataSource.key};return t=this.dataSourceManager.collectionMixins,o=this,n=new r(d,o),t.forEach(e=>{let t=new e(d,o);Object.getOwnPropertyNames(t).forEach(e=>{let o=Object.getOwnPropertyDescriptor(t,e);o?Object.defineProperty(n,e,o):n[e]=t[e]}),Object.getOwnPropertyNames(e.prototype).forEach(t=>{"constructor"!==t&&(n.__proto__[t]=e.prototype[t])})}),n}getInstancesMap(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>this.getCollectionInstance(e)).reduce((e,t)=>(e[t.name]=t,e),{})}addCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.getInstancesMap(e);this.collectionInstancesMap={...this.collectionInstancesMap,...t},this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}setCollections(e){this.collectionInstancesMap=this.getInstancesMap(e),this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}reAddCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.collectionInstancesArr,t=e.map(e=>e.getOptions());this.addCollections(t)}getCollection(e){if(e){if("object"==typeof e)return e.disableTranslation=!0,this.getCollectionInstance(e);if(String(e).split(".").length>1){let t=this.getCollectionField(e);if(!t)return;return this.getCollection(t.target)}return this.collectionInstancesMap[e]}}getCollections(e){return e?this.collectionInstancesArr.filter(e):this.collectionInstancesArr}getCollectionName(e){let t=this.getCollection(e);return null==t?void 0:t.name}getCollectionField(e){if(!e)return;if("object"==typeof e)return e;if(String(e).split(".").length<2)return void console.error(`[@nocobase/client]: CollectionManager.getField() path "${e}" is invalid`);let[t,...o]=String(e).split("."),l=this.getCollection(t);if(l)return l.getField(o.join("."))}getCollectionFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getFields(t))||[]}getCollectionAllFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getAllFields(t))||[]}getFilterByTK(e,t){if(!e||!t)return void console.error("@nocobase/client]: CollectionManager.getFilterByTK() collectionOrAssociation or collectionRecordOrAssociationRecord is invalid");let o=(e,t)=>{if(!Array.isArray(e))return t[e];{let o={};return e.forEach(e=>{o[e]=t[e]}),r.default.stringify(o)}};if(e instanceof l.p)return o(e.getFilterTargetKey(),t);if(e.includes(".")){let l=this.getCollectionField(e);if(!l)return void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() field "${e}" is invalid`);let n=this.getCollection(l.target);if(n)return o(n.getFilterTargetKey(),t);if(l.targetKey)return t[l.targetKey]}let n=this.getCollection(e);return n?o(n.getFilterTargetKey(),t):void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() collection "${e}" is invalid`)}getSourceKeyByAssociation(e){if(!e)return;let t=this.getCollectionField(e);if(!t)return;if(t.sourceKey)return t.sourceKey;let o=this.getCollection(e.split(".")[0]);if(o)return o.filterTargetKey||o.getPrimaryKey()||"id"}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=new d([],this.dataSource);return t.collectionInstancesArr=this.collectionInstancesArr,t.collectionInstancesMap=this.collectionInstancesMap,t.addCollections(e),t}constructor(e,t){this.dataSource=t,this.collectionInstancesMap={},this.collectionInstancesArr=[],this.addCollections(e)}}var u=o(26174),c=o(17544)},92719(e,t,o){o.d(t,{I:()=>c});var l=o(56920),n=o(77583),a=o(77843),r=o(14669),i=o(46724),s=o(32221),d=o(61013),u=o(95951);let c={name:"fieldComponent",type:"select",useVisible(){let e=(0,i.E1)(),t=(0,r.m6)();if(!e)return!1;let o=t.collectionFieldInterfaceManager.getFieldInterface(null==e?void 0:e.interface);return Array.isArray(null==o?void 0:o.componentOptions)&&o.componentOptions.length>1&&o.componentOptions.filter(e=>!e.useVisible||e.useVisible()).length>1},useComponentProps(){var e,t,o,c;let{t:p}=(0,a.useTranslation)(),m=(0,l.useField)(),h=(0,l.useFieldSchema)(),x=(0,i.E1)(),v=(0,r.m6)().collectionFieldInterfaceManager.getFieldInterface(null==x?void 0:x.interface),{fieldSchema:_}=(0,s.BC)(),f=_||h,{dn:g}=(0,u.er)(),b=(0,d.l)(),y=(null==v||null==(t=v.componentOptions)||null==(e=t.filter(e=>!e.useVisible||e.useVisible()))?void 0:e.map(e=>({label:b(e.label),value:e.value,useProps:e.useProps})))||[];return{title:p("Field component"),options:y,value:(null==(o=f["x-component-props"])?void 0:o.component)||(null==(c=y[0])?void 0:c.value),onChange(e){var t;let o=y.find(t=>t.value===e),l={component:e,...(null==o||null==(t=o.useProps)?void 0:t.call(o))||{},...e===x.uiSchema["x-component"]?x.uiSchema["x-component-props"]:{}};n.default.set(f,"x-component-props",l),m.componentProps=l,g.emit("patch",{schema:{"x-uid":f["x-uid"],"x-component-props":l}})}}}}},52968(e,t,o){o.d(t,{b:()=>v,x:()=>h});var l=o(71178),n=o(52793),a=o(51649),r=o(77843),i=o(82924),s=o(23460),d=o(2490),u=o(67574),c=o(40829),p=o(71226);let{Text:m}=n.Typography,h=e=>{let{type:t,name:o,message:h}=e,{designable:x,dn:v}=(0,i.erX)(),{modal:_}=n.App.useApp(),{t:f}=(0,r.useTranslation)(),g=(0,s.xw)(),b=(0,i.lum)(),y=(0,c.Ge)(),S=(0,d.m6)(),k=(0,a.useMemo)(()=>{if("Data Source"===t)return o;let e=(null==S?void 0:S.getDataSources().length)>=1&&g&&g.key!==u.Ze?`${b(g.displayName||g.key)} > `:"";if("Collection"===t)return`${e}${o}`;let l=y?`${b(y.title)||y.name||y.tableName} > `:"";return`${e}${l}${o}`},[]),C=(0,a.useMemo)(()=>"Field"===t?"Field":"Block",[t]),M=(0,a.useMemo)(()=>o?h?`${f(t)} "${k}" ${h}`:f('The {{type}} "{{name}}" may have been deleted. Please remove this {{blockType}}.',{type:f(t).toLocaleLowerCase(),name:k,blockType:f(C).toLocaleLowerCase()}).replaceAll("&gt;",">"):`${f(t)} name is required`,[h,k,t,f,C]);return x?"Field"===t?(0,l.jsx)(i.R_2,{ellipsis:!0,children:(0,l.jsx)(m,{type:"secondary",children:M})}):(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:M,extra:(0,l.jsx)(n.Button,{onClick:()=>_.confirm({title:f("Delete block"),content:f("Are you sure you want to delete it?"),...confirm,onOk(){v.remove(null,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}),v.refresh({refreshParentSchema:!0})}}),children:f("Delete")},"Delete")})}):null},x=()=>{let{t:e}=(0,r.useTranslation)(),t=(0,s.xw)(),o=(0,i.lum)(),m=(0,c.Ge)(),h=(0,d.m6)(),x=(0,a.useMemo)(()=>{let e=(null==h?void 0:h.getDataSources().length)>=1&&t&&t.key!==u.Ze?`${o(t.displayName||t.key)} > `:"";if(m)return`${e}${m.name}`;let l=m?`${o(m.title)||m.name||m.tableName} > `:"";return`${e}${l}${m.name}`},[]),v=(0,a.useMemo)(()=>e('The current user only has the UI configuration permission, but don\'t have view permission for collection "{{name}}"',{name:x}).replaceAll("&gt;",">"),[x,e]);return(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:v})})},v=()=>{let{designable:e}=(0,i.erX)();return e?(0,l.jsx)(x,{}):null}},62248(e,t,o){o.d(t,{N:()=>r});var l=o(71178);o(51649);var n=o(14669),a=o(26174);let r=e=>{let{children:t,dataSourceManager:o,...r}=e;return(0,l.jsx)(n.e1,{dataSourceManager:o,children:(0,l.jsx)(a.Pf,{...r,children:t})})}},32444(e,t,o){o.d(t,{$$:()=>b,Kx:()=>S,Qj:()=>_,R6:()=>x,T4:()=>g,h6:()=>y,uG:()=>f});var l=o(71178),n=o(51649),a=o(42536),r=o(11482),i=o(80461),s=o(95951),d=o(40829),u=o(14187),c=o(46776),p=o(38892),m=o(76460),h=o(56920);let x=(0,n.createContext)({});x.displayName="DataBlockContext";let v=(0,n.createContext)(null),_=e=>{let{children:t}=e,[o,a]=n.default.useState(!1),r=(0,n.useMemo)(()=>({rerenderDataBlock:()=>{a(!0),setTimeout(()=>{a(!1)})}}),[]);return o?null:(0,l.jsx)(v.Provider,{value:r,children:t})},f=e=>{let{collection:t,association:o,allowNull:a=!1}=e,r=(0,n.useMemo)(()=>o?{Component:d.$z,name:o}:{Component:d.N5,name:t},[t,o]);return(0,l.jsx)(r.Component,{name:r.name,allowNull:a,children:e.children})},g=(0,i.T)(n.default.memo(e=>{let{collection:t,association:o,dataSource:n,children:i,hidden:v,...g}=e,{dn:b}=(0,s.er)(),y=(0,h.useFieldSchema)();return v?null:(0,l.jsx)(m.j0,{scopeId:null==y?void 0:y["x-uid"],type:"dataBlock",children:(0,l.jsx)(x.Provider,{value:{dn:b,props:{...g,collection:t,association:o,dataSource:n}},children:(0,l.jsx)(d.Pf,{dataSource:n,children:(0,l.jsx)(f,{collection:t,association:o,children:(0,l.jsx)(a.yb,{children:(0,l.jsx)(p._,{children:(0,l.jsx)(c.Fr,{children:(0,l.jsx)(u.Yu,{children:(0,l.jsx)(r.Pt,{params:e.params,children:(0,l.jsx)(_,{children:i})})})})})})})})})})}),{displayName:"DataBlockProvider"}),b=()=>{let e=(0,n.useContext)(x);if(!e)throw Error("useDataBlock() must be used within a DataBlockProvider");return e},y=()=>b().props,S=()=>{let e=(0,n.useContext)(v);if(!e)throw Error("useRerenderDataBlock() must be used within a DataBlockProvider");return e}},14187(e,t,o){o.d(t,{$G:()=>b,NB:()=>y,OO:()=>f,YE:()=>M,Yu:()=>S,ZK:()=>C,_J:()=>k});var l=o(71178),n=o(51649),a=o(77583),r=o(16211),i=o(41897),s=o(70136),d=o(43873),u=o(67242),c=o(79647),p=o(67285),m=o(66110),h=o(29558),x=o(32444),v=o(46776);let _=(0,n.createContext)(null);_.displayName="BlockRequestRefContext";let f=(0,n.createContext)(!1);f.displayName="BlockRequestLoadingContext";let g=(0,n.createContext)(null);async function b(e){let{sourceId:t,association:o,parentRecord:l,api:n,headers:a,sourceKey:r}=e;if(l)return Promise.resolve({data:l});if(!o||!r||!t)return Promise.resolve({data:void 0});let i=o.split("."),s=`${i[0]}:get?filter[${r}]=${t}`;return(await n.request({url:s,headers:a})).data}g.displayName="BlockRequestDataContext";let y=e=>{var t,o,r,s,d,u;let p=(0,n.useRef)(e.recordRequest),m=(0,n.useRef)(null==(t=e.recordRequest)?void 0:t.data),{active:h}=(0,c.Y)(),v=(0,i.$Q)(),b=(0,n.useRef)(h),y=(0,n.useRef)(v),S=(0,n.useDeferredValue)(h),k=(0,x.h6)(),C=b.current;return S&&!C&&y.current===v&&(a.default.isNil(k.dataLoadingMode)||"auto"===k.dataLoadingMode)&&(null==(d=e.recordRequest)||d.refresh()),!S||!C||(null==(o=e.recordRequest)?void 0:o.loading)||a.default.isEqual(m.current,null==(r=e.recordRequest)?void 0:r.data)||(m.current=null==(u=e.recordRequest)?void 0:u.data),h&&C&&(y.current=v),S!==C&&(b.current=S),p.current=e.recordRequest,(0,l.jsx)(_.Provider,{value:p,children:(0,l.jsx)(f.Provider,{value:null==(s=e.recordRequest)?void 0:s.loading,children:(0,l.jsx)(g.Provider,{value:m.current,children:e.children})})})},S=n.default.memo(e=>{var t,o;let{children:i}=e,{action:c,filterByTk:_,sourceId:f,params:g=p.M,association:S,collection:k,record:C,parentRecord:M,requestOptions:w,requestService:F}=(0,x.h6)(),P=function(e){let t=(0,d.fY)(),o=(0,v.jz)(),{action:l,params:i={},record:c,requestService:p,requestOptions:m,sourceId:_,association:f,parentRecord:g}=e,y=(0,r.VB)(),S=(0,x.h6)(),k=(0,h.TF)(S.dataSource),C=(0,u.i)(f),[M,w]=(0,n.useMemo)(()=>[JSON.stringify(i),JSON.stringify(c)],[i,c]),{isBlockTemplate:F,templateFinished:P}=(0,s.y)(),j=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(null==F?void 0:F())&&!P?null:(p||(e=>{var t;if(c)return Promise.resolve({data:c});if(!l)throw Error("[nocobase]: The 'action' parameter is missing in the 'DataBlockRequestProvider' component");if("get"===l&&a.default.isNil(i.filterByTk))return console.warn('[nocobase]: The "filterByTk" parameter is missing in the "DataBlockRequestProvider" component');let n={...void 0===i.filterByTk?a.default.omit(i,"filterByTk"):i,...e};return null==(t=o[l])?void 0:t.call(o,n).then(e=>e.data)}))(...t)},A=async function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let[l,n]=await Promise.all([j(...t),b({sourceId:_,association:f,parentRecord:g,api:y,headers:k,sourceKey:C})]);return l&&(l.parentRecord=null==n?void 0:n.data),l},I=(0,r.bP)(A,{...m,manual:"manual"===t,ready:!!l,refreshDeps:[l,M,w,o,f,g,_,P]});return I._defaultParams=i,I}({action:c,sourceId:f,record:C,association:S,collection:k,requestOptions:w,requestService:F,params:(0,n.useMemo)(()=>({...g,filterByTk:_||g.filterByTk}),[_,g]),parentRecord:M}),j=null==(t=P.data)?void 0:t.parentRecord,A=(0,n.useMemo)(()=>j&&new m.ol({isNew:!1,data:j instanceof m.ol?j.data:j}),[j]);return(0,l.jsx)(y,{recordRequest:P,children:"list"!==c?(0,l.jsx)(m.Jw,{isNew:null==c,record:(null==(o=P.data)?void 0:o.data)||C,parentRecord:A||M,children:i}):(0,l.jsx)(m.Jw,{isNew:!1,record:null,parentRecord:A||M,children:i})})});S.displayName="DataBlockRequestProvider";let k=()=>{let e=(0,n.useContext)(_),t=(0,n.useContext)(f),o=(0,n.useContext)(g);return(0,n.useMemo)(()=>e?{...e.current,loading:t,data:o}:null,[e,o,t])},C=()=>{let e=(0,n.useContext)(_);return(0,n.useMemo)(()=>({getDataBlockRequest:()=>e?e.current:null}),[e])},M=()=>(0,n.useContext)(g)},46776(e,t,o){o.d(t,{Fr:()=>p,RE:()=>c,jz:()=>m});var l=o(71178),n=o(77583),a=o(51649),r=o(16211),i=o(40829),s=o(66110),d=o(29558),u=o(32444);let c=(0,a.createContext)(null);c.displayName="DataBlockResourceContext";let p=e=>{let{children:t}=e,o=(0,u.h6)(),p=(0,i.r2)(),{association:m,collection:h,dataSource:x,sourceId:v,parentRecord:_}=o,f=(0,r.VB)(),g=(0,d.TF)(x),b=(0,a.useMemo)(()=>"string"==typeof h?h:null==h?void 0:h.name,[h]),y=(0,a.useMemo)(()=>{if(v)return v;if(m&&_){let e=p.getSourceKeyByAssociation(m),t=_ instanceof s.ol?_.data:_;if(!(0,n.isArray)(e))return t[e];{let o={};for(let l of e)o[l]=null==t?void 0:t[l];return encodeURIComponent(JSON.stringify(o))}}},[m,v,_]),S=(0,a.useMemo)(()=>m?f.resource(m,y,g,!y):f.resource(b,void 0,g),[f,m,h,y,g]);return(0,l.jsx)(c.Provider,{value:S,children:t})};function m(){let e=(0,a.useContext)(c);if(!e)throw Error("useDataBlockResource() must be used within a DataBlockResourceProvider");return e}},593(e,t,o){o.d(t,{h:()=>a,q:()=>n});var l=o(40829);class n{get app(){return this.dataSourceManager.app}get key(){return this.options.key}get displayName(){return this.options.displayName}get status(){return this.options.status}get errorMessage(){return this.options.errorMessage}get collections(){return this.collectionManager.getCollections()||[]}getOptions(){return this.options}setOptions(e){Object.assign(this.options,e)}getOption(e){return this.options[e]}addReloadCallback(e){this.reloadCallbacks.includes(e)||this.reloadCallbacks.push(e)}removeReloadCallback(e){this.reloadCallbacks=this.reloadCallbacks.filter(t=>t!==e)}get flowEngineDataSourceManager(){var e;return null==(e=this.app.flowEngine)?void 0:e.context.dataSourceManager}async reload(){let e=await this.getDataSource(),t=this.flowEngineDataSourceManager;return t&&(t.upsertDataSource(this.options),t.getDataSource(this.key).upsertCollections(e.collections||[],{clearFields:!0})),this.setOptions(e),this.collectionManager.setCollections(e.collections||[]),this.reloadCallbacks.forEach(t=>t(e.collections)),this.options}constructor(e,t){this.options=e,this.dataSourceManager=t,this.reloadCallbacks=[],this.collectionManager=new l.qG(e.collections,this)}}class a extends n{getDataSource(){return{collections:this.collections}}}},67574(e,t,o){o.d(t,{Ze:()=>i,gP:()=>s,zA:()=>d});var l=o(593),n=o(86960),a=o(32799),r=o(77583);let i="main",s='{{t("Main")}}';class d{addCollectionMixins(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>!this.collectionMixins.includes(e));t.length&&(this.collectionMixins.push(...t),this.getDataSources().forEach(e=>e.collectionManager.reAddCollections()))}getDataSources(e){let t=Object.values(this.dataSourceInstancesMap);return e?r.default.filter(t,e):t}setDataSources(e){let t=r.default.keyBy(e,"key");Object.keys(this.dataSourceInstancesMap).forEach(e=>{let o=t[e];o&&this.dataSourceInstancesMap[e].setOptions({displayName:o.displayName,status:o.status})})}getDataSource(e){return e?this.dataSourceInstancesMap[e]:this.dataSourceInstancesMap[i]}removeDataSources(e){e.forEach(e=>{delete this.dataSourceInstancesMap[e]})}addDataSource(e,t){let o=new e(t,this);return this.dataSourceInstancesMap[o.key]=o,o}async addDataSources(e,t){this.multiDataSources.some(o=>{let[l,n]=o;return l===e&&n===t})||this.multiDataSources.push([e,t])}getAllCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{filterCollection:t,filterDataSource:o}=e;return this.getDataSources(o).reduce((e,o)=>(e.push({...o.getOptions(),collections:o.collectionManager.getCollections(t)}),e),[])}addFieldInterfaceGroups(e){this.collectionFieldInterfaceManager.addFieldInterfaceGroups(e)}addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionTemplateManager.addCollectionTemplates(e)}addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionFieldInterfaceManager.addFieldInterfaces(e)}async reload(){return await Promise.all(this.multiDataSources.map(async e=>{let[t,o]=e;(await t()).map(e=>this.addDataSource(o,e))})),Promise.all(this.getDataSources().map(e=>e.reload()))}constructor(e={},t){this.options=e,this.app=t,this.dataSourceInstancesMap={},this.multiDataSources=[],this.collectionMixins=[],this.collectionTemplateManager=new n.C(e.collectionTemplates,this),this.collectionFieldInterfaceManager=new a.L(e.fieldInterfaces,e.fieldInterfaceGroups,this),this.collectionMixins.push(...e.collectionMixins||[]),this.addDataSource(l.h,{key:i,displayName:s,collections:e.collections||[],status:"loaded"}),(e.dataSources||[]).forEach(e=>{this.addDataSource(l.h,e)})}}},14669(e,t,o){o.d(t,{LQ:()=>s,e1:()=>r,m6:()=>i,oc:()=>a});var l=o(71178),n=o(51649);let a=(0,n.createContext)(null);a.displayName="DataSourceManagerContext";let r=e=>{let{children:t,dataSourceManager:o}=e;return(0,l.jsx)(a.Provider,{value:o,children:t})};function i(){return(0,n.useContext)(a)}function s(){let e=i();return{getAllCollectionsInheritChain:(0,n.useCallback)((t,o)=>{var l,n,a;return null==e||null==(a=e.getDataSource(o))||null==(n=a.collectionManager)||null==(l=n.getCollection(t))?void 0:l.getInheritChain()},[e])}}},23460(e,t,o){o.d(t,{Mp:()=>h,Vl:()=>c,tc:()=>p,xw:()=>m});var l=o(71178),n=o(51649),a=o(14669),r=o(52968),i=o(82924),s=o(52793),d=o(82113),u=o(77843);let c=(0,n.createContext)(null);c.displayName="DataSourceContext";let p=e=>{let{children:t,dataSource:o}=e,p=(0,a.m6)(),{t:m}=(0,u.useTranslation)(),{refresh:h}=(0,i.Fag)(),[x,v]=n.default.useState(0),_=null==p?void 0:p.getDataSource(o);return _?"loading-failed"===_.status?(0,l.jsx)(r.x,{type:"Data Source",name:_.displayName||o,message:_.errorMessage||"loading failed"}):"loading"===_.status||"reloading"===_.status?(0,l.jsx)(i.oVU,{children:(0,l.jsx)(s.Result,{icon:(0,l.jsx)(d.LoadingOutlined,{}),title:`${_.displayName||o} ${m("data source")} ${m("loading")}...`,extra:(0,l.jsx)(s.Button,{type:"primary",onClick:()=>_.reload().then(()=>{h(),v(Math.random())}),children:m("Refresh")})})}):(0,l.jsx)(c.Provider,{value:_,children:t}):(0,l.jsx)(r.x,{type:"Data Source",name:o})};function m(){return(0,n.useContext)(c)}function h(){let e=(0,n.useContext)(c);return null==e?void 0:e.key}},2490(e,t,o){o.d(t,{LQ:()=>r.LQ,Mp:()=>a.Mp,Vl:()=>a.Vl,Ze:()=>n.Ze,e1:()=>r.e1,gP:()=>n.gP,h0:()=>l.h,m6:()=>r.m6,oc:()=>r.oc,qS:()=>l.q,tc:()=>a.tc,xw:()=>a.xw,zA:()=>n.zA});var l=o(593),n=o(67574),a=o(23460),r=o(14669)},28227(e,t,o){o.d(t,{pM:()=>l.pM,I1:()=>N.I,qS:()=>h.qS,tH:()=>x.tH,$z:()=>l.$z,bC:()=>B,Pf:()=>l.Pf,T0:()=>i.T,SG:()=>L,UJ:()=>l.UJ,yz:()=>r.y,Ey:()=>a.Ey,C1:()=>s.C,R6:()=>m.R6,$G:()=>p.$G,Vm:()=>x.Vm,h6:()=>m.h6,YE:()=>p.YE,ZK:()=>p.ZK,tc:()=>h.tc,Qj:()=>m.Qj,bJ:()=>a.bJ,NB:()=>p.NB,_J:()=>p._J,Fr:()=>c.Fr,jz:()=>c.jz,LQ:()=>h.LQ,Ln:()=>r.L,N5:()=>l.N5,OO:()=>p.OO,$$:()=>m.$$,h0:()=>h.h0,xw:()=>h.xw,vt:()=>x.vt,JL:()=>n.J,b:()=>d.b,gP:()=>h.gP,Dk:()=>Y,r2:()=>l.r2,CQ:()=>l.CQ,Nd:()=>u.N,Jr:()=>l.Jr,h_:()=>l.h_,Kx:()=>m.Kx,oc:()=>h.oc,pi:()=>l.pi,Mp:()=>h.Mp,ol:()=>x.ol,qG:()=>l.qG,zv:()=>x.zv,KY:()=>l.KY,Yu:()=>p.Yu,Vl:()=>h.Vl,ji:()=>v.ji,Jy:()=>T,yn:()=>a.yn,Xd:()=>l.Xd,m6:()=>h.m6,E1:()=>a.E1,Ge:()=>l.Ge,PD:()=>x.PD,Jw:()=>x.Jw,Ze:()=>h.Ze,zA:()=>h.zA,Jl:()=>l.Jl,T4:()=>m.T4,RE:()=>c.RE,kb:()=>v.kb,xd:()=>d.x,uG:()=>m.uG,Yz:()=>l.Yz,e1:()=>h.e1,TF:()=>v.TF,$h:()=>l.$h});var l=o(40829),n=o(42219),a=o(46724),r=o(32799),i=o(83339),s=o(86960),d=o(52968),u=o(62248),c=o(46776),p=o(14187),m=o(32444),h=o(2490),x=o(66110),v=o(29558),_=o(71178);function f(e,t,o){var l;let{block:n,isReadPretty:a=e=>{let{form:t}=e;return t.readPretty},filter:r=()=>!0,getInitializerItem:i=()=>({}),getSchema:s=()=>({})}=e,{collectionManager:d,collection:u,dataSourceManager:c,actionContext:p}=o,m=null==(l=p.fieldSchema)?void 0:l["x-action"];return u?t.map(e=>{let t=d.getCollection(e.target),l=c.collectionFieldInterfaceManager.getFieldInterface(e.interface);return{collectionField:e,context:{...o,targetCollection:t,collectionFieldInterface:l}}}).filter(e=>{let{collectionField:t}=e;return t.interface}).filter(e=>{let{collectionField:t,context:o}=e;return r(t,o)}).map(e=>{var t,o;let{collectionField:l,context:n}=e,a={type:"string",title:(null==l||null==(t=l.uiSchema)?void 0:t.title)||l.name,name:l.name,"x-component":"CollectionField","x-collection-field":`${u.name}.${l.name}`,"x-read-pretty":null==l||null==(o=l.uiSchema)?void 0:o["x-read-pretty"]},r=s(l,{...n,defaultSchema:a}),i={...a,...r||{}};return{collectionField:l,schema:i,context:{...n,schema:i}}}).map(e=>{var t;let{collectionField:o,context:l}=e,r={type:"item",name:o.name,title:(null==o||null==(t=o.uiSchema)?void 0:t.title)||o.name,Component:"CollectionFieldInitializer",schemaInitialize:e=>{var t,r;null==(r=l.collectionFieldInterface)||null==(t=r.schemaInitialize)||t.call(r,e,{field:o,block:n,readPretty:null==a?void 0:a(l),action:m,targetCollection:l.targetCollection})},schema:l.schema};return{collectionField:o,context:l,defaultInitializerItem:r}}).map(e=>{let{collectionField:t,defaultInitializerItem:o,context:l}=e,n=i(t,{...l,defaultInitializerItem:o});return{...o,...n||{}}}):[]}o(51649);var g=o(56920),b=o(77843),y=o(49621),S=o(23460),k=o(78562),C=o(26174),M=o(14669),w=o(82924);function F(){let{t:e}=(0,b.useTranslation)(),t=(0,y.Ge)(),o=(0,M.m6)(),l=(0,k.D5)(),n=(0,S.xw)(),a=(0,g.useForm)(),r=(0,g.useFieldSchema)(),i=(0,C.r2)();return{t:e,compile:(0,w.lum)(),actionContext:l,fieldSchema:r,collection:t,dataSource:n,form:a,collectionManager:i,dataSourceManager:o}}var P=o(96023);let j=e=>{let t=F(),{t:o,collection:l}=t,n=f(e,l.getFields(),t);return(0,_.jsx)(P.G0,{title:o("Display fields"),children:n})},A=e=>{let t=F(),{collection:o,t:l,collectionManager:n}=t,a=o.getParentCollectionsName();if(!a.length)return null;let r=a.map(e=>{let t=o.getParentCollectionFields(e);return 0===t.length?null:{parentCollection:n.getCollection(e),parentCollectionFields:t}}).filter(Boolean).map(o=>{let{parentCollection:n,parentCollectionFields:a}=o,r={...t,collection:n};return{type:"itemGroup",divider:!0,title:l("Parent collection fields")+"("+t.compile(n.title)+")",children:f(e,a,r)}});return(0,_.jsx)(P.ZI,{children:r})},I=e=>{let{filterAssociationField:t,filterSelfField:o=()=>!0,getSchema:l,...n}=e,{collection:a,t:r,collectionManager:i}=e.context,s=a.getFields(),d=["o2o","oho","obo","m2o"],u=s.filter(e=>d.includes(e.interface)).filter(t=>o(t,e.context));if(!u.length)return null;let c=u.map(e=>{let t=i.getCollection(e.target);if(!t)return null;let o=null==t?void 0:t.getAllFields();return o.length?{associationField:e,associationCollection:t,associationCollectionFields:o}:null}).filter(Boolean).map(o=>{var r,i;let{associationField:s,associationCollection:d,associationCollectionFields:u}=o,c={...e.context,collection:d};return{type:"subMenu",name:null==(r=s.uiSchema)?void 0:r.title,title:null==(i=s.uiSchema)?void 0:i.title,children:f({...n,filter:t,getSchema:(e,t)=>({...l(e,t)||{},"x-read-pretty":!0,name:`${s.name}.${e.name}`,"x-collection-field":`${a.name}.${s.name}.${e.name}`})},u,c)}});return c.length?(0,_.jsx)(P.G0,{title:r("Display association fields"),children:c}):null},T=e=>{let{selfField:t,parentField:o,associationField:l,block:n}=e,a=F();return a.collection?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(j,{block:n,...t,context:{...a,collection:a.collection}}),o&&(0,_.jsx)(A,{block:n,...o,context:{...a,collection:a.collection}}),l&&(0,_.jsx)(I,{block:n,...l,context:{...a,collection:a.collection}})]}):null};var D=o(81936);let L=(e,t,o)=>{let l=(0,D.Rg)(e,"x-component","Kanban");return(0,D.Rg)(l,t,o)},Y=e=>{let t=(null==e?void 0:e.block)||"Form",o={"x-toolbar":"FormItemSchemaToolbar","x-settings":"fieldSettings:FormItem","x-decorator":"FormItem"},l={remove:D.AZ};return(0,_.jsx)(T,{block:t,selfField:{filter:e=>!e.treeChildren,getSchema:(e,t)=>{var l,n;let{targetCollection:a}=t,r=(null==a?void 0:a.template)==="file",i=null==e||null==(n=e.uiSchema)||null==(l=n["x-component-props"])?void 0:l.fieldNames;return{...o,"x-component-props":r?{fieldNames:{label:"preview",value:"id"}}:a&&i?{fieldNames:{...i,label:(null==a?void 0:a.titleField)||i.label}}:{}}},getInitializerItem:()=>({...l,find:(null==e?void 0:e.block)==="Kanban"?L:void 0})},parentField:{getSchema:()=>o,getInitializerItem:()=>l},associationField:{filterSelfField:e=>"Form"!==t||(null==e?void 0:e.interface)==="m2o",filterAssociationField:e=>(null==e?void 0:e.interface)&&!["subTable"].includes(null==e?void 0:e.interface)&&!e.treeChildren,getSchema:()=>o,getInitializerItem:()=>l}})},R=["attachment","textarea","markdown","json","richText","polygon","circle","point","lineString"],B=e=>{function t(e){let{fieldSchema:t,form:o}=e;return"AssociationField.SubTable"!==t["x-component"]||o.readPretty}return(0,_.jsx)(T,{block:"Table",selfField:{isReadPretty:t,filter:e=>"subTable"!==e.interface&&!e.treeChildren,getSchema:(e,o)=>{var l,n;let{targetCollection:a,fieldSchema:r,form:i}=o,s=(null==a?void 0:a.template)==="file",d=(null==(l=e.uiSchema)?void 0:l["x-component"])==="Preview",u="AssociationField.SubTable"===r["x-component"];return{"x-component-props":s?{fieldNames:{label:"preview",value:"id"}}:d?{size:"small"}:{},"x-read-pretty":t({fieldSchema:r,form:i})||(null==(n=e.uiSchema)?void 0:n["x-read-pretty"]),"x-decorator":u?R.includes(e.interface)||s?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({find:D.Oo,remove:D.nt})},parentField:{isReadPretty:t,getSchema(e,o){var l;let{targetCollection:n,fieldSchema:a,form:r}=o,i=(null==n?void 0:n.template)==="file",s="AssociationField.SubTable"===a["x-component"];return{"x-component-props":i?{fieldNames:{label:"preview",value:"id"}}:{},"x-read-pretty":t({fieldSchema:a,form:r})||(null==(l=e.uiSchema)?void 0:l["x-read-pretty"]),"x-decorator":s?R.includes(e.interface)||i?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({remove:D.AZ})},associationField:{filterAssociationField:e=>!["subTable"].includes(e.interface)&&!e.treeChildren,getSchema:()=>({}),getInitializerItem:()=>({find:D.Oo,remove:D.nt})}})};var N=o(92719)},29558(e,t,o){o.d(t,{TF:()=>i,ji:()=>r,kb:()=>s});var l=o(51649),n=o(67574);let a="x-data-source",r=(e,t)=>{var o;return null==(o=e.collectionFieldInterfaceManager.getFieldInterface(t.interface))?void 0:o.titleUsable},i=e=>(0,l.useMemo)(()=>{if(e&&e!==n.Ze)return{[a]:e}},[e]),s=e=>e&&e!==n.Ze?{[a]:e}:{}},50255(e,t,o){o.d(t,{L2:()=>m,er:()=>p,pf:()=>d,rN:()=>c,to:()=>s,vB:()=>u});var l=o(71178),n=o(51649),a=o(83468),r=o(86393),i=o(504);let s=(0,n.createContext)({getTitle:()=>"",setTitle:()=>{}});s.displayName="DocumentTitleContext";let d=n.default.memo(e=>{let{addonBefore:t,addonAfter:o}=e,a=(0,i.useFlowEngineContext)(),r=a.t.bind(a),d=e=>a.t(e,{ns:"lm-desktop-routes"}),u=e=>a.t(e,{ns:"lm-collections"}),c=n.default.useRef(""),p=(0,n.useCallback)(()=>c.current,[]),m=(0,n.useCallback)(e=>{setTimeout(()=>{document.title=c.current=`${t?` - ${r(t)}`:""}${d(e||"")}${o?` - ${u(o)}`:""}`})},[o,t,r,d,u]),h=(0,n.useMemo)(()=>({getTitle:p,setTitle:m}),[p,m]);return(0,l.jsx)(s.Provider,{value:h,children:e.children})});d.displayName="DocumentTitleProvider";let u=e=>{var t,o;let n=(0,r.e6)();return(0,l.jsx)(d,{addonAfter:null==n||null==(o=n.data)||null==(t=o.data)?void 0:t.title,children:e.children})},c=()=>(0,n.useContext)(s),p=e=>{let{setTitle:t}=c();(0,n.useEffect)(()=>{t(e)},[t,e])};class m extends a.k{async load(){this.app.use(u,this.options)}}},11482(e,t,o){o.d(t,{$3:()=>h,Pt:()=>x,xZ:()=>v});var l=o(71178),n=o(56920),a=o(77583),r=o(49621),i=o(14187),s=o(43873),d=o(82924),u=o(58980),c=o(51649),p=o(50570);let m=(0,c.createContext)(null);m.displayName="FilterContext";let h=c.default.memo(e=>{let{children:t}=e,o=c.default.useRef([]),n=(0,c.useCallback)(e=>{"function"==typeof e?o.current=e(o.current):o.current=e},[]),a=(0,c.useCallback)(()=>o.current,[]),r=(0,c.useMemo)(()=>({getDataBlocks:a,setDataBlocks:n}),[a,n]);return(0,l.jsx)(m.Provider,{value:r,children:t})});h.displayName="FilterBlockProvider";let x=e=>{let{children:t,params:o}=e,a=(0,r.Ge)(),{recordDataBlocks:p}=v(),{getDataBlockRequest:m}=(0,i.ZK)(),h=(0,n.useField)(),x=(0,n.useFieldSchema)(),_=(0,u.ze)(),f=(0,c.useRef)(null),g=(0,s.fY)(),b=h&&"FilterFormBlockProvider"!==h.decoratorType&&"FormBlockProvider"!==h.decoratorType&&"filter"!==h.decoratorProps.blockType,y=(0,c.useCallback)(()=>{let e=m();p({uid:x["x-uid"],title:h.componentProps.title,doFilter:e.runAsync,collection:a,associatedFields:_,foreignKeyFields:null==a?void 0:a.getFields("isForeignKey"),defaultFilter:(null==o?void 0:o.filter)||{},service:e,dom:f.current,dataLoadingMode:g,clearFilter(e){var t,l,n;let a=(null==(t=this.service.params)?void 0:t[0])||{},r=(null==(n=this.service.params)||null==(l=n[1])?void 0:l.filters)||{};delete r[e];let i=(0,u.Dj)([...Object.values(r).map(e=>(0,d.pA3)(e)),(null==o?void 0:o.filter)||{}]);this.service.run({...a,page:1,filter:i},{filters:r})},clearData(){this.service.mutate(void 0)},clearSelection(){if(h){var e,t;null==(t=h.data)||null==(e=t.clearSelectedRowKeys)||e.call(t)}},highlightBlock(){var e;let t=f.current;if(!t)return;let o=t.querySelector(".ant-nb-schema-toolbar");o&&o.classList.remove("hidden"),t.style.boxShadow="0 3px 12px rgba(0, 0, 0, 0.15)",t.style.transition="box-shadow 0.3s ease, transform 0.2s ease",null==(e=t.scrollIntoView)||e.call(t,{behavior:"smooth",block:"start"})},unhighlightBlock(){let e=f.current;if(!e)return;let t=e.querySelector(".ant-nb-schema-toolbar");t&&t.classList.add("hidden"),e.style.boxShadow="none",e.style.transition="box-shadow 0.3s ease, transform 0.2s ease"}})},[_,a,g,x,null==o?void 0:o.filter,p,m,h]);return(0,c.useEffect)(()=>{b&&y()},[y,b]),(0,l.jsx)("div",{ref:f,children:t})},v=()=>{let e=c.default.useContext(m),t=(0,p.dW)(),o=(0,c.useCallback)(()=>(null==e?void 0:e.getDataBlocks())||[],[e]),l=(0,c.useCallback)(o=>{t.recordDataBlocks(o);let l=null==e?void 0:e.getDataBlocks().find(e=>e.uid===o.uid);l?Object.assign(l,o):null==e||e.setDataBlocks(e=>[...e,o])},[e]),n=(0,c.useCallback)(o=>{t.removeDataBlock(o),null!=e&&e.getDataBlocks().every(e=>e.uid!==o)||null==e||e.setDataBlocks(e=>e.filter(e=>e.uid!==o))},[e]);return e?{recordDataBlocks:l,getDataBlocks:o,removeDataBlock:n,inProvider:!0}:{inProvider:!1,recordDataBlocks:a.default.noop,getDataBlocks:o,removeDataBlock:a.default.noop}}},65613(e,t,o){o.d(t,{$3:()=>l.$3,Dj:()=>n.Dj,I1:()=>n.I1,Lt:()=>n.Lt,Pt:()=>l.Pt,Rm:()=>n.Rm,SU:()=>n.SU,TQ:()=>n.TQ,Uf:()=>n.Uf,W0:()=>n.W0,eB:()=>n.eB,vc:()=>n.vc,xZ:()=>l.xZ,ze:()=>n.ze});var l=o(11482),n=o(58980)},58980(e,t,o){o.d(t,{Dj:()=>h,I1:()=>m,Lt:()=>x,Rm:()=>v,SU:()=>f,TQ:()=>y,Uf:()=>_,W0:()=>b,eB:()=>S,vc:()=>k,ze:()=>g});var l,n=o(56920),a=o(63526),r=o(77583),i=o(51649),s=o(73761),d=o(49621),u=o(14669),c=o(82924),p=o(11482),m=((l={})[l.FORM=0]="FORM",l[l.TABLE=1]="TABLE",l[l.TREE=2]="TREE",l[l.COLLAPSE=3]="COLLAPSE",l);let h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$and",o=e.filter(e=>{if(e&&"object"==typeof e&&!Array.isArray(e))return Object.values(e).filter(e=>void 0!==e).length});return 0===o.length?{}:1===o.length?o[0]:{[t]:o}},x=(e,t)=>{var o;return null==(o=t.associatedFields)?void 0:o.filter(t=>null==e?void 0:e.some(e=>e===t.target))},v=(e,t)=>{var o;return null==(o=t.foreignKeyFields)?void 0:o.filter(t=>e.fields.some(e=>"belongsTo"!==e.type&&e.foreignKey===t.name&&e.target===t.collectionName))},_=e=>{let{getDataBlocks:t}=(0,p.xZ)(),o=(0,n.useFieldSchema)(),l=(0,d.Ge)(),{getAllCollectionsInheritChain:a}=(0,u.LQ)();return 0===e||3===e?t().filter(e=>y(e.collection,l)):1===e||2===e?t().filter(e=>{var t,n;return o["x-uid"]!==e.uid&&(y(e.collection,l)||(null==(t=x(a(l.name,l.dataSource),e))?void 0:t.length)||(null==(n=v(l,e))?void 0:n.length))}):void 0},f=(e,t,o,l)=>({$and:Object.keys(e=(0,a.flatten)(e,{breakOn(e){let{value:n,path:a}=e;if(["$match","$notMatch","$anyOf","$noneOf","$childIn","$childNotIn","$dateBetween","$in","$notIn"].includes(t[a]))return!0;let r=o(`${l}.${a}`);if(["datetime","datetimeNoTz","date","unixTimestamp","createdAt","updatedAt"].includes(null==r?void 0:r.interface))return!0;if(null==r?void 0:r.target){if(Array.isArray(n))return!0;let e=r.targetKey||"id";if(n&&null!=n[e])return!0}return!1}})).map(n=>{let i=r.default.get(e,n),s=o(`${l}.${n}`);return((null==s?void 0:s.target)&&["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(s.type)&&(i=(0,a.getValuesByPath)(i,s.targetKey||"id"),n=`${n}.${s.targetKey||"id"}`,(null==s?void 0:s.interface)==="chinaRegion"&&(i=r.default.last(i))),i||0===i||!1===i)?{[n]:{[t[n]||"$eq"]:i}}:null}).filter(Boolean)}),g=()=>{var e;return(null==(e=(0,d.Ge)())?void 0:e.fields.filter(e=>b(e)))||[]},b=e=>["o2o","oho","obo","m2o","createdBy","updatedBy","o2m","m2m","linkTo","chinaRegion","mbm"].includes(null==e?void 0:e.interface),y=(e,t)=>e.name===t.name&&e.dataSource===t.dataSource,S=()=>{let e=(0,n.useFieldSchema)(),{getDataBlocks:t}=(0,p.xZ)(),{targets:o,uid:l}=(0,s.findFilterTargets)(e),a=t(),[d,u]=(0,i.useState)(()=>o&&o.some(e=>a.some(t=>t.uid===e.uid))),m=Object.keys(o||{});return(0,i.useEffect)(()=>{u(o&&o.some(e=>a.some(t=>t.uid===e.uid)))},[m.length,o,a]),{isConnected:d,doFilter:(0,i.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$eq",s=a.find(t=>t.uid===e.parent["x-uid"]);a.forEach(e=>{var a,d,u,p,m,x,v,_,f;let g,b=n,y=o.find(t=>t.uid===e.uid);if(!y)return;r.default.isFunction(t)&&(t=t(y,e,(m=s,x=y.field,(null==(g=null==m||null==(v=m.associatedFields)?void 0:v.find(e=>e.foreignKey===x))?void 0:g.sourceKey)||(null==x||null==(f=x.split)||null==(_=f.call(x,"."))?void 0:_[1])))),r.default.isFunction(n)&&(b=n(y,e)),r.default.isFunction(i)&&(i=i(y));let S=(null==(a=e.service.params)?void 0:a[0])||{},k=(null==(u=e.service.params)||null==(d=u[1])?void 0:d.filters)||{};if(null!=t)k[l]={$and:[{[b]:{[i]:t}}]};else if(null==(p=e.clearSelection)||p.call(e),delete k[l],"manual"===e.dataLoadingMode)return e.clearData();let C=h([...Object.values(k).map(e=>(0,c.pA3)(e)),e.defaultFilter]);e.doFilter({...S,page:1,filter:C},{filters:k})})},[a,o,l,e])}},k=e=>{for(;e;){if(e["x-filter-targets"])return"FilterFormBlockProvider"===e["x-decorator"];e=e.parent}return!1}},4658(e,t,o){o.d(t,{I:()=>n,U:()=>a});var l=o(71178);let n=o(51649).default.createContext(null),a=e=>(0,l.jsx)(n.Provider,{value:e,children:e.children})},92619(e,t,o){o.d(t,{_:()=>a});var l=o(51649),n=o(4658);let a=()=>(0,l.useContext)(n.I)||{}},69575(e,t,o){o.d(t,{Im:()=>l.I,UU:()=>l.U,_P:()=>n._});var l=o(4658),n=o(92619)},30644(e,t,o){o.d(t,{ZC:()=>C,E0:()=>y,cQ:()=>S,dw:()=>A,Tu:()=>M,Bs:()=>P,IC:()=>j,o8:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(77583),s=o(51649),d=o(26174),u=o(49621),c=o(93726),p=o(67285),m=o(61013);let h=e=>{var t;let o,r,i=(0,s.useContext)(n.SchemaComponentsContext),d=e.field,u=((e,t)=>{if((e||t)&&!(0,a.isFn)(e))return(0,l.jsxs)(s.Fragment,{children:[e,t]})})((o=e.children,r=d.form,(0,a.isFn)(o)?o(d,r):o),d.content??d.componentProps.children);if("visible"!==d.display)return null;let c=e=>e&&("object"==typeof e||"function"==typeof e)?e:a.FormPath.getIn(i,e)??e;return t=d.componentType?s.default.createElement(c(d.componentType),{...d.componentProps,value:d.value},u):u,d.decoratorType?s.default.createElement(c(d.decoratorType),d.decoratorProps,t):(0,l.jsx)(s.Fragment,{children:t})};h.displayName="NocoBaseReactiveInternal",h.displayName="NocoBaseReactiveField";class x{initialize(){var e,t,o,l,n,r,s,d,u,c,p,m,h,x,v,_,f,g,b,y;let S=this.props.compile;this.pattern="readPretty",this.readPretty=!0,this.initialized=!0,this.loading=!1,this.validating=!1,this.submitting=!1,this.selfModified=!1,this.active=!1,this.visited=!0,this.mounted=!0,this.unmounted=!1,this.inputValues=[],this.inputValue=null,this.feedbacks=[],this.title=S(this.props.title||(null==(e=this.props.schema)?void 0:e.title)),this.description=S(this.props.description||(null==(t=this.props.schema)?void 0:t.description)),this.display="visible",this.editable=this.props.editable||(null==(o=this.props.schema)?void 0:o["x-editable"]),this.disabled=this.props.disabled||(null==(l=this.props.schema)?void 0:l["x-disabled"]),this.readOnly=this.props.readOnly||(null==(n=this.props.schema)?void 0:n["x-read-only"]),this.visible=this.props.visible||(null==(r=this.props.schema)?void 0:r["x-visible"]),this.hidden=this.props.hidden||(null==(s=this.props.schema)?void 0:s["x-hidden"]),this.dataSource=S(this.props.dataSource||(null==(d=this.props.schema)?void 0:d.enum)),this.validator=this.props.validator,this.required=this.props.required||!!(null==(u=this.props.schema)?void 0:u.required),this.content=S(this.props.content||(null==(c=this.props.schema)?void 0:c["x-content"])),this.initialValue=S(this.props.initialValue||(null==(p=this.props.schema)?void 0:p.default)),this.value=S(this.props.value),this.data=this.props.data||(null==(m=this.props.schema)?void 0:m["x-data"]),this.decorator=this.props.decorator?(0,a.toArr)(this.props.decorator):[null==(h=this.props.schema)?void 0:h["x-decorator"],null==(x=this.props.schema)?void 0:x["x-decorator-props"]],this.component=this.props.component?(0,a.toArr)(this.props.component):[null==(v=this.props.schema)?void 0:v["x-component"],null==(_=this.props.schema)?void 0:_["x-component-props"]],this.decoratorProps=(null==(f=this.props.schema)?void 0:f["x-decorator-props"])||{},this.componentProps=(null==(g=this.props.schema)?void 0:g["x-component-props"])||{},this.decoratorType=null==(b=this.props.schema)?void 0:b["x-decorator"],this.componentType=null==(y=this.props.schema)?void 0:y["x-component"],this.path={},this.form={},this.address={concat:i.default.noop}}constructor(e){this.props=e,this.initialize()}}let v=e=>{let t=(0,m.l)(),o=(0,n.useFieldSchema)(),a=(0,s.useMemo)(()=>new x({...e,compile:t}),[]);return Object.assign(a.componentProps,o["x-component-props"]),a.value=e.value,(0,l.jsx)(n.FieldContext.Provider,{value:a,children:(0,l.jsx)(h,{field:a,children:e.children})})},_=s.default.createContext({}),f=s.default.createContext(i.default.noop),g=e=>{let{children:t,refresh:o}=e,n=k(),a=(0,s.useCallback)(e=>{o(),(null==e?void 0:e.refreshParentSchema)&&(null==n||n())},[n,o]);return(0,l.jsx)(f.Provider,{value:a,children:t})},b=s.default.createContext(i.default.noop),y=e=>{let{children:t,refresh:o}=e;return(0,l.jsx)(b.Provider,{value:o,children:t})},S=()=>s.default.useContext(b),k=()=>s.default.useContext(f),C=()=>s.default.useContext(_)||{},M=e=>{let{children:t,fieldSchema:o}=e,n=(0,u.Ge)(),a=(0,d.r2)(),r=null==o?void 0:o.name,i=(0,s.useMemo)(()=>{var e;if(!n)return null;let t=null==o||null==(e=o["x-component-props"])?void 0:e.field;return a.getCollectionField(null==o?void 0:o["x-collection-field"])||t||n.getField((null==t?void 0:t.name)||r)},[n,a,o,r]);return(0,l.jsx)(_.Provider,{value:i,children:t})},w=i.default.memoize((e,t)=>e.toFieldProps({scope:t})),F=(e,t,o)=>{let l=e.toJSON();if(o){if(!l.properties)return e;let o=Object.keys(l.properties)[0],r=Object.values(l.properties)[0];return l.properties[o]=(0,a.merge)(i.default.omit(t,"type","x-read-pretty"),r),new n.Schema(l)}return new n.Schema((0,a.merge)(i.default.omit(t,"type","x-read-pretty"),l))},P=s.default.createContext(!1),j=()=>s.default.useContext(P),A=s.default.memo(e=>{let{schema:t,name:o,onlyRenderProperties:d,onlyRenderSelf:u,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b=!0,uiSchema:y,parentSchema:S}=e,k=(e=>{let t=(0,n.useField)();if(e.onlyRenderProperties){var o;return e.basePath||(null==t||null==(o=t.address)?void 0:o.concat(e.name))}return e.basePath||(null==t?void 0:t.address)})(e),j=(0,s.useRef)(null),I=(0,s.useMemo)(()=>(j.current=null,new n.Schema(t)),[t]),{uiSchema:T,defaultValue:D}=C(),L=(0,r.useUpdate)(),{onChange:Y}=(0,s.useContext)(c.D),R=j.current||I;if(!R.parent&&S){var B,N;R.parent=S,(null==(N=R.parent)||null==(B=N.properties)?void 0:B[R.name])||!R.name||i.default.set(R.parent,`properties.${R.name}`,R)}let E=(0,s.useCallback)(()=>{let e=R.parent;j.current=new n.Schema(R.toJSON(),e),(null==e?void 0:e.properties)&&Object.keys(e.properties).forEach(t=>{t===R.name&&(e.properties[t]=j.current)}),L(),null==Y||Y()},[R,Y,L]),$=(0,s.useMemo)(()=>y?F(R,y,d):T?(T.default=D,F(R,T,d)):R,[T,D,R,d,y]),z=w($,(0,n.useExpressionScope)()),O=e=>{if(!u)return(e=>{let{schema:t,field:o,basePath:r,mapProperties:d,filterProperties:u,propsRecursion:c,values:m,isUseFormilyField:h}=e,x=n.Schema.getOrderProperties(t);return x.length?(0,l.jsx)(s.Fragment,{children:x.map((e,t)=>{let{schema:n,key:s}=e,x=(null==o?void 0:o.address)||r,v=n;if((0,a.isFn)(d)){let e=d(n,s);e&&(v=e)}if((0,a.isFn)(u)&&!1===u(v,s))return null;let f=(0,a.isBool)(c)&&c?(0,l.jsx)(A,{propsRecursion:!0,filterProperties:u,mapProperties:d,schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h}):(0,l.jsx)(A,{schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h});return"CollectionField"===v["x-component"]?(0,l.jsx)(P.Provider,{value:!0,children:(0,l.jsx)(M,{fieldSchema:v,children:f})},`${t}-${s}`):(0,l.jsx)(P.Provider,{value:!1,children:(0,l.jsx)(_.Provider,{value:p.M,children:f})},`${t}-${s}`)})}):null})({schema:R,field:e,basePath:k,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b})};return R?(0,l.jsx)(n.SchemaContext.Provider,{value:R,children:(0,l.jsx)(g,{refresh:E,children:(0,a.isValid)(o)?"object"===$.type?d?O():(0,l.jsx)(n.ObjectField,{...z,name:o,basePath:k,children:O}):"array"===$.type?(0,l.jsx)(n.ArrayField,{...z,name:o,basePath:k}):"void"===$.type?d?O():(0,l.jsx)(n.VoidField,{...z,name:o,basePath:k,children:O}):b?(0,l.jsx)(n.Field,{...z,name:o,basePath:k}):(0,l.jsx)(v,{name:o,value:f,initialValue:f,basePath:k,schema:$}):O()})}):(0,l.jsx)(s.Fragment,{})});A.displayName="NocoBaseRecursionField"},79980(e,t,o){o.d(t,{Ne:()=>l.compatOldTheme,Og:()=>l.AntdAppProvider,U_:()=>l.GlobalThemeProvider,_l:()=>l.addCustomAlgorithmToTheme,my:()=>l.useGlobalTheme,zQ:()=>l.defaultTheme,ze:()=>l.customAlgorithm});var l=o(13975)},80461(e,t,o){o.d(t,{S:()=>c,T:()=>p});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(52793),s=o(95951);let d=()=>void 0,u=(e,t,o)=>{let l;return a.default.isFunction(e)?l=e:(l=t[e])||console.error(`${o} is not registered`),l||d};function c(e,t){return((e,t)=>{let o;if(!e)return d;if(a.default.isFunction(e))return e;for(let l of e.split("."))o=u(l,o||t,e);return o})(e,(0,n.useExpressionScope)())(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.displayName||e.displayName||e.name,n=t=>{let{dn:o,findComponent:a}=(0,s.er)(),d=c((0,r.useMemo)(()=>{let e=o.getSchemaAttribute("x-component"),t=o.getSchemaAttribute("x-decorator"),l=o.getSchemaAttribute("x-use-component-props"),r=o.getSchemaAttribute("x-use-decorator-props");return e&&l&&a(e)===n?l:t&&r&&a(t)===n?r:void 0},[o]),t),u=(0,r.useMemo)(()=>({...t,...d}),[d,t]);return(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(i.Spin,{}),children:(0,l.jsx)(e,{...u,children:t.children})})};return e.displayName=o,n.displayName=`withSchemaProps(${o})`,n}},99847(e,t,o){o.d(t,{t:()=>s});var l=o(71178),n=o(52793),a=o(14187),r=o(51649);let i=()=>{var e;return!!(null==(e=(0,a._J)())?void 0:e.loading)},s=(e,t)=>{let{useLoading:o=i,displayName:a,SkeletonComponent:s=n.Skeleton}=t||{},d=r.default.memo(t=>{let n=o(),a=(0,r.useRef)(!1),i=(0,r.useDeferredValue)(n);return!a.current&&i?(0,l.jsx)(s,{}):(a.current=!0,(0,l.jsx)(e,{...t}))});return d.displayName=a||`${e.displayName}(withSkeletonComponent)`||`${e.name}(withSkeletonComponent)`,d}},7775(e,t,o){o.d(t,{L:()=>i});var l=o(71178);o(51649);var n=o(52793),a=o(82113);let r={display:"flex",alignItems:"center",gap:4},i=e=>t=>{let{tooltip:o}=t;return o?(0,l.jsxs)("div",{style:r,children:[(0,l.jsx)(e,{...t}),(0,l.jsx)(n.Tooltip,{title:o,children:(0,l.jsx)(a.QuestionCircleOutlined,{style:{zIndex:1}})})]}):(0,l.jsx)(e,{...t})}},18226(e,t,o){o.d(t,{w:()=>l,k:()=>a});let l=()=>"nocobase-admin-menu";var n=o(51649);function a(){let e,t,{metaRef:o,restore:l}=(e=(0,n.useRef)("initial-scale=0.1"),t=(0,n.useRef)(),(0,n.useEffect)(()=>{let o=document.querySelector('meta[name="viewport"]');o?e.current=o.content:(o=document.createElement("meta")).name="viewport",o&&(o.content="width=device-width, initial-scale=1, user-scalable=0",t.current=o)},[]),{metaRef:t,restore:()=>{t.current&&(t.current.content=e.current)}});(0,n.useEffect)(()=>{if(o.current)return document.head.insertBefore(o.current,document.head.firstChild),()=>{l()}},[])}},33750(e,t,o){o.d(t,{Os:()=>u,co:()=>s,re:()=>d});var l=o(71178),n=o(77583),a=o(51649);let r=(0,a.createContext)(null);r.displayName="GetMenuItemContext";let i=(0,a.createContext)(null);i.displayName="GetMenuItemsContext";let s=()=>(0,a.useContext)(r)||{},d=()=>(0,a.useContext)(i)||{},u=()=>{let e=(0,a.useRef)([]),t=(0,a.useRef)(null),o=(0,a.useRef)(!1),s=(0,a.useCallback)(n=>{let{limitCount:a}=n;return o.current?(o.current=!1,t.current)?t.current():a&&e.current.length>a?(0,l.jsx)(l.Fragment,{children:e.current.slice(0,a).map((e,t)=>(0,l.jsx)(e,{},t))}):(0,l.jsx)(l.Fragment,{children:e.current.map((e,t)=>(0,l.jsx)(e,{},t))}):null},[]),d=(0,a.useCallback)(e=>{let a=[],r=e=>{a.push(e),a.sort((e,t)=>(e.order||0)-(t.order||0))};return o.current=!0,t.current=()=>{let t=a.filter(e=>e.notdelete).map(e=>n.default.omit(e,"notdelete"));return a.length=0,a.push(...t),(0,l.jsx)(i.Provider,{value:{pushMenuItem:r},children:e()})},a},[]);return{Component:s,getMenuItems:d,getMenuItem:(0,a.useCallback)(t=>{let n={},a=e=>{Object.assign(n,e)};return o.current=!0,e.current.push(()=>(0,l.jsx)(r.Provider,{value:{collectMenuItem:a},children:t()})),n},[]),clean:(0,a.useCallback)(()=>{e.current=[]},[])}}},60070(e,t,o){o.d(t,{J:()=>i});var l=o(51649),n=o(43923),a=o(99300);let{evaluate:r}=o(83489).evaluators.get("formula.js"),i=e=>{let t=(0,n.$l)(),o=(0,n.gp)(),[i,s]=(0,l.useState)();return(0,l.useEffect)(()=>{(async()=>{if(null==e||""===e)return s(void 0);let{exp:l,scope:n}=await (0,a.qk)(e,{variables:t,localVariables:o});try{let e=r(l,{now:()=>new Date().toString(),...n});s(e)}catch(e){console.error(e)}})()},[t.parseVariable,e,o]),i}},24943(e,t,o){o.d(t,{r:()=>d});var l=o(71178),n=o(82113),a=o(52793);o(51649);var r=o(16211),i=o(28601),s=o(86393);function d(){var e,t,o;let{data:d}=(0,s.e6)()||{},u=(0,r.VB)();return(null==d||null==(e=d.data)?void 0:e.enabledLanguages.length)>1&&(0,l.jsx)(a.Dropdown,{menu:{onClick(e){u.auth.setLocale(e.key),window.location.reload()},selectable:!0,defaultSelectedKeys:[u.auth.locale],items:null==d||null==(o=d.data)||null==(t=o.enabledLanguages)?void 0:t.filter(e=>i.Ay[e]).map(e=>({key:e,label:i.Ay[e].label}))},children:(0,l.jsx)(n.TranslationOutlined,{style:{fontSize:24}})})}},839(e,t,o){o.d(t,{z:()=>l});let l="ui-schema-storage"},7271(e,t,o){o.d(t,{Ru:()=>i,ul:()=>r,zg:()=>d.z});var l=o(23977),n=o(77843),a=o(28601);function r(e,t){return t?`{{t(${JSON.stringify(e)}, ${JSON.stringify(t)})}}`:`{{t(${JSON.stringify(e)})}}`}let i=l.default.createInstance(),s={};Object.keys(a.Ay).forEach(e=>{s[e]=a.Ay[e].resources}),i.use(n.initReactI18next).init({lng:"en-US",defaultNS:"client",resources:{},keySeparator:!1,nsSeparator:!1});var d=o(839)},37679(e,t,o){let l;o.d(t,{In:()=>u,K1:()=>d,Pt:()=>r,cE:()=>s,pU:()=>i});var n=o(71178),a=o(82113);o(51649);let r=new Map;function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;r.set(e.toLowerCase(),t)}function s(e){return!!e&&r.has(e.toLowerCase())}function d(e){Object.keys(e).forEach(t=>{i(t,e[t])})}Object.keys(a).forEach(e=>{i(e,a[e])});let u=e=>{let{type:t="",component:o,...i}=e;if(o)return(0,n.jsx)(a.default,{component:o,...i});if(t&&r.has(t.toLowerCase())){let e=r.get(t.toLowerCase());return(0,n.jsx)(e,{...i})}return t&&l?(0,n.jsx)(l,{type:t}):null};u.createFromIconfontCN=e=>{l=(0,a.createFromIconfontCN)(e)},u.register=e=>{d(e)}},60430(e,t,o){o.d(t,{In:()=>l.In,K1:()=>l.K1,Pt:()=>l.Pt,cE:()=>l.cE,pU:()=>l.pU});var l=o(37679)},44374(e,t,o){o.r(t),o.d(t,{ACLActionParamsContext:()=>r.gU,ACLActionProvider:()=>r.aK,ACLCollectionFieldProvider:()=>r.mu,ACLCollectionProvider:()=>r.yb,ACLContext:()=>r.w0,ACLCustomContext:()=>r.j,ACLMenuItemProvider:()=>r.Ik,ACLPane:()=>r.tA,ACLPlugin:()=>r.gt,ACLProvider:()=>r.AY,ACLRolesCheckProvider:()=>r.rR,ADMIN_SETTINGS_KEY:()=>u.w$,ADMIN_SETTINGS_PATH:()=>u.wq,AIManager:()=>ec._T,APIClient:()=>s.Q9,APIClientContext:()=>s.j8,APIClientProvider:()=>s.nd,AccessControl:()=>B.kx,Action:()=>D.rcl,ActionBar:()=>D.E76,ActionBarAssociationFilterAction:()=>Y.pB,ActionBarProvider:()=>D.xqq,ActionContext:()=>D.yVm,ActionContextNoRerender:()=>D.Wis,ActionContextProvider:()=>D.z45,ActionDesigner:()=>D.U6o,ActionGroupModel:()=>a.ActionGroupModel,ActionInitializer:()=>Y.LF,ActionInitializerItem:()=>Y.E2,ActionModel:()=>a.ActionModel,ActionSceneEnum:()=>a.ActionSceneEnum,ActionType:()=>B.X2,AddChildActionModel:()=>a.AddChildActionModel,AddCollection:()=>h.qS,AddCollectionAction:()=>h.IE,AddCollectionField:()=>h.qQ,AddFieldAction:()=>h.g,AddNewActionModel:()=>a.AddNewActionModel,AddSubFieldAction:()=>h.w3,AdminDynamicPage:()=>T.Y4,AdminLayout:()=>T.Ui,AdminLayoutMenuItemModel:()=>T.xF,AdminLayoutPlugin:()=>T.NC,AdminProvider:()=>T.X7,AdminSettingsLayout:()=>j.dj,AdminSettingsLayoutModel:()=>j.C_,AfterSuccess:()=>D.Kql,AllDataBlocksContext:()=>D.rrz,AllDataBlocksProvider:()=>D.J3t,AntdAppProvider:()=>y.Og,AntdConfigPlugin:()=>i.j,AntdConfigProvider:()=>i.Rk,AntdSchemaComponentPlugin:()=>D.bkX,AntdSchemaComponentProvider:()=>D.TDj,AppLangContext:()=>i.P4,AppNotFound:()=>x.bM,AppendsTreeSelect:()=>D.m$h,Application:()=>u.lg,ApplicationContext:()=>u.gD,AssignFormModel:()=>a.AssignFormModel,AssignedFieldValues:()=>D.TB2,AssociatedFields:()=>Y.Ag,AssociationField:()=>D.m2w,AssociationFieldMode:()=>D.Bnf,AssociationFieldModeProvider:()=>D.o8F,AssociationFilter:()=>Y.AO,AssociationFilterDesignerDelete:()=>Y.um,AssociationFilterDesignerDisplayField:()=>Y.xc,AssociationFilterPlugin:()=>Y.PB,AssociationOrCollectionProvider:()=>_.uG,AssociationProvider:()=>_.$z,AssociationSelect:()=>D.i_F,AsyncDataContext:()=>c.IC,AsyncDataProvider:()=>c.Gd,AttachmentList:()=>D._sT,AutoComplete:()=>D.j9R,BackButtonUsedInSubPage:()=>D.hsK,BaseVariableProvider:()=>B.jr,BlankComponent:()=>u.ct,Block:()=>D.eBw,BlockAssociationContext:()=>m.qM,BlockConfigsContext:()=>p.U1,BlockConfigsProvider:()=>p.AZ,BlockContext:()=>m.zL,BlockGridModel:()=>a.BlockGridModel,BlockInitializer:()=>Y.yl,BlockItem:()=>D.Z0V,BlockItemCard:()=>D.tn0,BlockItemCardContext:()=>D.AQf,BlockItemInitializer:()=>Y.z6,BlockModel:()=>a.BlockModel,BlockProvider:()=>m.VL,BlockRequestContextProvider:()=>_.NB,BlockRequestContext_deprecated:()=>m.cM,BlockRequestLoadingContext:()=>_.OO,BlockRequestProvider:()=>_.Yu,BlockRequestProvider_deprecated:()=>m.ge,BlockResourceContext:()=>m.fh,BlockSceneEnum:()=>a.BlockSceneEnum,BlockSchemaComponentPlugin:()=>m.tv,BlockSchemaComponentProvider:()=>m.hS,BlockSchemaToolbar:()=>W.C,BlockTemplateContext:()=>N.V5,BlockTemplateDetails:()=>N.YU,BlockTemplatePage:()=>N.BZ,BlockTemplateProvider:()=>N.XZ,BlockTemplatesPane:()=>N.NV,BlocksSelector:()=>D.Gjn,ButtonEditor:()=>D.Ypd,CSSVariableProvider:()=>v.B,CardItem:()=>D.oVU,Cascader:()=>D.vxQ,Checkbox:()=>D.Sc0,CheckboxFieldInterface:()=>h.jc,CheckboxGroupFieldInterface:()=>h.sf,ChildPageModel:()=>a.ChildPageModel,ChildPageTabModel:()=>a.ChildPageTabModel,ClearCollectionFieldContext:()=>_.bJ,ClickableFieldModel:()=>a.ClickableFieldModel,CodeEditor:()=>a.CodeEditor,CodeEditorExtension:()=>a.CodeEditorExtension,Collection:()=>_.pM,CollectionActionGroupModel:()=>a.CollectionActionGroupModel,CollectionActionModel:()=>a.CollectionActionModel,CollectionBlockModel:()=>a.CollectionBlockModel,CollectionCategoriesContext:()=>h.CI,CollectionCategoriesProvider:()=>h.q0,CollectionCategory:()=>h.F8,CollectionContext:()=>_.CQ,CollectionDeletedPlaceholder:()=>_.xd,CollectionField:()=>_.JL,CollectionFieldContext:()=>_.yn,CollectionFieldInterface:()=>_.yz,CollectionFieldInterfaceManager:()=>_.Ln,CollectionFieldInterfaceTag:()=>h.Mi,CollectionFieldProvider:()=>_.Ey,CollectionFieldUISchemaProvider:()=>ei.Tu,CollectionFieldsToFormInitializerItems:()=>_.Dk,CollectionFieldsToInitializerItems:()=>_.Jy,CollectionFieldsToTableInitializerItems:()=>_.bC,CollectionHistoryProvider:()=>h.US,CollectionManager:()=>_.qG,CollectionManagerContext:()=>_.Jr,CollectionManagerProvider:()=>_.Pf,CollectionManagerProvider_deprecated:()=>h.nq,CollectionManagerSchemaComponentProvider:()=>h.Xm,CollectionNotAllowViewPlaceholder:()=>_.b,CollectionPlugin:()=>h.Kf,CollectionProvider:()=>_.Yz,CollectionProvider_deprecated:()=>h.io,CollectionRecord:()=>_.ol,CollectionRecordContext:()=>_.tH,CollectionRecordProvider:()=>_.Jw,CollectionSelect:()=>D.vzL,CollectionSelectFieldInterface:()=>h.CF,CollectionTemplate:()=>_.T0,CollectionTemplateManager:()=>_.C1,CollectionTemplateTag:()=>h.xq,ColorFieldInterface:()=>h.h1,ColorPicker:()=>D.skP,ColorSelect:()=>D.qy5,CommonItemModel:()=>a.CommonItemModel,CompatibleSchemaInitializer:()=>u.__,CreateFilterActionInitializer:()=>Y.z8,CreateFormModel:()=>a.CreateFormModel,CreateResetActionInitializer:()=>Y.uj,CreatedAtFieldInterface:()=>h.vv,CreatedByFieldInterface:()=>h.VA,Cron:()=>D.l46,CronSet:()=>D.hbv,CurrentAppInfoContext:()=>d.G0,CurrentAppInfoProvider:()=>d.qm,CurrentPageUidContext:()=>u.MR,CurrentPageUidProvider:()=>u.tu,CurrentRouteProvider:()=>T.yb,CurrentTabUidContext:()=>u.EB,CurrentTabUidProvider:()=>u.sn,CurrentUserContext:()=>O.Ip,CurrentUserProvider:()=>O.Qd,CurrentUserSettingsMenuProvider:()=>O.Y,CustomRouterContextProvider:()=>u.Jr,CustomizeActionInitializer:()=>Y.A4,DEBOUNCE_WAIT:()=>q.wU,DEFAULT_DATA_SOURCE_KEY:()=>_.Ze,DEFAULT_DATA_SOURCE_TITLE:()=>_.gP,DataBlockCollector:()=>g.Pt,DataBlockContext:()=>_.R6,DataBlockInitializer:()=>Y.kq,DataBlockModel:()=>a.DataBlockModel,DataBlockProvider:()=>_.T4,DataBlockResourceContext:()=>_.RE,DataBlockResourceProvider:()=>_.Fr,DataSource:()=>_.qS,DataSourceApplicationProvider:()=>_.Nd,DataSourceCollectionCascader:()=>D.C4D,DataSourceContext:()=>_.Vl,DataSourceContext_deprecated:()=>h.hu,DataSourceManager:()=>_.zA,DataSourceManagerContext:()=>_.oc,DataSourceManagerProvider:()=>_.e1,DataSourceProvider:()=>_.tc,DataSourceProvider_deprecated:()=>h.T8,DataSourceSelect:()=>D.qy$,DateFieldInterface:()=>h.W5,DateFilterDynamicComponent:()=>D.dVP,DateFormatCom:()=>D.b2W,DatePicker:()=>D.lrV,DatePickerProvider:()=>D.QoO,DatetimeFieldInterface:()=>h.Nr,DatetimeNoTzFieldInterface:()=>h.a1,DefaultToolsManager:()=>ec.eY,DefaultValueProvider:()=>B.UY,DeleteCollection:()=>h.Ik,DeleteCollectionAction:()=>h.A9,Designable:()=>D.d1R,DesignableSwitch:()=>D.N3p,Details:()=>D.B_g,DetailsAssociationFieldGroupModel:()=>a.DetailsAssociationFieldGroupModel,DetailsBlockContext:()=>m.R6,DetailsBlockModel:()=>a.DetailsBlockModel,DetailsBlockProvider:()=>m.f0,DetailsCustomItemModel:()=>a.DetailsCustomItemModel,DetailsDesigner:()=>D.CqQ,DetailsGridModel:()=>a.DetailsGridModel,DetailsItemModel:()=>a.DetailsItemModel,DisplaySubTableFieldModel:()=>a.DisplaySubTableFieldModel,DisplayTextFieldModel:()=>a.DisplayTextFieldModel,DisplayTitleFieldModel:()=>a.DisplayTitleFieldModel,Divider:()=>D.cGx,DndContext:()=>D.Mp5,DocumentTitleContext:()=>f.to,DocumentTitleProvider:()=>f.pf,DragHandler:()=>D.L3t,DraggableContext:()=>D.X_,DropdownVisibleContext:()=>O.R2,EMPTY_OBJECT:()=>q.Ml,EditCollection:()=>h.V,EditCollectionAction:()=>h.Jx,EditCollectionField:()=>h.jY,EditComponent:()=>D.iI7,EditDefaultValue:()=>D.tvd,EditDescription:()=>D.JQe,EditFieldAction:()=>h.pA,EditFormModel:()=>a.EditFormModel,EditOperator:()=>D.B4G,EditPattern:()=>D.$t1,EditRequired:()=>D.QpY,EditSortField:()=>D.jgC,EditSubFieldAction:()=>h.Lj,EditTable:()=>D.j0_,EditTableAction:()=>D.vjx,EditTableActionContext:()=>D.uc_,EditTitle:()=>D.Xzy,EditTitleField:()=>D.Ff5,EditTooltip:()=>D.IJ7,EditValidationRules:()=>D.vPC,Editable:()=>D.FoY,EllipsisWithTooltip:()=>D.R_2,EmailFieldInterface:()=>h.em,ErrorFallback:()=>D.xPi,Expand:()=>D.JaO,ExpiresRadio:()=>D.S5r,ExtendCollectionsContext:()=>_.pi,ExtendCollectionsProvider:()=>_.Jl,FieldModel:()=>a.FieldModel,FieldModelRenderer:()=>es.FieldModelRenderer,FieldSummary:()=>h.fn,FieldValidation:()=>h.g7,FieldsTreeSelect:()=>D.ARu,Fieldset:()=>D.LBS,Filter:()=>D.dJT,FilterAction:()=>D.BsJ,FilterActionContext:()=>D.SOm,FilterActionModel:()=>a.FilterActionModel,FilterAssociatedFields:()=>Y.Q3,FilterBlockModel:()=>a.FilterBlockModel,FilterBlockProvider:()=>g.$3,FilterBlockType:()=>g.I1,FilterContext:()=>D.gM2,FilterDynamicComponent:()=>D.N$k,FilterFormActionGroupModel:()=>a.FilterFormActionGroupModel,FilterFormBlockModel:()=>a.FilterFormBlockModel,FilterFormBlockProvider:()=>m.JZ,FilterFormItemModel:()=>a.FilterFormItemModel,FilterGroup:()=>a.FilterGroup,FilterLogicContext:()=>D.c_d,FilterParentCollectionFields:()=>Y.gE,FlagContext:()=>b.Im,FlagProvider:()=>b.UU,ForeignKey:()=>h.mJ,Form:()=>D.lVW,FormActionGroupModel:()=>a.FormActionGroupModel,FormActionModel:()=>a.FormActionModel,FormActiveFieldsProvider:()=>m.Xz,FormAssociationFieldGroupModel:()=>a.FormAssociationFieldGroupModel,FormBlockContext:()=>m.JD,FormBlockInitializer:()=>J.yU,FormBlockModel:()=>a.FormBlockModel,FormBlockProvider:()=>m.r1,FormComponent:()=>a.FormComponent,FormDialog:()=>D.RD4,FormDrawer:()=>D.wA7,FormField:()=>D.zBI,FormFieldContext:()=>m.wh,FormFieldProvider:()=>m.UJ,FormGridModel:()=>a.FormGridModel,FormItem:()=>L.e,FormItemModel:()=>a.FormItemModel,FormItemSchemaToolbar:()=>J.iz,FormProvider:()=>D.OpO,FormSubmitActionModel:()=>a.FormSubmitActionModel,FormV2:()=>D.htN,G2Plot:()=>D.D6h,G2PlotInitializer:()=>Y.PV,G2PlotRenderer:()=>D.ic7,GeneralSchemaDesigner:()=>B.xK,GeneralSchemaItems:()=>R.g$,GlobalThemeProvider:()=>y.U_,Grid:()=>D.xA9,GridCard:()=>D.RLS,GridModel:()=>a.GridModel,GridRowContext:()=>D.mz8,HTMLEncode:()=>D.mJi,HeightMode:()=>B.Dn,ICON_POPUP_Z_INDEX:()=>D.b6K,Icon:()=>C.In,IconFieldInterface:()=>h.Po,IconPicker:()=>D.arW,IdFieldInterface:()=>h.Xk,InheritanceCollectionMixin:()=>h.WW,InitializerWithSwitch:()=>Y.Nl,Input:()=>D.pde,InputFieldInterface:()=>h.Yf,InputFieldModel:()=>a.InputFieldModel,InputNumber:()=>D.YIz,InputReadPretty:()=>D.FZR,InputRecordPicker:()=>D.qKt,IntegerFieldInterface:()=>h.Kv,InternalAdminSettingsLayout:()=>j.Q7,IsInNocoBaseRecursionFieldContext:()=>ei.Bs,IsSubPageClosedByPageMenuContext:()=>u.C1,IsSubPageClosedByPageMenuProvider:()=>u.Cj,JSActionModel:()=>a.JSActionModel,Json:()=>D.LMh,JsonFieldInterface:()=>h.UF,KeepAlive:()=>T.PR,LAZY_COMPONENT_KEY:()=>M.PE,LOADING_DELAY:()=>q.fG,Layout:()=>B.PE,LayoutContent:()=>T.A1,LinkActionModel:()=>a.LinkActionModel,LinkToFieldInterface:()=>h.Li,LinkageFilter:()=>D.ccy,LinkageRuleCategory:()=>B.Od,LinkageRuleDataKeyMap:()=>B.bx,List:()=>D.B8B,LocalDataSource:()=>_.h0,LocationSearchContext:()=>u.bR,M2MFieldInterface:()=>h.Em,M2OFieldInterface:()=>h.ms,Markdown:()=>D.ozN,MarkdownFieldInterface:()=>h.B9,MarkdownReadPretty:()=>D.wN6,MaybeCollectionProvider:()=>m.oe,Menu:()=>D.W1t,MenuConfigure:()=>r.MO,MockFlowModelRepository:()=>a.MockFlowModelRepository,ModalActionSchemaInitializerItem:()=>Y.Au,MultipleSelectFieldInterface:()=>h.if,NAMESPACE_UI_SCHEMA:()=>k.zg,NanoIDInput:()=>D.Q00,NanoidFieldInterface:()=>h.fZ,NocoBaseBuildInPlugin:()=>F.x,NocoBaseDesktopRouteType:()=>T.q2,NocoBaseRecursionField:()=>ei.dw,NocoBaseRouteContext:()=>T.dI,NumberFieldInterface:()=>h.Nj,O2MFieldInterface:()=>h.IL,O2OFieldInterface:()=>h.SB,OBOFieldInterface:()=>h.Sd,OHOFieldInterface:()=>h.Si,OpenModeProvider:()=>eo.R,OverridingCollectionField:()=>h.oO,OverridingFieldAction:()=>h.yu,PMPlugin:()=>j.V_,Page:()=>D.YW0,PagePopups:()=>D.rNg,PageTabs:()=>D.Y2j,Pagination:()=>D.dKS,ParentCollectionFields:()=>Y.y8,ParentRouteContext:()=>D.Zy6,Password:()=>D._22,PasswordFieldInterface:()=>h.NL,Percent:()=>D.QEB,PercentFieldInterface:()=>h.$N,PermissionContext:()=>r.dg,PermissionProvider:()=>r.XI,PhoneFieldInterface:()=>h.wv,PinnedListPlugin:()=>P._,PinnedPluginList:()=>P.i6,PinnedPluginListContext:()=>P.DW,PinnedPluginListProvider:()=>P.P7,Plugin:()=>u.k_,PluginManager:()=>j.R0,PluginManagerLink:()=>j.X1,PluginSettingsManager:()=>u.mz,PopupActionModel:()=>a.PopupActionModel,PopupContextProvider:()=>el.P,PopupSettingsProvider:()=>D.T$Q,PopupSubTableFormActionGroupModel:()=>a.PopupSubTableFormActionGroupModel,PoweredBy:()=>A.G,Preview:()=>D.lNE,QuickEdit:()=>D.gt0,REGEX_OF_VARIABLE:()=>q.vV,REGEX_OF_VARIABLE_IN_EXPRESSION:()=>q.qe,Radio:()=>D.sxL,RadioGroupFieldInterface:()=>h.QZ,ReadPretty:()=>D.hqJ,ReadPrettyRecordPicker:()=>D.w2W,RecordActionGroupModel:()=>a.RecordActionGroupModel,RecordAssociationBlockInitializer:()=>Y.Cg,RecordAssociationDetailsBlockInitializer:()=>Y.QP,RecordAssociationFormBlockInitializer:()=>Y.we,RecordAssociationGridCardBlockInitializer:()=>Y.Q2,RecordAssociationListBlockInitializer:()=>Y.kv,RecordContext_deprecated:()=>I.Ze,RecordFormBlockInitializer:()=>J.BM,RecordIndexContext:()=>I.t9,RecordIndexProvider:()=>I.l2,RecordLink:()=>m.Ur,RecordPicker:()=>D.O$4,RecordPickerContent:()=>a.RecordPickerContent,RecordPickerContext:()=>D.pEl,RecordPickerProvider:()=>D.bee,RecordProvider:()=>I.B4,RecordReadPrettyAssociationFormBlockInitializer:()=>Y.SL,RecordSelectFieldModel:()=>a.RecordSelectFieldModel,RecordSimpleProvider:()=>I.RP,RefreshActionModel:()=>a.RefreshActionModel,RefreshComponentProvider:()=>ei.E0,RefreshDataBlockRequest:()=>D.ud1,RemoteCollectionManagerProvider:()=>h.Ho,RemoteDocumentTitlePlugin:()=>f.L2,RemoteDocumentTitleProvider:()=>f.vB,RemoteSchemaComponent:()=>D.DYS,RemoteSchemaTemplateManagerPlugin:()=>N.IU,RemoteSchemaTemplateManagerProvider:()=>N.sx,RemoteSelect:()=>D.lTd,RemoveButton:()=>D.d09,RemoveConditionContext:()=>D.b7u,RenderChildrenWithAssociationFilter:()=>m.hJ,RequestSettings:()=>D.RhU,RerenderDataBlockProvider:()=>_.Qj,Resizable:()=>X.cM,ResourceActionContext:()=>h.aB,ResourceActionProvider:()=>h.mD,RichText:()=>D.sDQ,RichTextFieldInterface:()=>h.X6,RoleConfigure:()=>r.jc,RoleResourceCollectionContext:()=>r.mW,RoleTable:()=>r.PO,RolesResourcesActions:()=>r.WH,RouteSchemaComponent:()=>T.yU,RouterContextCleaner:()=>u.PK,RouterManager:()=>u.pZ,SNIPPET_PREFIX:()=>u.tJ,SanitizedCollectionProvider:()=>_.N5,SchemaComponent:()=>D.HvB,SchemaComponentContext:()=>D.u4V,SchemaComponentOnChangeContext:()=>D.Doh,SchemaComponentOptions:()=>D.t6u,SchemaComponentPlugin:()=>D.GD6,SchemaComponentProvider:()=>D.OAH,SchemaInitializer:()=>u.IY,SchemaInitializerActionModal:()=>u.z3,SchemaInitializerActionModalInternal:()=>u.Yx,SchemaInitializerChild:()=>u.wp,SchemaInitializerChildren:()=>u.ZI,SchemaInitializerContext:()=>u.dQ,SchemaInitializerDivider:()=>u.Z$,SchemaInitializerItem:()=>u.rR,SchemaInitializerItemContext:()=>u.G8,SchemaInitializerItemGroup:()=>u.G0,SchemaInitializerItemGroupInternal:()=>u.JL,SchemaInitializerItemInternal:()=>u.KK,SchemaInitializerItems:()=>u.e1,SchemaInitializerManager:()=>u.FE,SchemaInitializerMenu:()=>u.$l,SchemaInitializerMenuProvider:()=>u.Ix,SchemaInitializerOpenModeSchemaItems:()=>R.yF,SchemaInitializerPlugin:()=>Y.X1,SchemaInitializerSelect:()=>u.S3,SchemaInitializerSelectInternal:()=>u.Vf,SchemaInitializerSubMenu:()=>u.zw,SchemaInitializerSubMenuInternal:()=>u.gc,SchemaInitializerSwitch:()=>u.qX,SchemaInitializerSwitchInternal:()=>u.NH,SchemaSettingAccessControl:()=>B.Xh,SchemaSettingItemContext:()=>u.KY,SchemaSettingOpenModeSchemaItems:()=>R.sm,SchemaSettings:()=>u.RT,SchemaSettingsActionLinkItem:()=>G.i,SchemaSettingsActionModalItem:()=>B.l,SchemaSettingsBlockHeightItem:()=>B._M,SchemaSettingsBlockTitleItem:()=>B.Pp,SchemaSettingsCascaderItem:()=>B.Wk,SchemaSettingsChild:()=>u.T2,SchemaSettingsChildren:()=>u.Ah,SchemaSettingsConnectDataBlocks:()=>B.$r,SchemaSettingsDataScope:()=>B.Zy,SchemaSettingsDataTemplates:()=>B.iJ,SchemaSettingsDateFormat:()=>B.AH,SchemaSettingsDefaultSortingRules:()=>B.lZ,SchemaSettingsDefaultValue:()=>B.Jw,SchemaSettingsDivider:()=>B.kT,SchemaSettingsDropdown:()=>B.QA,SchemaSettingsEnableChildCollections:()=>B.DE,SchemaSettingsFixed:()=>X.$e,SchemaSettingsFormItemTemplate:()=>B.Sm,SchemaSettingsItem:()=>B.iU,SchemaSettingsItemGroup:()=>B.NT,SchemaSettingsLayoutItem:()=>B.qj,SchemaSettingsLinkageRules:()=>B.f9,SchemaSettingsManager:()=>u.mh,SchemaSettingsModalItem:()=>B.fY,SchemaSettingsNumberFormat:()=>B.vv,SchemaSettingsPlugin:()=>B.SA,SchemaSettingsPopupItem:()=>B.QN,SchemaSettingsProvider:()=>B.Kd,SchemaSettingsRemove:()=>B.d$,SchemaSettingsRenderEngine:()=>B.Fs,SchemaSettingsSelectItem:()=>B.Al,SchemaSettingsSortingRule:()=>B.bO,SchemaSettingsSubMenu:()=>B.OO,SchemaSettingsSwitchItem:()=>B.Qd,SchemaSettingsTemplate:()=>B.lC,SchemaSettingsWrapper:()=>u.OD,SchemaTemplateManagerContext:()=>N.cC,SchemaToolbar:()=>B.Bw,SchemaToolbarContext:()=>u.OI,SchemaToolbarProvider:()=>u.y6,SchemaToolbarVisibleContext:()=>B.Oy,ScopeSelect:()=>r.dn,SearchCollections:()=>Y.Cl,SearchParamsContext:()=>u.yh,SecondConFirm:()=>D.VXI,Select:()=>D.l6P,SelectActionInitializer:()=>Y.J_,SelectFieldInterface:()=>h.ur,SelectWithTitle:()=>x.$d,SetDataLoadingMode:()=>Q.yz,SettingCenterPermissionProvider:()=>r.kL,SettingCenterProvider:()=>r.$k,SettingsCenterConfigure:()=>r.$S,SettingsCenterContext:()=>j.WS,SettingsCenterDropdown:()=>j.wj,SettingsMenuProvider:()=>O.mn,ShowFormData:()=>D.a1G,SkeletonFallback:()=>a.SkeletonFallback,SkipValidation:()=>D.zN,SnowflakeIdFieldInterface:()=>h.xS,Sortable:()=>D.L1H,SortableContext:()=>D.gBZ,SortableItem:()=>D.UqM,SortableProvider:()=>D.gBz,SourceCollection:()=>h.sN,SourceForeignKey:()=>h.l7,SourceKey:()=>h.D0,Space:()=>D.$xS,StablePopover:()=>D.$mi,StrategyActions:()=>r.T,SubFieldDataSourceProvider_deprecated:()=>h.Jq,SubTableColumnModel:()=>a.SubTableColumnModel,SubTableFieldInterface:()=>h.OA,SubTableFieldModel:()=>a.SubTableFieldModel,SubmitActionInitializer:()=>Y.pW,SwitchLanguage:()=>U.r,SyncFieldsAction:()=>h.xG,SyncFieldsActionCom:()=>h.Yy,SyncSQLFieldsAction:()=>h.BK,SystemSettingsPane:()=>$.nS,SystemSettingsPlugin:()=>$.Cz,SystemSettingsSource:()=>$.or,Table:()=>D.XIK,TableActionColumnInitializer:()=>Y.rb,TableAssociationFieldGroupModel:()=>a.TableAssociationFieldGroupModel,TableBlockContext:()=>m.V3,TableBlockDesigner:()=>D.v93,TableBlockInitializer:()=>X.IB,TableBlockModel:()=>a.TableBlockModel,TableBlockProvider:()=>m.to,TableColumnModel:()=>a.TableColumnModel,TableColumnSchemaToolbar:()=>X.lI,TableField:()=>D.Bmi,TableFieldContext:()=>m.G8,TableFieldProvider:()=>m.Cc,TableFieldResource:()=>m.vv,TableSelectorContext:()=>m.$1,TableSelectorDesigner:()=>D.p9h,TableSelectorInitializer:()=>Z.w,TableSelectorParamsProvider:()=>m.bp,TableSelectorProvider:()=>m.j4,TableV2:()=>D.Hi5,TableoidFieldInterface:()=>h.YK,Tabs:()=>D.tUM,TabsContextProvider:()=>D.hY7,TargetForeignKey:()=>h.Pg,TargetKey:()=>h.n0,TemplateBlockProvider:()=>m.lm,TemplateSummary:()=>h.N8,Templates:()=>D.I5x,TestDesigner:()=>D.qIn,TextAreaWithContextSelector:()=>a.TextAreaWithContextSelector,TextAreaWithGlobalScope:()=>D.Ur4,TextareaFieldInterface:()=>h.OK,ThroughCollection:()=>h.Uq,ThroughForeignKey:()=>h.P$,TimeFieldInterface:()=>h.ju,TimePicker:()=>D.AG,TreeSelect:()=>D.f7I,UUIDFieldInterface:()=>h.nF,UnSupportFields:()=>h.u6,UnixTimestamp:()=>D.zVE,UnixTimestampFieldInterface:()=>h.qT,UpdateRecordActionModel:()=>a.UpdateRecordActionModel,UpdatedAtFieldInterface:()=>h.A8,UpdatedByFieldInterface:()=>h.CT,Upload:()=>D._OO,Uploader:()=>D.d9b,UrlFieldInterface:()=>h.Nc,Variable:()=>D.rTt,VariableFilterItem:()=>a.VariableFilterItem,VariableInput:()=>B.P8,VariablePopupRecordProvider:()=>ea.P3,VariableScope:()=>q.j0,VariableScopeProvider:()=>D.sIN,VariableSelect:()=>D.PnP,VariablesContext:()=>q.jT,VariablesProvider:()=>q.fK,ViewCollectionField:()=>h.w7,ViewFieldAction:()=>h.YG,WithoutFormFieldResource:()=>m.vi,WithoutTableFieldResource:()=>m.nI,actionSettings:()=>D.Sh8,actionSettingsItems:()=>D.MoU,addCustomAlgorithmToTheme:()=>y._l,allowAddNew:()=>D.lE3,appendQueryStringToUrl:()=>m.gN,applyCollectionFieldUiSchemaToDefaultValueSchema:()=>B.Ux,applyMobilePaginationProps:()=>a.applyMobilePaginationProps,attachmentFileTypes:()=>D.lNX,autoFill:()=>h.l5,autoIncrement:()=>h.N1,canMakeAssociationBlock:()=>Y.xj,collectionDataSource:()=>h.C8,compatOldTheme:()=>y.Ne,completeURL:()=>m.Dg,compose:()=>u.Zz,constraintsProps:()=>h.jg,createCompactSimpleItemRender:()=>a.createCompactSimpleItemRender,createCreateFormBlockUISchema:()=>J.U9,createDesignable:()=>D.pxY,createDetailsBlockSchema:()=>Y.DJ,createFormActionInitializers:()=>J.CQ,createFormActionInitializers_deprecated:()=>J.E9,createFormBlockSchema:()=>Y.je,createFormBlockSettings:()=>J.NO,createModalSettingsItem:()=>u.IN,createReadPrettyFormBlockSchema:()=>Y.TA,createRouterManager:()=>u.xd,createSelectSchemaSettingsItem:()=>u.IF,createStyles:()=>E.r,createSwitchSettingsItem:()=>u.$c,createTableBlockSchema:()=>Y.JP,createTableBlockUISchema:()=>X.DJ,createTextSettingsItem:()=>u.pi,customAlgorithm:()=>y.ze,customFormItemInitializers:()=>Y.qf,customFormItemInitializers_deprecated:()=>Y.KL,dataSource:()=>h.Ex,dateTimeProps:()=>h.E2,defaultFieldNames:()=>D.KDQ,defaultInputStyle:()=>B.D0,defaultProps:()=>h.Gs,defaultTheme:()=>y.zQ,dispatchEventDeep:()=>a.dispatchEventDeep,ds:()=>h.ds,editFormBlockSettings:()=>J.RG,editMarkdownFlow:()=>a.editMarkdownFlow,fetchTemplateData:()=>D.rlt,fieldComponentSettingsItem:()=>_.I1,fieldSettingsFormItem:()=>J.ln,fileSizeSetting:()=>er.oc,fillParentFields:()=>m.Rg,filterFormItemSettings:()=>D.Dgp,findByUid:()=>D.X6x,findFilterTargets:()=>m.OP,findFirstPageRoute:()=>T.sj,findFormBlock:()=>m.r9,findKanbanFormItem:()=>_.SG,findKeysByUid:()=>D.VFg,findMenuItem:()=>D.OZ6,findParentFieldSchema:()=>B.Jq,findRouteBySchemaUid:()=>T.bl,formActionInitializers:()=>J.eI,formDetailsSettings:()=>D.QIX,formItemInitializers:()=>J.rj,formItemInitializers_deprecated:()=>J.Lm,formItemSettings:()=>D.DVX,formSettings:()=>D.UyB,formV1Settings:()=>D.$Eq,genStyleHook:()=>D.fDF,getAppends:()=>m.c3,getAssociationPath:()=>m.jh,getCardItemSchema:()=>m.Km,getCollectionTitle:()=>W.R,getConfigurableProperties:()=>h.TC,getCurrentOptions:()=>D.oMF,getDataSourceHeaders:()=>_.kb,getDateExact:()=>D.Q2z,getDatePickerLabels:()=>D.Mwt,getDateRanges:()=>D.fDM,getFieldDefaultValue:()=>B.lD,getFilterByTkByCollection:()=>m.g7,getFlowPageMenuSchema:()=>eu.g,getFormValues:()=>m.ru,getIdsWithChildren:()=>m.O6,getLabelFormatValue:()=>D.PB5,getLabelWithTooltip:()=>B.YO,getPageMenuSchema:()=>et.my,getPageSchema:()=>m.RN,getPinnedPluginListKeys:()=>P.k4,getPopupPathFromParams:()=>D.C5g,getRenderContent:()=>D.a2g,getSchemaSettingsConfirmZIndex:()=>B.rf,getSchemaSettingsDialogZIndex:()=>B.tN,getShouldChange:()=>B.io,getSimpleModePaginationClassName:()=>a.getSimpleModePaginationClassName,getStoredPopupContext:()=>D.lSn,getSupportFieldsByAssociation:()=>g.Lt,getSupportFieldsByForeignKey:()=>g.Rm,getSystemSettingsMutationData:()=>$.mY,getTabSchema:()=>D.jZb,getURLSearchParams:()=>B._V,getURLSearchParamsChildren:()=>B.B_,getUniqueKeyFromCollection:()=>h.$e,getUnknownCountPaginationTotal:()=>a.getUnknownCountPaginationTotal,getVariableComponentWithScope:()=>K.Iy,getVariableValue:()=>x.Wu,getVariablesFromExpression:()=>q.e3,getZIndex:()=>D.flR,gridRowColWrap:()=>Y.xH,handleDateChangeOnForm:()=>D.QD_,hasIcon:()=>C.cE,i18n:()=>k.Ru,icons:()=>C.Pt,inferPickerType:()=>D.Pnr,interfacesOfUnsupportedDefaultValue:()=>B.lM,interfacesProperties:()=>h.q,isAssocField:()=>g.W0,isBulkEditAction:()=>D.PSc,isDeleteButtonDisabled:()=>h.WL,isFileCollection:()=>D.XOn,isInFilterFormBlock:()=>g.vc,isInitializersSame:()=>u.qt,isMobile:()=>D.FrL,isPatternDisabled:()=>B.h2,isSameCollection:()=>g.TQ,isShowFilePicker:()=>D.GmQ,isSystemField:()=>B.kr,isTabPage:()=>D.nKd,isTitleField:()=>_.ji,isVariable:()=>q.DZ,isWriteEmailAction:()=>D.cWk,itemsMerge:()=>Y.jz,joinCollectionName:()=>h.Sv,joinUrlSearch:()=>a.joinUrlSearch,languageCodes:()=>w.XK,lazy:()=>M.RZ,locale:()=>w.Ay,mapDatePicker:()=>D.x1p,mapRangePicker:()=>D.UTu,mapTimeFormat:()=>D.JDj,matchMimetype:()=>D._bM,mergeFilter:()=>g.Dj,mergePaginationClassName:()=>a.mergePaginationClassName,mockAPIClient:()=>z.a,moment2str:()=>D.msY,navigateToTab:()=>D.s23,navigateWithinSelf:()=>m.Ff,normalizeContainer:()=>u.Bv,openViewFlow:()=>a.openViewFlow,operators:()=>h.II,pageSettings:()=>D.fM,pageTabSettings:()=>D.uUT,parseCollectionName:()=>h.Hu,parseVariablesAndChangeParamsToQueryString:()=>m.iz,primaryKey:()=>h.ie,readPrettyFormSettings:()=>D.ud$,recordBlockInitializers:()=>Y.o$,recordBlockInitializers_deprecated:()=>Y.GA,recordPickerViewer:()=>h.mK,recursiveParent:()=>m.H2,reduceValueSize:()=>m.hu,registerIcon:()=>C.pU,registerIcons:()=>C.K1,registerInitializerMenusGenerator:()=>Y.LR,relationshipType:()=>h.B1,removeNullCondition:()=>D.pA3,replaceVariableValue:()=>m.WY,replaceVariables:()=>B.qk,requestParentRecordData:()=>_.$G,resolveFilterPickerFormat:()=>D.CEt,reverseFieldProperties:()=>h.Mw,schemaSettingsLabelLayout:()=>B.jN,setDataLoadingModeSettingsItem:()=>Q.qm,setDefaultSortingRulesSchemaSettingsItem:()=>B.ez,setTheDataScopeSchemaSettingsItem:()=>B.dh,shouldRenderIconInTitle:()=>T.Uc,showFileName:()=>er.FU,splitWrapSchema:()=>D.kBD,storePopupContext:()=>D.NVg,subTableActionInitializers:()=>Y.cj,subTableActionInitializers_deprecated:()=>Y.m,systemKeys:()=>B.Kg,tabPaneInitializers:()=>Y.fq,tabPaneInitializersForBulkEditFormBlock:()=>Y.BM,tabPaneInitializersForRecordBlock:()=>Y.C6,tabPaneInitializers_deprecated:()=>Y.DP,tableActionColumnInitializers:()=>X.Wf,tableActionColumnInitializers_deprecated:()=>X.Wd,tableActionInitializers:()=>X.kL,tableActionInitializers_deprecated:()=>X.Wc,tableBlockSettings:()=>X.Fe,tableColumnInitializers:()=>X.Cg,tableColumnInitializers_deprecated:()=>X.UH,tableColumnSettings:()=>X._s,tableSelectorBlockSettings:()=>Z.A,timeProps:()=>h.kg,titleField:()=>a.titleField,toToolsMap:()=>ec.f,transformFilter:()=>ed.transformFilter,transformToFilter:()=>g.SU,transformVariableValue:()=>q.Ap,tval:()=>k.ul,type:()=>h.NW,unique:()=>h.Am,updateFilterTargets:()=>m.Ez,updateFormActionInitializers:()=>J.Zg,updateFormActionInitializers_deprecated:()=>J.T,useACLActionParamsContext:()=>r.Zj,useACLContext:()=>r.bq,useACLFieldWhitelist:()=>r.xy,useACLRoleContext:()=>r.v6,useACLRolesCheck:()=>r.X0,useAPIClient:()=>s.VB,useAPITokenVariable:()=>B.ff,useAclSnippets:()=>u.K3,useActionAvailable:()=>Q.$R,useActionBarContext:()=>D.MIq,useActionContext:()=>D.D50,useAdminSchemaUid:()=>S.w,useAfterSuccessOptions:()=>D.bZ4,useAllAccessDesktopRoutes:()=>T.nr,useAllCollectionsInheritChainGetter:()=>_.LQ,useAllDataBlocks:()=>D.dWC,useApp:()=>u.nm,useAppLangContext:()=>i.IK,useAppSpin:()=>u.vk,useAriaAttributeOfMenuItem:()=>u.yb,useAssociatedFields:()=>g.ze,useAssociatedFormItemInitializerFields:()=>Y.aY,useAssociatedTableColumnInitializerFields:()=>Y.vP,useAssociationCreateActionProps:()=>m.Pj,useAssociationFieldContext:()=>D.G2C,useAssociationFieldModeContext:()=>D.Xjr,useAssociationFilterBlockProps:()=>m.UN,useAssociationFilterProps:()=>m.L1,useAssociationName:()=>_.UJ,useAssociationNames:()=>m.Ry,useAsyncData:()=>c.e6,useAttach:()=>D.TDH,useBackButton:()=>D.zEg,useBaseVariable:()=>B.de,useBlockAssociationContext:()=>m.Ps,useBlockConfigs:()=>p.oL,useBlockContext:()=>m.MX,useBlockHeight:()=>D.a97,useBlockHeightProps:()=>m.es,useBlockRequestContext:()=>m.J6,useBlockResource:()=>m.V0,useBlockTemplateContext:()=>N.kU,useBuiltinVariables:()=>q.c7,useBulkDestroyAction:()=>h.ZC,useBulkDestroyActionAndRefreshCM:()=>h.uq,useBulkDestroyActionProps:()=>m.Y0,useCancelAction:()=>h.Y7,useCloseAction:()=>D.GjU,useCollectValuesToSubmit:()=>m.TJ,useCollection:()=>_.Ge,useCollectionDataSource:()=>h.LF,useCollectionDataSourceItems:()=>Y.nG,useCollectionField:()=>_.E1,useCollectionFieldFormValues:()=>h.mY,useCollectionField_deprecated:()=>h.gp,useCollectionFields:()=>_.$h,useCollectionFieldsOptions:()=>h.Tt,useCollectionFilterOptions:()=>h.OU,useCollectionHistory:()=>h.W,useCollectionManager:()=>_.r2,useCollectionManager_deprecated:()=>h.nj,useCollectionParentRecord:()=>_.Vm,useCollectionParentRecordData:()=>_.vt,useCollectionRecord:()=>_.PD,useCollectionRecordData:()=>_.zv,useCollectionState:()=>B.lI,useCollection_deprecated:()=>h.k7,useCollections:()=>_.Xd,useColumnSchema:()=>D.BCL,useColumnSettings:()=>D.dbD,useCompatOldVariables:()=>B.aw,useCompile:()=>D.lum,useComponent:()=>D.xZI,useContextAssociationFields:()=>B.JV,useContextVariable:()=>q.Rr,useCreateActionProps:()=>m.wx,useCreateAssociationDetailsBlock:()=>Y.ug,useCreateAssociationDetailsWithoutPagination:()=>Y.Xr,useCreateAssociationFormBlock:()=>Y.MG,useCreateAssociationGridCardBlock:()=>Y.EC,useCreateAssociationListBlock:()=>Y.Q9,useCreateAssociationTableBlock:()=>Y.m5,useCreateEditFormBlock:()=>J.fi,useCreateFormBlock:()=>J.tH,useCreateTableBlock:()=>X.Hb,useCurrentAppInfo:()=>d.gL,useCurrentDocumentTitle:()=>f.er,useCurrentPageUid:()=>u.es,useCurrentPopupContext:()=>D.IX0,useCurrentPopupRecord:()=>ea.EZ,useCurrentRoleMode:()=>r.GL,useCurrentRoleVariable:()=>B.TV,useCurrentRoles:()=>O._N,useCurrentRoute:()=>T.K7,useCurrentSchema:()=>Y.oK,useCurrentSearchParams:()=>u.dT,useCurrentTabUid:()=>u.CR,useCurrentUserContext:()=>O.BW,useCurrentUserSettingsMenu:()=>O.Gg,useCurrentUserVariable:()=>B.oW,useCustomizeBulkUpdateActionProps:()=>m.qj,useCustomizeRequestActionProps:()=>m.Bq,useCustomizeUpdateActionProps:()=>m.Gb,useDataBlock:()=>_.$$,useDataBlockHeight:()=>D.mhY,useDataBlockParentRecord:()=>m.Q7,useDataBlockProps:()=>_.h6,useDataBlockRequest:()=>_._J,useDataBlockRequestData:()=>_.YE,useDataBlockRequestGetter:()=>_.ZK,useDataBlockResource:()=>_.jz,useDataLoadingMode:()=>Q.fY,useDataSource:()=>_.xw,useDataSourceFromRAC:()=>h.PN,useDataSourceHeaders:()=>_.TF,useDataSourceKey:()=>_.Mp,useDataSourceManager:()=>_.m6,useDataTemplates:()=>B.dF,useDatePickerContext:()=>D.nxV,useDateVariable:()=>B.Yv,useDatetimeVariable:()=>B.hY,useDatetimeVariableContext:()=>B.U$,useDeleteRouteSchema:()=>T.NH,useDesignable:()=>D.erX,useDesigner:()=>D.Hbp,useDestroyAction:()=>h.YZ,useDestroyActionAndRefreshCM:()=>h.uk,useDestroyActionProps:()=>m.eZ,useDetailsBlockContext:()=>m.gU,useDetailsBlockProps:()=>m.nw,useDetailsDecoratorProps:()=>Q.DM,useDetailsPaginationProps:()=>m.EV,useDetailsParentRecord:()=>Q.lJ,useDetailsProps:()=>Q.Yb,useDetailsWithPaginationBlockParams:()=>Q.lO,useDetailsWithPaginationDecoratorProps:()=>Q.Bd,useDetailsWithPaginationProps:()=>Q.ys,useDisassociateActionProps:()=>m.wY,useDocumentTitle:()=>f.rN,useDownloadLogs:()=>D.nu1,useEditTableActionProps:()=>m.Il,useEnsureOperatorsValid:()=>D.lhV,useExactDateVariable:()=>B.vm,useExactDateVariableContext:()=>B.gQ,useExtendCollections:()=>_.h_,useFieldComponentName:()=>x.qA,useFieldComponentOptions:()=>D.xB5,useFieldInterfaceOptions:()=>h.nO,useFieldMode:()=>D.J1,useFieldModeOptions:()=>D.jE9,useFieldNames:()=>D.gZ,useFieldProps:()=>D.OJX,useFieldTitle:()=>D.Us6,useFilterAPI:()=>g.eB,useFilterActionProps:()=>D.Um,useFilterBlock:()=>g.xZ,useFilterBlockActionProps:()=>m.B6,useFilterByTk:()=>m.E6,useFilterFieldOptions:()=>D.g9w,useFilterFieldProps:()=>D.yGk,useFilterOptions:()=>D.uwA,useFindComponent:()=>D.QIi,useFlag:()=>b._P,useFormActiveFields:()=>m.dW,useFormBlockContext:()=>m.Es,useFormBlockProps:()=>m.xp,useFormBlockType:()=>m.zE,useFormDataTemplates:()=>D.nlx,useFormFieldContext:()=>m.bt,useFormFieldProps:()=>m.U5,useFormItemInitializerFields:()=>Y.g_,useGetAriaLabelOfAction:()=>D.U8O,useGetAriaLabelOfDesigner:()=>B.$X,useGetAriaLabelOfDrawer:()=>D.HPy,useGetAriaLabelOfModal:()=>D.tO8,useGetAriaLabelOfPopover:()=>D.l2i,useGetFilterFieldOptions:()=>D.OqW,useGetFilterOptions:()=>D.wnJ,useGetSchemaInitializerMenuItems:()=>u.q9,useGlobalTheme:()=>y.my,useGlobalVariable:()=>u.$q,useGlobalVariableCtx:()=>u.i0,useGridContext:()=>D.ZB7,useGridRowContext:()=>D.FVw,useHistoryCollectionsByNames:()=>h.gV,useInheritsTableColumnInitializerFields:()=>Y.FJ,useInsertPageSchema:()=>et.rP,useIsAddNewForm:()=>D.TNL,useIsAdminPage:()=>u.MJ,useIsAllowToSetDefaultValue:()=>B.eT,useIsAssociationField:()=>D.xq$,useIsDetailBlock:()=>m.yH,useIsFieldReadPretty:()=>D.U5u,useIsFileField:()=>D.oAT,useIsFormReadPretty:()=>D.q7s,useIsInSettingsPage:()=>u.JY,useIsLoggedIn:()=>O.DB,useIsSameOrChildCollection:()=>B.j6,useIsSelectFieldMode:()=>D.jeY,useIsSubPageClosedByPageMenu:()=>u.ol,useKeepAlive:()=>T.Y,useKeepAliveLocationSearch:()=>D.xAQ,useLabelUiSchema:()=>D.RB3,useLazy:()=>M._P,useLinkActionProps:()=>m.Su,useLinkageAction:()=>D.LtX,useLinkageCollectionFilterOptions:()=>h.NU,useListBlockContext:()=>D.cl6,useLocalVariables:()=>q.gp,useLocalVariablesWithoutCustomVariable:()=>q.T_,useLocationNoUpdate:()=>u.zd,useLocationSearch:()=>u.$Q,useMenuDragEnd:()=>D.yt2,useMenuSearch:()=>Y.Fh,useMenuTranslation:()=>D.Qgm,useMobileLayout:()=>T.mY,useNavigateNoUpdate:()=>u.vx,useNocoBaseRoutes:()=>D.Ob5,useOpenModeContext:()=>eo.k,useOptionalFieldList:()=>m._q,useParamsFromRecord:()=>m.DQ,useParentCollection:()=>_.KY,useParentRecordCommon:()=>ee.M,useParentRoute:()=>D.TrS,useParseDataScopeFilter:()=>B.hJ,useParseURLAndParams:()=>m.Zj,useParsedFilter:()=>m.jY,usePickActionProps:()=>m.RH,usePlugin:()=>u.nu,usePopupSettings:()=>D.X43,usePopupUtils:()=>en.H,usePopupVariable:()=>B.GL,usePopupVariableContext:()=>B.hK,useProps:()=>D.YYe,useRecord:()=>I.pE,useRecordCollectionDataSourceItems:()=>Y.aU,useRecordIndex:()=>I.Hg,useRecordIsOwn:()=>I.BH,useRecordPkValue:()=>r.fr,useRefreshActionProps:()=>m.tG,useRefreshFieldSchema:()=>ei.o8,useRemoteCollectionManagerLoading:()=>h.RH,useRemoveActionProps:()=>m.Gg,useRemoveGridFormItem:()=>Y.l,useRequest:()=>s.bP,useRerenderDataBlock:()=>_.Kx,useResetBlockActionProps:()=>m.yE,useResource:()=>s.qK,useResourceActionContext:()=>h.br,useResourceContext:()=>h.xh,useRoleRecheck:()=>r.N5,useRoleVariable:()=>B._K,useRolesResourcesScopesSelectedRowKeys:()=>r.OV,useRouter:()=>u.rd,useRouterBasename:()=>u.$y,useSchemaComponentContext:()=>D.Fag,useSchemaInitializer:()=>u.fx,useSchemaInitializerItem:()=>u.eL,useSchemaInitializerMenuItems:()=>u.AK,useSchemaInitializerRender:()=>u.vt,useSchemaInitializerStyles:()=>u.Lm,useSchemaInitializerSubMenuContext:()=>u.Zk,useSchemaOptionsContext:()=>D.MqW,useSchemaSettings:()=>B.KR,useSchemaSettingsItem:()=>u.vr,useSchemaSettingsRender:()=>u.y$,useSchemaTemplate:()=>N.D$,useSchemaTemplateManager:()=>N.ov,useSchemaToolbar:()=>u.C5,useSchemaToolbarRender:()=>u.s6,useSortFields:()=>h.lY,useSourceId:()=>Q.YF,useSourceIdFromParentRecord:()=>m.hY,useSourceIdFromRecord:()=>m.ZC,useStyles:()=>D.ISS,useSupportedBlocks:()=>g.Uf,useSyncFromForm:()=>B.r3,useSystemSettings:()=>$.e6,useSystemSettingsVariable:()=>B.G,useTableBlockContext:()=>m.El,useTableBlockContextBasicValue:()=>m.Vb,useTableBlockDecoratorProps:()=>X.Av,useTableBlockParams:()=>X.Lu,useTableBlockProps:()=>X.ZI,useTableColumnInitializerFields:()=>Y.HG,useTableColumnIntegration:()=>D.i_r,useTableColumns:()=>m.XS,useTableFieldContext:()=>m.tt,useTableFieldProps:()=>m.cY,useTableSelectorContext:()=>m.K8,useTableSelectorProps:()=>m.fX,useTableSize:()=>D.LjE,useTabsContext:()=>D.f2z,useTemplateBlockContext:()=>m.yn,useTitleFieldOptions:()=>D.kDr,useToken:()=>E.K,useUIConfigurationPermissions:()=>r.uM,useURLAndHTMLSchema:()=>K.my,useURLSearchParamsCtx:()=>B.yu,useURLSearchParamsVariable:()=>B.hx,useUpdateActionProps:()=>m.f2,useUpdateCollectionActionAndRefreshCM:()=>h.ry,useUploadStyles:()=>D.dF1,useUserVariable:()=>B.vY,useValidateSchema:()=>D.doK,useValuesFromRecord:()=>h.Jn,useVariableOptions:()=>B._R,useVariableScope:()=>D.ami,useVariableScopeInfo:()=>q.g5,useVariables:()=>q.$l,useViewport:()=>S.k,useZIndexContext:()=>D.$5j,withDynamicSchemaProps:()=>H.T,withInitializer:()=>u.Vr,withSearchParams:()=>D.tXY,withSkeletonComponent:()=>V.t,zIndexContext:()=>D.Eaz}),o(37260),o(60339),o(65132),o(43017),o(38694),o(95836),o(26362),o(45814),o(29663),o(36519);var l=o(10691),n={};for(let e in l)0>["EditFormModel","PopupSubTableFormActionGroupModel","AddChildActionModel","InputFieldModel","PopupContextProvider","usePopupUtils","LinkActionModel","BlockModel","FormSubmitActionModel","joinUrlSearch","FilterFormBlockModel","FormActionGroupModel","RecordSelectFieldModel","DetailsCustomItemModel","GridModel","RefreshActionModel","CollectionBlockModel","DetailsBlockModel","JSActionModel","PopupActionModel","getUnknownCountPaginationTotal","openViewFlow","OpenModeProvider","FormAssociationFieldGroupModel","withDynamicSchemaProps","FilterFormItemModel","languageCodes","getVariableComponentWithScope","AssignFormModel","DisplayTextFieldModel","FilterActionModel","transformFilter","useOpenModeContext","SubTableColumnModel","ActionModel","BlockGridModel","FieldModel","CollectionActionGroupModel","DetailsGridModel","CollectionActionModel","AddNewActionModel","ActionSceneEnum","ClickableFieldModel","editMarkdownFlow","FormItem","useInsertPageSchema","ChildPageModel","getSimpleModePaginationClassName","dispatchEventDeep","VariablePopupRecordProvider","CreateFormModel","IsInNocoBaseRecursionFieldContext","FieldModelRenderer","DisplayTitleFieldModel","locale","DataBlockModel","ActionGroupModel","CodeEditorExtension","withSkeletonComponent","RecordActionGroupModel","SubTableFieldModel","titleField","SwitchLanguage","getPageMenuSchema","FilterGroup","UpdateRecordActionModel","CollectionFieldUISchemaProvider","FormGridModel","TableColumnModel","NocoBaseRecursionField","ChildPageTabModel","FormBlockModel","VariableFilterItem","RefreshComponentProvider","MockFlowModelRepository","fileSizeSetting","default","FilterBlockModel","useRefreshFieldSchema","DetailsItemModel","TextAreaWithContextSelector","CommonItemModel","FormActionModel","FormComponent","CodeEditor","SkeletonFallback","applyMobilePaginationProps","createCompactSimpleItemRender","TableBlockModel","RecordPickerContent","TableAssociationFieldGroupModel","FilterFormActionGroupModel","DisplaySubTableFieldModel","BlockSceneEnum","useCurrentPopupRecord","FormItemModel","DetailsAssociationFieldGroupModel","SchemaSettingsActionLinkItem","showFileName","useURLAndHTMLSchema","mergePaginationClassName"].indexOf(e)&&(n[e]=()=>l[e]);o.d(t,n);var a=o(13975),r=o(41906),i=o(51771),s=o(16211),d=o(94702),u=o(17157),c=o(13274),p=o(29594),m=o(18111),h=o(43288),x=o(53770),v=o(25739),_=o(28227),f=o(50255),g=o(65613),b=o(69575),y=o(79980),S=o(18226),k=o(7271),C=o(60430),M=o(88448),w=o(28601),F=o(21676),P=o(6997),j=o(76028),A=o(92627),I=o(41944),T=o(93160),D=o(82924),L=o(2046),Y=o(5101),R=o(18272),B=o(99300),N=o(96932),E=o(49948),$=o(86393),z=o(48245),O=o(84693),q=o(43923),H=o(80461),V=o(99847),U=o(24943),G=o(39315),K=o(1590),W=o(56250),J=o(12416),X=o(77526),Z=o(92452),Q=o(97173),ee=o(14696),et=o(52973),eo=o(38693),el=o(47851),en=o(84313),ea=o(39888),er=o(15701),ei=o(30644),es=o(504),ed=o(63526),eu=o(40854),ec=o(83249)},88448(e,t,o){o.d(t,{PE:()=>i,RZ:()=>d,_P:()=>u});var l=o(71178),n=o(51649),a=o(52793),r=o(77583);let i=Symbol("LAZY_COMPONENT_KEY"),s=new Map;function d(e){for(var t=arguments.length,o=Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];if(0===o.length){let t=(0,n.lazy)(()=>e().then(e=>{let t=e.default;return o[i]=t,{default:t}})),o=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(t,{...e})});return o}return o.reduce((t,o)=>{let s=(0,n.lazy)(()=>e().then(e=>{let l=(0,r.get)(e,o);return t[o][i]=l,{default:l}}));return t[o]=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(s,{...e})}),t},{})}function u(e,t){let o="function"==typeof t?t:e=>e[t],l=e.toString(),n=s.get(l);if(null==n?void 0:n.error)throw n.error;if(null==n?void 0:n.module)return o(n.module);if(!(null==n?void 0:n.promise)){let t=n||{};throw t.promise=e().then(e=>(t.module=e,e)).catch(e=>{throw t.error=e,e}),s.set(l,t),t.promise}throw n.promise}},28601(e,t,o){o.d(t,{At:()=>l,Ay:()=>a,XK:()=>n});let l={"ar-EG":"ar","az-AZ":"az","bg-BG":"bg","bn-BD":"bn-bd","by-BY":"en","ca-ES":"ca","cs-CZ":"cs","da-DK":"da","de-DE":"de","el-GR":"el","en-GB":"en-gb","en-US":"en","es-ES":"es","et-EE":"et","fa-IR":"fa","fi-FI":"fi","fr-BE":"fr","fr-CA":"fr","fr-FR":"fr","ga-IE":"ga","gl-ES":"gl","he-IL":"he","hi-IN":"hi","hr-HR":"hr","hu-HU":"hu","hy-AM":"hy-am","id-ID":"id","is-IS":"is","it-IT":"it","ja-JP":"ja","ka-GE":"ka","kk-KZ":"kk","km-KH":"km","kn-IN":"kn","ko-KR":"ko","ku-IQ":"ku","lt-LT":"lt","lv-LV":"lv","mk-MK":"mk","ml-IN":"ml","mn-MN":"mn","ms-MY":"ms","nb-NO":"nb","ne-NP":"ne","nl-BE":"nl-be","nl-NL":"nl","pl-PL":"pl","pt-BR":"pt-br","pt-PT":"pt","ro-RO":"ro","ru-RU":"ru","si-LK":"si","sk-SK":"sk","sl-SI":"sl","sr-RS":"sr","sv-SE":"sv","ta-IN":"ta","th-TH":"th","tk-TK":"tk","tr-TR":"tr","uk-UA":"uk","ur-PK":"ur","vi-VN":"vi","zh-CN":"zh-cn","zh-HK":"zh-hk","zh-TW":"zh-tw"},n={"ar-EG":{label:"العربية"},"az-AZ":{label:"Azərbaycan dili"},"bg-BG":{label:"Български"},"bn-BD":{label:"Bengali"},"by-BY":{label:"Беларускі"},"ca-ES":{label:"Сatal\xe0/Espanya"},"cs-CZ":{label:"Česky"},"da-DK":{label:"Dansk"},"de-DE":{label:"Deutsch"},"el-GR":{label:"Ελληνικά"},"en-GB":{label:"English(GB)"},"en-US":{label:"English"},"es-ES":{label:"Espa\xf1ol"},"et-EE":{label:"Estonian (Eesti)"},"fa-IR":{label:"فارسی"},"fi-FI":{label:"Suomi"},"fr-BE":{label:"Fran\xe7ais(BE)"},"fr-CA":{label:"Fran\xe7ais(CA)"},"fr-FR":{label:"Fran\xe7ais"},"ga-IE":{label:"Gaeilge"},"gl-ES":{label:"Galego"},"he-IL":{label:"עברית"},"hi-IN":{label:"हिन्दी"},"hr-HR":{label:"Hrvatski jezik"},"hu-HU":{label:"Magyar"},"hy-AM":{label:"Հայերեն"},"id-ID":{label:"Bahasa Indonesia"},"is-IS":{label:"\xcdslenska"},"it-IT":{label:"Italiano"},"ja-JP":{label:"日本語"},"ka-GE":{label:"ქართული"},"kk-KZ":{label:"Қазақ тілі"},"km-KH":{label:"ភាសាខ្មែរ"},"kn-IN":{label:"ಕನ್ನಡ"},"ko-KR":{label:"한국어"},"ku-IQ":{label:"کوردی"},"lt-LT":{label:"lietuvių"},"lv-LV":{label:"Latviešu valoda"},"mk-MK":{label:"македонски јазик"},"ml-IN":{label:"മലയാളം"},"mn-MN":{label:"Монгол хэл"},"ms-MY":{label:"بهاس ملايو"},"nb-NO":{label:"Norsk bokm\xe5l"},"ne-NP":{label:"नेपाली"},"nl-BE":{label:"Vlaams"},"nl-NL":{label:"Nederlands"},"pl-PL":{label:"Polski"},"pt-BR":{label:"Portugu\xeas brasileiro"},"pt-PT":{label:"Portugu\xeas"},"ro-RO":{label:"Rom\xe2nia"},"ru-RU":{label:"Русский"},"si-LK":{label:"සිංහල"},"sk-SK":{label:"Slovenčina"},"sl-SI":{label:"Slovenščina"},"sr-RS":{label:"српски језик"},"sv-SE":{label:"Svenska"},"ta-IN":{label:"Tamil"},"th-TH":{label:"ภาษาไทย"},"tk-TK":{label:"Turkmen"},"tr-TR":{label:"T\xfcrk\xe7e"},"uk-UA":{label:"Українська"},"ur-PK":{label:"Oʻzbekcha"},"vi-VN":{label:"Tiếng Việt"},"zh-CN":{label:"简体中文"},"zh-HK":{label:"繁體中文(香港)"},"zh-TW":{label:"繁體中文(台湾)"}},a=n},39315(e,t,o){o.d(t,{V:()=>v,i:()=>x});var l=o(71178),n=o(56220),a=o(56920);o(51649);var r=o(77843),i=o(44374),s=o(17157),d=o(38951),u=o(45036),c=o(43288),p=o(99300),m=o(1590),h=o(28227);let x=()=>{let e=(0,a.useField)(),t=(0,a.useFieldSchema)(),{dn:o}=(0,i.useDesignable)(),{t:s}=(0,r.useTranslation)(),{urlSchema:d,paramsSchema:u,openInNewWindowSchema:c}=(0,m.my)(),h=t["x-component-props"]||{},x={url:h.url,params:h.params||[{}],openInNewWindow:h.openInNewWindow};return(0,l.jsx)(p.fY,{title:s("Edit link"),components:{ArrayItems:n.ArrayItems},schema:{type:"object",title:s("Edit link"),properties:{url:{...d,required:!0},params:u,openInNewWindow:c}},onSubmit:l=>{let{url:n,params:a,openInNewWindow:r}=l;h.url=n,h.params=a,h.openInNewWindow=r,t["x-component-props"]=h,e.componentProps.url=n,e.componentProps.params=a,e.componentProps.openInNewWindow=r,o.emit("patch",{schema:{"x-uid":t["x-uid"],"x-component-props":h}}),o.refresh()},initialValues:x})},v=new d.R({name:"actionSettings:link",items:[{name:"editButton",Component:u.Yp,useComponentProps(){let{buttonEditorProps:e}=(0,s.C5)();return e}},{name:"editLink",Component:x},{name:"linkageRules",Component:p.f9,useComponentProps(){let{linkageRulesProps:e}=(0,s.C5)(),{association:t}=(0,h.h6)()||{},{getCollectionField:o}=(0,c.nj)();return o(t),{...e}}},p.Xh,{name:"remove",sort:100,Component:u.d0,useComponentProps(){let{removeButtonProps:e}=(0,s.C5)();return e}}]})},1590(e,t,o){o.d(t,{Iy:()=>m,my:()=>h});var l=o(71178),n=o(10691),a=o(56920),r=o(51649),i=o(77843),s=o(69412),d=o(41944),u=o(7122),c=o(96123),p=o(45560);let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o=>{let n=(0,a.useFieldSchema)(),{form:r}=(0,s.Es)(),i=(0,d.pE)(),u=(0,c._)({collectionField:{uiSchema:n},form:r,record:i,uiSchema:n,noDisabled:!0});return(0,l.jsx)(e,{...o,scope:t.concat(u).filter(Boolean)})}},h=()=>{let{t:e}=(0,i.useTranslation)(),t=(()=>{let e=(0,p.$)("$env"),t=(0,r.useMemo)(()=>e?JSON.stringify((e.children||[]).map(e=>({name:null==e?void 0:e.name,type:null==e?void 0:e.type,title:null==e?void 0:e.title}))):null,[e]),o=(0,r.useRef)(null),l=(0,r.useRef)(null);if(!e)return o.current=null,l.current=null,null;if(l.current!==t){let{children:n=[]}=e;o.current={...e,children:n.filter(e=>"default"===e.type)},l.current=t}return o.current})(),o=(0,r.useMemo)(()=>m(u.rT.TextArea,t?[t]:[]),[t]),l=(0,r.useMemo)(()=>({title:e("URL"),type:"string","x-decorator":"FormItem","x-component":o,description:e("Do not concatenate search params in the URL"),"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "html"}}'}}}}),[e,o]),a=(0,r.useMemo)(()=>({title:'{{t("Mode")}}',"x-component":"Radio.Group","x-decorator":"FormItem",default:"url",enum:[{value:"url",label:e("URL")},{value:"html",label:e("HTML")}]}),[e]),s=(0,r.useMemo)(()=>({title:e("html"),type:"string","x-decorator":"FormItem","x-component":m(u.rT.RawTextArea),"x-component-props":{rows:10},"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "url"}}'}}}}),[e]);return{urlSchema:l,paramsSchema:(0,r.useMemo)(()=>({type:"array","x-component":"ArrayItems","x-decorator":"FormItem",title:'{{t("Search parameters")}}',items:{type:"object",properties:{space:{type:"void","x-component":"Space","x-component-props":{style:{flexWrap:"nowrap",maxWidth:"100%"},className:(0,n.css)`
140
140
  & > .ant-space-item:first-child,
141
141
  & > .ant-space-item:last-child {
142
142
  flex-shrink: 0;
@@ -1013,7 +1013,7 @@ ${JSON.stringify(s,null,2)}`)},[j,F,w,S,y,V,t,M,C,R,o,B,z,U,O,q,Y]),K=(0,a.useCa
1013
1013
  &:hover {
1014
1014
  background-color: ${i.colorFillSecondary};
1015
1015
  }
1016
- `;return(0,a.jsxs)("div",{style:{maxHeight:300,overflowY:"auto"},children:[e.map(e=>(0,a.jsx)("div",{role:"option",onClick:()=>v(e.value),className:o,children:l(e.label)},e.value)),(0,a.jsx)(u.Divider,{style:{margin:"4px 0"}}),t.map(e=>(0,a.jsx)("div",{role:"option",className:o,onClick:()=>v(e.value),title:l(e.label),children:l(e.label)},e.value))]})}}),["past","next"].includes(null==t?void 0:t.type)&&[(0,a.jsx)(u.InputNumber,{value:null==t?void 0:t.number,onChange:e=>{o({...t,number:e})}},"number"),(0,a.jsx)(u.Select,{value:null==t?void 0:t.unit,style:{minWidth:130,maxWidth:140},onChange:e=>{o({...t,unit:e})},options:[{value:"day",label:n("Day")},{value:"week",label:n("Calendar week")},{value:"month",label:n("Calendar Month")},{value:"year",label:n("Calendar Year")}],popupMatchSelectWidth:!0},"unit")],((null==t?void 0:t.type)==="exact"||!(null==t?void 0:t.type))&&(0,a.jsx)(x,{...e})]})}},87382(e,t,o){o.d(t,{L1:()=>x,L3:()=>f,Pd:()=>h,Uq:()=>_,X_:()=>p,gB:()=>m});var l=o(71178),n=o(72741),a=o(38533),r=o(10691),i=o(56920),s=o(77583),d=o(51649),u=o(54969),c=o(95951);let p=(0,d.createContext)(null);p.displayName="DraggableContext";let m=(0,d.createContext)(null);m.displayName="SortableContext";let h=e=>{let{id:t,data:o,children:n}=e,r=(0,a.useDraggable)({id:t,data:o}),i=(0,a.useDroppable)({id:t,data:o}),s=(0,d.useMemo)(()=>({draggable:r,droppable:i}),[r,i]);return(0,l.jsx)(m.Provider,{value:s,children:n})},x=e=>{var t,o;let{component:l,overStyle:a,style:s,children:c,openMode:p,...h}=e,{token:x}=(0,u.rd)(),{draggable:v,droppable:_}=(0,d.useContext)(m),{isOver:f,setNodeRef:g}=_,b={...s},y=(0,i.useFieldSchema)(),S=(null==y?void 0:y["x-component"])==="Action.Link"||"a"===l;if(f&&(null==v||null==(t=v.active)?void 0:t.id)!==(null==_||null==(o=_.over)?void 0:o.id)){let e;b[S?"color":"background"]=(e=x.colorSettings,new n.TinyColor(e).setAlpha(.15).toHex8String()),Object.assign(b,a)}return d.default.createElement(l||"div",{role:"none",...h,className:(0,r.cx)("nb-sortable-designer",e.className),ref:g,style:b},c)},v=(0,i.observer)(e=>{var t,o;let n,a,r,{schema:s,id:u,eid:c,removeParentsIfNoChildren:p,...m}=(t=e,n=(0,i.useField)(),a=t.id?t.id:null==n||null==(o=n.address)?void 0:o.toString(),r=(0,i.useFieldSchema)(),e.schema?{...e,id:a}:{...e,id:a,schema:r}),v=(0,d.useMemo)(()=>{var e,t,o;return{insertAdjacent:"afterEnd",schema:(null==(t=s.parent)||null==(e=t.parent)?void 0:e["x-component"])==="BlockTemplate"?null==(o=s.parent)?void 0:o.parent:s,removeParentsIfNoChildren:p??!0}},[s,p]);return(0,l.jsx)(h,{id:u,data:v,children:(0,l.jsx)(x,{id:c,...m,children:e.children})})},{displayName:"InternalSortableItem"}),_=d.default.memo(e=>{let{component:t,...o}=e,{designable:n}=(0,c.er)();return n?(0,l.jsx)(v,{...e}):d.default.createElement(t||"div",s.default.omit(o,["children","schema","overStyle","openMode","id","eid","removeParentsIfNoChildren"]),e.children)});_.displayName="SortableItem";let f=e=>{let{draggable:t}=(0,d.useContext)(m)||{};if(!t)return null;let{attributes:o,listeners:n,setNodeRef:a}=t;return(0,l.jsx)("div",{style:{display:"inline-block",width:14,height:14,lineHeight:"14px",textAlign:"left"},children:(0,l.jsx)("div",{ref:a,style:{position:"relative",zIndex:1,lineHeight:0,fontSize:0,display:"inline-block"},...n,...o,role:"none",children:(0,l.jsx)("span",{style:{cursor:"move",fontSize:14},children:e.children})})})}},37845(e,t,o){o.d(t,{L1:()=>l.L1,L3:()=>l.L3,Pd:()=>l.Pd,Uq:()=>l.Uq,X_:()=>l.X_,gB:()=>l.gB});var l=o(87382)},59529(e,t,o){o.d(t,{KX:()=>p,_c:()=>h,a2:()=>f,bc:()=>c,rf:()=>u});var l=o(63526),n=o(77583),a=o(73761),r=o(839),i=o(59896),s=o(32665),d=o(64004);let u=(e,t)=>{var o;let l=null==e||null==(o=e.match)?void 0:o.call(e,/{{(.*?)}}/);if(!l)return e;{let e=n.default.get(t,l[1]);return n.default.isFunction(e)?e():e}};function c(e){if("object"!=typeof e||null===e)return null;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))if("[object Object]"===Object.prototype.toString.call(e[t])&&null!==e[t])return c(e[t]);else return{key:t,value:e[t]};return null}let p=e=>{let t,o=(t=[],!function e(o){Object.keys(o).sort().forEach(function(l){t.push(l),o[l]&&"object"==typeof o[l]&&e(o[l])})}(e),t),l=(0,n.findIndex)(o,(e,t,o)=>{if(e.includes("$")&&t>0)return!0});return o.slice(0,l)},m=async(e,t,o)=>{let l=(0,i.DZ)(e)?[t.parseVariable(e,o).then(e=>{let{value:t}=e;return t})]:[e];try{let[e]=await Promise.all(l);return e}catch(e){throw console.error("Error in parseVariableValue:",e),e}},h=async(e,t)=>{let{ruleGroup:o,variables:l,localVariables:a,variableNameOfLeftCondition:r,conditionType:i}=e,s=Object.keys(o)[0]||"$and",d=o[s]||[],u=await Promise.all(d.filter(Boolean).map(e=>x(e,l,a,r,i,t)));return"$and"===s?(0,n.every)(u,e=>e):!u.length||(0,n.some)(u,e=>e)},x=async(e,t,o,l,n,a)=>"$and"in e||"$or"in e?await h({ruleGroup:e,variables:t,localVariables:o,conditionType:n},a):"advanced"===n?v(e,t,o,a):_(e,t,o,l,a),v=async(e,t,o,l)=>{let n=e.op,a=await m(e.rightVar,t,o),r=await m(e.leftVar,t,o);return!n||l.apply({[n]:[r,a]})},_=async(e,t,o,n,a)=>{let r=c(e),u=null==r?void 0:r.key;if(!u)return!0;let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$nForm";return`{{ ${t}.${e.join(".")} }}`}(p(e),n),h=t.parseVariable(m,o,{doNotRequest:!0}).then(e=>{let{value:t}=e;return t}),x=(0,i.DZ)(null==r?void 0:r.value)?[t.parseVariable(null==r?void 0:r.value,o).then(e=>{let{value:t}=e;return t}),h]:[null==r?void 0:r.value,h];try{let[e,n]=await Promise.all(x),r=await t.getCollectionField(m,o),i=(0,s.A)(n,{targetCollectionField:r}),c=(0,s.A)(e,{targetCollectionField:r});if((null==r?void 0:r.type)&&["datetime","date","datetimeNoTz","dateOnly","unixTimestamp"].includes(r.type)&&i){let e=(0,d.Pn)(c),t=(0,l.getPickerFormat)(e);i=(0,l.dayjs)(i).format(t)}return a.apply({[u]:[i,c]})}catch(e){throw e}};async function f(e,t,o,n,i,s){if(t&&"handlebars"===e){l.Handlebars.registerHelper("t",function(e){if("string"==typeof e)return s(e,{ns:r.z})});try{var d,u;let e,a=t.replace(/{{\s*}}/g,'{{"{{}}"}}'),r=l.Handlebars.compile(a),s=(e={},n.map(t=>{e[t.name]=t.ctx}),e),{$nDate:c}=(null==o||null==(d=o.ctxRef)?void 0:d.current)||{},p={};Object.keys(c||{}).map(e=>{p[e]=c[e]()});let m=r({...null==o||null==(u=o.ctxRef)?void 0:u.current,...s,$nDate:p});return console.log(m),await i(m)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),console.log(t),t}}try{let e=await (0,a.replaceVariableValue)(t,o,n);return await i(e)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),t}}},84951(e,t,o){o.d(t,{A:()=>g});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44388),s=o(51275),d=o(22204),u=o(3012),c=o(52570),p=o(95951);let m={type:"void","x-component":"Action.Container","x-action":"view",title:'{{ t("View record") }}',"x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}};var h=o(49621),x=o(30644),v=o(39888);let _=e=>"Action.Container"===e["x-component"],f=e=>{let{WrappedComponent:t,...o}=e,i=(0,n.useFieldSchema)(),{openPopup:s}=(0,u.Hy)(),d=(0,r.useRef)(!1),c=(()=>{let e=(0,n.useFieldSchema)(),{insertAfterBegin:t}=(0,p.er)();return(0,r.useCallback)(o=>{e.reduceProperties((e,t)=>"Action.Container"===t["x-component"]?t:e,null)||t((0,a.cloneDeep)(o))},[e,t])})(),h=(0,r.useRef)(i);h.current=i;let x=(0,r.useRef)(c);x.current=c;let v=(0,r.useRef)(s);v.current=s;let _=(0,r.useCallback)(()=>h.current,[]),f=(0,r.useCallback)(()=>{h.current.properties||(x.current(m),d.current=!0),d.current?(setTimeout(()=>{v.current({customActionSchema:_()})}),d.current=!1):h.current.properties&&v.current()},[_]),g=(0,r.useMemo)(()=>(0,a.debounce)(f,600,{leading:!0,trailing:!1}),[f]);return(0,r.useEffect)(()=>()=>{g.cancel()},[g]),(0,l.jsx)("a",{onClick:g,children:(0,l.jsx)(t,{...o})})};function g(e){return t=>{let[o,a]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),g=(0,h.Ge)(),b=(0,s.D5)(),y=(0,n.useField)(),S=(0,n.useFieldSchema)(),{enableLink:k,openMode:C,openSize:M}=(null==S?void 0:S["x-component-props"])||{},{visibleWithURL:w,setVisibleWithURL:F}=(0,u.Hy)(),P=(0,r.useCallback)(e=>{null==a||a(e),null==F||F(e)},[F]);(0,r.useRef)(S).current=S;let{setSubmitted:j}=b;return k?(0,l.jsx)(i.OC,{visible:!1,children:(0,l.jsxs)(d.z4,{button:(0,l.jsx)(e,{...t}),visible:o||w,setVisible:P,formValueChanged:p,setFormValueChanged:m,openMode:C,openSize:M,containerRefKey:"field-popup",fieldSchema:S,setSubmitted:j,children:[(0,l.jsx)(h.Yz,{name:g.name,children:(0,l.jsx)(c.t,{children:(0,l.jsx)(v.P3,{children:(0,l.jsx)(x.dw,{onlyRenderProperties:!0,basePath:null==y?void 0:y.address,schema:S,filterProperties:_})})})}),(0,l.jsx)(f,{...t,WrappedComponent:e})]})}):(0,l.jsx)(e,{...t})}}},63557(e,t,o){o.d(t,{u:()=>l});let l=(0,o(51649).createContext)({});l.displayName="SchemaComponentContext.Provider"},71915(e,t,o){o.d(t,{O:()=>u});var l=o(71178),n=o(44814),a=o(56920),r=o(51649),i=o(52570);let s=e=>{let{children:t,form:o,...n}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components};return(0,l.jsx)(a.FormProvider,{...n,form:o,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},d=e=>{let{children:t,...o}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components},p=(0,r.useMemo)(()=>(0,n.createForm)(),[]);return(0,l.jsx)(a.FormProvider,{...o,form:p,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},u=e=>e.form?(0,l.jsx)(s,{...e}):(0,l.jsx)(d,{...e})},86073(e,t,o){o.d(t,{D:()=>x});var l=o(71178),n=o(44814),a=o(56920),r=o(52793),i=o(51649),s=o(43353);o(67285);var d=o(16319),u=o(71915),c=o(93726),p=o(16211);let m=e=>e,h=e=>{let{noForm:t,onlyRenderProperties:o,hidden:h,scope:x,uid:v,components:_,onSuccess:f,NotFoundPage:g,schemaTransform:b=m,onPageNotFind:y}=e,S=(0,i.useMemo)(()=>(0,n.createForm)(),[v]),{schema:k,loading:C}=(e=>{let{uid:t,type:o="getJsonSchema",onSuccess:l}=e,n={url:`/uiSchemas:${o}/${t}`},{data:a,loading:r}=(0,p.bP)(n,{refreshDeps:[t],onSuccess(e){l&&l(e)}});return{schema:null==a?void 0:a.data,loading:r}})({uid:v,type:o?"getProperties":"getJsonSchema",onSuccess:e=>{f&&f(e)}}),M=(0,d.xZ)(g),w=(0,s.RH)(),F=(0,a.useFieldSchema)(),P=(0,i.useMemo)(()=>b(k||{}),[k,b]),j=!k||0===Object.keys(k).length;return((0,i.useEffect)(()=>{w||C||h||!j||!y||y()},[w,h,C,y,j]),w||C||h)?(0,l.jsx)(r.Spin,{style:{width:"100%",marginTop:20},delay:void 0}):j?M?(0,l.jsx)(M,{}):null:t?(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F}):(0,l.jsx)(u.O,{form:S,children:(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F})})},x=(0,i.memo)(e=>e.uid?(0,l.jsx)(h,{...e}):null);x.displayName="RemoteSchemaComponent"},93726(e,t,o){o.d(t,{D:()=>c,H:()=>h});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(30644),s=o(63557),d=o(52570);function u(e){return n.Schema.isSchemaInstance(e)?e:new n.Schema((null==e?void 0:e.name)?{type:"object",properties:{[e.name]:e},name:`p_${e.name}`}:e)}let c=(0,r.createContext)({onChange:a.default.noop}),p=(0,r.memo)(e=>{let{components:t,scope:o,schema:n,distributed:p,onChange:m,parentSchema:h,...x}=e,v=(0,r.useContext)(s.u),_=(0,r.useMemo)(()=>u(n),[n]),f=(0,r.useMemo)(()=>({...v,distributed:!1!=v.distributed&&p,refresh:v.refresh||a.default.noop}),[v,p]),{onChange:g}=(0,r.useContext)(c),b=(0,r.useMemo)(()=>({onChange:()=>{null==m||m(_),null==g||g()}}),[m,g,_]);return(0,l.jsx)(c.Provider,{value:b,children:(0,l.jsx)(s.u.Provider,{value:f,children:(0,l.jsx)(d.t,{inherit:!0,components:t,scope:o,children:(0,l.jsx)(i.dw,{...x,schema:_,isUseFormilyField:!0,parentSchema:h})})})})});p.displayName="RecursionSchemaComponent";let m=(0,r.memo)(e=>{let{schema:t,parentSchema:o,...n}=e,a=(0,r.useMemo)(()=>u(t),[]);return(0,l.jsx)(p,{...n,schema:a,parentSchema:o})});m.displayName="MemoizedSchemaComponent";let h=(0,r.memo)(e=>{let{memoized:t,...o}=e;return t?(0,l.jsx)(m,{...o}):(0,l.jsx)(p,{...o})});h.displayName="SchemaComponent"},52570(e,t,o){o.d(t,{M:()=>r,t:()=>i});var l=o(71178),n=o(56920),a=o(51649);let r=()=>(0,a.useContext)(n.SchemaOptionsContext)||{},i=(0,a.memo)(e=>{let{children:t}=e,o=r(),i=(0,a.useMemo)(()=>({...o.components,...e.components}),[o.components,e.components]),s=(0,a.useMemo)(()=>({...o.scope,...e.scope}),[o.scope,e.scope]),d=(0,a.useMemo)(()=>({scope:s,components:i}),[s,i]);return(0,l.jsx)(n.SchemaOptionsContext.Provider,{value:d,children:(0,l.jsx)(n.SchemaComponentsContext.Provider,{value:i,children:(0,l.jsx)(n.ExpressionScope,{value:s,children:t})})})});i.displayName="SchemaComponentOptions"},90995(e,t,o){o.d(t,{OA:()=>P,DY:()=>v.D,GD:()=>A,Do:()=>_.D,Mq:()=>f.M,t6:()=>f.t,Hv:()=>_.H,Op:()=>x.O,N3:()=>h});var l=o(71178),n=o(82113),a=o(52793),r=o(51649),i=o(77843),s=o(82924),d=o(49948),u=o(90236),c=o(504);let p={backgroundColor:"var(--colorSettings) !important"},m={backgroundColor:"transparent"},h=e=>{let{designable:t,setDesignable:o}=(0,s.erX)(),{t:r}=(0,i.useTranslation)(),{token:h}=(0,d.K)(),{isMobileLayout:x}=(0,u.mY)(),v=(0,c.useFlowEngine)();return((0,ec.useHotkeys)("Ctrl+Shift+U",()=>o(!t),[t]),x)?null:(0,l.jsx)(a.Tooltip,{title:r("UI Editor"),children:(0,l.jsx)(a.Button,{"data-testid":"ui-editor-button",icon:(0,l.jsx)(n.HighlightOutlined,{style:{color:h.colorTextHeaderMenu}}),title:r("UI Editor"),style:{...t?p:m,...e.style},onClick:async()=>{let e=!t;o(e),x||!e?await v.flowSettings.disable():await v.flowSettings.enable()}})})};var x=o(71915),v=o(86073),_=o(93726),f=o(52570),g=o(44814),b=o(56920),y=o(27404),S=o(77583),k=o(63557),C=o(17157);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${(0,y.uid)()}`};b.Schema.silent(!0);let w={},F={silent:!0,compile(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=()=>{if(!F.silent)return Function("$root",`with($root) { return (${e}); }`)(t);try{return Function("$root",`with($root) { return (${e}); }`)(t)}catch{return`{{${e}}}`}};return w[e]?w[e]:e.trim().startsWith("t(")?(w[e]=o(),w[e]):o()}};b.Schema.registerCompiler(F.compile);let P=e=>{let{designable:t,onDesignableChange:o,components:n,children:a}=e,s=(0,r.useContext)(k.u),d=(0,f.M)(),[u,c]=(0,r.useState)(()=>(0,y.uid)()),p=(0,r.useMemo)(()=>e.form||(0,g.createForm)(),[u]),{t:m}=(0,i.useTranslation)(),h=(0,C.nm)(),x=(0,r.useMemo)(()=>({...e.scope,t:m,randomString:M}),[e.scope,m,null==d?void 0:d.scope]),[v,_]=(0,r.useState)(t),w=(0,r.useMemo)(()=>"boolean"==typeof t?t:v,[t,v,s.designable]),F=(0,r.useMemo)(()=>e=>{"boolean"!=typeof w&&_(e),null==o||o(e)},[w,o]);(0,r.useEffect)(()=>{let e=!1;return(async()=>{var t,o,l,n;if(!w)return await (null==(o=h.flowEngine)||null==(t=o.flowSettings)?void 0:t.disable());e||await (null==(n=h.flowEngine)||null==(l=n.flowSettings)?void 0:l.enable())})(),()=>{e=!0}},[h,w]);let P=(0,r.useCallback)(()=>{c((0,y.uid)())},[]),j=(0,r.useMemo)(()=>({scope:x,components:n,reset:P,refresh:S.default.noop,designable:w,setDesignable:F}),[n,w,P,x,F]);return(0,l.jsx)(k.u.Provider,{value:j,children:(0,l.jsx)(b.FormProvider,{form:p,children:(0,l.jsx)(f.t,{inherit:!0,scope:x,components:n,children:a})})})};P.displayName="SchemaComponentProvider";var j=o(83468);class A extends j.k{async load(){this.addComponents()}addComponents(){this.app.addComponents({DesignableSwitch:h})}}},16319(e,t,o){o.d(t,{Us:()=>_,TD:()=>n,F:()=>c.F,px:()=>i.px,QI:()=>i.QI,d1:()=>i.d1,xB:()=>h,YY:()=>f.Y,Lj:()=>g.Lj,er:()=>i.er,xZ:()=>r.x,OJ:()=>u,mh:()=>g.mh,lu:()=>a.l,kB:()=>i.kB,Hb:()=>s.H,a9:()=>g.a9,jE:()=>b.j});var l=o(51649);let n=e=>{let t=(0,l.useRef)(null);return(0,l.useEffect)(()=>(t.current&&e!==t.current&&t.current.onUnmount(),t.current=e,e.onMount(),()=>{e.onUnmount()}),[e]),e};var a=o(61013),r=o(57619),i=o(95951),s=o(87463),d=o(56920);let u=e=>{let t=(0,l.useContext)(d.SchemaOptionsContext),o=(0,l.useContext)(d.SchemaExpressionScopeContext),n=(0,l.useRef)();return n.current=o,e.toFieldProps({...t,get scope(){return{...t.scope,...n.current}}})};var c=o(39247),p=o(77843),m=o(43288);let h=()=>{var e;let{getCollectionJoinField:t,getCollection:o}=(0,m.nj)(),n=(0,d.useFieldSchema)(),{getField:a}=(0,m.k7)(),r=a(n.name)||t(n["x-collection-field"]),{t:i}=(0,p.useTranslation)(),{label:s}=(null==(e=n["x-component-props"])?void 0:e.fieldNames)||{};return(0,l.useMemo)(()=>{if(!r||!(null==r?void 0:r.interface)||!["o2o","oho","obo","o2m","linkTo","m2o","m2m"].includes(r.interface))return;let e=o(r.target);if((null==e?void 0:e.template)==="file")return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];switch(r.interface){case"o2m":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subtable"),value:"TableField"},{label:i("Select"),value:"AssociationSelect"}];case"m2o":case"m2m":case"linkTo":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];default:return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subform"),value:"FormField"},{label:i("Select"),value:"AssociationSelect"}]}},[i,null==r?void 0:r.interface,s])};var x=o(26174),v=o(49621);let _=()=>{var e;let t=(0,d.useField)(),o=(0,d.useFieldSchema)(),n=(0,v.Ge)(),r=(0,x.r2)(),i=(null==n?void 0:n.getField(o.name))||(null==r?void 0:r.getCollectionField(o["x-collection-field"])),s=(0,a.l)();(0,l.useEffect)(()=>{if(!(null==t?void 0:t.title)){var e;t.title=s(null==i||null==(e=i.uiSchema)?void 0:e.title)}},[null==i||null==(e=i.uiSchema)?void 0:e.title])};var f=o(4922),g=o(62152),b=o(81547)},62152(e,t,o){o.d(t,{Lj:()=>f,a9:()=>_,mh:()=>v});var l=o(56920),n=o(71883),a=o(52793),r=o(77583),i=o(51649),s=o(38356),d=o(95951),u=o(44374),c=o(73761),p=o(70892),m=o(38131);let h=e=>{let t=g((0,l.useFieldSchema)()),o=(e=>{var t,o,l,n;let{token:r}=a.theme.useToken(),{designable:i}=(0,d.er)(),{heightProps:u}=(0,c.useBlockHeightProps)(),p=(0,s.useLocation)(),{disablePageHeader:m,enablePageTabs:h,hidePageTitle:x}=e||u||{},v=r.sizeXXL-2,_=i?r.controlHeight+2*r.paddingContentHorizontalLG:+r.paddingContentHorizontalLG;return v+(t=m,o=h,l=x,n=r,p.pathname.includes("/popups/")?2*n.paddingContentVertical+22+n.paddingPageVertical:t?n.paddingContentHorizontalLG:l?o?n.controlPaddingHorizontal+3*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.paddingContentHorizontalLG+12:o?n.paddingSM+n.controlHeight+n.marginXS+2*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.controlHeight+n.marginXS+(n.paddingContentVertical+2)*2+n.paddingContentHorizontalLG)+_})(e),n=(()=>{let{token:e}=a.theme.useToken(),{designable:t}=(0,d.er)();return e.paddingContentVerticalLG+e.margin+2*e.paddingContentVertical+24+(t?e.controlHeight+2*e.paddingContentHorizontalLG:+e.paddingContentHorizontalLG)})();return t?n:o},x=["workflowManualTasks","approvals","approvalRecords"],v=e=>{let{heightProps:t}=(0,c.useBlockHeightProps)(),o=h(),{heightMode:l,height:n,title:a,titleHeight:r}=t||{};if((null==t?void 0:t.heightMode)&&l!==m.D.DEFAULT){if(l===m.D.FULL_HEIGHT){let t=window.innerHeight-o;return(null==e?void 0:e.removeBlockHeaderHeight)&&(t-=a?r:0),(null==e?void 0:e.innerExtraHeight)&&(t-=e.innerExtraHeight),t}return n}},_=()=>{let e=(0,l.useFieldSchema)(),t=(0,i.useMemo)(()=>(0,c.getPageSchema)(e),[]),{disablePageHeader:o,enablePageTabs:n,hidePageTitle:a}=(null==t?void 0:t["x-component-props"])||{},r={...null==e?void 0:e["x-component-props"],disablePageHeader:o,enablePageTabs:n,hidePageTitle:a},s=h(r),{heightMode:d,height:u}=r||{};if((null==r?void 0:r.heightMode)&&d!==m.D.DEFAULT)return d===m.D.FULL_HEIGHT?window.innerHeight-s:u},f=()=>{let[e,t]=(0,i.useState)(),o=(0,i.useRef)(null),s=(()=>{var e;let{token:t}=a.theme.useToken(),{heightProps:o}=(0,c.useBlockHeightProps)(),{heightProps:n}=(0,p.El)(),{designable:r}=(0,d.er)(),i=(0,l.useFieldSchema)(),s=n||o,{titleHeight:v}=o,_=h(s),{name:f}=(0,u.useCollection)(),{heightMode:g,height:b,title:y}=s;if(!(null==s?void 0:s.heightMode)||g===m.D.DEFAULT)return;let S=Object.keys((null==(e=i.parent.properties.actions)?void 0:e.properties)||{}).length>0,k=t.controlHeight+t.padding+t.marginLG,C=S||r?t.controlHeight+2*t.marginLG:t.marginLG,M=(r&&!x.includes(f)?t.controlHeight:22)+2*t.padding+1,w=y?v:0;return g===m.D.FULL_HEIGHT?window.innerHeight-_-w-M-C-k:b-w-C-M-k})(),v=(0,i.useCallback)((0,r.debounce)(()=>{var e;if(!o.current)return;let l=o.current.getBoundingClientRect();(null==(e=o.current.querySelector(".ant-table"))?void 0:e.getBoundingClientRect())&&t(l.width)},100),[s]),_=(0,i.useCallback)(e=>{o.current=e&&e.children?e.children[0]:null,v()},[v]);return(0,n.useEventListener)("resize",v),{height:s,width:e,tableSizeRefCallback:_}},g=e=>{if(!e)return null;if("Action.Container"===e["x-component"]){var t,o;return(null==e||null==(o=e.parent)||null==(t=o["x-component-props"])?void 0:t.openMode)!=="page"}return g(e.parent)}},61013(e,t,o){o.d(t,{l:()=>r});var l=o(56920),n=o(51649);let a={},r=function(){let{noCache:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{noCache:!1},t=(0,n.useContext)(l.SchemaOptionsContext),o=(0,n.useContext)(l.SchemaExpressionScopeContext);return(r,i)=>{var s,d;let u,c=!1;if("string"==typeof r&&r.startsWith("{{")&&(c=!0,u=r),r&&"object"==typeof r&&!(0,n.isValidElement)(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];s=u,c=/{{.*?}}/g.test(s)}if(Array.isArray(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];d=u,c=/{{.*?}}/g.test(d)}if(c){let n={...null==t?void 0:t.scope,...o,...i};if(!u)return l.Schema.compile(r,n);try{if(e)return l.Schema.compile(r,n);return a[u]=a[u]||l.Schema.compile(r,n),a[u]}catch(e){return console.log("useCompile error",r,e),l.Schema.compile(r,n)}}return r}}},57619(e,t,o){o.d(t,{x:()=>r});var l=o(56920),n=o(77583),a=o(51649);let r=(e,t)=>{let{components:o}=(0,a.useContext)(l.SchemaOptionsContext);return e?"string"!=typeof e?e:(0,n.get)(o,e)||t:t}},95951(e,t,o){o.d(t,{er:()=>F,px:()=>g,QI:()=>w,d1:()=>M,kB:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(52793),s=o(13791),d=o(93656),u=o(20148),c=o(51649),p=o(77843),m=o(16211),h=o(30644),x=o(88448),v=o(63557),_=JSON.parse('{"rE":"2.2.0-beta.6"}'),f=o(13975);function g(e){return new M(e)}let b=e=>{e&&(e["x-uid"]||(e["x-uid"]=(0,a.uid)()),Object.keys(e.properties||{}).forEach(t=>{b(e.properties[t])}))},y=e=>e,S=(e,t)=>{if(e&&t){for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&t[o]!==(null==e?void 0:e[o]))return!1;return!0}},k=(e,t)=>{if(e["x-uid"]&&e["x-uid"]===t["x-uid"])return[null,e.toJSON()];let o=e.toJSON(),l={...o,properties:{}},n=null,a=(e,o)=>{Object.keys(e||{}).forEach(l=>{let r=e[l];if(r["x-uid"]===t["x-uid"]){n=e[l];return}o.properties[l]={...r,properties:{}},a(null==r?void 0:r.properties,o.properties[l])})};return a(o.properties,l),[l,n]},C=e=>e;class M{get model(){return this.options.model}get query(){return this.options.query}loadAPIClientEvents(){let{api:e,t=C}=this.options;if(!e)return;let o=e=>{if(!e)return[];let t=Object.values(e.properties).length,o=[];return(e.mapProperties(e=>{e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].width=100/t,e["x-uid"]&&o.push({"x-uid":e["x-uid"],"x-component-props":e["x-component-props"]})}),e["x-uid"]&&o.length)?o:[]};this.on("insertAdjacent",async l=>{var n;let{onSuccess:a,current:r,position:s,schema:d,wrap:u,wrapped:c,removed:p}=l,m=[];if((null==c?void 0:c["x-component"])==="Grid.Col"&&(m=m.concat(o(c.parent))),(null==p?void 0:p["x-component"])==="Grid.Col"&&(m=m.concat(o(p.parent))),this.refresh(),!r["x-uid"])return;let h=await e.request({url:`/uiSchemas:insertAdjacent/${r["x-uid"]}?position=${s}`,method:"post",data:{schema:function e(t,o){if(t)return t["x-app-version"]||(t["x-app-version"]=o),Object.keys(t.properties||{}).forEach(l=>{var n;e(null==(n=t.properties)?void 0:n[l],o)}),t}(d,this.appVersion),wrap:u}});m.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:m}),(null==p?void 0:p["x-uid"])&&await e.request({url:`/uiSchemas:remove/${p["x-uid"]}`,method:"post"}),null==a||a(null==h||null==(n=h.data)?void 0:n.data),i.message.success(t("Saved successfully"),.2)}),this.on("patch",async o=>{let{schema:l}=o;this.refresh(),(null==l?void 0:l["x-uid"])&&(await e.request({url:"/uiSchemas:patch",method:"post",data:{...l}}),i.message.success(t("Saved successfully"),.2))}),this.on("initializeActionContext",async t=>{let{schema:o}=t;(null==o?void 0:o["x-uid"])&&await e.request({url:"/uiSchemas:initializeActionContext",method:"post",data:{...o}})}),this.on("batchPatch",async o=>{let{schemas:l}=o;this.refresh(),await e.request({url:"/uiSchemas:batchPatch",method:"post",data:l}),i.message.success(t("Saved successfully"),.2)}),this.on("remove",async l=>{let{removed:n}=l,a=[];(null==n?void 0:n["x-component"])==="Grid.Col"&&(a=o(n.parent)),this.refresh(),(null==n?void 0:n["x-uid"])&&(await e.request({url:`/uiSchemas:remove/${n["x-uid"]}`,method:"post"}),a.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:a}),i.message.success(t("Saved successfully"),.2))})}prepareProperty(e){e.type||(e.type="void"),e.name||(e.name=(0,a.uid)()),this.current["x-uid"]&&b(e)}on(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}async emit(e){for(var t=arguments.length,o=Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];if(!this.events[e])return;let[n,...a]=o;return Promise.all(this.events[e].map(e=>e.bind(this)({current:this.current,...n},...a)))}parentsIn(e){if(!e||!n.Schema.isSchemaInstance(e))return!1;let t=this.current;for(;null==t?void 0:t.parent;){if(t.parent===e)return!0;t=t.parent}return!1}refresh(e){let{refresh:t}=this.options;return null==t?void 0:t(e)}deepMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly"},o={"x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(l=>{t[l]?(this.current[l]=e[l],this.updateModel(t[l],e[l])):o[l]?Object.keys(e[l]).forEach(t=>{(0,u.default)(this.current,[l,t],e[l][t]),this.updateModel([o[l],t],e[l][t])}):this.current[l]=e[l]}),this.emit("patch",{schema:e})}getSchemaAttribute(e,t){return(0,d.default)(this.current,e,t)}shallowMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly","x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(o=>{this.current[o]=e[o],t[o]&&this.updateModel(t[o],e[o])}),this.emit("patch",{schema:e})}updateModel(e,t){let o=o=>{(0,u.default)(o,e,t)};this.model&&o(this.model),this.query&&this.query.take(o)}insertAdjacent(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};switch(e){case"beforeBegin":return this.insertBeforeBegin(t,o);case"afterBegin":return this.insertAfterBegin(t,o);case"beforeEnd":return this.insertBeforeEnd(t,o);case"afterEnd":return this.insertAfterEnd(t,o)}}recursiveRemoveIfNoChildren(e,t){let o;if(!e)return;let l=e,n=null==t?void 0:t.breakRemoveOn;for(;l;){if("function"==typeof n){if(n(l))break}else if(S(l,n))break;if(Object.keys(l.properties||{}).length>0)break;l.parent&&(o=l.parent.removeProperty(l.name)),l=l.parent}return o}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return this.emit("remove",{removed:a})}removeWithoutEmit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return a}insertBeforeBeginOrAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current)||!n.Schema.isSchemaInstance(e)||this.current.parent!==e.parent)return;let o=0,l=0;return this.current.parent.mapProperties((t,n,a)=>{this.current.name===n&&(l=a),e.name===n&&(o=a)}),o>l?this.insertBeforeBegin(e,t):this.insertAfterEnd(e,t)}insertBeforeBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=!1,c=0,p=0;this.current.parent.mapProperties((e,t)=>{t===this.current.name&&(p=c,u=!0,++c),e["x-index"]=c,++c,u&&(d[t]=e,this.current.parent.removeProperty(t))}),this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h["x-index"]=p,h.parent=this.current.parent,this.current.parent.setProperties(d);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"beforeBegin",schema:v,wrapped:m,wrap:x,...o})}insertAfterBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=1;this.current.mapProperties((e,t)=>{e["x-index"]=u,++u,d[t]=e}),this.current.properties={},this.prepareProperty(e);let c=l(e),p=this.current.addProperty(c.name||(0,a.uid)(),c);p["x-index"]=0,p.parent=this.current,this.current.setProperties(d);let[m,h]=k(p,e);this.emit("insertAdjacent",{position:"afterBegin",schema:h,wrap:m,wrapped:c,...o})}insertBeforeEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;delete e["x-index"];let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let d=l(e),u=this.current.addProperty(d.name||(0,a.uid)(),d);u.parent=this.current;let[c,p]=k(u,e);return this.emit("insertAdjacent",{position:"beforeEnd",schema:p,wrap:c,wrapped:d,...o})}insertAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:null==t?void 0:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t,d=0,u=0,c=!1,p={};if(this.current.parent.mapProperties((e,t)=>{e["x-index"]=d,t===this.current.name&&(u=++d,c=!0),++d,c&&t!==this.current.name&&(p[t]=e,this.current.parent.removeProperty(t))}),n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r})),e.parent=null}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h.parent=this.current.parent,h["x-index"]=u,this.current.parent.setProperties(p);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"afterEnd",schema:v,wrap:x,wrapped:m,...o})}constructor(e){this.events={},this.options=e,this.current=e.current,this.appVersion=e.appVersion}}function w(){let e=(0,c.useContext)(n.SchemaOptionsContext),t=(0,c.useMemo)(()=>(null==e?void 0:e.components)||{},[e]);return e=>{if(!e)return null;if("string"!=typeof e)return e;let o=(0,d.default)(t,e);return o||console.error(`[nocobase]: Component "${e}" not found`),o}}function F(){let{designable:e,setDesignable:t,refresh:o,reset:a}=(0,c.useContext)(v.u),i=(0,c.useContext)(n.SchemaOptionsContext),s=(0,c.useMemo)(()=>(null==i?void 0:i.components)||{},[i]),b=(0,c.useMemo)(()=>()=>(0,l.jsx)(l.Fragment,{}),[]),y=(0,r.useUpdate)(),S=(0,h.o8)(),k=(0,h.cQ)(),C=(0,c.useCallback)(e=>{null==o||o(),y(),null==S||S(e),null==k||k()},[o,y,S,k]),M=(0,n.useField)(),w=(0,n.useFieldSchema)(),F=(0,m.VB)(),{t:P}=(0,p.useTranslation)(),j=(0,c.useMemo)(()=>g({t:P,api:F,refresh:C,current:w,model:M,appVersion:_.rE}),[P,F,C,w,M]);(0,c.useEffect)(()=>{j.loadAPIClientEvents()},[j]);let{isMobileLayout:A}=(0,f.useMobileLayout)();return{dn:j,designable:!A&&e,reset:a,refresh:C,setDesignable:t,DesignableBar:b,findComponent:(0,c.useCallback)(e=>{if(!e)return null;if("string"!=typeof e)return e;let t=(0,d.default)(s,e);return(null==t?void 0:t[x.PE])??t},[d.default]),on:j.on.bind(j),patch:(0,c.useCallback)((e,t)=>{let o=e=>{Object.keys(e).forEach(t=>{let o=e[t];"title"===t&&(M.title=o,w.title=o),"x-decorator-props"===t&&(M.decoratorProps||(M.decoratorProps={}),w["x-decorator-props"]||(w["x-decorator-props"]={}),Object.keys(o).forEach(e=>{M.decoratorProps[e]=o[e],w["x-decorator-props"][e]=o[e]})),"x-component-props"===t&&(M.componentProps||(M.componentProps={}),w["x-component-props"]||(w["x-component-props"]={}),Object.keys(o).forEach(e=>{M.componentProps[e]=o[e],w["x-component-props"][e]=o[e]}))})};if("string"==typeof e){let l={};return(0,u.default)(l,e,t),o(l)}o(e),C()},[j]),shallowMerge:(0,c.useCallback)(e=>{j.shallowMerge(e)},[j]),deepMerge:(0,c.useCallback)(e=>{j.deepMerge(e)},[j]),remove:(0,c.useCallback)((e,t)=>{j.remove(e,t)},[j]),insertAdjacent:(0,c.useCallback)((e,t,o)=>{j.insertAdjacent(e,t,o)},[j]),insertBeforeBegin:(0,c.useCallback)(e=>{j.insertBeforeBegin(e)},[j]),insertAfterBegin:(0,c.useCallback)(e=>{j.insertAfterBegin(e)},[j]),insertBeforeEnd:(0,c.useCallback)(e=>{j.insertBeforeEnd(e)},[j]),insertAfterEnd:(0,c.useCallback)(e=>{j.insertAfterEnd(e)},[j])}}},87463(e,t,o){o.d(t,{H:()=>d});var l=o(56920),n=o(51649),a=o(99300),r=o(57619),i=o(95951);let s=()=>null;s.isNullComponent=!0;let d=()=>{let{designable:e}=(0,i.er)(),t=(0,l.useFieldSchema)(),o=(0,n.useMemo)(()=>t["x-designer"]||t["x-toolbar"]?t["x-designer"]||t["x-toolbar"]:t["x-settings"]?a.Bw:s,[t]),d=(0,r.x)(o);return e&&d||s}},81547(e,t,o){o.d(t,{j:()=>i});var l=o(56920),n=o(51649),a=o(77843),r=o(43288);let i=e=>{var t;let{t:o}=(0,a.useTranslation)(),{getCollectionJoinField:i,getCollection:s}=(0,r.nj)(),d=(0,l.useFieldSchema)(),u=(null==e?void 0:e.fieldSchema)||d,c=(0,l.useField)(),p=(0,l.useForm)(),m=(null==u?void 0:u["x-read-pretty"])||c.readPretty||p.readPretty,h=null==e?void 0:e.fieldSchema,{getField:x}=(0,r.k7)(),v=(null==e?void 0:e.collectionField)||x(u.name)||i(u["x-collection-field"]),{label:_}=(null==(t=u["x-component-props"])?void 0:t.fieldNames)||{};return((0,n.useMemo)(()=>{if(!v||!(null==v?void 0:v.interface)||!["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(v.type))return;let e=s(v.target);if((null==e?void 0:e.template)==="file")return m?[{label:o("Title"),value:"Select"},{label:o("File manager"),value:"FileManager"},{label:o("Tag"),value:"Tag"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},{label:o("File manager"),value:"FileManager"}];if((null==e?void 0:e.template)==="tree"&&["m2m","o2m","m2o"].includes(v.interface))return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&["m2m","o2m"].includes(v.interface)&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Cascader Select"),value:"CascadeSelect"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];switch(v.interface){case"o2m":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"},!h&&{label:o("Sub-table"),value:"SubTable"}];case"m2m":case"mbm":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];default:return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}]}},[o,null==v?void 0:v.interface,_,m,h])||[]).filter(Boolean)}},4922(e,t,o){o.d(t,{Y:()=>n});let l=()=>({}),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{useProps:t=l,...o}=e,n=t;"function"!=typeof t&&(n=l);let a=n();return{...o,...a}}},39247(e,t,o){o.d(t,{F:()=>a});var l=o(51649),n=o(63557);function a(){return(0,l.useContext)(n.u)}},82924(e,t,o){o.d(t,{iI7:()=>D.iI,a1G:()=>u.ShowFormData,yt2:()=>th.yt,flR:()=>r.fl,FVw:()=>nX.FV,FrL:()=>nv.Fr,CqQ:()=>L,$Eq:()=>T,ZB7:()=>nX.ZB,TrS:()=>th.Tr,sIN:()=>rk.sI,a2g:()=>u.getRenderContent,t6u:()=>c.t6,qIn:()=>lQ.qI,HPy:()=>r.HP,R_2:()=>lX.R_,doK:()=>D.do,bZ4:()=>r.bZ,pxY:()=>eu.px,pde:()=>lX.pd,CEt:()=>nv.CE,lum:()=>eu.lu,OpO:()=>c.Op,tO8:()=>r.tO,nxV:()=>nv.nx,TDj:()=>tG,xA9:()=>nX.xA,lNE:()=>aE.l,ud$:()=>e5,l46:()=>nh,X_:()=>u.DraggableContext,QD_:()=>nv.QD,ud1:()=>r.ud,Dgp:()=>D.Dg,tvd:()=>D.tv,QEB:()=>aN,X6x:()=>aF.X6,jZb:()=>tB,tn0:()=>lQ.tn,dF1:()=>oo.dF,kBD:()=>eu.kB,Gjn:()=>r.Gj,VFg:()=>aF.VF,Pnr:()=>nv.Pn,zN:()=>r.zN,dKS:()=>aj,LMh:()=>lX.LM,lTd:()=>ew,rlt:()=>eB,dWC:()=>tx.dW,cWk:()=>r.cW,Zy6:()=>th.Zy,PB5:()=>aO.PB,UTu:()=>nv.UT,jeY:()=>D.je,TB2:()=>r.TB,D6h:()=>nW,d9b:()=>oo.d9,fM:()=>tz,X43:()=>tU.X,uc_:()=>nT,pEl:()=>aO.pE,T$Q:()=>tU.T,GD6:()=>c.GD,mJi:()=>lX.mJ,C5g:()=>tq.C5,OJX:()=>eu.OJ,Bmi:()=>rs,u4V:()=>rz.u,lrV:()=>nv.lr,fDF:()=>a.fD,N$k:()=>e1.N$,_sT:()=>oo._s,rNg:()=>tO.rN,RhU:()=>r.Rh,Bnf:()=>oH,UyB:()=>e2,xq$:()=>D.xq,RB3:()=>aO.RB,I5x:()=>eR,hqJ:()=>lX.hq,XIK:()=>a8,m2w:()=>lO,ccy:()=>r$,NVg:()=>tq.NV,kDr:()=>D.kD,J3t:()=>tx.J3,d09:()=>r.d0,AG:()=>rg,Xjr:()=>oK,uwA:()=>e1.uw,KDQ:()=>em,$mi:()=>oT.$,L1H:()=>u.Sortable,QoO:()=>nv.Qo,q7s:()=>D.q7,Mp5:()=>u.DndContext,xB5:()=>eu.xB,B4G:()=>D.B4,YIz:()=>ap,$xS:()=>aU,o8F:()=>oG,qKt:()=>aO.qK,_OO:()=>oo._O,qy$:()=>nn,W1t:()=>th.W1,Z0V:()=>lQ.Z0,cGx:()=>nf,Q2z:()=>nv.Q2,YW0:()=>tF,HvB:()=>c.Hv,ic7:()=>nK,QpY:()=>D.Qp,tUM:()=>rx,oAT:()=>D.oA,zBI:()=>e7,gBz:()=>u.SortableProvider,eIh:()=>D.eI,i_r:()=>nN.i,DVX:()=>D.DV,b7u:()=>e1.b7,Mwt:()=>aO.Mw,Kql:()=>r.Kq,XOn:()=>D.XO,ozN:()=>aw.o,nu1:()=>tm.n,rTt:()=>rk.rT,eBw:()=>nJ,xZI:()=>eu.xZ,MIq:()=>r.MI,JaO:()=>nO,htN:()=>eU,Eaz:()=>r.E,qy5:()=>nc,IX0:()=>tO.IX,lSn:()=>tq.lS,BsJ:()=>e1.Bs,_22:()=>aR,sxL:()=>oC,xPi:()=>tm.x,b2W:()=>nq.b,sDQ:()=>aV,Xzy:()=>D.Xz,gt0:()=>az,QIX:()=>e4,i_F:()=>lJ,Ypd:()=>r.Yp,SOm:()=>e1.SO,VXI:()=>r.VX,nKd:()=>tR,N3p:()=>c.N3,dJT:()=>e1.dJ,vPC:()=>D.vP,a97:()=>eu.a9,TNL:()=>D.TN,xAQ:()=>tw,Qgm:()=>aF.Qg,RLS:()=>ar,OqW:()=>e1.Oq,j0_:()=>nM,zVE:()=>rS,yVm:()=>r.yV,B_g:()=>n_,Hbp:()=>eu.Hb,lhV:()=>D.lh,yGk:()=>e1.yG,QIi:()=>eu.QI,Q00:()=>aP,OAH:()=>c.OA,JQe:()=>D.JQ,xqq:()=>r.xq,zEg:()=>e6.z,wN6:()=>aw.w,fDM:()=>nv.fD,uUT:()=>tV,BCL:()=>rt.BC,D50:()=>r.D5,Fag:()=>eu.F,MoU:()=>r.Mo,wnJ:()=>e1.wn,ISS:()=>aF.IS,m$h:()=>t2,c_d:()=>e1.c_,Hi5:()=>rc,x1p:()=>nv.x1,DYS:()=>c.DY,U6o:()=>r.U6,LjE:()=>eu.Lj,l2i:()=>r.l2,Um:()=>e1.Um,Y2j:()=>tP,O$4:()=>aO.O$,G2C:()=>t9.G2,wA7:()=>rA,$t1:()=>D.$t,_bM:()=>oo._b,b6K:()=>oT.b,vzL:()=>nl,lNX:()=>oo.lN,rcl:()=>r.rc,gZ:()=>aO.gZ,msY:()=>nv.ms,U8O:()=>r.U8,Sh8:()=>r.Sh,mhY:()=>eu.mh,tXY:()=>tq.tX,Sc0:()=>oF,p9h:()=>ru,gBZ:()=>u.SortableContext,JDj:()=>rf,hbv:()=>nx,RD4:()=>nV.R,bee:()=>aO.be,PSc:()=>r.PS,hsK:()=>e6.h,oVU:()=>l7,IJ7:()=>D.IJ,f2z:()=>o1.f,OZ6:()=>aF.OZ,pA3:()=>e1.pA,$5j:()=>r.$5,J1:()=>D.J1,dVP:()=>u.DateFilterDynamicComponent,E76:()=>r.E7,j9R:()=>lZ,vjx:()=>nL,mz8:()=>nX.mz,Doh:()=>c.Do,vxQ:()=>l3,Us6:()=>eu.Us,UqM:()=>u.SortableItem,lVW:()=>A,f7I:()=>ry,ARu:()=>t1,TDH:()=>eu.TD,l6P:()=>ek,g9w:()=>e1.g9,s23:()=>tY,GjU:()=>r.nY,GmQ:()=>aO.Gm,skP:()=>ns,C4D:()=>nr,arW:()=>as,v93:()=>ri,Wis:()=>r.Wi,jE9:()=>eu.jE,dbD:()=>nB.d,Ff5:()=>D.Ff,gM2:()=>e1.gM,FZR:()=>lX.FZ,PnP:()=>rC.P,nlx:()=>eY,AQf:()=>lQ.AQ,FoY:()=>a$,w2W:()=>aO.w2,z45:()=>r.z4,bkX:()=>tK,jgC:()=>rr,Ur4:()=>rP,lE3:()=>D.lE,U5u:()=>D.U5,LtX:()=>r.Lt,cl6:()=>a_,d1R:()=>eu.d1,rrz:()=>tx.rr,B8B:()=>aM,hY7:()=>o1.h,Ob5:()=>th.Ob,erX:()=>eu.er,MqW:()=>c.Mq,S5r:()=>nq.S,YYe:()=>eu.YY,ami:()=>rk.am,LBS:()=>nH,L3t:()=>u.DragHandler,oMF:()=>eh});var l,n={};o.r(n),o.d(n,{Action:()=>r.rc,ActionBar:()=>r.E7,ActionBarProvider:()=>r.xq,ActionContext:()=>r.yV,ActionContextNoRerender:()=>r.Wi,ActionContextProvider:()=>r.z4,ActionDesigner:()=>r.U6,AfterSuccess:()=>r.Kq,AllDataBlocksContext:()=>tx.rr,AllDataBlocksProvider:()=>tx.J3,AntdSchemaComponentPlugin:()=>tK,AntdSchemaComponentProvider:()=>tG,AppendsTreeSelect:()=>t2,AssignedFieldValues:()=>r.TB,AssociationField:()=>lO,AssociationFieldMode:()=>oH,AssociationFieldModeProvider:()=>oG,AssociationSelect:()=>lJ,AttachmentList:()=>oo._s,AutoComplete:()=>lZ,BackButtonUsedInSubPage:()=>e6.h,Block:()=>nJ,BlockItem:()=>lQ.Z0,BlockItemCard:()=>lQ.tn,BlockItemCardContext:()=>lQ.AQ,BlocksSelector:()=>r.Gj,ButtonEditor:()=>r.Yp,CardItem:()=>l7,Cascader:()=>l3,Checkbox:()=>oF,CollectionSelect:()=>nl,ColorPicker:()=>ns,ColorSelect:()=>nc,Cron:()=>nh,CronSet:()=>nx,DataSourceCollectionCascader:()=>nr,DataSourceSelect:()=>nn,DateFormatCom:()=>nq.b,DatePicker:()=>nv.lr,DatePickerProvider:()=>nv.Qo,Details:()=>n_,DetailsDesigner:()=>L,Divider:()=>nf,EditComponent:()=>D.iI,EditDefaultValue:()=>D.tv,EditDescription:()=>D.JQ,EditOperator:()=>D.B4,EditPattern:()=>D.$t,EditRequired:()=>D.Qp,EditSortField:()=>rr,EditTable:()=>nM,EditTableAction:()=>nL,EditTableActionContext:()=>nT,EditTitle:()=>D.Xz,EditTitleField:()=>D.Ff,EditTooltip:()=>D.IJ,EditValidationRules:()=>D.vP,Editable:()=>a$,EllipsisWithTooltip:()=>lX.R_,ErrorFallback:()=>tm.x,Expand:()=>nO,ExpiresRadio:()=>nq.S,FieldsTreeSelect:()=>t1,Fieldset:()=>nH,Filter:()=>e1.dJ,FilterAction:()=>e1.Bs,FilterActionContext:()=>e1.SO,FilterContext:()=>e1.gM,FilterDynamicComponent:()=>e1.N$,FilterLogicContext:()=>e1.c_,Form:()=>A,FormDialog:()=>nV.R,FormDrawer:()=>rA,FormField:()=>e7,FormItem:()=>D.eI,FormV2:()=>eU,G2Plot:()=>nW,G2PlotRenderer:()=>nK,Grid:()=>nX.xA,GridCard:()=>ar,GridRowContext:()=>nX.mz,HTMLEncode:()=>lX.mJ,ICON_POPUP_Z_INDEX:()=>oT.b,IconPicker:()=>as,Input:()=>lX.pd,InputNumber:()=>ap,InputReadPretty:()=>lX.FZ,InputRecordPicker:()=>aO.qK,Json:()=>lX.LM,LinkageFilter:()=>r$,List:()=>aM,Markdown:()=>aw.o,MarkdownReadPretty:()=>aw.w,Menu:()=>th.W1,NanoIDInput:()=>aP,Page:()=>tF,PagePopups:()=>tO.rN,PageTabs:()=>tP,Pagination:()=>aj,ParentRouteContext:()=>th.Zy,Password:()=>aR,Percent:()=>aN,PopupSettingsProvider:()=>tU.T,Preview:()=>aE.l,QuickEdit:()=>az,Radio:()=>oC,ReadPretty:()=>lX.hq,ReadPrettyRecordPicker:()=>aO.w2,RecordPicker:()=>aO.O$,RecordPickerContext:()=>aO.pE,RecordPickerProvider:()=>aO.be,RefreshDataBlockRequest:()=>r.ud,RemoteSelect:()=>ew,RemoveButton:()=>r.d0,RemoveConditionContext:()=>e1.b7,RequestSettings:()=>r.Rh,RichText:()=>aV,SecondConFirm:()=>r.VX,Select:()=>ek,SkipValidation:()=>r.zN,Space:()=>aU,StablePopover:()=>oT.$,Table:()=>a8,TableBlockDesigner:()=>ri,TableField:()=>rs,TableSelectorDesigner:()=>ru,TableV2:()=>rc,Tabs:()=>rx,TabsContextProvider:()=>o1.h,Templates:()=>eR,TestDesigner:()=>lQ.qI,TextAreaWithGlobalScope:()=>rP,TimePicker:()=>rg,TreeSelect:()=>ry,UnixTimestamp:()=>rS,Upload:()=>oo._O,Uploader:()=>oo.d9,Variable:()=>rk.rT,VariableScopeProvider:()=>rk.sI,VariableSelect:()=>rC.P,actionSettings:()=>r.Sh,actionSettingsItems:()=>r.Mo,allowAddNew:()=>D.lE,attachmentFileTypes:()=>oo.lN,defaultFieldNames:()=>em,fetchTemplateData:()=>eB,filterFormItemSettings:()=>D.Dg,findByUid:()=>aF.X6,findKeysByUid:()=>aF.VF,findMenuItem:()=>aF.OZ,formDetailsSettings:()=>e4,formItemSettings:()=>D.DV,formSettings:()=>e2,formV1Settings:()=>T,genStyleHook:()=>a.fD,getCurrentOptions:()=>eh,getDateExact:()=>nv.Q2,getDatePickerLabels:()=>aO.Mw,getDateRanges:()=>nv.fD,getLabelFormatValue:()=>aO.PB,getPopupPathFromParams:()=>tq.C5,getStoredPopupContext:()=>tq.lS,getTabSchema:()=>tB,getZIndex:()=>r.fl,handleDateChangeOnForm:()=>nv.QD,inferPickerType:()=>nv.Pn,isBulkEditAction:()=>r.PS,isFileCollection:()=>D.XO,isMobile:()=>nv.Fr,isShowFilePicker:()=>aO.Gm,isTabPage:()=>tR,isWriteEmailAction:()=>r.cW,mapDatePicker:()=>nv.x1,mapRangePicker:()=>nv.UT,mapTimeFormat:()=>rf,matchMimetype:()=>oo._b,moment2str:()=>nv.ms,navigateToTab:()=>tY,pageSettings:()=>tz,pageTabSettings:()=>tV,readPrettyFormSettings:()=>e5,removeNullCondition:()=>e1.pA,resolveFilterPickerFormat:()=>nv.CE,storePopupContext:()=>tq.NV,useActionBarContext:()=>r.MI,useActionContext:()=>r.D5,useAfterSuccessOptions:()=>r.bZ,useAllDataBlocks:()=>tx.dW,useAssociationFieldContext:()=>t9.G2,useAssociationFieldModeContext:()=>oK,useBackButton:()=>e6.z,useCloseAction:()=>r.nY,useColumnSchema:()=>rt.BC,useColumnSettings:()=>nB.d,useCurrentPopupContext:()=>tO.IX,useDatePickerContext:()=>nv.nx,useDownloadLogs:()=>tm.n,useEnsureOperatorsValid:()=>D.lh,useFieldMode:()=>D.J1,useFieldNames:()=>aO.gZ,useFilterActionProps:()=>e1.Um,useFilterFieldOptions:()=>e1.g9,useFilterFieldProps:()=>e1.yG,useFilterOptions:()=>e1.uw,useFormDataTemplates:()=>eY,useGetAriaLabelOfAction:()=>r.U8,useGetAriaLabelOfDrawer:()=>r.HP,useGetAriaLabelOfModal:()=>r.tO,useGetAriaLabelOfPopover:()=>r.l2,useGetFilterFieldOptions:()=>e1.Oq,useGetFilterOptions:()=>e1.wn,useGridContext:()=>nX.ZB,useGridRowContext:()=>nX.FV,useIsAddNewForm:()=>D.TN,useIsAssociationField:()=>D.xq,useIsFieldReadPretty:()=>D.U5,useIsFileField:()=>D.oA,useIsFormReadPretty:()=>D.q7,useIsSelectFieldMode:()=>D.je,useKeepAliveLocationSearch:()=>tw,useLabelUiSchema:()=>aO.RB,useLinkageAction:()=>r.Lt,useListBlockContext:()=>a_,useMenuDragEnd:()=>th.yt,useMenuTranslation:()=>aF.Qg,useNocoBaseRoutes:()=>th.Ob,useParentRoute:()=>th.Tr,usePopupSettings:()=>tU.X,useStyles:()=>aF.IS,useTableColumnIntegration:()=>nN.i,useTabsContext:()=>o1.f,useTitleFieldOptions:()=>D.kD,useUploadStyles:()=>oo.dF,useValidateSchema:()=>D.do,useVariableScope:()=>rk.am,useZIndexContext:()=>r.$5,withSearchParams:()=>tq.tX,zIndexContext:()=>r.E});var a=o(54969),r=o(78562),i=o(71178),s=o(51649),d=o(83468),u=o(91032),c=o(90995),p=o(72548);let m=e=>async function(){try{var t;let o=await this.api.request(e);return null==o||null==(t=o.data)?void 0:t.data}catch(e){return[]}};var h=o(56220),x=o(44814),v=o(56920),_=o(52793),f=o(16211),g=o(43288),b=o(30644),y=o(99300),S=o(25952),k=o(96932),C=o(24768);let M=e=>{let{form:t,children:o,...l}=e,n=(0,v.useField)(),a=(0,v.useFieldSchema)(),r=(0,eu.TD)(t.createVoidField({...n.props,basePath:""}));return(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...l,children:(0,i.jsx)(b.dw,{basePath:r.address,schema:a,onlyRenderProperties:!0})})})})},w=e=>e.children,F=e=>{let{form:t,children:o,disabled:l,...n}=e,a=(0,v.useField)(),r=(0,v.useFieldSchema)(),d=(0,eu.TD)(t.createVoidField({...a.props,basePath:""})),u=(0,eu.xZ)(r["x-component"],w);return(0,s.useEffect)(()=>{t.disabled=l||a.disabled},[l,a.disabled]),(0,i.jsx)(_.ConfigProvider,{componentDisabled:l,children:(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...n,children:(0,i.jsx)(v.FieldContext.Provider,{value:d,children:(0,i.jsx)(u,{...a.componentProps,children:(0,i.jsx)(b.dw,{basePath:d.address,schema:r,onlyRenderProperties:!0})})})})})})})},P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,f.bP)((e=>{let{request:t,initialValue:o}=e;return t||(()=>Promise.resolve({data:o}))})(t),e)},j=(0,s.createContext)(null);j.displayName="FormBlockContext";let A=(0,v.observer)(e=>{let{request:t,effects:o,initialValue:l,useValues:n=P,...a}=e,r=(0,v.useFieldSchema)(),d=(0,v.useField)(),u=(0,s.useMemo)(()=>(0,x.createForm)({effects:o}),[]),c=n({uid:r["x-uid"],async onSuccess(e){await u.reset(),u.setValues(null==e?void 0:e.data),u.setInitialValues(null==e?void 0:e.data)}},e),p=(0,s.useContext)(j);return(0,i.jsx)(j.Provider,{value:{parent:p,form:u,result:c,field:d,fieldSchema:r},children:(0,i.jsx)(_.Spin,{spinning:(null==c?void 0:c.loading)||!1,children:"Form"===r["x-decorator"]?(0,i.jsx)(F,{form:u,...a}):(0,i.jsx)(M,{form:u,...a})})})},{displayName:"Form"});A.Designer=function(){let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)(),{componentNamePrefix:l}=(0,C.kU)();return(0,i.jsxs)(y.xK,{template:o,title:t||e,children:[(0,i.jsx)(S.l,{componentName:`${l}Form`,collectionName:e}),(0,i.jsx)(y.kT,{}),(0,i.jsx)(y.d$,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}})]})};var I=o(31675);let T=new I.RT({name:"FormV1Settings",items:[{name:"template",Component:S.l,useComponentProps(){let{name:e}=(0,g.k7)(),{componentNamePrefix:t}=(0,C.kU)();return{componentName:`${t}Form`,collectionName:e}}},{name:"divider",type:"divider"},{name:"remove",type:"remove",componentProps:{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}}]});var D=o(60929);let L=()=>{let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)();return(0,i.jsx)(y.xK,{schemaSettings:"FormDetailsSettings",template:o,title:t||e})};var Y=o(69412),R=o(80461),B=o(99847),N=o(49948),E=o(10691),$=o(27404),z=o(77583),O=o(17157),q=o(18111),H=o(70136),V=o(28227),U=o(14187),G=o(92619),K=o(4627),W=o(83006),J=o(43923),X=o(4922),Z=o(95951),Q=o(95210),ee=o(62152),et=o(63526),eo=o(77843),el=o(69575),en=o(65457),ea=o(82113),er=o(91815),ei=o(23460),es=o(29558),ed=o(58980),eu=o(16319),ec=o(46724),ep=o(81607);let em={label:"label",value:"value",color:"color",options:"children"};function eh(e,t,o){let l=function e(t,o){let l=[];if(!Array.isArray(t))return l;for(let n=0;n<t.length;n++){let a=t[n][o.options];Array.isArray(a)&&l.push(...e(a,o)),l.push({...t[n]})}return l}(t,o),n=(0,z.castArray)(e).map(e=>(0,et.isPlainObject)(e)?e[o.value]:e);if(!l)return[];let a=[];for(let e of n){let t=l.find(t=>t[o.value]==e)||{value:e,label:e?e.toString():e};a.push(t)}return a}var ex=o(84951),ev=o(60430);let e_=(0,v.observer)(e=>{let[t,o]=(0,s.useState)(!0),[l,n]=(0,s.useState)([]),a=(0,v.useField)(),r=(0,ec.E1)();return((0,s.useEffect)(()=>{var t;let l={...em,...e.fieldNames},s=a.dataSource||e.options||(null==r?void 0:r.uiSchema.enum)||[],d=eh(a.value,s,l);!(0,$.isValid)(e.value)&&!d.length||(0,x.isArrayField)(a)&&(null==a||null==(t=a.value)?void 0:t.length)===0||(n(null!==a.value&&d.map((e,t)=>(0,i.jsx)(_.Tag,{color:e[l.color],icon:"string"==typeof e.icon?(0,i.jsx)(ev.In,{type:e.icon}):e.icon,children:e[l.label]},t))),o(!1))},[null==r?void 0:r.uiSchema.enum,a,a.dataSource,a.value,e.fieldNames,e.options,e.value]),t)?null:(0,i.jsx)(ep.R,{ellipsis:e.ellipsis,children:l})},{displayName:"SelectReadPretty"}),ef=(0,ex.A)(e_),eg=e=>{let{value:t,options:o,onChange:l,fieldNames:n,mode:a,loading:r,rawOptions:s,defaultValue:d,...u}=e,c=ey.isDesktop?"":eS,p=ey.isDesktop?void 0:"topLeft",m=t=>{var l;if(!(0,$.isValid)(t)||"object"==typeof t&&0===Object.keys(t).length)return;let r=null==(l=eh((0,$.toArr)(t).filter(e=>e).map(e=>(0,et.isPlainObject)(e)?e[n.value]:e),o,n))?void 0:l.map(e=>({label:e[n.label],value:e[n.value]}));return["tags","multiple"].includes(a)||e.multiple?r:r.shift()};return(0,i.jsx)(_.Select,{rootClassName:c,placement:p,role:"button","data-testid":`select-object-${a||"single"}`,value:m(t),defaultValue:m(d),allowClear:{clearIcon:(0,i.jsx)(ea.CloseCircleFilled,{role:"button","aria-label":"icon-close-select"})},labelInValue:!0,notFoundContent:r?(0,i.jsx)(_.Spin,{}):(0,i.jsx)(_.Empty,{image:_.Empty.PRESENTED_IMAGE_SIMPLE}),options:o,fieldNames:n,showSearch:!0,popupMatchSelectWidth:!1,filterOption:(e,t)=>((null==t?void 0:t[n.label||"label"])??"").includes(e),filterSort:(e,t)=>((null==e?void 0:e[n.label||"label"])??"").toLowerCase().localeCompare(((null==t?void 0:t[n.label||"label"])??"").toLowerCase()),onChange:t=>{let r=eh((0,$.toArr)(t).map(e=>e.value),s||o,n);["tags","multiple"].includes(a)||e.multiple?null==l||l(r):null==l||l(r.shift()||null)},mode:a,tagRender:e=>(0,i.jsx)(_.Tag,{role:"button","aria-label":e.label,closeIcon:(0,i.jsx)(ea.CloseOutlined,{role:"button","aria-label":"icon-close-tag"}),...e,children:e.label}),maxTagCount:"responsive",maxTagPlaceholder:e=>(0,i.jsxs)(_.Tooltip,{title:(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6,maxWidth:"100%"},children:e.map(e=>(0,i.jsx)(_.Tag,{style:{margin:0,background:"#fafafa",border:"1px solid #d9d9d9",whiteSpace:"normal",wordBreak:"break-word",maxWidth:"100%"},children:e.label},e.value))}),overlayInnerStyle:{background:"#fff",color:"#000",padding:8,maxWidth:"100%"},color:"#fff",overlayStyle:{pointerEvents:"auto",maxWidth:300},children:["+",e.length,"..."]}),...u})},eb=(e,t)=>((null==t?void 0:t.label)??"").toLowerCase().includes((e||"").toLowerCase()),eS=(0,E.css)`
1016
+ `;return(0,a.jsxs)("div",{style:{maxHeight:300,overflowY:"auto"},children:[e.map(e=>(0,a.jsx)("div",{role:"option",onClick:()=>v(e.value),className:o,children:l(e.label)},e.value)),(0,a.jsx)(u.Divider,{style:{margin:"4px 0"}}),t.map(e=>(0,a.jsx)("div",{role:"option",className:o,onClick:()=>v(e.value),title:l(e.label),children:l(e.label)},e.value))]})}}),["past","next"].includes(null==t?void 0:t.type)&&[(0,a.jsx)(u.InputNumber,{value:null==t?void 0:t.number,onChange:e=>{o({...t,number:e})}},"number"),(0,a.jsx)(u.Select,{value:null==t?void 0:t.unit,style:{minWidth:130,maxWidth:140},onChange:e=>{o({...t,unit:e})},options:[{value:"day",label:n("Day")},{value:"week",label:n("Calendar week")},{value:"month",label:n("Calendar Month")},{value:"year",label:n("Calendar Year")}],popupMatchSelectWidth:!0},"unit")],((null==t?void 0:t.type)==="exact"||!(null==t?void 0:t.type))&&(0,a.jsx)(x,{...e})]})}},87382(e,t,o){o.d(t,{L1:()=>x,L3:()=>f,Pd:()=>h,Uq:()=>_,X_:()=>p,gB:()=>m});var l=o(71178),n=o(72741),a=o(38533),r=o(10691),i=o(56920),s=o(77583),d=o(51649),u=o(54969),c=o(95951);let p=(0,d.createContext)(null);p.displayName="DraggableContext";let m=(0,d.createContext)(null);m.displayName="SortableContext";let h=e=>{let{id:t,data:o,children:n}=e,r=(0,a.useDraggable)({id:t,data:o}),i=(0,a.useDroppable)({id:t,data:o}),s=(0,d.useMemo)(()=>({draggable:r,droppable:i}),[r,i]);return(0,l.jsx)(m.Provider,{value:s,children:n})},x=e=>{var t,o;let{component:l,overStyle:a,style:s,children:c,openMode:p,...h}=e,{token:x}=(0,u.rd)(),{draggable:v,droppable:_}=(0,d.useContext)(m),{isOver:f,setNodeRef:g}=_,b={...s},y=(0,i.useFieldSchema)(),S=(null==y?void 0:y["x-component"])==="Action.Link"||"a"===l;if(f&&(null==v||null==(t=v.active)?void 0:t.id)!==(null==_||null==(o=_.over)?void 0:o.id)){let e;b[S?"color":"background"]=(e=x.colorSettings,new n.TinyColor(e).setAlpha(.15).toHex8String()),Object.assign(b,a)}return d.default.createElement(l||"div",{role:"none",...h,className:(0,r.cx)("nb-sortable-designer",e.className),ref:g,style:b},c)},v=(0,i.observer)(e=>{var t,o;let n,a,r,{schema:s,id:u,eid:c,removeParentsIfNoChildren:p,...m}=(t=e,n=(0,i.useField)(),a=t.id?t.id:null==n||null==(o=n.address)?void 0:o.toString(),r=(0,i.useFieldSchema)(),e.schema?{...e,id:a}:{...e,id:a,schema:r}),v=(0,d.useMemo)(()=>{var e,t,o;return{insertAdjacent:"afterEnd",schema:(null==(t=s.parent)||null==(e=t.parent)?void 0:e["x-component"])==="BlockTemplate"?null==(o=s.parent)?void 0:o.parent:s,removeParentsIfNoChildren:p??!0}},[s,p]);return(0,l.jsx)(h,{id:u,data:v,children:(0,l.jsx)(x,{id:c,...m,children:e.children})})},{displayName:"InternalSortableItem"}),_=d.default.memo(e=>{let{component:t,...o}=e,{designable:n}=(0,c.er)();return n?(0,l.jsx)(v,{...e}):d.default.createElement(t||"div",s.default.omit(o,["children","schema","overStyle","openMode","id","eid","removeParentsIfNoChildren"]),e.children)});_.displayName="SortableItem";let f=e=>{let{draggable:t}=(0,d.useContext)(m)||{};if(!t)return null;let{attributes:o,listeners:n,setNodeRef:a}=t;return(0,l.jsx)("div",{style:{display:"inline-block",width:14,height:14,lineHeight:"14px",textAlign:"left"},children:(0,l.jsx)("div",{ref:a,style:{position:"relative",zIndex:1,lineHeight:0,fontSize:0,display:"inline-block"},...n,...o,role:"none",children:(0,l.jsx)("span",{style:{cursor:"move",fontSize:14},children:e.children})})})}},37845(e,t,o){o.d(t,{L1:()=>l.L1,L3:()=>l.L3,Pd:()=>l.Pd,Uq:()=>l.Uq,X_:()=>l.X_,gB:()=>l.gB});var l=o(87382)},59529(e,t,o){o.d(t,{KX:()=>p,_c:()=>h,a2:()=>f,bc:()=>c,rf:()=>u});var l=o(63526),n=o(77583),a=o(73761),r=o(839),i=o(59896),s=o(32665),d=o(64004);let u=(e,t)=>{var o;let l=null==e||null==(o=e.match)?void 0:o.call(e,/{{(.*?)}}/);if(!l)return e;{let e=n.default.get(t,l[1]);return n.default.isFunction(e)?e():e}};function c(e){if("object"!=typeof e||null===e)return null;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))if("[object Object]"===Object.prototype.toString.call(e[t])&&null!==e[t])return c(e[t]);else return{key:t,value:e[t]};return null}let p=e=>{let t,o=(t=[],!function e(o){Object.keys(o).sort().forEach(function(l){t.push(l),o[l]&&"object"==typeof o[l]&&e(o[l])})}(e),t),l=(0,n.findIndex)(o,(e,t,o)=>{if(e.includes("$")&&t>0)return!0});return o.slice(0,l)},m=async(e,t,o)=>{let l=(0,i.DZ)(e)?[t.parseVariable(e,o).then(e=>{let{value:t}=e;return t})]:[e];try{let[e]=await Promise.all(l);return e}catch(e){throw console.error("Error in parseVariableValue:",e),e}},h=async(e,t)=>{let{ruleGroup:o,variables:l,localVariables:a,variableNameOfLeftCondition:r,conditionType:i}=e,s=Object.keys(o)[0]||"$and",d=o[s]||[],u=await Promise.all(d.filter(Boolean).map(e=>x(e,l,a,r,i,t)));return"$and"===s?(0,n.every)(u,e=>e):!u.length||(0,n.some)(u,e=>e)},x=async(e,t,o,l,n,a)=>"$and"in e||"$or"in e?await h({ruleGroup:e,variables:t,localVariables:o,conditionType:n},a):"advanced"===n?v(e,t,o,a):_(e,t,o,l,a),v=async(e,t,o,l)=>{let n=e.op,a=await m(e.rightVar,t,o),r=await m(e.leftVar,t,o);return!n||l.apply({[n]:[r,a]})},_=async(e,t,o,n,a)=>{let r=c(e),u=null==r?void 0:r.key;if(!u)return!0;let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$nForm";return`{{ ${t}.${e.join(".")} }}`}(p(e),n),h=t.parseVariable(m,o,{doNotRequest:!0}).then(e=>{let{value:t}=e;return t}),x=(0,i.DZ)(null==r?void 0:r.value)?[t.parseVariable(null==r?void 0:r.value,o).then(e=>{let{value:t}=e;return t}),h]:[null==r?void 0:r.value,h];try{let[e,n]=await Promise.all(x),r=await t.getCollectionField(m,o),i=(0,s.A)(n,{targetCollectionField:r}),c=(0,s.A)(e,{targetCollectionField:r});if((null==r?void 0:r.type)&&["datetime","date","datetimeNoTz","dateOnly","unixTimestamp"].includes(r.type)&&i){let e=(0,d.Pn)(c),t=(0,l.getPickerFormat)(e);i=(0,l.dayjs)(i).format(t)}return a.apply({[u]:[i,c]})}catch(e){throw e}};async function f(e,t,o,n,i,s){if(t&&"handlebars"===e){l.Handlebars.registerHelper("t",function(e){if("string"==typeof e)return s(e,{ns:r.z})});try{var d,u;let e,a=t.replace(/{{\s*}}/g,'{{"{{}}"}}'),r=l.Handlebars.compile(a),s=(e={},n.map(t=>{e[t.name]=t.ctx}),e),{$nDate:c}=(null==o||null==(d=o.ctxRef)?void 0:d.current)||{},p={};Object.keys(c||{}).map(e=>{p[e]=c[e]()});let m=r({...null==o||null==(u=o.ctxRef)?void 0:u.current,...s,$nDate:p});return console.log(m),await i(m)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),console.log(t),t}}try{let e=await (0,a.replaceVariableValue)(t,o,n);return await i(e)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),t}}},84951(e,t,o){o.d(t,{A:()=>g});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44388),s=o(51275),d=o(22204),u=o(3012),c=o(52570),p=o(95951);let m={type:"void","x-component":"Action.Container","x-action":"view",title:'{{ t("View record") }}',"x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}};var h=o(49621),x=o(30644),v=o(39888);let _=e=>"Action.Container"===e["x-component"],f=e=>{let{WrappedComponent:t,...o}=e,i=(0,n.useFieldSchema)(),{openPopup:s}=(0,u.Hy)(),d=(0,r.useRef)(!1),c=(()=>{let e=(0,n.useFieldSchema)(),{insertAfterBegin:t}=(0,p.er)();return(0,r.useCallback)(o=>{e.reduceProperties((e,t)=>"Action.Container"===t["x-component"]?t:e,null)||t((0,a.cloneDeep)(o))},[e,t])})(),h=(0,r.useRef)(i);h.current=i;let x=(0,r.useRef)(c);x.current=c;let v=(0,r.useRef)(s);v.current=s;let _=(0,r.useCallback)(()=>h.current,[]),f=(0,r.useCallback)(()=>{h.current.properties||(x.current(m),d.current=!0),d.current?(setTimeout(()=>{v.current({customActionSchema:_()})}),d.current=!1):h.current.properties&&v.current()},[_]),g=(0,r.useMemo)(()=>(0,a.debounce)(f,600,{leading:!0,trailing:!1}),[f]);return(0,r.useEffect)(()=>()=>{g.cancel()},[g]),(0,l.jsx)("a",{onClick:g,children:(0,l.jsx)(t,{...o})})};function g(e){return t=>{let[o,a]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),g=(0,h.Ge)(),b=(0,s.D5)(),y=(0,n.useField)(),S=(0,n.useFieldSchema)(),{enableLink:k,openMode:C,openSize:M}=(null==S?void 0:S["x-component-props"])||{},{visibleWithURL:w,setVisibleWithURL:F}=(0,u.Hy)(),P=(0,r.useCallback)(e=>{null==a||a(e),null==F||F(e)},[F]);(0,r.useRef)(S).current=S;let{setSubmitted:j}=b;return k?(0,l.jsx)(i.OC,{visible:!1,children:(0,l.jsxs)(d.z4,{button:(0,l.jsx)(e,{...t}),visible:o||w,setVisible:P,formValueChanged:p,setFormValueChanged:m,openMode:C,openSize:M,containerRefKey:"field-popup",fieldSchema:S,setSubmitted:j,children:[(0,l.jsx)(h.Yz,{name:g.name,children:(0,l.jsx)(c.t,{children:(0,l.jsx)(v.P3,{children:(0,l.jsx)(x.dw,{onlyRenderProperties:!0,basePath:null==y?void 0:y.address,schema:S,filterProperties:_})})})}),(0,l.jsx)(f,{...t,WrappedComponent:e})]})}):(0,l.jsx)(e,{...t})}}},63557(e,t,o){o.d(t,{u:()=>l});let l=(0,o(51649).createContext)({});l.displayName="SchemaComponentContext.Provider"},71915(e,t,o){o.d(t,{O:()=>u});var l=o(71178),n=o(44814),a=o(56920),r=o(51649),i=o(52570);let s=e=>{let{children:t,form:o,...n}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components};return(0,l.jsx)(a.FormProvider,{...n,form:o,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},d=e=>{let{children:t,...o}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components},p=(0,r.useMemo)(()=>(0,n.createForm)(),[]);return(0,l.jsx)(a.FormProvider,{...o,form:p,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},u=e=>e.form?(0,l.jsx)(s,{...e}):(0,l.jsx)(d,{...e})},86073(e,t,o){o.d(t,{D:()=>x});var l=o(71178),n=o(44814),a=o(56920),r=o(52793),i=o(51649),s=o(43353);o(67285);var d=o(16319),u=o(71915),c=o(93726),p=o(16211);let m=e=>e,h=e=>{let{noForm:t,onlyRenderProperties:o,hidden:h,scope:x,uid:v,components:_,onSuccess:f,NotFoundPage:g,schemaTransform:b=m,onPageNotFind:y}=e,S=(0,i.useMemo)(()=>(0,n.createForm)(),[v]),{schema:k,loading:C}=(e=>{let{uid:t,type:o="getJsonSchema",onSuccess:l}=e,n={url:`/uiSchemas:${o}/${t}`},{data:a,loading:r}=(0,p.bP)(n,{refreshDeps:[t],onSuccess(e){l&&l(e)}});return{schema:null==a?void 0:a.data,loading:r}})({uid:v,type:o?"getProperties":"getJsonSchema",onSuccess:e=>{f&&f(e)}}),M=(0,d.xZ)(g),w=(0,s.RH)(),F=(0,a.useFieldSchema)(),P=(0,i.useMemo)(()=>b(k||{}),[k,b]),j=!k||0===Object.keys(k).length;return((0,i.useEffect)(()=>{w||C||h||!j||!y||y()},[w,h,C,y,j]),w||C||h)?(0,l.jsx)(r.Spin,{style:{width:"100%",marginTop:20},delay:void 0}):j?M?(0,l.jsx)(M,{}):null:t?(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F}):(0,l.jsx)(u.O,{form:S,children:(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F})})},x=(0,i.memo)(e=>e.uid?(0,l.jsx)(h,{...e}):null);x.displayName="RemoteSchemaComponent"},93726(e,t,o){o.d(t,{D:()=>c,H:()=>h});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(30644),s=o(63557),d=o(52570);function u(e){return n.Schema.isSchemaInstance(e)?e:new n.Schema((null==e?void 0:e.name)?{type:"object",properties:{[e.name]:e},name:`p_${e.name}`}:e)}let c=(0,r.createContext)({onChange:a.default.noop}),p=(0,r.memo)(e=>{let{components:t,scope:o,schema:n,distributed:p,onChange:m,parentSchema:h,...x}=e,v=(0,r.useContext)(s.u),_=(0,r.useMemo)(()=>u(n),[n]),f=(0,r.useMemo)(()=>({...v,distributed:!1!=v.distributed&&p,refresh:v.refresh||a.default.noop}),[v,p]),{onChange:g}=(0,r.useContext)(c),b=(0,r.useMemo)(()=>({onChange:()=>{null==m||m(_),null==g||g()}}),[m,g,_]);return(0,l.jsx)(c.Provider,{value:b,children:(0,l.jsx)(s.u.Provider,{value:f,children:(0,l.jsx)(d.t,{inherit:!0,components:t,scope:o,children:(0,l.jsx)(i.dw,{...x,schema:_,isUseFormilyField:!0,parentSchema:h})})})})});p.displayName="RecursionSchemaComponent";let m=(0,r.memo)(e=>{let{schema:t,parentSchema:o,...n}=e,a=(0,r.useMemo)(()=>u(t),[]);return(0,l.jsx)(p,{...n,schema:a,parentSchema:o})});m.displayName="MemoizedSchemaComponent";let h=(0,r.memo)(e=>{let{memoized:t,...o}=e;return t?(0,l.jsx)(m,{...o}):(0,l.jsx)(p,{...o})});h.displayName="SchemaComponent"},52570(e,t,o){o.d(t,{M:()=>r,t:()=>i});var l=o(71178),n=o(56920),a=o(51649);let r=()=>(0,a.useContext)(n.SchemaOptionsContext)||{},i=(0,a.memo)(e=>{let{children:t}=e,o=r(),i=(0,a.useMemo)(()=>({...o.components,...e.components}),[o.components,e.components]),s=(0,a.useMemo)(()=>({...o.scope,...e.scope}),[o.scope,e.scope]),d=(0,a.useMemo)(()=>({scope:s,components:i}),[s,i]);return(0,l.jsx)(n.SchemaOptionsContext.Provider,{value:d,children:(0,l.jsx)(n.SchemaComponentsContext.Provider,{value:i,children:(0,l.jsx)(n.ExpressionScope,{value:s,children:t})})})});i.displayName="SchemaComponentOptions"},90995(e,t,o){o.d(t,{OA:()=>P,DY:()=>v.D,GD:()=>A,Do:()=>_.D,Mq:()=>f.M,t6:()=>f.t,Hv:()=>_.H,Op:()=>x.O,N3:()=>h});var l=o(71178),n=o(82113),a=o(52793),r=o(51649),i=o(77843),s=o(82924),d=o(49948),u=o(90236),c=o(504);let p={backgroundColor:"var(--colorSettings) !important"},m={backgroundColor:"transparent"},h=e=>{let{designable:t,setDesignable:o}=(0,s.erX)(),{t:r}=(0,i.useTranslation)(),{token:h}=(0,d.K)(),{isMobileLayout:x}=(0,u.mY)(),v=(0,c.useFlowEngine)();return((0,ec.useHotkeys)("Ctrl+Shift+U",()=>o(!t),[t]),x)?null:(0,l.jsx)(a.Tooltip,{title:r("UI Editor"),children:(0,l.jsx)(a.Button,{"data-testid":"ui-editor-button",icon:(0,l.jsx)(n.HighlightOutlined,{style:{color:h.colorTextHeaderMenu}}),title:r("UI Editor"),style:{...t?p:m,...e.style},onClick:async()=>{let e=!t;o(e),x||!e?await v.flowSettings.disable():await v.flowSettings.enable()}})})};var x=o(71915),v=o(86073),_=o(93726),f=o(52570),g=o(44814),b=o(56920),y=o(27404),S=o(77583),k=o(63557),C=o(17157);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${(0,y.uid)()}`};b.Schema.silent(!0);let w={},F={silent:!0,compile(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=()=>{if(!F.silent)return Function("$root",`with($root) { return (${e}); }`)(t);try{return Function("$root",`with($root) { return (${e}); }`)(t)}catch{return`{{${e}}}`}};return w[e]?w[e]:e.trim().startsWith("t(")?(w[e]=o(),w[e]):o()}};b.Schema.registerCompiler(F.compile);let P=e=>{let{designable:t,onDesignableChange:o,components:n,children:a}=e,s=(0,r.useContext)(k.u),d=(0,f.M)(),[u,c]=(0,r.useState)(()=>(0,y.uid)()),p=(0,r.useMemo)(()=>e.form||(0,g.createForm)(),[u]),{t:m}=(0,i.useTranslation)(),h=(0,C.nm)(),x=(0,r.useMemo)(()=>({...e.scope,t:m,randomString:M}),[e.scope,m,null==d?void 0:d.scope]),[v,_]=(0,r.useState)(t),w=(0,r.useMemo)(()=>"boolean"==typeof t?t:v,[t,v,s.designable]),F=(0,r.useMemo)(()=>e=>{"boolean"!=typeof w&&_(e),null==o||o(e)},[w,o]);(0,r.useEffect)(()=>{let e=!1;return(async()=>{var t,o,l,n;if(!w)return await (null==(o=h.flowEngine)||null==(t=o.flowSettings)?void 0:t.disable());e||await (null==(n=h.flowEngine)||null==(l=n.flowSettings)?void 0:l.enable())})(),()=>{e=!0}},[h,w]);let P=(0,r.useCallback)(()=>{c((0,y.uid)())},[]),j=(0,r.useMemo)(()=>({scope:x,components:n,reset:P,refresh:S.default.noop,designable:w,setDesignable:F}),[n,w,P,x,F]);return(0,l.jsx)(k.u.Provider,{value:j,children:(0,l.jsx)(b.FormProvider,{form:p,children:(0,l.jsx)(f.t,{inherit:!0,scope:x,components:n,children:a})})})};P.displayName="SchemaComponentProvider";var j=o(83468);class A extends j.k{async load(){this.addComponents()}addComponents(){this.app.addComponents({DesignableSwitch:h})}}},16319(e,t,o){o.d(t,{Us:()=>_,TD:()=>n,F:()=>c.F,px:()=>i.px,QI:()=>i.QI,d1:()=>i.d1,xB:()=>h,YY:()=>f.Y,Lj:()=>g.Lj,er:()=>i.er,xZ:()=>r.x,OJ:()=>u,mh:()=>g.mh,lu:()=>a.l,kB:()=>i.kB,Hb:()=>s.H,a9:()=>g.a9,jE:()=>b.j});var l=o(51649);let n=e=>{let t=(0,l.useRef)(null);return(0,l.useEffect)(()=>(t.current&&e!==t.current&&t.current.onUnmount(),t.current=e,e.onMount(),()=>{e.onUnmount()}),[e]),e};var a=o(61013),r=o(57619),i=o(95951),s=o(87463),d=o(56920);let u=e=>{let t=(0,l.useContext)(d.SchemaOptionsContext),o=(0,l.useContext)(d.SchemaExpressionScopeContext),n=(0,l.useRef)();return n.current=o,e.toFieldProps({...t,get scope(){return{...t.scope,...n.current}}})};var c=o(39247),p=o(77843),m=o(43288);let h=()=>{var e;let{getCollectionJoinField:t,getCollection:o}=(0,m.nj)(),n=(0,d.useFieldSchema)(),{getField:a}=(0,m.k7)(),r=a(n.name)||t(n["x-collection-field"]),{t:i}=(0,p.useTranslation)(),{label:s}=(null==(e=n["x-component-props"])?void 0:e.fieldNames)||{};return(0,l.useMemo)(()=>{if(!r||!(null==r?void 0:r.interface)||!["o2o","oho","obo","o2m","linkTo","m2o","m2m"].includes(r.interface))return;let e=o(r.target);if((null==e?void 0:e.template)==="file")return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];switch(r.interface){case"o2m":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subtable"),value:"TableField"},{label:i("Select"),value:"AssociationSelect"}];case"m2o":case"m2m":case"linkTo":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];default:return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subform"),value:"FormField"},{label:i("Select"),value:"AssociationSelect"}]}},[i,null==r?void 0:r.interface,s])};var x=o(26174),v=o(49621);let _=()=>{var e;let t=(0,d.useField)(),o=(0,d.useFieldSchema)(),n=(0,v.Ge)(),r=(0,x.r2)(),i=(null==n?void 0:n.getField(o.name))||(null==r?void 0:r.getCollectionField(o["x-collection-field"])),s=(0,a.l)();(0,l.useEffect)(()=>{if(!(null==t?void 0:t.title)){var e;t.title=s(null==i||null==(e=i.uiSchema)?void 0:e.title)}},[null==i||null==(e=i.uiSchema)?void 0:e.title])};var f=o(4922),g=o(62152),b=o(81547)},62152(e,t,o){o.d(t,{Lj:()=>f,a9:()=>_,mh:()=>v});var l=o(56920),n=o(71883),a=o(52793),r=o(77583),i=o(51649),s=o(38356),d=o(95951),u=o(44374),c=o(73761),p=o(70892),m=o(38131);let h=e=>{let t=g((0,l.useFieldSchema)()),o=(e=>{var t,o,l,n;let{token:r}=a.theme.useToken(),{designable:i}=(0,d.er)(),{heightProps:u}=(0,c.useBlockHeightProps)(),p=(0,s.useLocation)(),{disablePageHeader:m,enablePageTabs:h,hidePageTitle:x}=e||u||{},v=r.sizeXXL-2,_=i?r.controlHeight+2*r.paddingContentHorizontalLG:+r.paddingContentHorizontalLG;return v+(t=m,o=h,l=x,n=r,p.pathname.includes("/popups/")?2*n.paddingContentVertical+22+n.paddingPageVertical:t?n.paddingContentHorizontalLG:l?o?n.controlPaddingHorizontal+3*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.paddingContentHorizontalLG+12:o?n.paddingSM+n.controlHeight+n.marginXS+2*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.controlHeight+n.marginXS+(n.paddingContentVertical+2)*2+n.paddingContentHorizontalLG)+_})(e),n=(()=>{let{token:e}=a.theme.useToken(),{designable:t}=(0,d.er)();return e.paddingContentVerticalLG+e.margin+2*e.paddingContentVertical+24+(t?e.controlHeight+2*e.paddingContentHorizontalLG:+e.paddingContentHorizontalLG)})();return t?n:o},x=["workflowManualTasks","approvals","approvalRecords"],v=e=>{let{heightProps:t}=(0,c.useBlockHeightProps)(),o=h(),{heightMode:l,height:n,title:a,titleHeight:r}=t||{};if((null==t?void 0:t.heightMode)&&l!==m.D.DEFAULT){if(l===m.D.FULL_HEIGHT){let t=window.innerHeight-o;return(null==e?void 0:e.removeBlockHeaderHeight)&&(t-=a?r:0),(null==e?void 0:e.innerExtraHeight)&&(t-=e.innerExtraHeight),t}return n}},_=()=>{let e=(0,l.useFieldSchema)(),t=(0,i.useMemo)(()=>(0,c.getPageSchema)(e),[]),{disablePageHeader:o,enablePageTabs:n,hidePageTitle:a}=(null==t?void 0:t["x-component-props"])||{},r={...null==e?void 0:e["x-component-props"],disablePageHeader:o,enablePageTabs:n,hidePageTitle:a},s=h(r),{heightMode:d,height:u}=r||{};if((null==r?void 0:r.heightMode)&&d!==m.D.DEFAULT)return d===m.D.FULL_HEIGHT?window.innerHeight-s:u},f=()=>{let[e,t]=(0,i.useState)(),o=(0,i.useRef)(null),s=(()=>{var e;let{token:t}=a.theme.useToken(),{heightProps:o}=(0,c.useBlockHeightProps)(),{heightProps:n}=(0,p.El)(),{designable:r}=(0,d.er)(),i=(0,l.useFieldSchema)(),s=n||o,{titleHeight:v}=o,_=h(s),{name:f}=(0,u.useCollection)(),{heightMode:g,height:b,title:y}=s;if(!(null==s?void 0:s.heightMode)||g===m.D.DEFAULT)return;let S=Object.keys((null==(e=i.parent.properties.actions)?void 0:e.properties)||{}).length>0,k=t.controlHeight+t.padding+t.marginLG,C=S||r?t.controlHeight+2*t.marginLG:t.marginLG,M=(r&&!x.includes(f)?t.controlHeight:22)+2*t.padding+1,w=y?v:0;return g===m.D.FULL_HEIGHT?window.innerHeight-_-w-M-C-k:b-w-C-M-k})(),v=(0,i.useCallback)((0,r.debounce)(()=>{var e;if(!o.current)return;let l=o.current.getBoundingClientRect();(null==(e=o.current.querySelector(".ant-table"))?void 0:e.getBoundingClientRect())&&t(l.width)},100),[s]),_=(0,i.useCallback)(e=>{o.current=e&&e.children?e.children[0]:null,v()},[v]);return(0,n.useEventListener)("resize",v),{height:s,width:e,tableSizeRefCallback:_}},g=e=>{if(!e)return null;if("Action.Container"===e["x-component"]){var t,o;return(null==e||null==(o=e.parent)||null==(t=o["x-component-props"])?void 0:t.openMode)!=="page"}return g(e.parent)}},61013(e,t,o){o.d(t,{l:()=>r});var l=o(56920),n=o(51649);let a={},r=function(){let{noCache:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{noCache:!1},t=(0,n.useContext)(l.SchemaOptionsContext),o=(0,n.useContext)(l.SchemaExpressionScopeContext);return(r,i)=>{var s,d;let u,c=!1;if("string"==typeof r&&r.startsWith("{{")&&(c=!0,u=r),r&&"object"==typeof r&&!(0,n.isValidElement)(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];s=u,c=/{{.*?}}/g.test(s)}if(Array.isArray(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];d=u,c=/{{.*?}}/g.test(d)}if(c){let n={...null==t?void 0:t.scope,...o,...i};if(!u)return l.Schema.compile(r,n);try{if(e)return l.Schema.compile(r,n);return a[u]=a[u]||l.Schema.compile(r,n),a[u]}catch(e){return console.log("useCompile error",r,e),l.Schema.compile(r,n)}}return r}}},57619(e,t,o){o.d(t,{x:()=>r});var l=o(56920),n=o(77583),a=o(51649);let r=(e,t)=>{let{components:o}=(0,a.useContext)(l.SchemaOptionsContext);return e?"string"!=typeof e?e:(0,n.get)(o,e)||t:t}},95951(e,t,o){o.d(t,{er:()=>F,px:()=>g,QI:()=>w,d1:()=>M,kB:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(52793),s=o(13791),d=o(93656),u=o(20148),c=o(51649),p=o(77843),m=o(16211),h=o(30644),x=o(88448),v=o(63557),_=JSON.parse('{"rE":"2.2.0-beta.8"}'),f=o(13975);function g(e){return new M(e)}let b=e=>{e&&(e["x-uid"]||(e["x-uid"]=(0,a.uid)()),Object.keys(e.properties||{}).forEach(t=>{b(e.properties[t])}))},y=e=>e,S=(e,t)=>{if(e&&t){for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&t[o]!==(null==e?void 0:e[o]))return!1;return!0}},k=(e,t)=>{if(e["x-uid"]&&e["x-uid"]===t["x-uid"])return[null,e.toJSON()];let o=e.toJSON(),l={...o,properties:{}},n=null,a=(e,o)=>{Object.keys(e||{}).forEach(l=>{let r=e[l];if(r["x-uid"]===t["x-uid"]){n=e[l];return}o.properties[l]={...r,properties:{}},a(null==r?void 0:r.properties,o.properties[l])})};return a(o.properties,l),[l,n]},C=e=>e;class M{get model(){return this.options.model}get query(){return this.options.query}loadAPIClientEvents(){let{api:e,t=C}=this.options;if(!e)return;let o=e=>{if(!e)return[];let t=Object.values(e.properties).length,o=[];return(e.mapProperties(e=>{e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].width=100/t,e["x-uid"]&&o.push({"x-uid":e["x-uid"],"x-component-props":e["x-component-props"]})}),e["x-uid"]&&o.length)?o:[]};this.on("insertAdjacent",async l=>{var n;let{onSuccess:a,current:r,position:s,schema:d,wrap:u,wrapped:c,removed:p}=l,m=[];if((null==c?void 0:c["x-component"])==="Grid.Col"&&(m=m.concat(o(c.parent))),(null==p?void 0:p["x-component"])==="Grid.Col"&&(m=m.concat(o(p.parent))),this.refresh(),!r["x-uid"])return;let h=await e.request({url:`/uiSchemas:insertAdjacent/${r["x-uid"]}?position=${s}`,method:"post",data:{schema:function e(t,o){if(t)return t["x-app-version"]||(t["x-app-version"]=o),Object.keys(t.properties||{}).forEach(l=>{var n;e(null==(n=t.properties)?void 0:n[l],o)}),t}(d,this.appVersion),wrap:u}});m.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:m}),(null==p?void 0:p["x-uid"])&&await e.request({url:`/uiSchemas:remove/${p["x-uid"]}`,method:"post"}),null==a||a(null==h||null==(n=h.data)?void 0:n.data),i.message.success(t("Saved successfully"),.2)}),this.on("patch",async o=>{let{schema:l}=o;this.refresh(),(null==l?void 0:l["x-uid"])&&(await e.request({url:"/uiSchemas:patch",method:"post",data:{...l}}),i.message.success(t("Saved successfully"),.2))}),this.on("initializeActionContext",async t=>{let{schema:o}=t;(null==o?void 0:o["x-uid"])&&await e.request({url:"/uiSchemas:initializeActionContext",method:"post",data:{...o}})}),this.on("batchPatch",async o=>{let{schemas:l}=o;this.refresh(),await e.request({url:"/uiSchemas:batchPatch",method:"post",data:l}),i.message.success(t("Saved successfully"),.2)}),this.on("remove",async l=>{let{removed:n}=l,a=[];(null==n?void 0:n["x-component"])==="Grid.Col"&&(a=o(n.parent)),this.refresh(),(null==n?void 0:n["x-uid"])&&(await e.request({url:`/uiSchemas:remove/${n["x-uid"]}`,method:"post"}),a.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:a}),i.message.success(t("Saved successfully"),.2))})}prepareProperty(e){e.type||(e.type="void"),e.name||(e.name=(0,a.uid)()),this.current["x-uid"]&&b(e)}on(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}async emit(e){for(var t=arguments.length,o=Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];if(!this.events[e])return;let[n,...a]=o;return Promise.all(this.events[e].map(e=>e.bind(this)({current:this.current,...n},...a)))}parentsIn(e){if(!e||!n.Schema.isSchemaInstance(e))return!1;let t=this.current;for(;null==t?void 0:t.parent;){if(t.parent===e)return!0;t=t.parent}return!1}refresh(e){let{refresh:t}=this.options;return null==t?void 0:t(e)}deepMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly"},o={"x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(l=>{t[l]?(this.current[l]=e[l],this.updateModel(t[l],e[l])):o[l]?Object.keys(e[l]).forEach(t=>{(0,u.default)(this.current,[l,t],e[l][t]),this.updateModel([o[l],t],e[l][t])}):this.current[l]=e[l]}),this.emit("patch",{schema:e})}getSchemaAttribute(e,t){return(0,d.default)(this.current,e,t)}shallowMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly","x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(o=>{this.current[o]=e[o],t[o]&&this.updateModel(t[o],e[o])}),this.emit("patch",{schema:e})}updateModel(e,t){let o=o=>{(0,u.default)(o,e,t)};this.model&&o(this.model),this.query&&this.query.take(o)}insertAdjacent(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};switch(e){case"beforeBegin":return this.insertBeforeBegin(t,o);case"afterBegin":return this.insertAfterBegin(t,o);case"beforeEnd":return this.insertBeforeEnd(t,o);case"afterEnd":return this.insertAfterEnd(t,o)}}recursiveRemoveIfNoChildren(e,t){let o;if(!e)return;let l=e,n=null==t?void 0:t.breakRemoveOn;for(;l;){if("function"==typeof n){if(n(l))break}else if(S(l,n))break;if(Object.keys(l.properties||{}).length>0)break;l.parent&&(o=l.parent.removeProperty(l.name)),l=l.parent}return o}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return this.emit("remove",{removed:a})}removeWithoutEmit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return a}insertBeforeBeginOrAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current)||!n.Schema.isSchemaInstance(e)||this.current.parent!==e.parent)return;let o=0,l=0;return this.current.parent.mapProperties((t,n,a)=>{this.current.name===n&&(l=a),e.name===n&&(o=a)}),o>l?this.insertBeforeBegin(e,t):this.insertAfterEnd(e,t)}insertBeforeBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=!1,c=0,p=0;this.current.parent.mapProperties((e,t)=>{t===this.current.name&&(p=c,u=!0,++c),e["x-index"]=c,++c,u&&(d[t]=e,this.current.parent.removeProperty(t))}),this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h["x-index"]=p,h.parent=this.current.parent,this.current.parent.setProperties(d);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"beforeBegin",schema:v,wrapped:m,wrap:x,...o})}insertAfterBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=1;this.current.mapProperties((e,t)=>{e["x-index"]=u,++u,d[t]=e}),this.current.properties={},this.prepareProperty(e);let c=l(e),p=this.current.addProperty(c.name||(0,a.uid)(),c);p["x-index"]=0,p.parent=this.current,this.current.setProperties(d);let[m,h]=k(p,e);this.emit("insertAdjacent",{position:"afterBegin",schema:h,wrap:m,wrapped:c,...o})}insertBeforeEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;delete e["x-index"];let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let d=l(e),u=this.current.addProperty(d.name||(0,a.uid)(),d);u.parent=this.current;let[c,p]=k(u,e);return this.emit("insertAdjacent",{position:"beforeEnd",schema:p,wrap:c,wrapped:d,...o})}insertAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:null==t?void 0:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t,d=0,u=0,c=!1,p={};if(this.current.parent.mapProperties((e,t)=>{e["x-index"]=d,t===this.current.name&&(u=++d,c=!0),++d,c&&t!==this.current.name&&(p[t]=e,this.current.parent.removeProperty(t))}),n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r})),e.parent=null}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h.parent=this.current.parent,h["x-index"]=u,this.current.parent.setProperties(p);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"afterEnd",schema:v,wrap:x,wrapped:m,...o})}constructor(e){this.events={},this.options=e,this.current=e.current,this.appVersion=e.appVersion}}function w(){let e=(0,c.useContext)(n.SchemaOptionsContext),t=(0,c.useMemo)(()=>(null==e?void 0:e.components)||{},[e]);return e=>{if(!e)return null;if("string"!=typeof e)return e;let o=(0,d.default)(t,e);return o||console.error(`[nocobase]: Component "${e}" not found`),o}}function F(){let{designable:e,setDesignable:t,refresh:o,reset:a}=(0,c.useContext)(v.u),i=(0,c.useContext)(n.SchemaOptionsContext),s=(0,c.useMemo)(()=>(null==i?void 0:i.components)||{},[i]),b=(0,c.useMemo)(()=>()=>(0,l.jsx)(l.Fragment,{}),[]),y=(0,r.useUpdate)(),S=(0,h.o8)(),k=(0,h.cQ)(),C=(0,c.useCallback)(e=>{null==o||o(),y(),null==S||S(e),null==k||k()},[o,y,S,k]),M=(0,n.useField)(),w=(0,n.useFieldSchema)(),F=(0,m.VB)(),{t:P}=(0,p.useTranslation)(),j=(0,c.useMemo)(()=>g({t:P,api:F,refresh:C,current:w,model:M,appVersion:_.rE}),[P,F,C,w,M]);(0,c.useEffect)(()=>{j.loadAPIClientEvents()},[j]);let{isMobileLayout:A}=(0,f.useMobileLayout)();return{dn:j,designable:!A&&e,reset:a,refresh:C,setDesignable:t,DesignableBar:b,findComponent:(0,c.useCallback)(e=>{if(!e)return null;if("string"!=typeof e)return e;let t=(0,d.default)(s,e);return(null==t?void 0:t[x.PE])??t},[d.default]),on:j.on.bind(j),patch:(0,c.useCallback)((e,t)=>{let o=e=>{Object.keys(e).forEach(t=>{let o=e[t];"title"===t&&(M.title=o,w.title=o),"x-decorator-props"===t&&(M.decoratorProps||(M.decoratorProps={}),w["x-decorator-props"]||(w["x-decorator-props"]={}),Object.keys(o).forEach(e=>{M.decoratorProps[e]=o[e],w["x-decorator-props"][e]=o[e]})),"x-component-props"===t&&(M.componentProps||(M.componentProps={}),w["x-component-props"]||(w["x-component-props"]={}),Object.keys(o).forEach(e=>{M.componentProps[e]=o[e],w["x-component-props"][e]=o[e]}))})};if("string"==typeof e){let l={};return(0,u.default)(l,e,t),o(l)}o(e),C()},[j]),shallowMerge:(0,c.useCallback)(e=>{j.shallowMerge(e)},[j]),deepMerge:(0,c.useCallback)(e=>{j.deepMerge(e)},[j]),remove:(0,c.useCallback)((e,t)=>{j.remove(e,t)},[j]),insertAdjacent:(0,c.useCallback)((e,t,o)=>{j.insertAdjacent(e,t,o)},[j]),insertBeforeBegin:(0,c.useCallback)(e=>{j.insertBeforeBegin(e)},[j]),insertAfterBegin:(0,c.useCallback)(e=>{j.insertAfterBegin(e)},[j]),insertBeforeEnd:(0,c.useCallback)(e=>{j.insertBeforeEnd(e)},[j]),insertAfterEnd:(0,c.useCallback)(e=>{j.insertAfterEnd(e)},[j])}}},87463(e,t,o){o.d(t,{H:()=>d});var l=o(56920),n=o(51649),a=o(99300),r=o(57619),i=o(95951);let s=()=>null;s.isNullComponent=!0;let d=()=>{let{designable:e}=(0,i.er)(),t=(0,l.useFieldSchema)(),o=(0,n.useMemo)(()=>t["x-designer"]||t["x-toolbar"]?t["x-designer"]||t["x-toolbar"]:t["x-settings"]?a.Bw:s,[t]),d=(0,r.x)(o);return e&&d||s}},81547(e,t,o){o.d(t,{j:()=>i});var l=o(56920),n=o(51649),a=o(77843),r=o(43288);let i=e=>{var t;let{t:o}=(0,a.useTranslation)(),{getCollectionJoinField:i,getCollection:s}=(0,r.nj)(),d=(0,l.useFieldSchema)(),u=(null==e?void 0:e.fieldSchema)||d,c=(0,l.useField)(),p=(0,l.useForm)(),m=(null==u?void 0:u["x-read-pretty"])||c.readPretty||p.readPretty,h=null==e?void 0:e.fieldSchema,{getField:x}=(0,r.k7)(),v=(null==e?void 0:e.collectionField)||x(u.name)||i(u["x-collection-field"]),{label:_}=(null==(t=u["x-component-props"])?void 0:t.fieldNames)||{};return((0,n.useMemo)(()=>{if(!v||!(null==v?void 0:v.interface)||!["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(v.type))return;let e=s(v.target);if((null==e?void 0:e.template)==="file")return m?[{label:o("Title"),value:"Select"},{label:o("File manager"),value:"FileManager"},{label:o("Tag"),value:"Tag"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},{label:o("File manager"),value:"FileManager"}];if((null==e?void 0:e.template)==="tree"&&["m2m","o2m","m2o"].includes(v.interface))return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&["m2m","o2m"].includes(v.interface)&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Cascader Select"),value:"CascadeSelect"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];switch(v.interface){case"o2m":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"},!h&&{label:o("Sub-table"),value:"SubTable"}];case"m2m":case"mbm":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];default:return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}]}},[o,null==v?void 0:v.interface,_,m,h])||[]).filter(Boolean)}},4922(e,t,o){o.d(t,{Y:()=>n});let l=()=>({}),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{useProps:t=l,...o}=e,n=t;"function"!=typeof t&&(n=l);let a=n();return{...o,...a}}},39247(e,t,o){o.d(t,{F:()=>a});var l=o(51649),n=o(63557);function a(){return(0,l.useContext)(n.u)}},82924(e,t,o){o.d(t,{iI7:()=>D.iI,a1G:()=>u.ShowFormData,yt2:()=>th.yt,flR:()=>r.fl,FVw:()=>nX.FV,FrL:()=>nv.Fr,CqQ:()=>L,$Eq:()=>T,ZB7:()=>nX.ZB,TrS:()=>th.Tr,sIN:()=>rk.sI,a2g:()=>u.getRenderContent,t6u:()=>c.t6,qIn:()=>lQ.qI,HPy:()=>r.HP,R_2:()=>lX.R_,doK:()=>D.do,bZ4:()=>r.bZ,pxY:()=>eu.px,pde:()=>lX.pd,CEt:()=>nv.CE,lum:()=>eu.lu,OpO:()=>c.Op,tO8:()=>r.tO,nxV:()=>nv.nx,TDj:()=>tG,xA9:()=>nX.xA,lNE:()=>aE.l,ud$:()=>e5,l46:()=>nh,X_:()=>u.DraggableContext,QD_:()=>nv.QD,ud1:()=>r.ud,Dgp:()=>D.Dg,tvd:()=>D.tv,QEB:()=>aN,X6x:()=>aF.X6,jZb:()=>tB,tn0:()=>lQ.tn,dF1:()=>oo.dF,kBD:()=>eu.kB,Gjn:()=>r.Gj,VFg:()=>aF.VF,Pnr:()=>nv.Pn,zN:()=>r.zN,dKS:()=>aj,LMh:()=>lX.LM,lTd:()=>ew,rlt:()=>eB,dWC:()=>tx.dW,cWk:()=>r.cW,Zy6:()=>th.Zy,PB5:()=>aO.PB,UTu:()=>nv.UT,jeY:()=>D.je,TB2:()=>r.TB,D6h:()=>nW,d9b:()=>oo.d9,fM:()=>tz,X43:()=>tU.X,uc_:()=>nT,pEl:()=>aO.pE,T$Q:()=>tU.T,GD6:()=>c.GD,mJi:()=>lX.mJ,C5g:()=>tq.C5,OJX:()=>eu.OJ,Bmi:()=>rs,u4V:()=>rz.u,lrV:()=>nv.lr,fDF:()=>a.fD,N$k:()=>e1.N$,_sT:()=>oo._s,rNg:()=>tO.rN,RhU:()=>r.Rh,Bnf:()=>oH,UyB:()=>e2,xq$:()=>D.xq,RB3:()=>aO.RB,I5x:()=>eR,hqJ:()=>lX.hq,XIK:()=>a8,m2w:()=>lO,ccy:()=>r$,NVg:()=>tq.NV,kDr:()=>D.kD,J3t:()=>tx.J3,d09:()=>r.d0,AG:()=>rg,Xjr:()=>oK,uwA:()=>e1.uw,KDQ:()=>em,$mi:()=>oT.$,L1H:()=>u.Sortable,QoO:()=>nv.Qo,q7s:()=>D.q7,Mp5:()=>u.DndContext,xB5:()=>eu.xB,B4G:()=>D.B4,YIz:()=>ap,$xS:()=>aU,o8F:()=>oG,qKt:()=>aO.qK,_OO:()=>oo._O,qy$:()=>nn,W1t:()=>th.W1,Z0V:()=>lQ.Z0,cGx:()=>nf,Q2z:()=>nv.Q2,YW0:()=>tF,HvB:()=>c.Hv,ic7:()=>nK,QpY:()=>D.Qp,tUM:()=>rx,oAT:()=>D.oA,zBI:()=>e7,gBz:()=>u.SortableProvider,eIh:()=>D.eI,i_r:()=>nN.i,DVX:()=>D.DV,b7u:()=>e1.b7,Mwt:()=>aO.Mw,Kql:()=>r.Kq,XOn:()=>D.XO,ozN:()=>aw.o,nu1:()=>tm.n,rTt:()=>rk.rT,eBw:()=>nJ,xZI:()=>eu.xZ,MIq:()=>r.MI,JaO:()=>nO,htN:()=>eU,Eaz:()=>r.E,qy5:()=>nc,IX0:()=>tO.IX,lSn:()=>tq.lS,BsJ:()=>e1.Bs,_22:()=>aR,sxL:()=>oC,xPi:()=>tm.x,b2W:()=>nq.b,sDQ:()=>aV,Xzy:()=>D.Xz,gt0:()=>az,QIX:()=>e4,i_F:()=>lJ,Ypd:()=>r.Yp,SOm:()=>e1.SO,VXI:()=>r.VX,nKd:()=>tR,N3p:()=>c.N3,dJT:()=>e1.dJ,vPC:()=>D.vP,a97:()=>eu.a9,TNL:()=>D.TN,xAQ:()=>tw,Qgm:()=>aF.Qg,RLS:()=>ar,OqW:()=>e1.Oq,j0_:()=>nM,zVE:()=>rS,yVm:()=>r.yV,B_g:()=>n_,Hbp:()=>eu.Hb,lhV:()=>D.lh,yGk:()=>e1.yG,QIi:()=>eu.QI,Q00:()=>aP,OAH:()=>c.OA,JQe:()=>D.JQ,xqq:()=>r.xq,zEg:()=>e6.z,wN6:()=>aw.w,fDM:()=>nv.fD,uUT:()=>tV,BCL:()=>rt.BC,D50:()=>r.D5,Fag:()=>eu.F,MoU:()=>r.Mo,wnJ:()=>e1.wn,ISS:()=>aF.IS,m$h:()=>t2,c_d:()=>e1.c_,Hi5:()=>rc,x1p:()=>nv.x1,DYS:()=>c.DY,U6o:()=>r.U6,LjE:()=>eu.Lj,l2i:()=>r.l2,Um:()=>e1.Um,Y2j:()=>tP,O$4:()=>aO.O$,G2C:()=>t9.G2,wA7:()=>rA,$t1:()=>D.$t,_bM:()=>oo._b,b6K:()=>oT.b,vzL:()=>nl,lNX:()=>oo.lN,rcl:()=>r.rc,gZ:()=>aO.gZ,msY:()=>nv.ms,U8O:()=>r.U8,Sh8:()=>r.Sh,mhY:()=>eu.mh,tXY:()=>tq.tX,Sc0:()=>oF,p9h:()=>ru,gBZ:()=>u.SortableContext,JDj:()=>rf,hbv:()=>nx,RD4:()=>nV.R,bee:()=>aO.be,PSc:()=>r.PS,hsK:()=>e6.h,oVU:()=>l7,IJ7:()=>D.IJ,f2z:()=>o1.f,OZ6:()=>aF.OZ,pA3:()=>e1.pA,$5j:()=>r.$5,J1:()=>D.J1,dVP:()=>u.DateFilterDynamicComponent,E76:()=>r.E7,j9R:()=>lZ,vjx:()=>nL,mz8:()=>nX.mz,Doh:()=>c.Do,vxQ:()=>l3,Us6:()=>eu.Us,UqM:()=>u.SortableItem,lVW:()=>A,f7I:()=>ry,ARu:()=>t1,TDH:()=>eu.TD,l6P:()=>ek,g9w:()=>e1.g9,s23:()=>tY,GjU:()=>r.nY,GmQ:()=>aO.Gm,skP:()=>ns,C4D:()=>nr,arW:()=>as,v93:()=>ri,Wis:()=>r.Wi,jE9:()=>eu.jE,dbD:()=>nB.d,Ff5:()=>D.Ff,gM2:()=>e1.gM,FZR:()=>lX.FZ,PnP:()=>rC.P,nlx:()=>eY,AQf:()=>lQ.AQ,FoY:()=>a$,w2W:()=>aO.w2,z45:()=>r.z4,bkX:()=>tK,jgC:()=>rr,Ur4:()=>rP,lE3:()=>D.lE,U5u:()=>D.U5,LtX:()=>r.Lt,cl6:()=>a_,d1R:()=>eu.d1,rrz:()=>tx.rr,B8B:()=>aM,hY7:()=>o1.h,Ob5:()=>th.Ob,erX:()=>eu.er,MqW:()=>c.Mq,S5r:()=>nq.S,YYe:()=>eu.YY,ami:()=>rk.am,LBS:()=>nH,L3t:()=>u.DragHandler,oMF:()=>eh});var l,n={};o.r(n),o.d(n,{Action:()=>r.rc,ActionBar:()=>r.E7,ActionBarProvider:()=>r.xq,ActionContext:()=>r.yV,ActionContextNoRerender:()=>r.Wi,ActionContextProvider:()=>r.z4,ActionDesigner:()=>r.U6,AfterSuccess:()=>r.Kq,AllDataBlocksContext:()=>tx.rr,AllDataBlocksProvider:()=>tx.J3,AntdSchemaComponentPlugin:()=>tK,AntdSchemaComponentProvider:()=>tG,AppendsTreeSelect:()=>t2,AssignedFieldValues:()=>r.TB,AssociationField:()=>lO,AssociationFieldMode:()=>oH,AssociationFieldModeProvider:()=>oG,AssociationSelect:()=>lJ,AttachmentList:()=>oo._s,AutoComplete:()=>lZ,BackButtonUsedInSubPage:()=>e6.h,Block:()=>nJ,BlockItem:()=>lQ.Z0,BlockItemCard:()=>lQ.tn,BlockItemCardContext:()=>lQ.AQ,BlocksSelector:()=>r.Gj,ButtonEditor:()=>r.Yp,CardItem:()=>l7,Cascader:()=>l3,Checkbox:()=>oF,CollectionSelect:()=>nl,ColorPicker:()=>ns,ColorSelect:()=>nc,Cron:()=>nh,CronSet:()=>nx,DataSourceCollectionCascader:()=>nr,DataSourceSelect:()=>nn,DateFormatCom:()=>nq.b,DatePicker:()=>nv.lr,DatePickerProvider:()=>nv.Qo,Details:()=>n_,DetailsDesigner:()=>L,Divider:()=>nf,EditComponent:()=>D.iI,EditDefaultValue:()=>D.tv,EditDescription:()=>D.JQ,EditOperator:()=>D.B4,EditPattern:()=>D.$t,EditRequired:()=>D.Qp,EditSortField:()=>rr,EditTable:()=>nM,EditTableAction:()=>nL,EditTableActionContext:()=>nT,EditTitle:()=>D.Xz,EditTitleField:()=>D.Ff,EditTooltip:()=>D.IJ,EditValidationRules:()=>D.vP,Editable:()=>a$,EllipsisWithTooltip:()=>lX.R_,ErrorFallback:()=>tm.x,Expand:()=>nO,ExpiresRadio:()=>nq.S,FieldsTreeSelect:()=>t1,Fieldset:()=>nH,Filter:()=>e1.dJ,FilterAction:()=>e1.Bs,FilterActionContext:()=>e1.SO,FilterContext:()=>e1.gM,FilterDynamicComponent:()=>e1.N$,FilterLogicContext:()=>e1.c_,Form:()=>A,FormDialog:()=>nV.R,FormDrawer:()=>rA,FormField:()=>e7,FormItem:()=>D.eI,FormV2:()=>eU,G2Plot:()=>nW,G2PlotRenderer:()=>nK,Grid:()=>nX.xA,GridCard:()=>ar,GridRowContext:()=>nX.mz,HTMLEncode:()=>lX.mJ,ICON_POPUP_Z_INDEX:()=>oT.b,IconPicker:()=>as,Input:()=>lX.pd,InputNumber:()=>ap,InputReadPretty:()=>lX.FZ,InputRecordPicker:()=>aO.qK,Json:()=>lX.LM,LinkageFilter:()=>r$,List:()=>aM,Markdown:()=>aw.o,MarkdownReadPretty:()=>aw.w,Menu:()=>th.W1,NanoIDInput:()=>aP,Page:()=>tF,PagePopups:()=>tO.rN,PageTabs:()=>tP,Pagination:()=>aj,ParentRouteContext:()=>th.Zy,Password:()=>aR,Percent:()=>aN,PopupSettingsProvider:()=>tU.T,Preview:()=>aE.l,QuickEdit:()=>az,Radio:()=>oC,ReadPretty:()=>lX.hq,ReadPrettyRecordPicker:()=>aO.w2,RecordPicker:()=>aO.O$,RecordPickerContext:()=>aO.pE,RecordPickerProvider:()=>aO.be,RefreshDataBlockRequest:()=>r.ud,RemoteSelect:()=>ew,RemoveButton:()=>r.d0,RemoveConditionContext:()=>e1.b7,RequestSettings:()=>r.Rh,RichText:()=>aV,SecondConFirm:()=>r.VX,Select:()=>ek,SkipValidation:()=>r.zN,Space:()=>aU,StablePopover:()=>oT.$,Table:()=>a8,TableBlockDesigner:()=>ri,TableField:()=>rs,TableSelectorDesigner:()=>ru,TableV2:()=>rc,Tabs:()=>rx,TabsContextProvider:()=>o1.h,Templates:()=>eR,TestDesigner:()=>lQ.qI,TextAreaWithGlobalScope:()=>rP,TimePicker:()=>rg,TreeSelect:()=>ry,UnixTimestamp:()=>rS,Upload:()=>oo._O,Uploader:()=>oo.d9,Variable:()=>rk.rT,VariableScopeProvider:()=>rk.sI,VariableSelect:()=>rC.P,actionSettings:()=>r.Sh,actionSettingsItems:()=>r.Mo,allowAddNew:()=>D.lE,attachmentFileTypes:()=>oo.lN,defaultFieldNames:()=>em,fetchTemplateData:()=>eB,filterFormItemSettings:()=>D.Dg,findByUid:()=>aF.X6,findKeysByUid:()=>aF.VF,findMenuItem:()=>aF.OZ,formDetailsSettings:()=>e4,formItemSettings:()=>D.DV,formSettings:()=>e2,formV1Settings:()=>T,genStyleHook:()=>a.fD,getCurrentOptions:()=>eh,getDateExact:()=>nv.Q2,getDatePickerLabels:()=>aO.Mw,getDateRanges:()=>nv.fD,getLabelFormatValue:()=>aO.PB,getPopupPathFromParams:()=>tq.C5,getStoredPopupContext:()=>tq.lS,getTabSchema:()=>tB,getZIndex:()=>r.fl,handleDateChangeOnForm:()=>nv.QD,inferPickerType:()=>nv.Pn,isBulkEditAction:()=>r.PS,isFileCollection:()=>D.XO,isMobile:()=>nv.Fr,isShowFilePicker:()=>aO.Gm,isTabPage:()=>tR,isWriteEmailAction:()=>r.cW,mapDatePicker:()=>nv.x1,mapRangePicker:()=>nv.UT,mapTimeFormat:()=>rf,matchMimetype:()=>oo._b,moment2str:()=>nv.ms,navigateToTab:()=>tY,pageSettings:()=>tz,pageTabSettings:()=>tV,readPrettyFormSettings:()=>e5,removeNullCondition:()=>e1.pA,resolveFilterPickerFormat:()=>nv.CE,storePopupContext:()=>tq.NV,useActionBarContext:()=>r.MI,useActionContext:()=>r.D5,useAfterSuccessOptions:()=>r.bZ,useAllDataBlocks:()=>tx.dW,useAssociationFieldContext:()=>t9.G2,useAssociationFieldModeContext:()=>oK,useBackButton:()=>e6.z,useCloseAction:()=>r.nY,useColumnSchema:()=>rt.BC,useColumnSettings:()=>nB.d,useCurrentPopupContext:()=>tO.IX,useDatePickerContext:()=>nv.nx,useDownloadLogs:()=>tm.n,useEnsureOperatorsValid:()=>D.lh,useFieldMode:()=>D.J1,useFieldNames:()=>aO.gZ,useFilterActionProps:()=>e1.Um,useFilterFieldOptions:()=>e1.g9,useFilterFieldProps:()=>e1.yG,useFilterOptions:()=>e1.uw,useFormDataTemplates:()=>eY,useGetAriaLabelOfAction:()=>r.U8,useGetAriaLabelOfDrawer:()=>r.HP,useGetAriaLabelOfModal:()=>r.tO,useGetAriaLabelOfPopover:()=>r.l2,useGetFilterFieldOptions:()=>e1.Oq,useGetFilterOptions:()=>e1.wn,useGridContext:()=>nX.ZB,useGridRowContext:()=>nX.FV,useIsAddNewForm:()=>D.TN,useIsAssociationField:()=>D.xq,useIsFieldReadPretty:()=>D.U5,useIsFileField:()=>D.oA,useIsFormReadPretty:()=>D.q7,useIsSelectFieldMode:()=>D.je,useKeepAliveLocationSearch:()=>tw,useLabelUiSchema:()=>aO.RB,useLinkageAction:()=>r.Lt,useListBlockContext:()=>a_,useMenuDragEnd:()=>th.yt,useMenuTranslation:()=>aF.Qg,useNocoBaseRoutes:()=>th.Ob,useParentRoute:()=>th.Tr,usePopupSettings:()=>tU.X,useStyles:()=>aF.IS,useTableColumnIntegration:()=>nN.i,useTabsContext:()=>o1.f,useTitleFieldOptions:()=>D.kD,useUploadStyles:()=>oo.dF,useValidateSchema:()=>D.do,useVariableScope:()=>rk.am,useZIndexContext:()=>r.$5,withSearchParams:()=>tq.tX,zIndexContext:()=>r.E});var a=o(54969),r=o(78562),i=o(71178),s=o(51649),d=o(83468),u=o(91032),c=o(90995),p=o(72548);let m=e=>async function(){try{var t;let o=await this.api.request(e);return null==o||null==(t=o.data)?void 0:t.data}catch(e){return[]}};var h=o(56220),x=o(44814),v=o(56920),_=o(52793),f=o(16211),g=o(43288),b=o(30644),y=o(99300),S=o(25952),k=o(96932),C=o(24768);let M=e=>{let{form:t,children:o,...l}=e,n=(0,v.useField)(),a=(0,v.useFieldSchema)(),r=(0,eu.TD)(t.createVoidField({...n.props,basePath:""}));return(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...l,children:(0,i.jsx)(b.dw,{basePath:r.address,schema:a,onlyRenderProperties:!0})})})})},w=e=>e.children,F=e=>{let{form:t,children:o,disabled:l,...n}=e,a=(0,v.useField)(),r=(0,v.useFieldSchema)(),d=(0,eu.TD)(t.createVoidField({...a.props,basePath:""})),u=(0,eu.xZ)(r["x-component"],w);return(0,s.useEffect)(()=>{t.disabled=l||a.disabled},[l,a.disabled]),(0,i.jsx)(_.ConfigProvider,{componentDisabled:l,children:(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...n,children:(0,i.jsx)(v.FieldContext.Provider,{value:d,children:(0,i.jsx)(u,{...a.componentProps,children:(0,i.jsx)(b.dw,{basePath:d.address,schema:r,onlyRenderProperties:!0})})})})})})})},P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,f.bP)((e=>{let{request:t,initialValue:o}=e;return t||(()=>Promise.resolve({data:o}))})(t),e)},j=(0,s.createContext)(null);j.displayName="FormBlockContext";let A=(0,v.observer)(e=>{let{request:t,effects:o,initialValue:l,useValues:n=P,...a}=e,r=(0,v.useFieldSchema)(),d=(0,v.useField)(),u=(0,s.useMemo)(()=>(0,x.createForm)({effects:o}),[]),c=n({uid:r["x-uid"],async onSuccess(e){await u.reset(),u.setValues(null==e?void 0:e.data),u.setInitialValues(null==e?void 0:e.data)}},e),p=(0,s.useContext)(j);return(0,i.jsx)(j.Provider,{value:{parent:p,form:u,result:c,field:d,fieldSchema:r},children:(0,i.jsx)(_.Spin,{spinning:(null==c?void 0:c.loading)||!1,children:"Form"===r["x-decorator"]?(0,i.jsx)(F,{form:u,...a}):(0,i.jsx)(M,{form:u,...a})})})},{displayName:"Form"});A.Designer=function(){let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)(),{componentNamePrefix:l}=(0,C.kU)();return(0,i.jsxs)(y.xK,{template:o,title:t||e,children:[(0,i.jsx)(S.l,{componentName:`${l}Form`,collectionName:e}),(0,i.jsx)(y.kT,{}),(0,i.jsx)(y.d$,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}})]})};var I=o(31675);let T=new I.RT({name:"FormV1Settings",items:[{name:"template",Component:S.l,useComponentProps(){let{name:e}=(0,g.k7)(),{componentNamePrefix:t}=(0,C.kU)();return{componentName:`${t}Form`,collectionName:e}}},{name:"divider",type:"divider"},{name:"remove",type:"remove",componentProps:{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}}]});var D=o(60929);let L=()=>{let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)();return(0,i.jsx)(y.xK,{schemaSettings:"FormDetailsSettings",template:o,title:t||e})};var Y=o(69412),R=o(80461),B=o(99847),N=o(49948),E=o(10691),$=o(27404),z=o(77583),O=o(17157),q=o(18111),H=o(70136),V=o(28227),U=o(14187),G=o(92619),K=o(4627),W=o(83006),J=o(43923),X=o(4922),Z=o(95951),Q=o(95210),ee=o(62152),et=o(63526),eo=o(77843),el=o(69575),en=o(65457),ea=o(82113),er=o(91815),ei=o(23460),es=o(29558),ed=o(58980),eu=o(16319),ec=o(46724),ep=o(81607);let em={label:"label",value:"value",color:"color",options:"children"};function eh(e,t,o){let l=function e(t,o){let l=[];if(!Array.isArray(t))return l;for(let n=0;n<t.length;n++){let a=t[n][o.options];Array.isArray(a)&&l.push(...e(a,o)),l.push({...t[n]})}return l}(t,o),n=(0,z.castArray)(e).map(e=>(0,et.isPlainObject)(e)?e[o.value]:e);if(!l)return[];let a=[];for(let e of n){let t=l.find(t=>t[o.value]==e)||{value:e,label:e?e.toString():e};a.push(t)}return a}var ex=o(84951),ev=o(60430);let e_=(0,v.observer)(e=>{let[t,o]=(0,s.useState)(!0),[l,n]=(0,s.useState)([]),a=(0,v.useField)(),r=(0,ec.E1)();return((0,s.useEffect)(()=>{var t;let l={...em,...e.fieldNames},s=a.dataSource||e.options||(null==r?void 0:r.uiSchema.enum)||[],d=eh(a.value,s,l);!(0,$.isValid)(e.value)&&!d.length||(0,x.isArrayField)(a)&&(null==a||null==(t=a.value)?void 0:t.length)===0||(n(null!==a.value&&d.map((e,t)=>(0,i.jsx)(_.Tag,{color:e[l.color],icon:"string"==typeof e.icon?(0,i.jsx)(ev.In,{type:e.icon}):e.icon,children:e[l.label]},t))),o(!1))},[null==r?void 0:r.uiSchema.enum,a,a.dataSource,a.value,e.fieldNames,e.options,e.value]),t)?null:(0,i.jsx)(ep.R,{ellipsis:e.ellipsis,children:l})},{displayName:"SelectReadPretty"}),ef=(0,ex.A)(e_),eg=e=>{let{value:t,options:o,onChange:l,fieldNames:n,mode:a,loading:r,rawOptions:s,defaultValue:d,...u}=e,c=ey.isDesktop?"":eS,p=ey.isDesktop?void 0:"topLeft",m=t=>{var l;if(!(0,$.isValid)(t)||"object"==typeof t&&0===Object.keys(t).length)return;let r=null==(l=eh((0,$.toArr)(t).filter(e=>e).map(e=>(0,et.isPlainObject)(e)?e[n.value]:e),o,n))?void 0:l.map(e=>({label:e[n.label],value:e[n.value]}));return["tags","multiple"].includes(a)||e.multiple?r:r.shift()};return(0,i.jsx)(_.Select,{rootClassName:c,placement:p,role:"button","data-testid":`select-object-${a||"single"}`,value:m(t),defaultValue:m(d),allowClear:{clearIcon:(0,i.jsx)(ea.CloseCircleFilled,{role:"button","aria-label":"icon-close-select"})},labelInValue:!0,notFoundContent:r?(0,i.jsx)(_.Spin,{}):(0,i.jsx)(_.Empty,{image:_.Empty.PRESENTED_IMAGE_SIMPLE}),options:o,fieldNames:n,showSearch:!0,popupMatchSelectWidth:!1,filterOption:(e,t)=>((null==t?void 0:t[n.label||"label"])??"").includes(e),filterSort:(e,t)=>((null==e?void 0:e[n.label||"label"])??"").toLowerCase().localeCompare(((null==t?void 0:t[n.label||"label"])??"").toLowerCase()),onChange:t=>{let r=eh((0,$.toArr)(t).map(e=>e.value),s||o,n);["tags","multiple"].includes(a)||e.multiple?null==l||l(r):null==l||l(r.shift()||null)},mode:a,tagRender:e=>(0,i.jsx)(_.Tag,{role:"button","aria-label":e.label,closeIcon:(0,i.jsx)(ea.CloseOutlined,{role:"button","aria-label":"icon-close-tag"}),...e,children:e.label}),maxTagCount:"responsive",maxTagPlaceholder:e=>(0,i.jsxs)(_.Tooltip,{title:(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6,maxWidth:"100%"},children:e.map(e=>(0,i.jsx)(_.Tag,{style:{margin:0,background:"#fafafa",border:"1px solid #d9d9d9",whiteSpace:"normal",wordBreak:"break-word",maxWidth:"100%"},children:e.label},e.value))}),overlayInnerStyle:{background:"#fff",color:"#000",padding:8,maxWidth:"100%"},color:"#fff",overlayStyle:{pointerEvents:"auto",maxWidth:300},children:["+",e.length,"..."]}),...u})},eb=(e,t)=>((null==t?void 0:t.label)??"").toLowerCase().includes((e||"").toLowerCase()),eS=(0,E.css)`
1017
1017
  & .ant-select-selection-search-input {
1018
1018
  opacity: 0.1 !important;
1019
1019
  }