@next-bricks/data-view 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/bricks.json +18 -0
  2. package/dist/chunks/1646.c6fb10b9.js +2 -0
  3. package/dist/chunks/1646.c6fb10b9.js.map +1 -0
  4. package/dist/chunks/2024.9df06f14.js +2 -0
  5. package/dist/chunks/2024.9df06f14.js.map +1 -0
  6. package/dist/chunks/2241.9f705baa.js +3 -0
  7. package/dist/chunks/2241.9f705baa.js.LICENSE.txt +19 -0
  8. package/dist/chunks/2241.9f705baa.js.map +1 -0
  9. package/dist/chunks/2323.5185fa60.js +2 -0
  10. package/dist/chunks/2323.5185fa60.js.map +1 -0
  11. package/dist/chunks/2754.c7ac7717.js +2 -0
  12. package/dist/chunks/2754.c7ac7717.js.map +1 -0
  13. package/dist/chunks/2993.e6502630.js +2 -0
  14. package/dist/chunks/2993.e6502630.js.map +1 -0
  15. package/dist/chunks/3494.49ab0ed3.js +2 -0
  16. package/dist/chunks/3494.49ab0ed3.js.map +1 -0
  17. package/dist/chunks/3914.738b0862.js +2 -0
  18. package/dist/chunks/3914.738b0862.js.map +1 -0
  19. package/dist/chunks/4049.c503232d.js +2 -0
  20. package/dist/chunks/4049.c503232d.js.map +1 -0
  21. package/dist/chunks/4454.22c6779c.js +2 -0
  22. package/dist/chunks/4454.22c6779c.js.map +1 -0
  23. package/dist/chunks/4717.ace78c3e.js +2 -0
  24. package/dist/chunks/4717.ace78c3e.js.map +1 -0
  25. package/dist/chunks/4728.b40327c9.js +2 -0
  26. package/dist/chunks/4728.b40327c9.js.map +1 -0
  27. package/dist/chunks/4795.20afb9f3.js +2 -0
  28. package/dist/chunks/4795.20afb9f3.js.map +1 -0
  29. package/dist/chunks/5151.f19f99d2.js +2 -0
  30. package/dist/chunks/5151.f19f99d2.js.map +1 -0
  31. package/dist/chunks/5202.3225e09f.js +2 -0
  32. package/dist/chunks/5202.3225e09f.js.map +1 -0
  33. package/dist/chunks/5603.39981534.js +2 -0
  34. package/dist/chunks/5603.39981534.js.map +1 -0
  35. package/dist/chunks/5637.452e222a.js +2 -0
  36. package/dist/chunks/5637.452e222a.js.map +1 -0
  37. package/dist/chunks/6173.73523a3f.js +3 -0
  38. package/dist/chunks/6173.73523a3f.js.LICENSE.txt +5 -0
  39. package/dist/chunks/6173.73523a3f.js.map +1 -0
  40. package/dist/chunks/6205.ac5f4fb2.js +2 -0
  41. package/dist/chunks/6205.ac5f4fb2.js.map +1 -0
  42. package/dist/chunks/6473.6c0bd059.js +2 -0
  43. package/dist/chunks/6473.6c0bd059.js.map +1 -0
  44. package/dist/chunks/6635.f9c26f87.js +3 -0
  45. package/dist/chunks/6635.f9c26f87.js.LICENSE.txt +8 -0
  46. package/dist/chunks/6635.f9c26f87.js.map +1 -0
  47. package/dist/chunks/7164.b1dddefc.js +2 -0
  48. package/dist/chunks/7164.b1dddefc.js.map +1 -0
  49. package/dist/chunks/7179.6e1ec8ff.js +2 -0
  50. package/dist/chunks/7179.6e1ec8ff.js.map +1 -0
  51. package/dist/chunks/7244.7271f90a.js +2 -0
  52. package/dist/chunks/7244.7271f90a.js.map +1 -0
  53. package/dist/chunks/7746.2d8b6f17.js +2 -0
  54. package/dist/chunks/7746.2d8b6f17.js.map +1 -0
  55. package/dist/chunks/7822.a67018b0.js +2 -0
  56. package/dist/chunks/7822.a67018b0.js.map +1 -0
  57. package/dist/chunks/7915.0bf6d068.js +2 -0
  58. package/dist/chunks/7915.0bf6d068.js.map +1 -0
  59. package/dist/chunks/8008.00ab7560.js +3 -0
  60. package/dist/chunks/8008.00ab7560.js.LICENSE.txt +3 -0
  61. package/dist/chunks/8008.00ab7560.js.map +1 -0
  62. package/dist/chunks/8207.d017a10a.js +2 -0
  63. package/dist/chunks/8207.d017a10a.js.map +1 -0
  64. package/dist/chunks/873.4a237712.js +2 -0
  65. package/dist/chunks/873.4a237712.js.map +1 -0
  66. package/dist/chunks/9431.f9b8667c.js +2 -0
  67. package/dist/chunks/9431.f9b8667c.js.map +1 -0
  68. package/dist/chunks/9549.78bc7312.js +2 -0
  69. package/dist/chunks/9549.78bc7312.js.map +1 -0
  70. package/dist/chunks/battery-chart.02988af9.js +2 -0
  71. package/dist/chunks/battery-chart.02988af9.js.map +1 -0
  72. package/dist/chunks/gauge-chart.1f452553.js +2 -0
  73. package/dist/chunks/gauge-chart.1f452553.js.map +1 -0
  74. package/dist/chunks/main.25a99d0e.js +2 -0
  75. package/dist/chunks/main.25a99d0e.js.map +1 -0
  76. package/dist/chunks/modern-style-component-title.17b744e0.js +2 -0
  77. package/dist/chunks/modern-style-component-title.17b744e0.js.map +1 -0
  78. package/dist/chunks/modern-style-page-title.ae7b75cb.js +2 -0
  79. package/dist/chunks/modern-style-page-title.ae7b75cb.js.map +1 -0
  80. package/dist/chunks/modern-style-treemap.0fd4d0cd.js +2 -0
  81. package/dist/chunks/modern-style-treemap.0fd4d0cd.js.map +1 -0
  82. package/dist/chunks/react.48b8771a.js +2 -0
  83. package/dist/chunks/react.48b8771a.js.LICENSE.txt +29 -0
  84. package/dist/chunks/tabs-drawer.8f87a1b2.js +3 -0
  85. package/dist/chunks/tabs-drawer.8f87a1b2.js.LICENSE.txt +5 -0
  86. package/dist/chunks/tabs-drawer.8f87a1b2.js.map +1 -0
  87. package/dist/images/f3856ac6.svg +22 -0
  88. package/dist/index.30ce150c.js +2 -0
  89. package/dist/index.30ce150c.js.map +1 -0
  90. package/dist-types/battery-chart/index.d.ts +64 -0
  91. package/dist-types/battery-chart/index.spec.d.ts +1 -0
  92. package/dist-types/bootstrap.d.ts +6 -0
  93. package/dist-types/gauge-chart/index.d.ts +52 -0
  94. package/dist-types/gauge-chart/index.spec.d.ts +1 -0
  95. package/dist-types/hooks/index.d.ts +1 -0
  96. package/dist-types/hooks/useResizeObserver/index.d.ts +11 -0
  97. package/dist-types/hooks/useResizeObserver/index.spec.d.ts +1 -0
  98. package/dist-types/hooks/useResizeObserver/resizeObserverUtil.d.ts +4 -0
  99. package/dist-types/hooks/useResizeObserver/resizeObserverUtil.spec.d.ts +1 -0
  100. package/dist-types/index.d.ts +1 -0
  101. package/dist-types/modern-style-component-title/index.d.ts +56 -0
  102. package/dist-types/modern-style-component-title/index.spec.d.ts +1 -0
  103. package/dist-types/modern-style-page-title/index.d.ts +56 -0
  104. package/dist-types/modern-style-page-title/index.spec.d.ts +1 -0
  105. package/dist-types/modern-style-treemap/index.d.ts +78 -0
  106. package/dist-types/modern-style-treemap/index.spec.d.ts +1 -0
  107. package/dist-types/tabs-drawer/index.d.ts +98 -0
  108. package/dist-types/tabs-drawer/index.spec.d.ts +1 -0
  109. package/package.json +58 -0
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7164,6205],{7164:(e,n,i)=>{i.r(n),i.d(n,{i18n:()=>l,i18nText:()=>f,initializeI18n:()=>o});var t=i(6244),a=i(1302),r=i(5366),s=!1,u=new Set;function o(e,n){if(s||(s=!0,a.i18n.use(r.default).init({fallbackLng:"zh",debug:!1,supportedLngs:["zh","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1},compatibilityJSON:"v3",resources:{}})),e&&n&&!u.has(e))for(var[i,t]of(u.add(e),Object.entries(n)))a.i18n.addResourceBundle(i,e,t)}var c=i(5381);function f(e){var n;if(e){var i=null!==(n=a.i18n.language)&&void 0!==n?n:"zh-CN";if((0,c.hasOwnProperty)(e,i))return e[i];var t=i.split("-")[0];if(t!==i)return(0,c.hasOwnProperty)(e,t)?e[t]:void 0;var r="".concat(t,"-");for(var s of Object.keys(e))if(s.startsWith(r))return e[s]}}var l=t.default}}]);
2
+ //# sourceMappingURL=7164.b1dddefc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/7164.b1dddefc.js","mappings":"sOAEIA,GAAc,EACdC,EAAwB,IAAIC,IACzB,SAASC,EAAeC,EAAIC,GAyBjC,GAxBKL,IACHA,GAAc,EACd,EAAAM,KAAA,IAIoF,WAEnFC,KAAK,CACJC,YAAa,KACbC,OAAO,EACPC,cAAe,CAAC,KAAM,MACtBC,0BAA0B,EAC1BC,cAAe,CACbC,aAAa,GAGfC,MAAO,CACLC,aAAa,GAEfC,kBAAmB,KACnBC,UAAW,CAAC,KAGXb,GAAOC,IAAWJ,EAAsBiB,IAAId,GAIjD,IAAK,IAAKe,EAAMF,KADhBhB,EAAsBmB,IAAIhB,GACIiB,OAAOC,QAAQjB,IAC3C,EAAAC,KAAA,kBAAuBa,EAAMf,EAAIa,EAErC,C,cClCO,SAASM,EAASC,GACvB,IAAIC,EACJ,GAAKD,EAAL,CAGA,IAAIE,EAAgD,QAApCD,EAAiB,EAAAnB,KAAA,gBAA8C,IAAnBmB,EAA4BA,EAAiB,QAEzG,IAAI,IAAAE,gBAAeH,EAAME,GACvB,OAAOF,EAAKE,GAGd,IAAIE,EAAkBF,EAASG,MAAM,KAAK,GAC1C,GAAID,IAAoBF,EAGtB,OAAO,IAAAC,gBAAeH,EAAMI,GAAmBJ,EAAKI,QAAmBE,EAKzE,IAAIC,EAAS,GAAGC,OAAOJ,EAAiB,KACxC,IAAK,IAAIK,KAAOZ,OAAOa,KAAKV,GAC1B,GAAIS,EAAIE,WAAWJ,GACjB,OAAOP,EAAKS,EAnBhB,CAsBF,CC3BO,IAAI3B,EAA6E,S","sources":["webpack:///../../node_modules/@next-core/i18n/dist/esm/init.js","webpack:///../../node_modules/@next-core/i18n/dist/esm/text.js","webpack:///../../node_modules/@next-core/i18n/dist/esm/index.js"],"sourcesContent":["import { i18n } from \"@next-core/i18n\";\nimport LanguageDetector from \"i18next-browser-languagedetector\";\nvar initialized = false;\nvar initializedNamespaces = new Set();\nexport function initializeI18n(NS, locales) {\n if (!initialized) {\n initialized = true;\n i18n\n // learn more: https://github.com/i18next/i18next-xhr-backend\n // .use(Backend)\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(process.env.NODE_ENV === \"test\" ? LanguageDetector : /* istanbul ignore next */LanguageDetector.default)\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n fallbackLng: \"zh\",\n debug: process.env.NODE_ENV === \"development\",\n supportedLngs: [\"zh\", \"en\"],\n nonExplicitSupportedLngs: true,\n interpolation: {\n escapeValue: false // not needed for react as it escapes by default\n },\n\n react: {\n useSuspense: false\n },\n compatibilityJSON: \"v3\",\n resources: {}\n });\n }\n if (!NS || !locales || initializedNamespaces.has(NS)) {\n return;\n }\n initializedNamespaces.add(NS);\n for (var [lang, resources] of Object.entries(locales)) {\n i18n.addResourceBundle(lang, NS, resources);\n }\n}\n//# sourceMappingURL=init.js.map","import { i18n } from \"@next-core/i18n\";\nimport { hasOwnProperty } from \"@next-core/utils/general\";\nexport function i18nText(data) {\n var _i18n$language;\n if (!data) {\n return;\n }\n var language = (_i18n$language = i18n.language) !== null && _i18n$language !== void 0 ? _i18n$language : \"zh-CN\";\n // First, make a perfect match.\n if (hasOwnProperty(data, language)) {\n return data[language];\n }\n // https://en.wikipedia.org/wiki/IETF_language_tag\n var primaryLanguage = language.split(\"-\")[0];\n if (primaryLanguage !== language) {\n // Then, match the primary language (which omits other subtags).\n // E.g., match `zh` if the current language is `zh-CN`.\n return hasOwnProperty(data, primaryLanguage) ? data[primaryLanguage] : undefined;\n }\n // At last, match the first key which starts with the primary language,\n // if the current language contains primary subtag only.\n // E.g., match `zh-CN` if the current language is `zh`.\n var prefix = \"\".concat(primaryLanguage, \"-\");\n for (var key of Object.keys(data)) {\n if (key.startsWith(prefix)) {\n return data[key];\n }\n }\n}\n//# sourceMappingURL=text.js.map","import i18next from \"i18next\";\nexport var i18n = process.env.NODE_ENV === \"test\" ? i18next : /* istanbul ignore next */i18next.default;\nexport * from \"./init.js\";\nexport * from \"./text.js\";\n//# sourceMappingURL=index.js.map"],"names":["initialized","initializedNamespaces","Set","initializeI18n","NS","locales","i18n","init","fallbackLng","debug","supportedLngs","nonExplicitSupportedLngs","interpolation","escapeValue","react","useSuspense","compatibilityJSON","resources","has","lang","add","Object","entries","i18nText","data","_i18n$language","language","hasOwnProperty","primaryLanguage","split","undefined","prefix","concat","key","keys","startsWith"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7179,8207],{7179:(e,t,r)=>{function n(e){return class extends HTMLElement{get $$typeof(){return"provider"}resolve(){return e(...arguments)}}}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return function(n,o){if(n.name===t){for(var s=[],i=1;i<=r;i++){var a=o[o.length-i];if("MemberExpression"===(null==a?void 0:a.node.type)&&"object"===a.key){var c=a.node;c.computed||"Identifier"!==c.property.type?c.computed&&"Literal"===c.property.type&&"string"==typeof c.property.value?s.push(c.property.value):e.hasNonStaticUsage=!0:s.push(c.property.name)}else e.hasNonStaticUsage=!0}s.length===r&&e.usedProperties.add(s.join("."))}}}r.r(t),r.d(t,{beforeVisitGlobalMember:()=>o,collectMemberUsage:()=>u,collectMemberUsageInFunction:()=>v,createProviderClass:()=>n,scanPermissionActionsInAny:()=>b,scanPermissionActionsInStoryboard:()=>g,strictCollectMemberUsage:()=>c,strictCollectMemberUsageInFunction:()=>d,track:()=>l,traverseStoryboardExpressions:()=>a,traverseStoryboardFunction:()=>f,traverseStoryboardFunctions:()=>p});var s=r(9481),i=r(5381);function a(e,t,r){var n=new WeakSet,{matchExpressionString:o,visitNotMatchedExpressionString:a,visitNonExpressionString:c,visitObject:u}="string"==typeof r?{matchExpressionString:e=>e.includes(r)}:r;!function e(r){if("string"==typeof r)if((0,s.isEvaluable)(r))if(o(r))try{(0,s.preevaluate)(r,{withParent:!0,hooks:{beforeVisitGlobal(e,n){t(e,n,r)}}})}catch(e){console.error("Parse storyboard expression failed:",e)}else null==a||a(r);else null==c||c(r);else if((0,i.isObject)(r)){if(n.has(r))return;for(var l of(n.add(r),null==u||u(r),Array.isArray(r)?r:Object.values(r)))e(l)}}(e)}function c(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,nonStaticUsage:o,usedProperties:s}=u(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is not supported, check your expression: "').concat(o,'"'));return s}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n={usedProperties:new Set,hasNonStaticUsage:!1},s=o(n,t,r);return a(e,((e,t,r)=>{s(e,t),n.hasNonStaticUsage&&(n.nonStaticUsage=r)}),t),n}function l(e,t,r){if(e.includes(t)){var n,i={usedProperties:new Set,hasNonStaticUsage:!1},{expression:a}=(0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:o(i,r)}});if("SequenceExpression"===a.type&&(n=a.expressions[0])&&"Literal"===n.type&&n.value===t){if(i.usedProperties.size>0)return i.usedProperties;console.warn('You are using "'.concat(t,'" but no `').concat(r,"` usage found in your expression: ").concat(JSON.stringify(e)))}}return!1}function p(e,t){if(Array.isArray(e))for(var r of e)f(r,t)}function f(e,t){try{(0,s.precookFunction)(e.source,{typescript:e.typescript,withParent:!0,hooks:{beforeVisitGlobal:t}})}catch(t){console.error('Parse storyboard function "'.concat(e.name,'" failed:'),t)}}function d(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,usedProperties:o}=v(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is not supported, check your function: "').concat(e.name,'"'));return o}function v(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n={usedProperties:new Set,hasNonStaticUsage:!1};return f(e,o(n,t,r)),n.usedProperties.delete(e.name),n}var y="PERMISSIONS",h="check";function g(e){var t,r=new Set,n=S(r),{customTemplates:o,functions:s}=null!==(t=e.meta)&&void 0!==t?t:{};return a([e.routes,o],n,y),p(s,n),Array.from(r)}function b(e){var t=new Set;return a(e,S(t),y),Array.from(t)}function S(e){return function(t,r){if(t.name===y){var n=r[r.length-1],o=r[r.length-2];if("CallExpression"===(null==o?void 0:o.node.type)&&"callee"===(null==o?void 0:o.key)&&"MemberExpression"===(null==n?void 0:n.node.type)&&"object"===n.key&&(n.node.computed?"Literal"===n.node.property.type&&n.node.property.value===h:"Identifier"===n.node.property.type&&n.node.property.name===h))for(var s of o.node.arguments)"Literal"===s.type&&"string"==typeof s.value&&e.add(s.value)}}}}}]);
2
+ //# sourceMappingURL=7179.6e1ec8ff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/7179.6e1ec8ff.js","mappings":"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","sources":["webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/createProviderClass.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/beforeVisitGlobalMember.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/track.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/collectMemberUsageInFunction.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/permissions.js"],"sourcesContent":["export function createProviderClass(api) {\n return class extends HTMLElement {\n get $$typeof() {\n return \"provider\";\n }\n resolve() {\n return api(...arguments);\n }\n };\n}\n//# sourceMappingURL=createProviderClass.js.map","export function beforeVisitGlobalMember(usage, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n return function beforeVisitGlobal(node, parent) {\n if (node.name === objectName) {\n var segments = [];\n for (var i = 1; i <= level; i++) {\n var memberParent = parent[parent.length - i];\n if ((memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\") {\n var memberNode = memberParent.node;\n if (!memberNode.computed && memberNode.property.type === \"Identifier\") {\n segments.push(memberNode.property.name);\n } else if (memberNode.computed && memberNode.property.type === \"Literal\" && typeof memberNode.property.value === \"string\") {\n segments.push(memberNode.property.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n if (segments.length === level) {\n usage.usedProperties.add(segments.join(\".\"));\n }\n }\n };\n}\n//# sourceMappingURL=beforeVisitGlobalMember.js.map","import { isEvaluable, preevaluate } from \"@next-core/cook\";\nimport { isObject } from \"@next-core/utils/general\";\nexport function traverseStoryboardExpressions(data, beforeVisitGlobal,\n// If `options` is a string, it means the *keyword*.\noptions) {\n var memo = new WeakSet();\n var {\n matchExpressionString,\n visitNotMatchedExpressionString,\n visitNonExpressionString,\n visitObject\n } = typeof options === \"string\" ? {\n matchExpressionString: v => v.includes(options)\n } : options;\n function traverse(value) {\n if (typeof value === \"string\") {\n if (isEvaluable(value)) {\n if (matchExpressionString(value)) {\n try {\n preevaluate(value, {\n withParent: true,\n hooks: {\n beforeVisitGlobal(node, parent) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n beforeVisitGlobal(node, parent, value);\n }\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard expression failed:\", error);\n }\n } else {\n visitNotMatchedExpressionString === null || visitNotMatchedExpressionString === void 0 ? void 0 : visitNotMatchedExpressionString(value);\n }\n } else {\n visitNonExpressionString === null || visitNonExpressionString === void 0 ? void 0 : visitNonExpressionString(value);\n }\n } else if (isObject(value)) {\n // Avoid call stack overflow.\n if (memo.has(value)) {\n return;\n }\n memo.add(value);\n visitObject === null || visitObject === void 0 ? void 0 : visitObject(value);\n for (var item of Array.isArray(value) ? value : Object.values(value)) {\n traverse(item);\n }\n }\n }\n traverse(data);\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nimport { traverseStoryboardExpressions } from \"./traverse.js\";\nexport function strictCollectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n nonStaticUsage,\n usedProperties\n } = collectMemberUsage(data, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is not supported, check your expression: \\\"\").concat(nonStaticUsage, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var beforeVisitGlobal = beforeVisitGlobalMember(usage, objectName, level);\n traverseStoryboardExpressions(data, (node, parent, expr) => {\n beforeVisitGlobal(node, parent);\n if (usage.hasNonStaticUsage) {\n usage.nonStaticUsage = expr;\n }\n }, objectName);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsage.js.map","import { preevaluate } from \"@next-core/cook\";\nimport { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nexport function track(raw, trackText, variableName) {\n if (raw.includes(trackText)) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var {\n expression\n } = preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, variableName)\n }\n });\n var trackCtxExp;\n if (expression.type === \"SequenceExpression\" && (trackCtxExp = expression.expressions[0]) && trackCtxExp.type === \"Literal\" && trackCtxExp.value === trackText) {\n if (usage.usedProperties.size > 0) {\n return usage.usedProperties;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using \\\"\".concat(trackText, \"\\\" but no `\").concat(variableName, \"` usage found in your expression: \").concat(JSON.stringify(raw)));\n }\n }\n }\n return false;\n}\n//# sourceMappingURL=track.js.map","import { precookFunction } from \"@next-core/cook\";\nexport function traverseStoryboardFunctions(functions, beforeVisitGlobal) {\n if (Array.isArray(functions)) {\n for (var fn of functions) {\n traverseStoryboardFunction(fn, beforeVisitGlobal);\n }\n }\n}\nexport function traverseStoryboardFunction(fn, beforeVisitGlobal) {\n try {\n precookFunction(fn.source, {\n typescript: fn.typescript,\n withParent: true,\n hooks: {\n beforeVisitGlobal\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard function \\\"\".concat(fn.name, \"\\\" failed:\"), error);\n }\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"../expressions/beforeVisitGlobalMember.js\";\nimport { traverseStoryboardFunction } from \"./traverse.js\";\nexport function strictCollectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n usedProperties\n } = collectMemberUsageInFunction(fn, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is not supported, check your function: \\\"\").concat(fn.name, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n traverseStoryboardFunction(fn, beforeVisitGlobalMember(usage, objectName, level));\n usage.usedProperties.delete(fn.name);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsageInFunction.js.map","import { traverseStoryboardExpressions } from \"./expressions/index.js\";\nimport { traverseStoryboardFunctions } from \"./functions/index.js\";\nvar PERMISSIONS = \"PERMISSIONS\";\nvar check = \"check\";\nexport function scanPermissionActionsInStoryboard(storyboard) {\n var _storyboard$meta;\n var collection = new Set();\n var beforeVisitPermissions = beforeVisitPermissionsFactory(collection);\n var {\n customTemplates,\n functions\n } = (_storyboard$meta = storyboard.meta) !== null && _storyboard$meta !== void 0 ? _storyboard$meta : {};\n traverseStoryboardExpressions([storyboard.routes, customTemplates], beforeVisitPermissions, PERMISSIONS);\n traverseStoryboardFunctions(functions, beforeVisitPermissions);\n return Array.from(collection);\n}\nexport function scanPermissionActionsInAny(data) {\n var collection = new Set();\n traverseStoryboardExpressions(data, beforeVisitPermissionsFactory(collection), PERMISSIONS);\n return Array.from(collection);\n}\nfunction beforeVisitPermissionsFactory(collection) {\n return function beforeVisitPermissions(node, parent) {\n if (node.name === PERMISSIONS) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === check : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === check)) {\n for (var arg of callParent.node.arguments) {\n if (arg.type === \"Literal\" && typeof arg.value === \"string\") {\n collection.add(arg.value);\n }\n }\n }\n }\n };\n}\n//# sourceMappingURL=permissions.js.map"],"names":["createProviderClass","api","HTMLElement","$$typeof","resolve","arguments","beforeVisitGlobalMember","usage","objectName","level","length","undefined","node","parent","name","segments","i","memberParent","type","key","memberNode","computed","property","value","push","hasNonStaticUsage","usedProperties","add","join","traverseStoryboardExpressions","data","beforeVisitGlobal","options","memo","WeakSet","matchExpressionString","visitNotMatchedExpressionString","visitNonExpressionString","visitObject","v","includes","traverse","isEvaluable","preevaluate","withParent","hooks","error","console","isObject","has","item","Array","isArray","Object","values","strictCollectMemberUsage","nonStaticUsage","collectMemberUsage","Error","concat","Set","expr","track","raw","trackText","variableName","trackCtxExp","expression","expressions","size","warn","JSON","stringify","traverseStoryboardFunctions","functions","fn","traverseStoryboardFunction","precookFunction","source","typescript","strictCollectMemberUsageInFunction","collectMemberUsageInFunction","delete","PERMISSIONS","check","scanPermissionActionsInStoryboard","storyboard","_storyboard$meta","collection","beforeVisitPermissions","beforeVisitPermissionsFactory","customTemplates","meta","routes","from","scanPermissionActionsInAny","callParent","arg"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7244],{7244:(e,t,r)=>{function s(e){var t=Object.getOwnPropertyNames(e);for(var r of t){var n=e[r];n&&"object"==typeof n&&s(n)}return Object.freeze(e)}function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}r.r(t),r.d(t,{JsonStorage:()=>o,deepFreeze:()=>s,hasOwnProperty:()=>n,isObject:()=>i});class o{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){var t;return JSON.parse(null!==(t=this.storage.getItem(this.prefix+e))&&void 0!==t?t:"null")}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}}}]);
2
+ //# sourceMappingURL=7244.7271f90a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/7244.7271f90a.js","mappings":"gIAGO,SAASA,EAAWC,GAEzB,IAAIC,EAAYC,OAAOC,oBAAoBH,GAI3C,IAAK,IAAII,KAAQH,EAAW,CAC1B,IAAII,EAAQL,EAAOI,GACfC,GAA0B,iBAAVA,GAClBN,EAAWM,EAEf,CACA,OAAOH,OAAOI,OAAON,EACvB,CChBO,SAAS,EAAeA,EAAQO,GACrC,OAAOL,OAAOM,UAAUC,eAAeC,KAAKV,EAAQO,EACtD,CCDO,SAASI,EAASN,GACvB,IAAIO,SAAcP,EAClB,OAAgB,MAATA,IAA0B,UAARO,GAA4B,YAARA,EAC/C,C,uFCCO,MAAMC,EACXC,YAAYC,GACV,IAAIC,EAASC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,cACjFG,KAAKL,QAAUA,EACfK,KAAKJ,OAASA,CAChB,CACAK,QAAQjB,EAAMC,GACZe,KAAKL,QAAQM,QAAQD,KAAKJ,OAASZ,EAAMkB,KAAKC,UAAUlB,GAC1D,CACAmB,QAAQpB,GACN,IAAIqB,EACJ,OAAOH,KAAKI,MAA6E,QAAtED,EAAwBL,KAAKL,QAAQS,QAAQJ,KAAKJ,OAASZ,UAA6C,IAA1BqB,EAAmCA,EAAwB,OAC9J,CACAE,WAAWvB,GACT,OAAOgB,KAAKL,QAAQY,WAAWP,KAAKJ,OAASZ,EAC/C,CACAwB,QACE,OAAOR,KAAKL,QAAQa,OACtB,E","sources":["webpack:///../../node_modules/@next-core/utils/dist/esm/general/deepFreeze.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/hasOwnProperty.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/isObject.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/JsonStorage.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n\n/** @internal */\nexport function deepFreeze(object) {\n // Retrieve the property names defined on object\n var propNames = Object.getOwnPropertyNames(object);\n\n // Freeze properties before freezing self\n\n for (var name of propNames) {\n var value = object[name];\n if (value && typeof value === \"object\") {\n deepFreeze(value);\n }\n }\n return Object.freeze(object);\n}\n//# sourceMappingURL=deepFreeze.js.map","export function hasOwnProperty(object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n}\n//# sourceMappingURL=hasOwnProperty.js.map","// Ref https://github.com/lodash/lodash/blob/4.17.11/lodash.js#L11744\nexport function isObject(value) {\n var type = typeof value;\n return value != null && (type == \"object\" || type == \"function\");\n}\n//# sourceMappingURL=isObject.js.map","// This is copied from\n// [@next-libs/storage](https://github.com/easyops-cn/next-libs/tree/master/libs/storage),\n// and the types is refined.\n// The usage of JsonStorage from @next-libs/storage should be deprecated,\n// and migrated to from @next-core/brick-utils.\nexport class JsonStorage {\n constructor(storage) {\n var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"brick-next-\";\n this.storage = storage;\n this.prefix = prefix;\n }\n setItem(name, value) {\n this.storage.setItem(this.prefix + name, JSON.stringify(value));\n }\n getItem(name) {\n var _this$storage$getItem;\n return JSON.parse((_this$storage$getItem = this.storage.getItem(this.prefix + name)) !== null && _this$storage$getItem !== void 0 ? _this$storage$getItem : \"null\");\n }\n removeItem(name) {\n return this.storage.removeItem(this.prefix + name);\n }\n clear() {\n return this.storage.clear();\n }\n}\n//# sourceMappingURL=JsonStorage.js.map"],"names":["deepFreeze","object","propNames","Object","getOwnPropertyNames","name","value","freeze","property","prototype","hasOwnProperty","call","isObject","type","JsonStorage","constructor","storage","prefix","arguments","length","undefined","this","setItem","JSON","stringify","getItem","_this$storage$getItem","parse","removeItem","clear"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7746],{6171:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}r.d(t,{Z:()=>n})},5866:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(5863);function i(e,t){(0,n.Z)(e,t),t.add(e)}},7896:(e,t,r)=>{function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},2159:(e,t,r)=>{function n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{Z:()=>n})},1646:(e,t,r)=>{r.r(t),r.d(t,{ReactNextElement:()=>f,wrapBrick:()=>O,wrapLocalBrick:()=>Z});var n=r(5866),i=r(3395),s=r(6171),a=r(381),l=r(687),o=r(8657),c=r(7029),d=r(857),h=new WeakMap,u=new WeakSet;class f extends d.NextElement{constructor(){super(...arguments),(0,n.Z)(this,u),(0,i.Z)(this,h,{writable:!0,value:void 0})}connectedCallback(){super._markConnectedCallbackCalled(),(0,s.Z)(this,u,p).call(this),this._render()}disconnectedCallback(){var e;null===(e=(0,l.Z)(this,h))||void 0===e||e.render(null)}_render(){if(this.isConnected&&(0,l.Z)(this,h)){var e,t=this.constructor;t.shadowOptions?(0,l.Z)(this,h).render((0,d.supportsAdoptingStyleSheets)()||null===(e=t.styleTexts)||void 0===e||!e.length?this.render():o.createElement(o.Fragment,null,o.createElement("style",null,t.styleTexts.join("\n")),this.render())):(0,l.Z)(this,h).render(this.render())}}}function p(){if(!(0,l.Z)(this,h)){var e=this.constructor;if(e.shadowOptions){var t,r=this.attachShadow(e.shadowOptions);if((0,d.supportsAdoptingStyleSheets)()&&null!==(t=e.styleTexts)&&void 0!==t&&t.length){var n=new CSSStyleSheet;n.replaceSync(e.styleTexts.join("")),r.adoptedStyleSheets=[n]}(0,a.Z)(this,h,(0,c.s)(r))}else(0,a.Z)(this,h,(0,c.s)(this))}}var v=r(7896),y=r(2159),w=["children"],b=["children"];function Z(e,t){return(0,o.forwardRef)((function(r,n){var{children:i}=r,s=(0,y.Z)(r,w),a=e.__tagName,l=k(s,t);return o.createElement(a,(0,v.Z)({},l,{ref:n}),i)}))}function O(e,t){return(0,o.forwardRef)((function(r,n){var{children:i}=r,s=k((0,y.Z)(r,b),t);return o.createElement(e,(0,v.Z)({},s,{ref:n}),i)}))}function k(e,t){var r;if(t)for(var[n,i]of(r={},Object.entries(e)))Object.prototype.hasOwnProperty.call(t,n)?r["on".concat(t[n])]=i:r[n]=i;else r=e;return r}}}]);
2
+ //# sourceMappingURL=7746.2d8b6f17.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/7746.2d8b6f17.js","mappings":"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","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/ReactNextElement.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/wrapBrick.js"],"sourcesContent":["export default function _classPrivateMethodGet(receiver, privateSet, fn) {\n if (!privateSet.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return fn;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _classPrivateMethodInitSpec from \"@babel/runtime/helpers/classPrivateMethodInitSpec\";\nimport _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _classPrivateMethodGet from \"@babel/runtime/helpers/classPrivateMethodGet\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet\";\nimport React from \"react\";\nimport { createRoot } from \"react-dom/client\";\nimport { NextElement, supportsAdoptingStyleSheets } from \"@next-core/element\";\nvar _root = /*#__PURE__*/new WeakMap();\nvar _createRoot = /*#__PURE__*/new WeakSet();\nexport class ReactNextElement extends NextElement {\n constructor() {\n super(...arguments);\n _classPrivateMethodInitSpec(this, _createRoot);\n _classPrivateFieldInitSpec(this, _root, {\n writable: true,\n value: void 0\n });\n }\n connectedCallback() {\n super._markConnectedCallbackCalled();\n _classPrivateMethodGet(this, _createRoot, _createRoot2).call(this);\n this._render();\n }\n disconnectedCallback() {\n var _classPrivateFieldGet2;\n (_classPrivateFieldGet2 = _classPrivateFieldGet(this, _root)) === null || _classPrivateFieldGet2 === void 0 ? void 0 : _classPrivateFieldGet2.render(null);\n }\n _render() {\n if (!this.isConnected || !_classPrivateFieldGet(this, _root)) {\n return;\n }\n var ctor = this.constructor;\n if (ctor.shadowOptions) {\n var _ctor$styleTexts;\n _classPrivateFieldGet(this, _root).render(supportsAdoptingStyleSheets() || !((_ctor$styleTexts = ctor.styleTexts) !== null && _ctor$styleTexts !== void 0 && _ctor$styleTexts.length) ? this.render() : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"style\", null, ctor.styleTexts.join(\"\\n\")), this.render()));\n } else {\n _classPrivateFieldGet(this, _root).render(this.render());\n }\n }\n}\nfunction _createRoot2() {\n if (_classPrivateFieldGet(this, _root)) {\n return;\n }\n var ctor = this.constructor;\n if (ctor.shadowOptions) {\n var shadowRoot = this.attachShadow(ctor.shadowOptions);\n if (supportsAdoptingStyleSheets()) {\n var _ctor$styleTexts2;\n if ((_ctor$styleTexts2 = ctor.styleTexts) !== null && _ctor$styleTexts2 !== void 0 && _ctor$styleTexts2.length) {\n var styleSheet = new CSSStyleSheet();\n styleSheet.replaceSync(ctor.styleTexts.join(\"\"));\n shadowRoot.adoptedStyleSheets = [styleSheet];\n }\n }\n _classPrivateFieldSet(this, _root, createRoot(shadowRoot));\n } else {\n var _ctor$styleTexts3;\n if (process.env.NODE_ENV !== \"production\" && (_ctor$styleTexts3 = ctor.styleTexts) !== null && _ctor$styleTexts3 !== void 0 && _ctor$styleTexts3.length) {\n throw new Error(\"Use `styleTexts` with `shadowOptions: false` is not supported\");\n }\n _classPrivateFieldSet(this, _root, createRoot(this));\n }\n}\n//# sourceMappingURL=ReactNextElement.js.map","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"children\"],\n _excluded2 = [\"children\"];\nimport React, { forwardRef } from \"react\";\nexport function wrapLocalBrick(brick, eventsMapping) {\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref, ref) {\n var {\n children\n } = _ref,\n props = _objectWithoutProperties(_ref, _excluded);\n var WebComponent = brick.__tagName;\n var properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(WebComponent, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nexport function wrapBrick(BrickName, eventsMapping) {\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref2, ref) {\n var {\n children\n } = _ref2,\n props = _objectWithoutProperties(_ref2, _excluded2);\n var properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(BrickName, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nfunction getMappedProperties(props, eventsMapping) {\n var properties;\n if (eventsMapping) {\n properties = {};\n for (var [propName, propValue] of Object.entries(props)) {\n if (Object.prototype.hasOwnProperty.call(eventsMapping, propName)) {\n properties[\"on\".concat(eventsMapping[propName])] = propValue;\n } else {\n properties[propName] = propValue;\n }\n }\n } else {\n properties = props;\n }\n return properties;\n}\n//# sourceMappingURL=wrapBrick.js.map"],"names":["_classPrivateMethodGet","receiver","privateSet","fn","has","TypeError","_classPrivateMethodInitSpec","obj","add","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_root","WeakMap","_createRoot","WeakSet","ReactNextElement","NextElement","constructor","super","writable","value","connectedCallback","_markConnectedCallbackCalled","_createRoot2","_render","disconnectedCallback","_classPrivateFieldGet2","render","isConnected","_ctor$styleTexts","ctor","shadowOptions","supportsAdoptingStyleSheets","styleTexts","join","_ctor$styleTexts2","shadowRoot","attachShadow","styleSheet","CSSStyleSheet","replaceSync","adoptedStyleSheets","_excluded","_excluded2","wrapLocalBrick","brick","eventsMapping","forwardRef","_ref","ref","children","props","WebComponent","__tagName","properties","getMappedProperties","wrapBrick","BrickName","_ref2","propName","propValue","entries","concat"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7822,4795,3494],{4795:(e,t,r)=>{function n(e,t,r,n,a,u,c){try{var i=e[u](c),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,u){var c=e.apply(t,r);function i(e){n(c,a,u,i,s,"next",e)}function s(e){n(c,a,u,i,s,"throw",e)}i(void 0)}))}}r.d(t,{Z:()=>a})},7822:(e,t,r)=>{r.r(t),r.d(t,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>i,useCurrentApp:()=>o,useCurrentTheme:()=>s,useRecentApps:()=>l});var n=r(4795),a=r(8657),u=r(6879);function c(e){var{useBrick:t,data:r}=e,[c,i]=(0,a.useState)(null),s=(0,a.useRef)(),[l,o]=(0,a.useState)(),d=(0,a.useRef)(0);(0,a.useEffect)((()=>{function e(){return(e=(0,n.Z)((function*(){try{i(yield u.__secret_internals.renderUseBrick(t,r)),o(++d.current)}catch(e){console.error("Render useBrick failed:",t,"with data:",r),(0,u.handleHttpError)(e)}}))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[r,t]);var f=(0,a.useCallback)((e=>{e?s.current=u.__secret_internals.mountUseBrick(c,e):(u.__secret_internals.unmountUseBrick(c,s.current),s.current=void 0)}),[c]);if(!c)return null;var{tagName:v}=c;if(null===v)return null;var p=v;return a.createElement(p,{key:l,ref:f})}function i(e){var{useBrick:t,data:r}=e;return Array.isArray(t)?a.createElement(a.Fragment,null,t.map(((e,t)=>a.createElement(c,{key:t,useBrick:e,data:r})))):a.createElement(c,{useBrick:t,data:r})}function s(){var[e,t]=(0,a.useState)(u.getCurrentTheme);return(0,a.useEffect)((()=>{var e=e=>{t(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function l(){var[e,t]=a.useState((()=>(0,u.getRuntime)().getRecentApps()));return a.useEffect((()=>{var e=e=>{t(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function o(){return l().currentApp}}}]);
2
+ //# sourceMappingURL=7822.a67018b0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/7822.a67018b0.js","mappings":"0IAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,KACnB,CAAE,MAAOC,GAEP,YADAP,EAAOO,EAET,CACIF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,EAEvC,CACe,SAASS,EAAkBC,GACxC,OAAO,WACL,IAAIC,EAAOC,KACTC,EAAOC,UACT,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GACzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,EAClE,CACA,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,EACnE,CACAjB,OAAMkB,EACR,GACF,CACF,C,kMCxBO,SAASC,EAAcC,GAC5B,IAAI,SACFC,EAAQ,KACRC,GACEF,GACCG,EAAcC,IAAmB,IAAAC,UAAS,MAC3CC,GAAc,IAAAC,WACbC,EAAWC,IAAgB,IAAAJ,YAC5BK,GAAe,IAAAH,QAAO,IAC1B,IAAAI,YAAU,KAIR,SAASC,IAWP,OAVAA,GAAQ,QAAkB,YACxB,IACER,QAAsB,EAAAS,mBAAA,eAAkCZ,EAAUC,IAClEO,IAAyBC,EAyCpBI,QAxCP,CAAE,MAAO5B,GAEP6B,QAAQ7B,MAAM,0BAA2Be,EAAU,aAAcC,IACjE,IAAAc,iBAAgB9B,EAClB,CACF,KACaU,MAAMH,KAAME,UAC3B,EAfA,WACSiB,EAAMhB,MAAMH,KAAME,UAC3B,CAcAsB,EAAM,GACL,CAACf,EAAMD,IACV,IAAIiB,GAAc,IAAAC,cAAYC,IACxBA,EACFd,EAAYQ,QAAU,EAAAD,mBAAA,cAEtBV,EAAciB,IAGd,EAAAP,mBAAA,gBAAmCV,EAAcG,EAAYQ,SAC7DR,EAAYQ,aAAUhB,EACxB,GACC,CAACK,IACJ,IAAKA,EAEH,OAAO,KAIT,IAAI,QACFkB,GACElB,EACJ,GAAgB,OAAZkB,EACF,OAAO,KAET,IAAIC,EAAeD,EACnB,OAAoB,gBAAoBC,EAAc,CACpDxC,IAAK0B,EACLe,IAAKL,GAET,CAIO,SAASM,EAAuBC,GACrC,IAAI,SACFxB,EAAQ,KACRC,GACEuB,EACJ,OAAIC,MAAMC,QAAQ1B,GACI,gBAAoB,WAAgB,KAAMA,EAAS2B,KAAI,CAACC,EAAMC,IAAuB,gBAAoB/B,EAAe,CAC1IjB,IAAKgD,EACL7B,SAAU4B,EACV3B,KAAMA,OAGU,gBAAoBH,EAAe,CACrDE,SAAUA,EACVC,KAAMA,GAEV,CC/EO,SAAS6B,IACd,IAAKC,EAAcC,IAAmB,IAAA5B,UAAS,EAAA6B,iBAU/C,OATA,IAAAvB,YAAU,KACR,IAAIwB,EAAsBC,IACxBH,EAAgBG,EAAMC,OAAO,EAG/B,OADAC,OAAOC,iBAAiB,eAAgBJ,GACjC,KACLG,OAAOE,oBAAoB,eAAgBL,EAAoB,CAChE,GACA,IACIH,CACT,CCZO,SAASS,IACd,IAAKC,EAAYC,GAAiB,YAAe,KAAM,IAAAC,cAAaC,kBAQpE,OAPA,aAAgB,KACd,IAAIC,EAAWV,IACbO,EAAcP,EAAMC,OAAO,EAG7B,OADAC,OAAOC,iBAAiB,aAAcO,GAC/B,IAAMR,OAAOE,oBAAoB,aAAcM,EAAS,GAC9D,IACIJ,CACT,CCIO,SAASK,IACd,OAAON,IAAgBO,UACzB,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js"],"sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nexport function ReactUseBrick(_ref) {\n var {\n useBrick,\n data\n } = _ref;\n var [renderResult, setRenderResult] = useState(null);\n var mountResult = useRef();\n var [renderKey, setRenderKey] = useState();\n var IdCounterRef = useRef(0);\n useEffect(() => {\n function init() {\n return _init.apply(this, arguments);\n }\n function _init() {\n _init = _asyncToGenerator(function* () {\n try {\n setRenderResult(yield __secret_internals.renderUseBrick(useBrick, data));\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n });\n return _init.apply(this, arguments);\n }\n init();\n }, [data, useBrick]);\n var refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n }, [renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n\n var {\n tagName\n } = renderResult;\n if (tagName === null) {\n return null;\n }\n var WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: refCallback\n });\n}\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nexport function ReactUseMultipleBricks(_ref2) {\n var {\n useBrick,\n data\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data\n });\n}\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n var [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n var listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n var [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n var listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","ReactUseBrick","_ref","useBrick","data","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","useEffect","_init","__secret_internals","current","console","handleHttpError","init","refCallback","useCallback","element","tagName","WebComponent","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7915],{7915:(n,e,s)=>{var r={"./en-au":8428,"./en-au.js":8428,"./en-ca":6972,"./en-ca.js":6972,"./en-gb":3224,"./en-gb.js":3224,"./en-ie":8843,"./en-ie.js":8843,"./en-il":2732,"./en-il.js":2732,"./en-in":6579,"./en-in.js":6579,"./en-nz":9851,"./en-nz.js":9851,"./en-sg":442,"./en-sg.js":442,"./zh-cn":7414,"./zh-cn.js":7414,"./zh-hk":824,"./zh-hk.js":824,"./zh-mo":8589,"./zh-mo.js":8589,"./zh-tw":3285,"./zh-tw.js":3285};function i(n){var e=t(n);return s(e)}function t(n){if(!s.o(r,n)){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}return r[n]}i.keys=function(){return Object.keys(r)},i.resolve=t,n.exports=i,i.id=7915}}]);
2
+ //# sourceMappingURL=7915.0bf6d068.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/7915.0bf6d068.js","mappings":"mHAAA,IAAIA,EAAM,CACT,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,IACX,aAAc,IACd,UAAW,KACX,aAAc,KACd,UAAW,IACX,aAAc,IACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,MAIf,SAASC,EAAeC,GACvB,IAAIC,EAAKC,EAAsBF,GAC/B,OAAOG,EAAoBF,EAC5B,CACA,SAASC,EAAsBF,GAC9B,IAAIG,EAAoBC,EAAEN,EAAKE,GAAM,CACpC,IAAIK,EAAI,IAAIC,MAAM,uBAAyBN,EAAM,KAEjD,MADAK,EAAEE,KAAO,mBACHF,CACP,CACA,OAAOP,EAAIE,EACZ,CACAD,EAAeS,KAAO,WACrB,OAAOC,OAAOD,KAAKV,EACpB,EACAC,EAAeW,QAAUR,EACzBS,EAAOC,QAAUb,EACjBA,EAAeE,GAAK,I","sources":["webpack:///../../node_modules/moment/locale/ sync zh%7Cen"],"sourcesContent":["var map = {\n\t\"./en-au\": 8428,\n\t\"./en-au.js\": 8428,\n\t\"./en-ca\": 6972,\n\t\"./en-ca.js\": 6972,\n\t\"./en-gb\": 3224,\n\t\"./en-gb.js\": 3224,\n\t\"./en-ie\": 8843,\n\t\"./en-ie.js\": 8843,\n\t\"./en-il\": 2732,\n\t\"./en-il.js\": 2732,\n\t\"./en-in\": 6579,\n\t\"./en-in.js\": 6579,\n\t\"./en-nz\": 9851,\n\t\"./en-nz.js\": 9851,\n\t\"./en-sg\": 442,\n\t\"./en-sg.js\": 442,\n\t\"./zh-cn\": 7414,\n\t\"./zh-cn.js\": 7414,\n\t\"./zh-hk\": 824,\n\t\"./zh-hk.js\": 824,\n\t\"./zh-mo\": 8589,\n\t\"./zh-mo.js\": 8589,\n\t\"./zh-tw\": 3285,\n\t\"./zh-tw.js\": 3285\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 7915;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 8008.00ab7560.js.LICENSE.txt */
2
+ (self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8008],{8428:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(9034))},6972:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9034))},3224:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9034))},8843:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9034))},2732:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9034))},6579:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(9034))},9851:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9034))},442:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{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("_"),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("_"),longDateFormat:{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"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9034))},7414:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{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"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(9034))},824:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{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"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1200?"上午":1200===s?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(9034))},8589:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(9034))},3285:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{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"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(9034))},9034:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,s;function a(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,s=[],a=e.length;for(n=0;n<a;++n)s.push(t(e[n],n));return s}function _(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,s){return Ft(e,t,n,s,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function y(e){if(null==e._isValid){var t=m(e),n=s.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function M(e){var t=f(NaN);return null!=e?_(m(t),e):m(t).userInvalidated=!0,t}s=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),s=n.length>>>0;for(t=0;t<s;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var Y=a.momentProperties=[],p=!1;function D(e,t){var n,s,a,r=Y.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=m(t)),u(t._locale)||(e._locale=t._locale),r>0)for(n=0;n<r;n++)u(a=t[s=Y[n]])||(e[s]=a);return e}function g(e){D(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===p&&(p=!0,a.updateOffset(this),p=!1)}function w(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function S(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function v(e,t){var n=!0;return _((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var s,r,i,d=[],u=arguments.length;for(r=0;r<u;r++){if(s="","object"==typeof arguments[r]){for(i in s+="\n["+r+"] ",arguments[0])o(arguments[0],i)&&(s+=i+": "+arguments[0][i]+", ");s=s.slice(0,-2)}else s=arguments[r];d.push(s)}S(e+"\nArguments: "+Array.prototype.slice.call(d).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,T={};function L(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function b(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e,t){var n,s=_({},e);for(n in t)o(t,n)&&(i(e[n])&&i(t[n])?(s[n]={},_(s[n],e[n]),_(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)o(e,n)&&!o(t,n)&&i(e[n])&&(s[n]=_({},s[n]));return s}function x(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};function H(e,t,n){var s=""+Math.abs(e),a=t-s.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,W=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},P={};function A(e,t,n,s){var a=s;"string"==typeof s&&(a=function(){return this[s]()}),e&&(P[e]=a),t&&(P[t[0]]=function(){return H(a.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=C(t,e.localeData()),F[t]=F[t]||function(e){var t,n,s,a=e.match(N);for(t=0,n=a.length;t<n;t++)P[a[t]]?a[t]=P[a[t]]:a[t]=(s=a[t]).match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"");return function(t){var s,r="";for(s=0;s<n;s++)r+=b(a[s])?a[s].call(t,e):a[s];return r}}(t),F[t](e)):e.localeData().invalidDate()}function C(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(W.lastIndex=0;n>=0&&W.test(e);)e=e.replace(W,s),W.lastIndex=0,n-=1;return e}var U={};function E(e,t){var n=e.toLowerCase();U[n]=U[n+"s"]=U[t]=e}function V(e){return"string"==typeof e?U[e]||U[e.toLowerCase()]:void 0}function G(e){var t,n,s={};for(n in e)o(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var J={};function I(e,t){J[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function z(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=z(t)),n}function $(e,t){return function(n){return null!=n?(B(this,e,n),a.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(n=Z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),He(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,X=/\d/,K=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,se=/\d\d?/,ae=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,de=/[+-]?\d{1,6}/,ue=/\d+/,le=/[+-]?\d+/,he=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,_e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){Q[e]=b(t)?t:function(e,s){return e&&n?n:t}}function me(e,t){return o(Q,e)?Q[e](t._strict,t._locale):new RegExp(ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,s,a){return t||n||s||a}))))}function ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var Me={};function Ye(e,t){var n,s,a=t;for("string"==typeof e&&(e=[e]),l(t)&&(a=function(e,n){n[t]=Z(e)}),s=e.length,n=0;n<s;n++)Me[e[n]]=a}function pe(e,t){Ye(e,(function(e,n,s,a){s._w=s._w||{},t(e,s._w,s,a)}))}function De(e,t,n){null!=t&&o(Me,e)&&Me[e](t,n._a,n,e)}var ge,we=0,Se=1,ve=2,ke=3,Te=4,Le=5,be=6,Oe=7,xe=8;function He(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1===s?j(e)?29:28:31-s%7%2}ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},A("M",["MM",2],"Mo",(function(){return this.month()+1})),A("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),A("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),E("month","M"),I("month",8),fe("M",se),fe("MM",se,K),fe("MMM",(function(e,t){return t.monthsShortRegex(e)})),fe("MMMM",(function(e,t){return t.monthsRegex(e)})),Ye(["M","MM"],(function(e,t){t[Se]=Z(e)-1})),Ye(["MMM","MMMM"],(function(e,t,n,s){var a=n._locale.monthsParse(e,s,n._strict);null!=a?t[Se]=a:m(n).invalidMonth=e}));var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),We="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=_e,Ae=_e;function Re(e,t,n){var s,a,r,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=f([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=ge.call(this._shortMonthsParse,i))?a:null:-1!==(a=ge.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=ge.call(this._shortMonthsParse,i))||-1!==(a=ge.call(this._longMonthsParse,i))?a:null:-1!==(a=ge.call(this._longMonthsParse,i))||-1!==(a=ge.call(this._shortMonthsParse,i))?a:null}function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Z(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),He(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ue(e){return null!=e?(Ce(this,e),a.updateOffset(this,!0),this):q(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,n,s=[],a=[],r=[];for(t=0;t<12;t++)n=f([2e3,t]),s.push(this.monthsShort(n,"")),a.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),a.sort(e),r.sort(e),t=0;t<12;t++)s[t]=ye(s[t]),a[t]=ye(a[t]);for(t=0;t<24;t++)r[t]=ye(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ve(e){return j(e)?366:365}A("Y",0,0,(function(){var e=this.year();return e<=9999?H(e,4):"+"+e})),A(0,["YY",2],0,(function(){return this.year()%100})),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),E("year","y"),I("year",1),fe("Y",le),fe("YY",se,K),fe("YYYY",oe,te),fe("YYYYY",de,ne),fe("YYYYYY",de,ne),Ye(["YYYYY","YYYYYY"],we),Ye("YYYY",(function(e,t){t[we]=2===e.length?a.parseTwoDigitYear(e):Z(e)})),Ye("YY",(function(e,t){t[we]=a.parseTwoDigitYear(e)})),Ye("Y",(function(e,t){t[we]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return Z(e)+(Z(e)>68?1900:2e3)};var Ge=$("FullYear",!0);function Je(e,t,n,s,a,r,i){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,a,r,i),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,a,r,i),o}function Ie(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function je(e,t,n){var s=7+t-n;return-(7+Ie(e,0,s).getUTCDay()-t)%7+s-1}function ze(e,t,n,s,a){var r,i,o=1+7*(t-1)+(7+n-s)%7+je(e,s,a);return o<=0?i=Ve(r=e-1)+o:o>Ve(e)?(r=e+1,i=o-Ve(e)):(r=e,i=o),{year:r,dayOfYear:i}}function Ze(e,t,n){var s,a,r=je(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?s=i+$e(a=e.year()-1,t,n):i>$e(e.year(),t,n)?(s=i-$e(e.year(),t,n),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function $e(e,t,n){var s=je(e,t,n),a=je(e+1,t,n);return(Ve(e)-s+a)/7}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),I("week",5),I("isoWeek",5),fe("w",se),fe("ww",se,K),fe("W",se),fe("WW",se,K),pe(["w","ww","W","WW"],(function(e,t,n,s){t[s.substr(0,1)]=Z(e)}));function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}A("d",0,"do","day"),A("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),A("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),A("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),fe("d",se),fe("e",se),fe("E",se),fe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),fe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),fe("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,s){var a=n._locale.weekdaysParse(e,s,n._strict);null!=a?t.d=a:m(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,s){t[s]=Z(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=_e,et=_e,tt=_e;function nt(e,t,n){var s,a,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=f([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._shortWeekdaysParse,i))||-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,i))||-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._minWeekdaysParse,i))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,i))||-1!==(a=ge.call(this._weekdaysParse,i))||-1!==(a=ge.call(this._shortWeekdaysParse,i))?a:null}function st(){function e(e,t){return t.length-e.length}var t,n,s,a,r,i=[],o=[],d=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),s=ye(this.weekdaysMin(n,"")),a=ye(this.weekdaysShort(n,"")),r=ye(this.weekdays(n,"")),i.push(s),o.push(a),d.push(r),u.push(s),u.push(a),u.push(r);i.sort(e),o.sort(e),d.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function at(){return this.hours()%12||12}function rt(e,t){A(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function it(e,t){return t._meridiemParse}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,at),A("k",["kk",2],0,(function(){return this.hours()||24})),A("hmm",0,0,(function(){return""+at.apply(this)+H(this.minutes(),2)})),A("hmmss",0,0,(function(){return""+at.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),A("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),A("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),rt("a",!0),rt("A",!1),E("hour","h"),I("hour",13),fe("a",it),fe("A",it),fe("H",se),fe("h",se),fe("k",se),fe("HH",se,K),fe("hh",se,K),fe("kk",se,K),fe("hmm",ae),fe("hmmss",re),fe("Hmm",ae),fe("Hmmss",re),Ye(["H","HH"],ke),Ye(["k","kk"],(function(e,t,n){var s=Z(e);t[ke]=24===s?0:s})),Ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ye(["h","hh"],(function(e,t,n){t[ke]=Z(e),m(n).bigHour=!0})),Ye("hmm",(function(e,t,n){var s=e.length-2;t[ke]=Z(e.substr(0,s)),t[Te]=Z(e.substr(s)),m(n).bigHour=!0})),Ye("hmmss",(function(e,t,n){var s=e.length-4,a=e.length-2;t[ke]=Z(e.substr(0,s)),t[Te]=Z(e.substr(s,2)),t[Le]=Z(e.substr(a)),m(n).bigHour=!0})),Ye("Hmm",(function(e,t,n){var s=e.length-2;t[ke]=Z(e.substr(0,s)),t[Te]=Z(e.substr(s))})),Ye("Hmmss",(function(e,t,n){var s=e.length-4,a=e.length-2;t[ke]=Z(e.substr(0,s)),t[Te]=Z(e.substr(s,2)),t[Le]=Z(e.substr(a))}));var ot=$("Hours",!0);var dt,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:We,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Xe,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},lt={},ht={};function ct(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n<s;n+=1)if(e[n]!==t[n])return n;return s}function _t(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var s=null;if(void 0===lt[t]&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(t))try{s=dt._abbr,n(7915)("./"+t),mt(s)}catch(e){lt[t]=null}return lt[t]}function mt(e,t){var n;return e&&((n=u(t)?Mt(e):yt(e,t))?dt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),dt._abbr}function yt(e,t){if(null!==t){var n,s=ut;if(t.abbr=e,null!=lt[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=lt[e]._config;else if(null!=t.parentLocale)if(null!=lt[t.parentLocale])s=lt[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ht[t.parentLocale]||(ht[t.parentLocale]=[]),ht[t.parentLocale].push({name:e,config:t}),null;s=n._config}return lt[e]=new x(O(s,t)),ht[e]&&ht[e].forEach((function(e){yt(e.name,e.config)})),mt(e),lt[e]}return delete lt[e],null}function Mt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return dt;if(!r(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,s,a,r=0;r<e.length;){for(t=(a=_t(e[r]).split("-")).length,n=(n=_t(e[r+1]))?n.split("-"):null;t>0;){if(s=ft(a.slice(0,t).join("-")))return s;if(n&&n.length>=t&&ct(a,n)>=t-1)break;t--}r++}return dt}(e)}function Yt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[Se]<0||n[Se]>11?Se:n[ve]<1||n[ve]>He(n[we],n[Se])?ve:n[ke]<0||n[ke]>24||24===n[ke]&&(0!==n[Te]||0!==n[Le]||0!==n[be])?ke:n[Te]<0||n[Te]>59?Te:n[Le]<0||n[Le]>59?Le:n[be]<0||n[be]>999?be:-1,m(e)._overflowDayOfYear&&(t<we||t>ve)&&(t=ve),m(e)._overflowWeeks&&-1===t&&(t=Oe),m(e)._overflowWeekday&&-1===t&&(t=xe),m(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],St=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((-?\d+)/i,kt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lt(e){var t,n,s,a,r,i,o=e._i,d=pt.exec(o)||Dt.exec(o),u=wt.length,l=St.length;if(d){for(m(e).iso=!0,t=0,n=u;t<n;t++)if(wt[t][1].exec(d[1])){a=wt[t][0],s=!1!==wt[t][2];break}if(null==a)return void(e._isValid=!1);if(d[3]){for(t=0,n=l;t<n;t++)if(St[t][1].exec(d[3])){r=(d[2]||" ")+St[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(d[4]){if(!gt.exec(d[4]))return void(e._isValid=!1);i="Z"}e._f=a+(r||"")+(i||""),Nt(e)}else e._isValid=!1}function bt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ot(e){var t,n,s,a,r,i,o,d,u=kt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(n=u[4],s=u[3],a=u[2],r=u[5],i=u[6],o=u[7],d=[bt(n),We.indexOf(s),parseInt(a,10),parseInt(r,10),parseInt(i,10)],o&&d.push(parseInt(o,10)),t=d,!function(e,t,n){return!e||Qe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return Tt[e];if(t)return 0;var s=parseInt(n,10),a=s%100;return(s-a)/100*60+a}(u[8],u[9],u[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function xt(e,t,n){return null!=e?e:null!=t?t:n}function Ht(e){var t,n,s,r,i,o=[];if(!e._d){for(s=function(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ve]&&null==e._a[Se]&&function(e){var t,n,s,a,r,i,o,d,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,i=4,n=xt(t.GG,e._a[we],Ze(Pt(),1,4).year),s=xt(t.W,1),((a=xt(t.E,1))<1||a>7)&&(d=!0)):(r=e._locale._week.dow,i=e._locale._week.doy,u=Ze(Pt(),r,i),n=xt(t.gg,e._a[we],u.year),s=xt(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(d=!0):null!=t.e?(a=t.e+r,(t.e<0||t.e>6)&&(d=!0)):a=r),s<1||s>$e(n,r,i)?m(e)._overflowWeeks=!0:null!=d?m(e)._overflowWeekday=!0:(o=ze(n,s,a,r,i),e._a[we]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(i=xt(e._a[we],s[we]),(e._dayOfYear>Ve(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ie(i,0,e._dayOfYear),e._a[Se]=n.getUTCMonth(),e._a[ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=s[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ke]&&0===e._a[Te]&&0===e._a[Le]&&0===e._a[be]&&(e._nextDay=!0,e._a[ke]=0),e._d=(e._useUTC?Ie:Je).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ke]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function Nt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],m(e).empty=!0;var t,n,s,r,i,o,d,u=""+e._i,l=u.length,h=0;for(d=(s=C(e._f,e._locale).match(N)||[]).length,t=0;t<d;t++)r=s[t],(n=(u.match(me(r,e))||[])[0])&&((i=u.substr(0,u.indexOf(n))).length>0&&m(e).unusedInput.push(i),u=u.slice(u.indexOf(n)+n.length),h+=n.length),P[r]?(n?m(e).empty=!1:m(e).unusedTokens.push(r),De(r,n,e)):e._strict&&!n&&m(e).unusedTokens.push(r);m(e).charsLeftOver=l-h,u.length>0&&m(e).unusedInput.push(u),e._a[ke]<=12&&!0===m(e).bigHour&&e._a[ke]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[ke]=function(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(e._locale,e._a[ke],e._meridiem),null!==(o=m(e).era)&&(e._a[we]=e._locale.erasConvertYear(o,e._a[we])),Ht(e),Yt(e)}else Ot(e);else Lt(e)}function Wt(e){var t=e._i,n=e._f;return e._locale=e._locale||Mt(e._l),null===t||void 0===n&&""===t?M({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new g(Yt(t)):(h(t)?e._d=t:r(n)?function(e){var t,n,s,a,r,i,o=!1,d=e._f.length;if(0===d)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<d;a++)r=0,i=!1,t=D({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Nt(t),y(t)&&(i=!0),r+=m(t).charsLeftOver,r+=10*m(t).unusedTokens.length,m(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||i)&&(s=r,n=t,i&&(o=!0));_(e,n||t)}(e):n?Nt(e):function(e){var t=e._i;u(t)?e._d=new Date(a.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(Lt(e),!1===e._isValid&&(delete e._isValid,Ot(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),Ht(e)):i(t)?function(e){if(!e._d){var t=G(e._i),n=void 0===t.day?t.date:t.day;e._a=c([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ht(e)}}(e):l(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),y(e)||(e._d=null),e))}function Ft(e,t,n,s,a){var o,u={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(i(e)&&d(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=s,(o=new g(Yt(Wt(u))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Pt(e,t,n,s){return Ft(e,t,n,s,!1)}a.createFromInputFallback=v("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var At=v("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:M()})),Rt=v("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:M()}));function Ct(e,t){var n,s;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Ut=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=G(e),n=t.year||0,s=t.quarter||0,a=t.month||0,r=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,u=t.minute||0,l=t.second||0,h=t.millisecond||0;this._isValid=function(e){var t,n,s=!1,a=Ut.length;for(t in e)if(o(e,t)&&(-1===ge.call(Ut,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Ut[n]]){if(s)return!1;parseFloat(e[Ut[n]])!==Z(e[Ut[n]])&&(s=!0)}return!0}(t),this._milliseconds=+h+1e3*l+6e4*u+1e3*d*60*60,this._days=+i+7*r,this._months=+a+3*s+12*n,this._data={},this._locale=Mt(),this._bubble()}function Vt(e){return e instanceof Et}function Gt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Jt(e,t){A(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+H(~~(e/60),2)+t+H(~~e%60,2)}))}Jt("Z",":"),Jt("ZZ",""),fe("Z",ce),fe("ZZ",ce),Ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=jt(ce,e)}));var It=/([\+\-]|\d\d)/gi;function jt(e,t){var n,s,a=(t||"").match(e);return null===a?null:0===(s=60*(n=((a[a.length-1]||[])+"").match(It)||["-",0,0])[1]+Z(n[2]))?0:"+"===n[0]?s:-s}function zt(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(w(e)||h(e)?e.valueOf():Pt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),a.updateOffset(n,!1),n):Pt(e).local()}function Zt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var qt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qt(e,t){var n,s,a,r,i,d,u=e,h=null;return Vt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(u={},t?u[t]=+e:u.milliseconds=+e):(h=qt.exec(e))?(n="-"===h[1]?-1:1,u={y:0,d:Z(h[ve])*n,h:Z(h[ke])*n,m:Z(h[Te])*n,s:Z(h[Le])*n,ms:Z(Gt(1e3*h[be]))*n}):(h=Bt.exec(e))?(n="-"===h[1]?-1:1,u={y:Xt(h[2],n),M:Xt(h[3],n),w:Xt(h[4],n),d:Xt(h[5],n),h:Xt(h[6],n),m:Xt(h[7],n),s:Xt(h[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(r=Pt(u.from),i=Pt(u.to),a=r.isValid()&&i.isValid()?(i=zt(i,r),r.isBefore(i)?d=Kt(r,i):((d=Kt(i,r)).milliseconds=-d.milliseconds,d.months=-d.months),d):{milliseconds:0,months:0},(u={}).ms=a.milliseconds,u.M=a.months),s=new Et(u),Vt(e)&&o(e,"_locale")&&(s._locale=e._locale),Vt(e)&&o(e,"_isValid")&&(s._isValid=e._isValid),s}function Xt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){return function(n,s){var a;return null===s||isNaN(+s)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=s,s=a),tn(this,Qt(n,s),e),this}}function tn(e,t,n,s){var r=t._milliseconds,i=Gt(t._days),o=Gt(t._months);e.isValid()&&(s=null==s||s,o&&Ce(e,q(e,"Month")+o*n),i&&B(e,"Date",q(e,"Date")+i*n),r&&e._d.setTime(e._d.valueOf()+r*n),s&&a.updateOffset(e,i||o))}Qt.fn=Et.prototype,Qt.invalid=function(){return Qt(NaN)};var nn=en(1,"add"),sn=en(-1,"subtract");function an(e){return"string"==typeof e||e instanceof String}function rn(e){return w(e)||h(e)||an(e)||l(e)||function(e){var t=r(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&an(e)})).length),t&&n}(e)||function(e){var t,n,s=i(e)&&!d(e),a=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=r.length;for(t=0;t<u;t+=1)n=r[t],a=a||o(e,n);return s&&a}(e)||null==e}function on(e,t){if(e.date()<t.date())return-on(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(n+1,"months")-s)))||0}function dn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=Mt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var un=v("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ln(){return this._locale}var hn=1e3,cn=60*hn,_n=60*cn,fn=3506328*_n;function mn(e,t){return(e%t+t)%t}function yn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fn:new Date(e,t,n).valueOf()}function Mn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fn:Date.UTC(e,t,n)}function Yn(e,t){return t.erasAbbrRegex(e)}function pn(){var e,t,n=[],s=[],a=[],r=[],i=this.eras();for(e=0,t=i.length;e<t;++e)s.push(ye(i[e].name)),n.push(ye(i[e].abbr)),a.push(ye(i[e].narrow)),r.push(ye(i[e].name)),r.push(ye(i[e].abbr)),r.push(ye(i[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+s.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function Dn(e,t){A(0,[e,e.length],0,t)}function gn(e,t,n,s,a){var r;return null==e?Ze(this,s,a).year:(t>(r=$e(e,s,a))&&(t=r),wn.call(this,e,t,n,s,a))}function wn(e,t,n,s,a){var r=ze(e,t,n,s,a),i=Ie(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}A("N",0,0,"eraAbbr"),A("NN",0,0,"eraAbbr"),A("NNN",0,0,"eraAbbr"),A("NNNN",0,0,"eraName"),A("NNNNN",0,0,"eraNarrow"),A("y",["y",1],"yo","eraYear"),A("y",["yy",2],0,"eraYear"),A("y",["yyy",3],0,"eraYear"),A("y",["yyyy",4],0,"eraYear"),fe("N",Yn),fe("NN",Yn),fe("NNN",Yn),fe("NNNN",(function(e,t){return t.erasNameRegex(e)})),fe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),Ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,s){var a=n._locale.erasParse(e,s,n._strict);a?m(n).era=a:m(n).invalidEra=e})),fe("y",ue),fe("yy",ue),fe("yyy",ue),fe("yyyy",ue),fe("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),Ye(["y","yy","yyy","yyyy"],we),Ye(["yo"],(function(e,t,n,s){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,a):t[we]=parseInt(e,10)})),A(0,["gg",2],0,(function(){return this.weekYear()%100})),A(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),fe("G",le),fe("g",le),fe("GG",se,K),fe("gg",se,K),fe("GGGG",oe,te),fe("gggg",oe,te),fe("GGGGG",de,ne),fe("ggggg",de,ne),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,s){t[s.substr(0,2)]=Z(e)})),pe(["gg","GG"],(function(e,t,n,s){t[s]=a.parseTwoDigitYear(e)})),A("Q",0,"Qo","quarter"),E("quarter","Q"),I("quarter",7),fe("Q",X),Ye("Q",(function(e,t){t[Se]=3*(Z(e)-1)})),A("D",["DD",2],"Do","date"),E("date","D"),I("date",9),fe("D",se),fe("DD",se,K),fe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ye(["D","DD"],ve),Ye("Do",(function(e,t){t[ve]=Z(e.match(se)[0])}));var Sn=$("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),I("dayOfYear",4),fe("DDD",ie),fe("DDDD",ee),Ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Z(e)})),A("m",["mm",2],0,"minute"),E("minute","m"),I("minute",14),fe("m",se),fe("mm",se,K),Ye(["m","mm"],Te);var vn=$("Minutes",!1);A("s",["ss",2],0,"second"),E("second","s"),I("second",15),fe("s",se),fe("ss",se,K),Ye(["s","ss"],Le);var kn,Tn,Ln=$("Seconds",!1);for(A("S",0,0,(function(){return~~(this.millisecond()/100)})),A(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),A(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),A(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),A(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),A(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),A(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),E("millisecond","ms"),I("millisecond",16),fe("S",ie,X),fe("SS",ie,K),fe("SSS",ie,ee),kn="SSSS";kn.length<=9;kn+="S")fe(kn,ue);function bn(e,t){t[be]=Z(1e3*("0."+e))}for(kn="S";kn.length<=9;kn+="S")Ye(kn,bn);Tn=$("Milliseconds",!1),A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var On=g.prototype;function xn(e){return e}On.add=nn,On.calendar=function(e,t){1===arguments.length&&(arguments[0]?rn(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=i(e)&&!d(e),s=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)s=s||o(e,a[t]);return n&&s}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Pt(),s=zt(n,this).startOf("day"),r=a.calendarFormat(this,s)||"sameElse",u=t&&(b(t[r])?t[r].call(this,n):t[r]);return this.format(u||this.localeData().calendar(r,this,Pt(n)))},On.clone=function(){return new g(this)},On.diff=function(e,t,n){var s,a,r;if(!this.isValid())return NaN;if(!(s=zt(e,this)).isValid())return NaN;switch(a=6e4*(s.utcOffset()-this.utcOffset()),t=V(t)){case"year":r=on(this,s)/12;break;case"month":r=on(this,s);break;case"quarter":r=on(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-a)/864e5;break;case"week":r=(this-s-a)/6048e5;break;default:r=this-s}return n?r:z(r)},On.endOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Mn:yn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=_n-mn(t+(this._isUTC?0:this.utcOffset()*cn),_n)-1;break;case"minute":t=this._d.valueOf(),t+=cn-mn(t,cn)-1;break;case"second":t=this._d.valueOf(),t+=hn-mn(t,hn)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},On.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},On.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Pt(e).isValid())?Qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},On.fromNow=function(e){return this.from(Pt(),e)},On.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Pt(e).isValid())?Qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},On.toNow=function(e){return this.to(Pt(),e)},On.get=function(e){return b(this[e=V(e)])?this[e]():this},On.invalidAt=function(){return m(this).overflow},On.isAfter=function(e,t){var n=w(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},On.isBefore=function(e,t){var n=w(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},On.isBetween=function(e,t,n,s){var a=w(e)?e:Pt(e),r=w(t)?t:Pt(t);return!!(this.isValid()&&a.isValid()&&r.isValid())&&("("===(s=s||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n))},On.isSame=function(e,t){var n,s=w(e)?e:Pt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},On.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},On.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},On.isValid=function(){return y(this)},On.lang=un,On.locale=dn,On.localeData=ln,On.max=Rt,On.min=At,On.parsingFlags=function(){return _({},m(this))},On.set=function(e,t){if("object"==typeof e){var n,s=function(e){var t,n=[];for(t in e)o(e,t)&&n.push({unit:t,priority:J[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=G(e)),a=s.length;for(n=0;n<a;n++)this[s[n].unit](e[s[n].unit])}else if(b(this[e=V(e)]))return this[e](t);return this},On.startOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Mn:yn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mn(t+(this._isUTC?0:this.utcOffset()*cn),_n);break;case"minute":t=this._d.valueOf(),t-=mn(t,cn);break;case"second":t=this._d.valueOf(),t-=mn(t,hn)}return this._d.setTime(t),a.updateOffset(this,!0),this},On.subtract=sn,On.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},On.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},On.toDate=function(){return new Date(this.valueOf())},On.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},On.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",a="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(On[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),On.toJSON=function(){return this.isValid()?this.toISOString():null},On.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},On.unix=function(){return Math.floor(this.valueOf()/1e3)},On.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},On.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},On.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].name;if(s[e].until<=n&&n<=s[e].since)return s[e].name}return""},On.eraNarrow=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].narrow;if(s[e].until<=n&&n<=s[e].since)return s[e].narrow}return""},On.eraAbbr=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].abbr;if(s[e].until<=n&&n<=s[e].since)return s[e].abbr}return""},On.eraYear=function(){var e,t,n,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return(this.year()-a(r[e].since).year())*n+r[e].offset;return this.year()},On.year=Ge,On.isLeapYear=function(){return j(this.year())},On.weekYear=function(e){return gn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},On.isoWeekYear=function(e){return gn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},On.quarter=On.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},On.month=Ue,On.daysInMonth=function(){return He(this.year(),this.month())},On.week=On.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},On.isoWeek=On.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},On.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},On.weeksInWeekYear=function(){var e=this.localeData()._week;return $e(this.weekYear(),e.dow,e.doy)},On.isoWeeksInYear=function(){return $e(this.year(),1,4)},On.isoWeeksInISOWeekYear=function(){return $e(this.isoWeekYear(),1,4)},On.date=Sn,On.day=On.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},On.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},On.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},On.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},On.hour=On.hours=ot,On.minute=On.minutes=vn,On.second=On.seconds=Ln,On.millisecond=On.milliseconds=Tn,On.utcOffset=function(e,t,n){var s,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=jt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Zt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),r!==e&&(!t||this._changeInProgress?tn(this,Qt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Zt(this)},On.utc=function(e){return this.utcOffset(0,e)},On.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Zt(this),"m")),this},On.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(he,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},On.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},On.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},On.isLocal=function(){return!!this.isValid()&&!this._isUTC},On.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},On.isUtc=$t,On.isUTC=$t,On.zoneAbbr=function(){return this._isUTC?"UTC":""},On.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},On.dates=v("dates accessor is deprecated. Use date instead.",Sn),On.months=v("months accessor is deprecated. Use month instead",Ue),On.years=v("years accessor is deprecated. Use year instead",Ge),On.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),On.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return D(t,this),(t=Wt(t))._a?(e=t._isUTC?f(t._a):Pt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0;for(s=0;s<a;s++)(n&&e[s]!==t[s]||!n&&Z(e[s])!==Z(t[s]))&&i++;return i+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Hn=x.prototype;function Nn(e,t,n,s){var a=Mt(),r=f().set(s,t);return a[n](r,e)}function Wn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Nn(e,t,n,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Nn(e,s,n,"month");return a}function Fn(e,t,n,s){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var a,r=Mt(),i=e?r._week.dow:0,o=[];if(null!=n)return Nn(t,(n+i)%7,s,"day");for(a=0;a<7;a++)o[a]=Nn(t,(a+i)%7,s,"day");return o}Hn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return b(s)?s.call(t,n):s},Hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Hn.invalidDate=function(){return this._invalidDate},Hn.ordinal=function(e){return this._ordinal.replace("%d",e)},Hn.preparse=xn,Hn.postformat=xn,Hn.relativeTime=function(e,t,n,s){var a=this._relativeTime[n];return b(a)?a(e,t,n,s):a.replace(/%d/i,e)},Hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)},Hn.set=function(e){var t,n;for(n in e)o(e,n)&&(b(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Hn.eras=function(e,t){var n,s,r,i=this._eras||Mt("en")._eras;for(n=0,s=i.length;n<s;++n)switch("string"==typeof i[n].since&&(r=a(i[n].since).startOf("day"),i[n].since=r.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":r=a(i[n].until).startOf("day").valueOf(),i[n].until=r.valueOf()}return i},Hn.erasParse=function(e,t,n){var s,a,r,i,o,d=this.eras();for(e=e.toUpperCase(),s=0,a=d.length;s<a;++s)if(r=d[s].name.toUpperCase(),i=d[s].abbr.toUpperCase(),o=d[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return d[s];break;case"NNNN":if(r===e)return d[s];break;case"NNNNN":if(o===e)return d[s]}else if([r,i,o].indexOf(e)>=0)return d[s]},Hn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},Hn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||pn.call(this),e?this._erasAbbrRegex:this._erasRegex},Hn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||pn.call(this),e?this._erasNameRegex:this._erasRegex},Hn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||pn.call(this),e?this._erasNarrowRegex:this._erasRegex},Hn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},Hn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Fe.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Hn.monthsParse=function(e,t,n){var s,a,r;if(this._monthsParseExact)return Re.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=f([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},Hn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Ae),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Hn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Hn.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},Hn.firstDayOfYear=function(){return this._week.doy},Hn.firstDayOfWeek=function(){return this._week.dow},Hn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},Hn.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Hn.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Hn.weekdaysParse=function(e,t,n){var s,a,r;if(this._weekdaysParseExact)return nt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=f([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},Hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||st.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||st.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||st.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Hn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=v("moment.lang is deprecated. Use moment.locale instead.",mt),a.langData=v("moment.langData is deprecated. Use moment.localeData instead.",Mt);var Pn=Math.abs;function An(e,t,n,s){var a=Qt(t,n);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Rn(e){return e<0?Math.floor(e):Math.ceil(e)}function Cn(e){return 4800*e/146097}function Un(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var Vn=En("ms"),Gn=En("s"),Jn=En("m"),In=En("h"),jn=En("d"),zn=En("w"),Zn=En("M"),$n=En("Q"),qn=En("y");function Bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qn=Bn("milliseconds"),Xn=Bn("seconds"),Kn=Bn("minutes"),es=Bn("hours"),ts=Bn("days"),ns=Bn("months"),ss=Bn("years");var as=Math.round,rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function is(e,t,n,s,a){return a.relativeTime(t||1,!!n,e,s)}var os=Math.abs;function ds(e){return(e>0)-(e<0)||+e}function us(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,a,r,i,o,d=os(this._milliseconds)/1e3,u=os(this._days),l=os(this._months),h=this.asSeconds();return h?(e=z(d/60),t=z(e/60),d%=60,e%=60,n=z(l/12),l%=12,s=d?d.toFixed(3).replace(/\.?0+$/,""):"",a=h<0?"-":"",r=ds(this._months)!==ds(h)?"-":"",i=ds(this._days)!==ds(h)?"-":"",o=ds(this._milliseconds)!==ds(h)?"-":"",a+"P"+(n?r+n+"Y":"")+(l?r+l+"M":"")+(u?i+u+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+s+"S":"")):"P0D"}var ls=Et.prototype;return ls.isValid=function(){return this._isValid},ls.abs=function(){var e=this._data;return this._milliseconds=Pn(this._milliseconds),this._days=Pn(this._days),this._months=Pn(this._months),e.milliseconds=Pn(e.milliseconds),e.seconds=Pn(e.seconds),e.minutes=Pn(e.minutes),e.hours=Pn(e.hours),e.months=Pn(e.months),e.years=Pn(e.years),this},ls.add=function(e,t){return An(this,e,t,1)},ls.subtract=function(e,t){return An(this,e,t,-1)},ls.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Cn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Un(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},ls.asMilliseconds=Vn,ls.asSeconds=Gn,ls.asMinutes=Jn,ls.asHours=In,ls.asDays=jn,ls.asWeeks=zn,ls.asMonths=Zn,ls.asQuarters=$n,ls.asYears=qn,ls.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},ls._bubble=function(){var e,t,n,s,a,r=this._milliseconds,i=this._days,o=this._months,d=this._data;return r>=0&&i>=0&&o>=0||r<=0&&i<=0&&o<=0||(r+=864e5*Rn(Un(o)+i),i=0,o=0),d.milliseconds=r%1e3,e=z(r/1e3),d.seconds=e%60,t=z(e/60),d.minutes=t%60,n=z(t/60),d.hours=n%24,i+=z(n/24),o+=a=z(Cn(i)),i-=Rn(Un(a)),s=z(o/12),o%=12,d.days=i,d.months=o,d.years=s,this},ls.clone=function(){return Qt(this)},ls.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},ls.milliseconds=Qn,ls.seconds=Xn,ls.minutes=Kn,ls.hours=es,ls.days=ts,ls.weeks=function(){return z(this.days()/7)},ls.months=ns,ls.years=ss,ls.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,a=!1,r=rs;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(r=Object.assign({},rs,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=function(e,t,n,s){var a=Qt(e).abs(),r=as(a.as("s")),i=as(a.as("m")),o=as(a.as("h")),d=as(a.as("d")),u=as(a.as("M")),l=as(a.as("w")),h=as(a.as("y")),c=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||i<=1&&["m"]||i<n.m&&["mm",i]||o<=1&&["h"]||o<n.h&&["hh",o]||d<=1&&["d"]||d<n.d&&["dd",d];return null!=n.w&&(c=c||l<=1&&["w"]||l<n.w&&["ww",l]),(c=c||u<=1&&["M"]||u<n.M&&["MM",u]||h<=1&&["y"]||["yy",h])[2]=t,c[3]=+e>0,c[4]=s,is.apply(null,c)}(this,!a,r,n=this.localeData()),a&&(s=n.pastFuture(+this,s)),n.postformat(s)},ls.toISOString=us,ls.toString=us,ls.toJSON=us,ls.locale=dn,ls.localeData=ln,ls.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),ls.lang=un,A("X",0,0,"unix"),A("x",0,0,"valueOf"),fe("x",le),fe("X",/[+-]?\d+(\.\d{1,3})?/),Ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ye("x",(function(e,t,n){n._d=new Date(Z(e))})),a.version="2.29.4",t=Pt,a.fn=On,a.min=function(){return Ct("isBefore",[].slice.call(arguments,0))},a.max=function(){return Ct("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=f,a.unix=function(e){return Pt(1e3*e)},a.months=function(e,t){return Wn(e,t,"months")},a.isDate=h,a.locale=mt,a.invalid=M,a.duration=Qt,a.isMoment=w,a.weekdays=function(e,t,n){return Fn(e,t,n,"weekdays")},a.parseZone=function(){return Pt.apply(null,arguments).parseZone()},a.localeData=Mt,a.isDuration=Vt,a.monthsShort=function(e,t){return Wn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return Fn(e,t,n,"weekdaysMin")},a.defineLocale=yt,a.updateLocale=function(e,t){if(null!=t){var n,s,a=ut;null!=lt[e]&&null!=lt[e].parentLocale?lt[e].set(O(lt[e]._config,t)):(null!=(s=ft(e))&&(a=s._config),t=O(a,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=lt[e],lt[e]=n),mt(e)}else null!=lt[e]&&(null!=lt[e].parentLocale?(lt[e]=lt[e].parentLocale,e===mt()&&mt(e)):null!=lt[e]&&delete lt[e]);return lt[e]},a.locales=function(){return k(lt)},a.weekdaysShort=function(e,t,n){return Fn(e,t,n,"weekdaysShort")},a.normalizeUnits=V,a.relativeTimeRounding=function(e){return void 0===e?as:"function"==typeof e&&(as=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==rs[e]&&(void 0===t?rs[e]:(rs[e]=t,"s"===e&&(rs.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=On,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}}]);
3
+ //# sourceMappingURL=8008.00ab7560.js.map
@@ -0,0 +1,3 @@
1
+ //! moment.js
2
+
3
+ //! moment.js locale configuration