foreman_patch 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -6
- data/app/controllers/foreman_patch/api/v2/invocations_controller.rb +23 -1
- data/app/lib/actions/foreman_patch/cycle/initiate.rb +6 -1
- data/app/lib/actions/foreman_patch/invocation/patch.rb +6 -2
- data/app/lib/actions/foreman_patch/invocation/wait_for_host.rb +9 -16
- data/app/lib/actions/foreman_patch/window/patch.rb +4 -4
- data/app/models/foreman_patch/invocation.rb +6 -0
- data/app/models/foreman_patch/plan.rb +1 -1
- data/app/models/foreman_patch/round.rb +9 -26
- data/app/models/foreman_patch/window.rb +1 -1
- data/app/views/foreman_patch/api/v2/rounds/base.json.rabl +1 -1
- data/app/views/foreman_patch/api/v2/rounds/status.json.rabl +2 -8
- data/app/views/templates/ensure_services.erb +7 -4
- data/config/api_routes.rb +7 -1
- data/lib/foreman_patch/version.rb +1 -1
- data/webpack/components/Invocations/Invocations.js +48 -16
- data/webpack/components/Invocations/InvocationsPage.js +24 -1
- data/webpack/components/Invocations/InvocationsSelectors.js +1 -1
- data/webpack/components/Invocations/components/{InvocationItem.js → InvocationActions.js} +4 -16
- data/webpack/components/Invocations/index.js +93 -10
- data/webpack/components/RoundProgress/AggregateStatus.js +6 -5
- data/webpack/components/RoundProgress/RoundProgress.js +7 -6
- data/webpack/components/RoundProgress/RoundProgressSelectors.js +3 -2
- metadata +7 -56
- data/app/lib/actions/foreman_patch/invocation/ensure_services.rb +0 -47
- data/app/lib/actions/foreman_patch/invocation/restart.rb +0 -101
- data/app/lib/actions/foreman_patch/invocation/update_packages.rb +0 -52
- data/app/lib/actions/helpers/failure_notification.rb +0 -20
- data/app/lib/actions/helpers/with_feature_action.rb +0 -102
- data/public/webpack/foreman_patch/bundle-200e97f4e2ad9ed413ea.css +0 -1
- data/public/webpack/foreman_patch/bundle-200e97f4e2ad9ed413ea.css.gz +0 -0
- data/public/webpack/foreman_patch/bundle-200e97f4e2ad9ed413ea.js +0 -6
- data/public/webpack/foreman_patch/bundle-200e97f4e2ad9ed413ea.js.gz +0 -0
- data/public/webpack/foreman_patch/bundle-200e97f4e2ad9ed413ea.js.map +0 -1
- data/public/webpack/foreman_patch/bundle-200e97f4e2ad9ed413ea.js.map.gz +0 -0
- data/public/webpack/foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.css +0 -1
- data/public/webpack/foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.css.gz +0 -0
- data/public/webpack/foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.js +0 -6
- data/public/webpack/foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.js.gz +0 -0
- data/public/webpack/foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.js.map +0 -1
- data/public/webpack/foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.js.map.gz +0 -0
- data/public/webpack/foreman_patch/manifest.json +0 -26
- data/public/webpack/foreman_patch/manifest.json.gz +0 -0
- data/public/webpack/foreman_patch/vendor-4b77c91f1e9103179596.js +0 -2
- data/public/webpack/foreman_patch/vendor-4b77c91f1e9103179596.js.gz +0 -0
- data/public/webpack/foreman_patch/vendor-4b77c91f1e9103179596.js.map +0 -1
- data/public/webpack/foreman_patch/vendor-4b77c91f1e9103179596.js.map.gz +0 -0
- /data/webpack/components/Invocations/{InvocationsPage.scss → Invocations.scss} +0 -0
Binary file
|
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"assetsByChunkName": {
|
3
|
-
"foreman-vendor": [
|
4
|
-
"foreman-vendor.bundle-v8.16.0-production-78656f7ecf6329517c9e.css",
|
5
|
-
"foreman-vendor.bundle-v8.16.0-production-78656f7ecf6329517c9e.js",
|
6
|
-
"foreman-vendor.bundle-v8.16.0-production-78656f7ecf6329517c9e.css.map",
|
7
|
-
"foreman-vendor.bundle-v8.16.0-production-78656f7ecf6329517c9e.js.map"
|
8
|
-
],
|
9
|
-
"foreman_patch": [
|
10
|
-
"foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.js",
|
11
|
-
"foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.css",
|
12
|
-
"foreman_patch/foreman_patch-1e4f2d5e6f040a27aa7a.js.map"
|
13
|
-
],
|
14
|
-
"bundle": [
|
15
|
-
"foreman_patch/bundle-200e97f4e2ad9ed413ea.js",
|
16
|
-
"foreman_patch/bundle-200e97f4e2ad9ed413ea.css",
|
17
|
-
"foreman_patch/bundle-200e97f4e2ad9ed413ea.js.map"
|
18
|
-
],
|
19
|
-
"vendor": [
|
20
|
-
"foreman_patch/vendor-4b77c91f1e9103179596.js",
|
21
|
-
"foreman_patch/vendor-4b77c91f1e9103179596.js.map"
|
22
|
-
]
|
23
|
-
},
|
24
|
-
"errors": [],
|
25
|
-
"warnings": []
|
26
|
-
}
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
!function(e){var r=window.webpackJsonp;window.webpackJsonp=function(t,i,o){for(var l,s,c,u=0,g=[];u<t.length;u++)s=t[u],n[s]&&g.push(n[s][0]),n[s]=0;for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l]);for(r&&r(t,i,o);g.length;)g.shift()();if(o)for(u=0;u<o.length;u++)c=a(a.s=o[u]);return c};var t={},n={2:0};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/webpack/",a.oe=function(e){throw console.error(e),e},a(a.s=1)}({0:function(e,r){},1:function(e,r,t){t("react-intl"),e.exports=t("node_modules/intl/index.js")},"node_modules/intl/index.js":function(e,r,t){(function(r){r.IntlPolyfill=t("node_modules/intl/lib/core.js"),t(0),r.Intl||(r.Intl=r.IntlPolyfill,r.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=r.IntlPolyfill}).call(r,t("node_modules/webpack/buildin/global.js"))},"node_modules/intl/lib/core.js":function(e,r,t){"use strict";(function(r){var t,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},a=(t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,r,n,a){var i=e&&e.defaultProps,o=arguments.length-3;if(r||0===o||(r={}),r&&i)for(var l in i)void 0===r[l]&&(r[l]=i[l]);else r||(r=i||{});if(1===o)r.children=a;else if(o>1){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+3];r.children=s}return{$$typeof:t,type:e,key:void 0===n?null:""+n,ref:null,props:r,_owner:null}}),i=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),o=function(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e},l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s=void 0===r?self:r,c=function(){return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(n=(o=l.next()).done)&&(t.push(o.value),!r||t.length!==r);n=!0);}catch(e){a=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw i}}return t}(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=Object.freeze({jsx:a,asyncToGenerator:function(e){return function(){var r=e.apply(this,arguments);return new Promise(function(e,t){return function n(a,i){try{var o=r[a](i),l=o.value}catch(e){return void t(e)}if(!o.done)return Promise.resolve(l).then(function(e){return n("next",e)},function(e){return n("throw",e)});e(l)}("next")})}},classCallCheck:function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},createClass:i,defineEnumerableProperties:function(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}return e},defaults:function(e,r){for(var t=Object.getOwnPropertyNames(r),n=0;n<t.length;n++){var a=t[n],i=Object.getOwnPropertyDescriptor(r,a);i&&i.configurable&&void 0===e[a]&&Object.defineProperty(e,a,i)}return e},defineProperty:o,get:function e(r,t,n){null===r&&(r=Function.prototype);var a=Object.getOwnPropertyDescriptor(r,t);if(void 0===a){var i=Object.getPrototypeOf(r);return null===i?void 0:e(i,t,n)}if("value"in a)return a.value;var o=a.get;return void 0!==o?o.call(n):void 0},inherits:function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)},interopRequireDefault:function(e){return e&&e.__esModule?e:{default:e}},interopRequireWildcard:function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r},newArrowCheck:function(e,r){if(e!==r)throw new TypeError("Cannot instantiate an arrow function")},objectDestructuringEmpty:function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},objectWithoutProperties:function(e,r){var t={};for(var n in e)r.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},possibleConstructorReturn:function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},selfGlobal:s,set:function e(r,t,n,a){var i=Object.getOwnPropertyDescriptor(r,t);if(void 0===i){var o=Object.getPrototypeOf(r);null!==o&&e(o,t,n,a)}else if("value"in i&&i.writable)i.value=n;else{var l=i.set;void 0!==l&&l.call(a,n)}return n},slicedToArray:c,slicedToArrayLoose:function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var t,n=[],a=e[Symbol.iterator]();!(t=a.next()).done&&(n.push(t.value),!r||n.length!==r););return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},taggedTemplateLiteral:function(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))},taggedTemplateLiteralLoose:function(e,r){return e.raw=r,e},temporalRef:function(e,r,t){if(e===t)throw new ReferenceError(r+" is not defined - temporal dead zone");return e},temporalUndefined:{},toArray:function(e){return Array.isArray(e)?e:Array.from(e)},toConsumableArray:function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)},typeof:n,extends:l,instanceof:function(e,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](e):e instanceof r}}),g=function(){var e=function(){};try{return Object.defineProperty(e,"a",{get:function(){return 1}}),Object.defineProperty(e,"prototype",{writable:!1}),1===e.a&&e.prototype instanceof Object}catch(e){return!1}}(),f=!g&&!Object.prototype.__defineGetter__,m=Object.prototype.hasOwnProperty,v=g?Object.defineProperty:function(e,r,t){"get"in t&&e.__defineGetter__?e.__defineGetter__(r,t.get):(!m.call(e,r)||"value"in t)&&(e[r]=t.value)},d=Array.prototype.indexOf||function(e){var r=this;if(!r.length)return-1;for(var t=arguments[1]||0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1},h=Object.create||function(e,r){var t;function n(){}for(var a in n.prototype=e,t=new n,r)m.call(r,a)&&v(t,a,r[a]);return t},p=Array.prototype.slice,y=Array.prototype.concat,b=Array.prototype.push,w=Array.prototype.join,x=Array.prototype.shift,j=Function.prototype.bind||function(e){var r=this,t=p.call(arguments,1);return r.length,function(){return r.apply(e,y.call(t,p.call(arguments)))}},z=h(null),k=Math.random();function D(e){for(var r in e)(e instanceof D||m.call(e,r))&&v(this,r,{value:e[r],enumerable:!0,writable:!0,configurable:!0})}function O(){v(this,"length",{writable:!0,value:0}),arguments.length&&b.apply(this,p.call(arguments))}function F(){if(z.disableRegExpRestore)return function(){};for(var e={lastMatch:RegExp.lastMatch||"",leftContext:RegExp.leftContext,multiline:RegExp.multiline,input:RegExp.input},r=!1,t=1;t<=9;t++)r=(e["$"+t]=RegExp["$"+t])||r;return function(){var t=/[.?*+^$[\]\\(){}|-]/g,n=e.lastMatch.replace(t,"\\$&"),a=new O;if(r)for(var i=1;i<=9;i++){var o=e["$"+i];o?(o=o.replace(t,"\\$&"),n=n.replace(o,"("+o+")")):n="()"+n,b.call(a,n.slice(0,n.indexOf("(")+1)),n=n.slice(n.indexOf("(")+1)}var l=w.call(a,"")+n;l=l.replace(/(\\\(|\\\)|[^()])+/g,function(e){return"[\\s\\S]{"+e.replace("\\","").length+"}"});var s=new RegExp(l,e.multiline?"gm":"g");s.lastIndex=e.leftContext.length,s.exec(e.input)}}function S(e){if(null===e)throw new TypeError("Cannot convert null or undefined to object");return"object"===(void 0===e?"undefined":u.typeof(e))?e:Object(e)}function E(e){return"number"==typeof e?e:Number(e)}function P(e){var r=function(e){var r=E(e);return isNaN(r)?0:0===r||-0===r||r===1/0||r===-1/0?r:r<0?-1*Math.floor(Math.abs(r)):Math.floor(Math.abs(r))}(e);return r<=0?0:r===1/0?Math.pow(2,53)-1:Math.min(r,Math.pow(2,53)-1)}function L(e){return m.call(e,"__getInternalProperties")?e.__getInternalProperties(k):h(null)}D.prototype=h(null),O.prototype=h(null);var N="(?:[a-z0-9]{5,8}|\\d[a-z0-9]{3})",_="[0-9a-wy-z](?:-[a-z0-9]{2,8})+",T=RegExp("^(?:(?:[a-z]{2,3}(?:-[a-z]{3}(?:-[a-z]{3}){0,2})?|[a-z]{4}|[a-z]{5,8})(?:-[a-z]{4})?(?:-(?:[a-z]{2}|\\d{3}))?(?:-(?:[a-z0-9]{5,8}|\\d[a-z0-9]{3}))*(?:-[0-9a-wy-z](?:-[a-z0-9]{2,8})+)*(?:-x(?:-[a-z0-9]{1,8})+)?|x(?:-[a-z0-9]{1,8})+|(?:(?:en-GB-oed|i-(?:ami|bnn|default|enochian|hak|klingon|lux|mingo|navajo|pwn|tao|tay|tsu)|sgn-(?:BE-FR|BE-NL|CH-DE))|(?:art-lojban|cel-gaulish|no-bok|no-nyn|zh-(?:guoyu|hakka|min|min-nan|xiang))))$","i"),M=RegExp("^(?!x).*?-("+N+")-(?:\\w{4,8}-(?!x-))*\\1\\b","i"),I=RegExp("^(?!x).*?-([0-9a-wy-z])-(?:\\w+-(?!x-))*\\1\\b","i"),A=RegExp("-"+_,"ig"),R=void 0;var q={tags:{"art-lojban":"jbo","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","no-bok":"nb","no-nyn":"nn","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg","zh-guoyu":"cmn","zh-hakka":"hak","zh-min-nan":"nan","zh-xiang":"hsn","sgn-BR":"bzs","sgn-CO":"csn","sgn-DE":"gsg","sgn-DK":"dsl","sgn-ES":"ssp","sgn-FR":"fsl","sgn-GB":"bfi","sgn-GR":"gss","sgn-IE":"isg","sgn-IT":"ise","sgn-JP":"jsl","sgn-MX":"mfs","sgn-NI":"ncs","sgn-NL":"dse","sgn-NO":"nsl","sgn-PT":"psr","sgn-SE":"swl","sgn-US":"ase","sgn-ZA":"sfs","zh-cmn":"cmn","zh-cmn-Hans":"cmn-Hans","zh-cmn-Hant":"cmn-Hant","zh-gan":"gan","zh-wuu":"wuu","zh-yue":"yue"},subtags:{BU:"MM",DD:"DE",FX:"FR",TP:"TL",YD:"YE",ZR:"CD",heploc:"alalc97",in:"id",iw:"he",ji:"yi",jw:"jv",mo:"ro",ayx:"nun",bjd:"drl",ccq:"rki",cjr:"mom",cka:"cmr",cmk:"xch",drh:"khk",drw:"prs",gav:"dev",hrr:"jal",ibi:"opa",kgh:"kml",lcq:"ppr",mst:"mry",myt:"mry",sca:"hle",tie:"ras",tkk:"twm",tlw:"weo",tnf:"prs",ybd:"rki",yma:"lrr"},extLang:{aao:["aao","ar"],abh:["abh","ar"],abv:["abv","ar"],acm:["acm","ar"],acq:["acq","ar"],acw:["acw","ar"],acx:["acx","ar"],acy:["acy","ar"],adf:["adf","ar"],ads:["ads","sgn"],aeb:["aeb","ar"],aec:["aec","ar"],aed:["aed","sgn"],aen:["aen","sgn"],afb:["afb","ar"],afg:["afg","sgn"],ajp:["ajp","ar"],apc:["apc","ar"],apd:["apd","ar"],arb:["arb","ar"],arq:["arq","ar"],ars:["ars","ar"],ary:["ary","ar"],arz:["arz","ar"],ase:["ase","sgn"],asf:["asf","sgn"],asp:["asp","sgn"],asq:["asq","sgn"],asw:["asw","sgn"],auz:["auz","ar"],avl:["avl","ar"],ayh:["ayh","ar"],ayl:["ayl","ar"],ayn:["ayn","ar"],ayp:["ayp","ar"],bbz:["bbz","ar"],bfi:["bfi","sgn"],bfk:["bfk","sgn"],bjn:["bjn","ms"],bog:["bog","sgn"],bqn:["bqn","sgn"],bqy:["bqy","sgn"],btj:["btj","ms"],bve:["bve","ms"],bvl:["bvl","sgn"],bvu:["bvu","ms"],bzs:["bzs","sgn"],cdo:["cdo","zh"],cds:["cds","sgn"],cjy:["cjy","zh"],cmn:["cmn","zh"],coa:["coa","ms"],cpx:["cpx","zh"],csc:["csc","sgn"],csd:["csd","sgn"],cse:["cse","sgn"],csf:["csf","sgn"],csg:["csg","sgn"],csl:["csl","sgn"],csn:["csn","sgn"],csq:["csq","sgn"],csr:["csr","sgn"],czh:["czh","zh"],czo:["czo","zh"],doq:["doq","sgn"],dse:["dse","sgn"],dsl:["dsl","sgn"],dup:["dup","ms"],ecs:["ecs","sgn"],esl:["esl","sgn"],esn:["esn","sgn"],eso:["eso","sgn"],eth:["eth","sgn"],fcs:["fcs","sgn"],fse:["fse","sgn"],fsl:["fsl","sgn"],fss:["fss","sgn"],gan:["gan","zh"],gds:["gds","sgn"],gom:["gom","kok"],gse:["gse","sgn"],gsg:["gsg","sgn"],gsm:["gsm","sgn"],gss:["gss","sgn"],gus:["gus","sgn"],hab:["hab","sgn"],haf:["haf","sgn"],hak:["hak","zh"],hds:["hds","sgn"],hji:["hji","ms"],hks:["hks","sgn"],hos:["hos","sgn"],hps:["hps","sgn"],hsh:["hsh","sgn"],hsl:["hsl","sgn"],hsn:["hsn","zh"],icl:["icl","sgn"],ils:["ils","sgn"],inl:["inl","sgn"],ins:["ins","sgn"],ise:["ise","sgn"],isg:["isg","sgn"],isr:["isr","sgn"],jak:["jak","ms"],jax:["jax","ms"],jcs:["jcs","sgn"],jhs:["jhs","sgn"],jls:["jls","sgn"],jos:["jos","sgn"],jsl:["jsl","sgn"],jus:["jus","sgn"],kgi:["kgi","sgn"],knn:["knn","kok"],kvb:["kvb","ms"],kvk:["kvk","sgn"],kvr:["kvr","ms"],kxd:["kxd","ms"],lbs:["lbs","sgn"],lce:["lce","ms"],lcf:["lcf","ms"],liw:["liw","ms"],lls:["lls","sgn"],lsg:["lsg","sgn"],lsl:["lsl","sgn"],lso:["lso","sgn"],lsp:["lsp","sgn"],lst:["lst","sgn"],lsy:["lsy","sgn"],ltg:["ltg","lv"],lvs:["lvs","lv"],lzh:["lzh","zh"],max:["max","ms"],mdl:["mdl","sgn"],meo:["meo","ms"],mfa:["mfa","ms"],mfb:["mfb","ms"],mfs:["mfs","sgn"],min:["min","ms"],mnp:["mnp","zh"],mqg:["mqg","ms"],mre:["mre","sgn"],msd:["msd","sgn"],msi:["msi","ms"],msr:["msr","sgn"],mui:["mui","ms"],mzc:["mzc","sgn"],mzg:["mzg","sgn"],mzy:["mzy","sgn"],nan:["nan","zh"],nbs:["nbs","sgn"],ncs:["ncs","sgn"],nsi:["nsi","sgn"],nsl:["nsl","sgn"],nsp:["nsp","sgn"],nsr:["nsr","sgn"],nzs:["nzs","sgn"],okl:["okl","sgn"],orn:["orn","ms"],ors:["ors","ms"],pel:["pel","ms"],pga:["pga","ar"],pks:["pks","sgn"],prl:["prl","sgn"],prz:["prz","sgn"],psc:["psc","sgn"],psd:["psd","sgn"],pse:["pse","ms"],psg:["psg","sgn"],psl:["psl","sgn"],pso:["pso","sgn"],psp:["psp","sgn"],psr:["psr","sgn"],pys:["pys","sgn"],rms:["rms","sgn"],rsi:["rsi","sgn"],rsl:["rsl","sgn"],sdl:["sdl","sgn"],sfb:["sfb","sgn"],sfs:["sfs","sgn"],sgg:["sgg","sgn"],sgx:["sgx","sgn"],shu:["shu","ar"],slf:["slf","sgn"],sls:["sls","sgn"],sqk:["sqk","sgn"],sqs:["sqs","sgn"],ssh:["ssh","ar"],ssp:["ssp","sgn"],ssr:["ssr","sgn"],svk:["svk","sgn"],swc:["swc","sw"],swh:["swh","sw"],swl:["swl","sgn"],syy:["syy","sgn"],tmw:["tmw","ms"],tse:["tse","sgn"],tsm:["tsm","sgn"],tsq:["tsq","sgn"],tss:["tss","sgn"],tsy:["tsy","sgn"],tza:["tza","sgn"],ugn:["ugn","sgn"],ugy:["ugy","sgn"],ukl:["ukl","sgn"],uks:["uks","sgn"],urk:["urk","ms"],uzn:["uzn","uz"],uzs:["uzs","uz"],vgt:["vgt","sgn"],vkk:["vkk","ms"],vkt:["vkt","ms"],vsi:["vsi","sgn"],vsl:["vsl","sgn"],vsv:["vsv","sgn"],wuu:["wuu","zh"],xki:["xki","sgn"],xml:["xml","sgn"],xmm:["xmm","ms"],xms:["xms","sgn"],yds:["yds","sgn"],ysl:["ysl","sgn"],yue:["yue","zh"],zib:["zib","sgn"],zlm:["zlm","ms"],zmi:["zmi","ms"],zsl:["zsl","sgn"],zsm:["zsm","ms"]}};function C(e){for(var r=e.length;r--;){var t=e.charAt(r);t>="a"&&t<="z"&&(e=e.slice(0,r)+t.toUpperCase()+e.slice(r+1))}return e}function G(e){return!!T.test(e)&&(!M.test(e)&&!I.test(e))}function Z(e){for(var r=void 0,t=void 0,n=1,a=(t=(e=e.toLowerCase()).split("-")).length;n<a;n++)if(2===t[n].length)t[n]=t[n].toUpperCase();else if(4===t[n].length)t[n]=t[n].charAt(0).toUpperCase()+t[n].slice(1);else if(1===t[n].length&&"x"!==t[n])break;(r=(e=w.call(t,"-")).match(A))&&r.length>1&&(r.sort(),e=e.replace(RegExp("(?:"+A.source+")+","i"),w.call(r,""))),m.call(q.tags,e)&&(e=q.tags[e]);for(var i=1,o=(t=e.split("-")).length;i<o;i++)m.call(q.subtags,t[i])?t[i]=q.subtags[t[i]]:m.call(q.extLang,t[i])&&(t[i]=q.extLang[t[i]][0],1===i&&q.extLang[t[1]][1]===t[0]&&(t=p.call(t,i++),o-=1));return w.call(t,"-")}var B=/^[A-Z]{3}$/;var U=/-u(?:-[0-9a-z]{2,8})+/gi;function $(e){if(void 0===e)return new O;for(var r=new O,t=S(e="string"==typeof e?[e]:e),n=P(t.length),a=0;a<n;){var i=String(a);if(i in t){var o=t[i];if(null===o||"string"!=typeof o&&"object"!==(void 0===o?"undefined":u.typeof(o)))throw new TypeError("String or Object type expected");var l=String(o);if(!G(l))throw new RangeError("'"+l+"' is not a structurally valid language tag");l=Z(l),-1===d.call(r,l)&&b.call(r,l)}a++}return r}function K(e,r){for(var t=r;t;){if(d.call(e,t)>-1)return t;var n=t.lastIndexOf("-");if(n<0)return;n>=2&&"-"===t.charAt(n-2)&&(n-=2),t=t.substring(0,n)}}function Y(e,r){for(var t=0,n=r.length,a=void 0,i=void 0,o=void 0;t<n&&!a;)i=r[t],a=K(e,o=String(i).replace(U,"")),t++;var l=new D;if(void 0!==a){if(l["[[locale]]"]=a,String(i)!==String(o)){var s=i.match(U)[0],c=i.indexOf("-u-");l["[[extension]]"]=s,l["[[extensionIndex]]"]=c}}else l["[[locale]]"]=R;return l}function H(e,r,t,n,a){if(0===e.length)throw new ReferenceError("No locale data has been provided for this object yet.");var i=void 0,o=(i="lookup"===t["[[localeMatcher]]"]?Y(e,r):function(e,r){return Y(e,r)}(e,r))["[[locale]]"],l=void 0,s=void 0;if(m.call(i,"[[extension]]")){var c=i["[[extension]]"];s=(l=String.prototype.split.call(c,"-")).length}var u=new D;u["[[dataLocale]]"]=o;for(var g="-u",f=0,v=n.length;f<v;){var h=n[f],p=a[o][h],y=p[0],b="",w=d;if(void 0!==l){var x=w.call(l,h);if(-1!==x)if(x+1<s&&l[x+1].length>2){var j=l[x+1];-1!==w.call(p,j)&&(b="-"+h+"-"+(y=j))}else{-1!==w(p,"true")&&(y="true")}}if(m.call(t,"[["+h+"]]")){var z=t["[["+h+"]]"];-1!==w.call(p,z)&&z!==y&&(y=z,b="")}u["[["+h+"]]"]=y,g+=b,f++}if(g.length>2){var k=o.indexOf("-x-");if(-1===k)o+=g;else o=o.substring(0,k)+g+o.substring(k);o=Z(o)}return u["[[locale]]"]=o,u}function W(e,r){for(var t=r.length,n=new O,a=0;a<t;){var i=r[a];void 0!==K(e,String(i).replace(U,""))&&b.call(n,i),a++}return p.call(n)}function X(e,r,t){var n=void 0,a=void 0;if(void 0!==t&&void 0!==(n=(t=new D(S(t))).localeMatcher)&&"lookup"!==(n=String(n))&&"best fit"!==n)throw new RangeError('matcher should be "lookup" or "best fit"');for(var i in a=void 0===n||"best fit"===n?function(e,r){return W(e,r)}(e,r):W(e,r))m.call(a,i)&&v(a,i,{writable:!1,configurable:!1,value:a[i]});return v(a,"length",{writable:!1}),a}function J(e,r,t,n,a){var i=e[r];if(void 0!==i){if(i="boolean"===t?Boolean(i):"string"===t?String(i):i,void 0!==n&&-1===d.call(n,i))throw new RangeError("'"+i+"' is not an allowed value for `"+r+"`");return i}return a}function V(e,r,t,n,a){var i=e[r];if(void 0!==i){if(i=Number(i),isNaN(i)||i<t||i>n)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(i)}return a}var Q={};Object.defineProperty(Q,"getCanonicalLocales",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var r=$(e),t=[],n=r.length,a=0;a<n;)t[a]=r[a],a++;return t}});var ee={BHD:3,BYR:0,XOF:0,BIF:0,XAF:0,CLF:4,CLP:0,KMF:0,DJF:0,XPF:0,GNF:0,ISK:0,IQD:3,JPY:0,JOD:3,KRW:0,KWD:3,LYD:3,OMR:3,PYG:0,RWF:0,TND:3,UGX:0,UYI:0,VUV:0,VND:0};function re(){var e=arguments[0],r=arguments[1];return this&&this!==Q?function(e,r,t){var n=L(e),a=F();if(!0===n["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");v(e,"__getInternalProperties",{value:function(){if(arguments[0]===k)return n}}),n["[[initializedIntlObject]]"]=!0;var i=$(r);t=void 0===t?{}:S(t);var o=new D,l=J(t,"localeMatcher","string",new O("lookup","best fit"),"best fit");o["[[localeMatcher]]"]=l;var s=z.NumberFormat["[[localeData]]"],c=H(z.NumberFormat["[[availableLocales]]"],i,o,z.NumberFormat["[[relevantExtensionKeys]]"],s);n["[[locale]]"]=c["[[locale]]"],n["[[numberingSystem]]"]=c["[[nu]]"],n["[[dataLocale]]"]=c["[[dataLocale]]"];var u=c["[[dataLocale]]"],g=J(t,"style","string",new O("decimal","percent","currency"),"decimal");n["[[style]]"]=g;var m=J(t,"currency","string");if(void 0!==m&&(d=m,h=C(String(d)),!1===B.test(h)))throw new RangeError("'"+m+"' is not a valid currency code");var d,h;if("currency"===g&&void 0===m)throw new TypeError("Currency code is required when style is currency");var p=void 0;"currency"===g&&(m=m.toUpperCase(),n["[[currency]]"]=m,p=function(e){return void 0!==ee[e]?ee[e]:2}(m));var y=J(t,"currencyDisplay","string",new O("code","symbol","name"),"symbol");"currency"===g&&(n["[[currencyDisplay]]"]=y);var b=V(t,"minimumIntegerDigits",1,21,1);n["[[minimumIntegerDigits]]"]=b;var w=V(t,"minimumFractionDigits",0,20,"currency"===g?p:0);n["[[minimumFractionDigits]]"]=w;var x="currency"===g?Math.max(w,p):"percent"===g?Math.max(w,0):Math.max(w,3),j=V(t,"maximumFractionDigits",w,20,x);n["[[maximumFractionDigits]]"]=j;var E=t.minimumSignificantDigits,P=t.maximumSignificantDigits;void 0===E&&void 0===P||(E=V(t,"minimumSignificantDigits",1,21,1),P=V(t,"maximumSignificantDigits",E,21,21),n["[[minimumSignificantDigits]]"]=E,n["[[maximumSignificantDigits]]"]=P);var N=J(t,"useGrouping","boolean",void 0,!0);n["[[useGrouping]]"]=N;var _=s[u].patterns[g];n["[[positivePattern]]"]=_.positivePattern,n["[[negativePattern]]"]=_.negativePattern,n["[[boundFormat]]"]=void 0,n["[[initializedNumberFormat]]"]=!0,f&&(e.format=te.call(e));return a(),e}(S(this),e,r):new Q.NumberFormat(e,r)}function te(){var e=null!==this&&"object"===u.typeof(this)&&L(this);if(!e||!e["[[initializedNumberFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.NumberFormat object.");if(void 0===e["[[boundFormat]]"]){var r=j.call(function(e){return ae(this,Number(e))},this);e["[[boundFormat]]"]=r}return e["[[boundFormat]]"]}function ne(e,r){var t=L(e),n=t["[[dataLocale]]"],a=t["[[numberingSystem]]"],i=z.NumberFormat["[[localeData]]"][n],o=i.symbols[a]||i.symbols.latn,l=void 0;!isNaN(r)&&r<0?(r=-r,l=t["[[negativePattern]]"]):l=t["[[positivePattern]]"];for(var s=new O,c=l.indexOf("{",0),u=0,g=0,f=l.length;c>-1&&c<f;){if(-1===(u=l.indexOf("}",c)))throw new Error;if(c>g){var v=l.substring(g,c);b.call(s,{"[[type]]":"literal","[[value]]":v})}var d=l.substring(c+1,u);if("number"===d)if(isNaN(r)){var h=o.nan;b.call(s,{"[[type]]":"nan","[[value]]":h})}else if(isFinite(r)){"percent"===t["[[style]]"]&&isFinite(r)&&(r*=100);var p=void 0;p=m.call(t,"[[minimumSignificantDigits]]")&&m.call(t,"[[maximumSignificantDigits]]")?ie(r,t["[[minimumSignificantDigits]]"],t["[[maximumSignificantDigits]]"]):oe(r,t["[[minimumIntegerDigits]]"],t["[[minimumFractionDigits]]"],t["[[maximumFractionDigits]]"]),le[a]?function(){var e=le[a];p=String(p).replace(/\d/g,function(r){return e[r]})}():p=String(p);var y=void 0,w=void 0,j=p.indexOf(".",0);if(j>0?(y=p.substring(0,j),w=p.substring(j+1,j.length)):(y=p,w=void 0),!0===t["[[useGrouping]]"]){var k=o.group,D=[],F=i.patterns.primaryGroupSize||3,S=i.patterns.secondaryGroupSize||F;if(y.length>F){var E=y.length-F,P=E%S,N=y.slice(0,P);for(N.length&&b.call(D,N);P<E;)b.call(D,y.slice(P,P+S)),P+=S;b.call(D,y.slice(E))}else b.call(D,y);if(0===D.length)throw new Error;for(;D.length;){var _=x.call(D);b.call(s,{"[[type]]":"integer","[[value]]":_}),D.length&&b.call(s,{"[[type]]":"group","[[value]]":k})}}else b.call(s,{"[[type]]":"integer","[[value]]":y});if(void 0!==w){var T=o.decimal;b.call(s,{"[[type]]":"decimal","[[value]]":T}),b.call(s,{"[[type]]":"fraction","[[value]]":w})}}else{var M=o.infinity;b.call(s,{"[[type]]":"infinity","[[value]]":M})}else if("plusSign"===d){var I=o.plusSign;b.call(s,{"[[type]]":"plusSign","[[value]]":I})}else if("minusSign"===d){var A=o.minusSign;b.call(s,{"[[type]]":"minusSign","[[value]]":A})}else if("percentSign"===d&&"percent"===t["[[style]]"]){var R=o.percentSign;b.call(s,{"[[type]]":"literal","[[value]]":R})}else if("currency"===d&&"currency"===t["[[style]]"]){var q=t["[[currency]]"],C=void 0;"code"===t["[[currencyDisplay]]"]?C=q:"symbol"===t["[[currencyDisplay]]"]?C=i.currencies[q]||q:"name"===t["[[currencyDisplay]]"]&&(C=q),b.call(s,{"[[type]]":"currency","[[value]]":C})}else{var G=l.substring(c,u);b.call(s,{"[[type]]":"literal","[[value]]":G})}g=u+1,c=l.indexOf("{",g)}if(g<f){var Z=l.substring(g,f);b.call(s,{"[[type]]":"literal","[[value]]":Z})}return s}function ae(e,r){for(var t=ne(e,r),n="",a=0;t.length>a;a++){n+=t[a]["[[value]]"]}return n}function ie(e,r,t){var n=t,a=void 0,i=void 0;if(0===e)a=w.call(Array(n+1),"0"),i=0;else{i=function(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var r=Math.round(Math.log(e)*Math.LOG10E);return r-(Number("1e"+r)>e)}(Math.abs(e));var o=Math.round(Math.exp(Math.abs(i-n+1)*Math.LN10));a=String(Math.round(i-n+1<0?e*o:e/o))}if(i>=n)return a+w.call(Array(i-n+1+1),"0");if(i===n-1)return a;if(i>=0?a=a.slice(0,i+1)+"."+a.slice(i+1):i<0&&(a="0."+w.call(Array(1-(i+1)),"0")+a),a.indexOf(".")>=0&&t>r){for(var l=t-r;l>0&&"0"===a.charAt(a.length-1);)a=a.slice(0,-1),l--;"."===a.charAt(a.length-1)&&(a=a.slice(0,-1))}return a}function oe(e,r,t,n){var a,i=n,o=Math.pow(10,i)*e,l=0===o?"0":o.toFixed(0),s=(a=l.indexOf("e"))>-1?l.slice(a+1):0;s&&(l=l.slice(0,a).replace(".",""),l+=w.call(Array(s-(l.length-1)+1),"0"));var c=void 0;if(0!==i){var u=l.length;if(u<=i)l=w.call(Array(i+1-u+1),"0")+l,u=i+1;var g=l.substring(0,u-i);l=g+"."+l.substring(u-i,l.length),c=g.length}else c=l.length;for(var f=n-t;f>0&&"0"===l.slice(-1);)l=l.slice(0,-1),f--;("."===l.slice(-1)&&(l=l.slice(0,-1)),c<r)&&(l=w.call(Array(r-c+1),"0")+l);return l}v(Q,"NumberFormat",{configurable:!0,writable:!0,value:re}),v(Q.NumberFormat,"prototype",{writable:!1}),z.NumberFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["nu"],"[[localeData]]":{}},v(Q.NumberFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:j.call(function(e){if(!m.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var r=F(),t=arguments[1],n=this["[[availableLocales]]"],a=$(e);return r(),X(n,a,t)},z.NumberFormat)}),v(Q.NumberFormat.prototype,"format",{configurable:!0,get:te}),Object.defineProperty(Q.NumberFormat.prototype,"formatToParts",{configurable:!0,enumerable:!1,writable:!0,value:function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],r=null!==this&&"object"===u.typeof(this)&&L(this);if(!r||!r["[[initializedNumberFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.NumberFormat object.");return function(e,r){for(var t=ne(e,r),n=[],a=0,i=0;t.length>i;i++){var o=t[i],l={};l.type=o["[[type]]"],l.value=o["[[value]]"],n[a]=l,a+=1}return n}(this,Number(e))}});var le={arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],deva:["०","१","२","३","४","५","६","७","८","९"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],latn:["0","1","2","3","4","5","6","7","8","9"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"]};v(Q.NumberFormat.prototype,"resolvedOptions",{configurable:!0,writable:!0,value:function(){var e=void 0,r=new D,t=["locale","numberingSystem","style","currency","currencyDisplay","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","useGrouping"],n=null!==this&&"object"===u.typeof(this)&&L(this);if(!n||!n["[[initializedNumberFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.NumberFormat object.");for(var a=0,i=t.length;a<i;a++)m.call(n,e="[["+t[a]+"]]")&&(r[t[a]]={value:n[e],writable:!0,configurable:!0,enumerable:!0});return h({},r)}});var se=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,ce=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ue=/[rqQASjJgwWIQq]/,ge=["era","year","month","day","weekday","quarter"],fe=["hour","minute","second","hour12","timeZoneName"];function me(e){for(var r=0;r<fe.length;r+=1)if(e.hasOwnProperty(fe[r]))return!1;return!0}function ve(e){for(var r=0;r<ge.length;r+=1)if(e.hasOwnProperty(ge[r]))return!1;return!0}function de(e,r){for(var t={_:{}},n=0;n<ge.length;n+=1)e[ge[n]]&&(t[ge[n]]=e[ge[n]]),e._[ge[n]]&&(t._[ge[n]]=e._[ge[n]]);for(var a=0;a<fe.length;a+=1)r[fe[a]]&&(t[fe[a]]=r[fe[a]]),r._[fe[a]]&&(t._[fe[a]]=r._[fe[a]]);return t}function he(e){return e.pattern12=e.extendedPattern.replace(/'([^']*)'/g,function(e,r){return r||"'"}),e.pattern=e.pattern12.replace("{ampm}","").replace(ce,""),e}function pe(e,r){switch(e.charAt(0)){case"G":return r.era=["short","short","short","long","narrow"][e.length-1],"{era}";case"y":case"Y":case"u":case"U":case"r":return r.year=2===e.length?"2-digit":"numeric","{year}";case"Q":case"q":return r.quarter=["numeric","2-digit","short","long","narrow"][e.length-1],"{quarter}";case"M":case"L":return r.month=["numeric","2-digit","short","long","narrow"][e.length-1],"{month}";case"w":return r.week=2===e.length?"2-digit":"numeric","{weekday}";case"W":return r.week="numeric","{weekday}";case"d":return r.day=2===e.length?"2-digit":"numeric","{day}";case"D":case"F":case"g":return r.day="numeric","{day}";case"E":return r.weekday=["short","short","short","long","narrow","short"][e.length-1],"{weekday}";case"e":return r.weekday=["numeric","2-digit","short","long","narrow","short"][e.length-1],"{weekday}";case"c":return r.weekday=["numeric",void 0,"short","long","narrow","short"][e.length-1],"{weekday}";case"a":case"b":case"B":return r.hour12=!0,"{ampm}";case"h":case"H":return r.hour=2===e.length?"2-digit":"numeric","{hour}";case"k":case"K":return r.hour12=!0,r.hour=2===e.length?"2-digit":"numeric","{hour}";case"m":return r.minute=2===e.length?"2-digit":"numeric","{minute}";case"s":return r.second=2===e.length?"2-digit":"numeric","{second}";case"S":case"A":return r.second="numeric","{second}";case"z":case"Z":case"O":case"v":case"V":case"X":case"x":return r.timeZoneName=e.length<4?"short":"long","{timeZoneName}"}}function ye(e,r){if(!ue.test(r)){var t={originalPattern:r,_:{}};return t.extendedPattern=r.replace(se,function(e){return pe(e,t._)}),e.replace(se,function(e){return pe(e,t)}),he(t)}}var be={second:{numeric:"s","2-digit":"ss"},minute:{numeric:"m","2-digit":"mm"},year:{numeric:"y","2-digit":"yy"},day:{numeric:"d","2-digit":"dd"},month:{numeric:"L","2-digit":"LL",narrow:"LLLLL",short:"LLL",long:"LLLL"},weekday:{narrow:"ccccc",short:"ccc",long:"cccc"}};var we=h(null,{narrow:{},short:{},long:{}});function xe(e,r,t,n,a){var i=e[r]&&e[r][t]?e[r][t]:e.gregory[t],o={narrow:["short","long"],short:["long","narrow"],long:["short","narrow"]},l=m.call(i,n)?i[n]:m.call(i,o[n][0])?i[o[n][0]]:i[o[n][1]];return null!==a?l[a]:l}function je(){var e=arguments[0],r=arguments[1];return this&&this!==Q?function(e,r,t){var n=L(e),a=F();if(!0===n["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");v(e,"__getInternalProperties",{value:function(){if(arguments[0]===k)return n}}),n["[[initializedIntlObject]]"]=!0;var i=$(r);t=ke(t,"any","date");var l=new D,s=J(t,"localeMatcher","string",new O("lookup","best fit"),"best fit");l["[[localeMatcher]]"]=s;var c=z.DateTimeFormat,u=c["[[localeData]]"],g=H(c["[[availableLocales]]"],i,l,c["[[relevantExtensionKeys]]"],u);n["[[locale]]"]=g["[[locale]]"],n["[[calendar]]"]=g["[[ca]]"],n["[[numberingSystem]]"]=g["[[nu]]"],n["[[dataLocale]]"]=g["[[dataLocale]]"];var h=g["[[dataLocale]]"],p=t.timeZone;if(void 0!==p&&"UTC"!==(p=C(p)))throw new RangeError("timeZone is not supported.");for(var y in n["[[timeZone]]"]=p,l=new D,ze)if(m.call(ze,y)){var b=J(t,y,"string",ze[y]);l["[["+y+"]]"]=b}var w=void 0,x=u[h],j=function(e){if("[object Array]"===Object.prototype.toString.call(e))return e;return function(e){var r=e.availableFormats,t=e.timeFormats,n=e.dateFormats,a=[],i=void 0,o=void 0,l=void 0,s=void 0,c=void 0,u=[],g=[];for(i in r)r.hasOwnProperty(i)&&(l=ye(i,o=r[i]))&&(a.push(l),me(l)?g.push(l):ve(l)&&u.push(l));for(i in t)t.hasOwnProperty(i)&&(l=ye(i,o=t[i]))&&(a.push(l),u.push(l));for(i in n)n.hasOwnProperty(i)&&(l=ye(i,o=n[i]))&&(a.push(l),g.push(l));for(s=0;s<u.length;s+=1)for(c=0;c<g.length;c+=1)o="long"===g[c].month?g[c].weekday?e.full:e.long:"short"===g[c].month?e.medium:e.short,(l=de(g[c],u[s])).originalPattern=o,l.extendedPattern=o.replace("{0}",u[s].extendedPattern).replace("{1}",g[c].extendedPattern).replace(/^[,\s]+|[,\s]+$/gi,""),a.push(he(l));return a}(e)}(x.formats);if(s=J(t,"formatMatcher","string",new O("basic","best fit"),"best fit"),x.formats=j,"basic"===s)w=function(e,r){var t=-1/0,n=void 0,a=0,i=r.length;for(;a<i;){var o=r[a],l=0;for(var s in ze)if(m.call(ze,s)){var c=e["[["+s+"]]"],u=m.call(o,s)?o[s]:void 0;if(void 0===c&&void 0!==u)l-=20;else if(void 0!==c&&void 0===u)l-=120;else{var g=["2-digit","numeric","narrow","short","long"],f=d.call(g,c),v=d.call(g,u),h=Math.max(Math.min(v-f,2),-2);2===h?l-=6:1===h?l-=3:-1===h?l-=6:-2===h&&(l-=8)}}l>t&&(t=l,n=o),a++}return n}(l,j);else{var S=J(t,"hour12","boolean");l.hour12=void 0===S?x.hour12:S,w=function(e,r){var t=[];for(var n in ze)m.call(ze,n)&&void 0!==e["[["+n+"]]"]&&t.push(n);if(1===t.length){var a=function(e,r){var t;if(be[e]&&be[e][r])return t={originalPattern:be[e][r],_:o({},e,r),extendedPattern:"{"+e+"}"},o(t,e,r),o(t,"pattern12","{"+e+"}"),o(t,"pattern","{"+e+"}"),t}(t[0],e["[["+t[0]+"]]"]);if(a)return a}var i=-1/0,l=void 0,s=0,c=r.length;for(;s<c;){var u=r[s],g=0;for(var f in ze)if(m.call(ze,f)){var v=e["[["+f+"]]"],h=m.call(u,f)?u[f]:void 0,p=m.call(u._,f)?u._[f]:void 0;if(v!==p&&(g-=2),void 0===v&&void 0!==h)g-=20;else if(void 0!==v&&void 0===h)g-=120;else{var y=["2-digit","numeric","narrow","short","long"],b=d.call(y,v),w=d.call(y,h),x=Math.max(Math.min(w-b,2),-2);w<=1&&b>=2||w>=2&&b<=1?x>0?g-=6:x<0&&(g-=8):x>1?g-=3:x<-1&&(g-=6)}}u._.hour12!==e.hour12&&(g-=1),g>i&&(i=g,l=u),s++}return l}(l,j)}for(var E in ze)if(m.call(ze,E)&&m.call(w,E)){var P=w[E];P=w._&&m.call(w._,E)?w._[E]:P,n["[["+E+"]]"]=P}var N=void 0,_=J(t,"hour12","boolean");if(n["[[hour]]"])if(_=void 0===_?x.hour12:_,n["[[hour12]]"]=_,!0===_){var T=x.hourNo0;n["[[hourNo0]]"]=T,N=w.pattern12}else N=w.pattern;else N=w.pattern;n["[[pattern]]"]=N,n["[[boundFormat]]"]=void 0,n["[[initializedDateTimeFormat]]"]=!0,f&&(e.format=De.call(e));return a(),e}(S(this),e,r):new Q.DateTimeFormat(e,r)}v(Q,"DateTimeFormat",{configurable:!0,writable:!0,value:je}),v(je,"prototype",{writable:!1});var ze={weekday:["narrow","short","long"],era:["narrow","short","long"],year:["2-digit","numeric"],month:["2-digit","numeric","narrow","short","long"],day:["2-digit","numeric"],hour:["2-digit","numeric"],minute:["2-digit","numeric"],second:["2-digit","numeric"],timeZoneName:["short","long"]};function ke(e,r,t){if(void 0===e)e=null;else{var n=S(e);for(var a in e=new D,n)e[a]=n[a]}e=h(e);var i=!0;return"date"!==r&&"any"!==r||void 0===e.weekday&&void 0===e.year&&void 0===e.month&&void 0===e.day||(i=!1),"time"!==r&&"any"!==r||void 0===e.hour&&void 0===e.minute&&void 0===e.second||(i=!1),!i||"date"!==t&&"all"!==t||(e.year=e.month=e.day="numeric"),!i||"time"!==t&&"all"!==t||(e.hour=e.minute=e.second="numeric"),e}function De(){var e=null!==this&&"object"===u.typeof(this)&&L(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var r=j.call(function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];return Fe(this,void 0===e?Date.now():E(e))},this);e["[[boundFormat]]"]=r}return e["[[boundFormat]]"]}function Oe(e,r){if(!isFinite(r))throw new RangeError("Invalid valid date passed to format");var t=e.__getInternalProperties(k);F();for(var n,a,i,o,l=t["[[locale]]"],s=new Q.NumberFormat([l],{useGrouping:!1}),c=new Q.NumberFormat([l],{minimumIntegerDigits:2,useGrouping:!1}),u=(n=r,t["[[calendar]]"],a=t["[[timeZone]]"],new D({"[[weekday]]":(i=new Date(n))[(o="get"+(a||""))+"Day"](),"[[era]]":+(i[o+"FullYear"]()>=0),"[[year]]":i[o+"FullYear"](),"[[month]]":i[o+"Month"](),"[[day]]":i[o+"Date"](),"[[hour]]":i[o+"Hours"](),"[[minute]]":i[o+"Minutes"](),"[[second]]":i[o+"Seconds"](),"[[inDST]]":!1})),g=t["[[pattern]]"],f=new O,m=0,v=g.indexOf("{"),d=0,h=t["[[dataLocale]]"],p=z.DateTimeFormat["[[localeData]]"][h].calendars,y=t["[[calendar]]"];-1!==v;){var w=void 0;if(-1===(d=g.indexOf("}",v)))throw new Error("Unclosed pattern");v>m&&b.call(f,{type:"literal",value:g.substring(m,v)});var x=g.substring(v+1,d);if(ze.hasOwnProperty(x)){var j=t["[["+x+"]]"],S=u["[["+x+"]]"];if("year"===x&&S<=0?S=1-S:"month"===x?S++:"hour"===x&&!0===t["[[hour12]]"]&&0===(S%=12)&&!0===t["[[hourNo0]]"]&&(S=12),"numeric"===j)w=ae(s,S);else if("2-digit"===j)(w=ae(c,S)).length>2&&(w=w.slice(-2));else if(j in we)switch(x){case"month":w=xe(p,y,"months",j,u["[["+x+"]]"]);break;case"weekday":try{w=xe(p,y,"days",j,u["[["+x+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+l)}break;case"timeZoneName":w="";break;case"era":try{w=xe(p,y,"eras",j,u["[["+x+"]]"])}catch(e){throw new Error("Could not find era data for locale "+l)}break;default:w=u["[["+x+"]]"]}b.call(f,{type:x,value:w})}else if("ampm"===x){w=xe(p,y,"dayPeriods",u["[[hour]]"]>11?"pm":"am",null),b.call(f,{type:"dayPeriod",value:w})}else b.call(f,{type:"literal",value:g.substring(v,d+1)});m=d+1,v=g.indexOf("{",m)}return d<g.length-1&&b.call(f,{type:"literal",value:g.substr(d+1)}),f}function Fe(e,r){for(var t=Oe(e,r),n="",a=0;t.length>a;a++){n+=t[a].value}return n}z.DateTimeFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["ca","nu"],"[[localeData]]":{}},v(Q.DateTimeFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:j.call(function(e){if(!m.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var r=F(),t=arguments[1],n=this["[[availableLocales]]"],a=$(e);return r(),X(n,a,t)},z.NumberFormat)}),v(Q.DateTimeFormat.prototype,"format",{configurable:!0,get:De}),Object.defineProperty(Q.DateTimeFormat.prototype,"formatToParts",{enumerable:!1,writable:!0,configurable:!0,value:function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],r=null!==this&&"object"===u.typeof(this)&&L(this);if(!r||!r["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return function(e,r){for(var t=Oe(e,r),n=[],a=0;t.length>a;a++){var i=t[a];n.push({type:i.type,value:i.value})}return n}(this,void 0===e?Date.now():E(e))}}),v(Q.DateTimeFormat.prototype,"resolvedOptions",{writable:!0,configurable:!0,value:function(){var e=void 0,r=new D,t=["locale","calendar","numberingSystem","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"],n=null!==this&&"object"===u.typeof(this)&&L(this);if(!n||!n["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.DateTimeFormat object.");for(var a=0,i=t.length;a<i;a++)m.call(n,e="[["+t[a]+"]]")&&(r[t[a]]={value:n[e],writable:!0,configurable:!0,enumerable:!0});return h({},r)}});var Se=Q.__localeSensitiveProtos={Number:{},Date:{}};Se.Number.toLocaleString=function(){if("[object Number]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a number for Number.prototype.toLocaleString()");return ae(new re(arguments[0],arguments[1]),this)},Se.Date.toLocaleString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleString()");var e=+this;if(isNaN(e))return"Invalid Date";var r=arguments[0],t=arguments[1];return Fe(new je(r,t=ke(t,"any","all")),e)},Se.Date.toLocaleDateString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleDateString()");var e=+this;if(isNaN(e))return"Invalid Date";var r=arguments[0],t=arguments[1];return Fe(new je(r,t=ke(t,"date","date")),e)},Se.Date.toLocaleTimeString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleTimeString()");var e=+this;if(isNaN(e))return"Invalid Date";var r=arguments[0],t=arguments[1];return Fe(new je(r,t=ke(t,"time","time")),e)},v(Q,"__applyLocaleSensitivePrototypes",{writable:!0,configurable:!0,value:function(){for(var e in v(Number.prototype,"toLocaleString",{writable:!0,configurable:!0,value:Se.Number.toLocaleString}),v(Date.prototype,"toLocaleString",{writable:!0,configurable:!0,value:Se.Date.toLocaleString}),Se.Date)m.call(Se.Date,e)&&v(Date.prototype,e,{writable:!0,configurable:!0,value:Se.Date[e]})}}),v(Q,"__addLocaleData",{value:function(e){if(!G(e.locale))throw new Error("Object passed doesn't identify itself with a valid language tag");!function(e,r){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var t=void 0,n=[r],a=r.split("-");a.length>2&&4===a[1].length&&b.call(n,a[0]+"-"+a[2]);for(;t=x.call(n);)b.call(z.NumberFormat["[[availableLocales]]"],t),z.NumberFormat["[[localeData]]"][t]=e.number,e.date&&(e.date.nu=e.number.nu,b.call(z.DateTimeFormat["[[availableLocales]]"],t),z.DateTimeFormat["[[localeData]]"][t]=e.date);void 0===R&&function(e){R=e}(r)}(e,e.locale)}}),v(Q,"__disableRegExpRestore",{value:function(){z.disableRegExpRestore=!0}}),e.exports=Q}).call(r,t("node_modules/webpack/buildin/global.js"))},"node_modules/webpack/buildin/global.js":function(e,r){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},"react-intl":function(e,r){e.exports=__FOREMAN_VENDOR__REACT_INTL__}});
|
2
|
-
//# sourceMappingURL=vendor-4b77c91f1e9103179596.js.map
|
Binary file
|