!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=12)}({12:function(e,t,n){n(13).polyfill()},13:function(e,t,n){"use strict";function r(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var l=i[a],u=Object.getOwnPropertyDescriptor(o,l);void 0!==u&&u.enumerable&&(n[l]=o[l])}}return n}e.exports={assign:r,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:r})}}}});!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=23)}([function(e,t,n){"use strict";e.exports=n(14)},function(e,t,n){var r,o,Ie=this&&this.__assign||function(){return(Ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};window,e.exports=(r=n(18),o=n(20),function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=16)}([function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r in e)n=t(n,e[r],r,e);return n}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=0,o=e.length;r<o;++r)n=t(n,e[r],r,o,e);return n}},,function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n in e)t(e[n],n,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0,r=e.length;n<r;++n)t(e[n],n,r,e)}},function(e,t,n){e.exports=n(14)()},function(e,t,n){"use strict";var r=n(13);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,function(e){return e[1].toUpperCase()}).replace(o,"ms")};var r=/-([a-z])/g,o=/^Ms/g;e.exports=t.default},,,function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty;function a(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(a(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!i.call(t,n[o])||!a(e[n[o]],t[n[o]]))return!1;return!0}},function(e,t,n){"use strict";var a=n(15);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,i){if(i!==a)throw(i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")).name="Invariant Violation",i}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(1),l=n.n(r),a=(r=n(6),n.n(r)),s=(r=n(3),n.n(r)),_=n(5),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function u(e){return"function"==typeof e?e:function(){return e}}function c(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(t,n){return s()(r,function(r,e){return i({},r,l()(u(e)(t,n),function(e,t,n){return i({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,r[n]?Object(_.combineRules)(r[n],u(t)):u(t)))},{}))},{})}}r=n(9);var p=n.n(r),d=(r=n(7),n.n(r)),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},m=["contextTypes","defaultProps"],y={childContextTypes:!0,propTypes:!0,getDerivedStateFromProps:!0,contextType:!0};function S(n,r){if("string"==typeof r)return n;var e=Object.getOwnPropertyNames(r).filter(function(e){return!h[e]});return d()(e,function(e){if(!n.hasOwnProperty(e)&&!y[e])try{var t=Object.getOwnPropertyDescriptor(r,e);t&&Object.defineProperty(n,e,t)}catch(e){}}),d()(m,function(e){var t;r[e]&&(t=n[e]||{},n[e]=f({},r[e],t))}),n}var g,v,b,C,P=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w={pure:!0},x=Object(o.createContext)(),E=Object(o.createContext)(),k=(g=o.Component,v=o.createElement,b=x,C=E,function(r){var n=I({},w,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{});return function(s){var e=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,g),P(t,[{key:"shouldComponentUpdate",value:function(e,t){return!n.pure||p()(this,e,t)}},{key:"render",value:function(){var e=(n=this.props).extend,t=n._felaRules,i=function(e,t){var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(n,["extend","_felaRules"]),n=[r];t&&n.push(t),e&&n.push(e);var a=c.apply(void 0,n);return v(b.Consumer,void 0,function(o){return v(C.Consumer,void 0,function(r){var e=a(I({},i,{theme:r}),o);if(s._isFelaComponent)return v(s,I({_felaRules:a},i));var t=l()(e,function(e,t,n){return e[n]=o.renderRule(t,I({},i,{theme:r})),e},{});return e=l()(e,function(e,t,n){return e[n]=function(e){return t(I({theme:r},e),o)},e},{}),v(s,I({},i,{styles:t,theme:r,rules:e}))})})}}]),t);function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return e.displayName=function(e){return(e=e.displayName||e.name)?"Fela"+e:"ConnectedFelaComponent"}(s),e._isFelaComponent=!0,S(e,s)}});function T(e,n){return s()(e,function(e,t){return n.hasOwnProperty(t)&&(e[t]=n[t]),e},{})}var D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function F(e,t){return"function"==typeof e?e(t):e}function O(r,e){return l()(e,function(e,t,n){return-1===r.indexOf(n)&&"innerRef"!==n&&"is"!==n&&e.push(n),e},[])}var M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function A(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function R(v,n,r,e,t){var b=3<arguments.length&&void 0!==e&&e,C=4<arguments.length&&void 0!==t?t:[];return function(m){var y=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"div",g=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],e=m.name||"FelaComponent",t=function(e){var i=e.children,a=e._felaRule,s=e.extend,l=e.innerRef,u=e.id,c=e.style,p=e.as,d=e.className,t=e.passThrough,f=void 0===t?[]:t,h=function(e,t){var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["children","_felaRule","extend","innerRef","id","style","as","className","passThrough"]);return v(n.Consumer,void 0,function(o){return v(r,void 0,function(e){if(!o)throw new Error("createComponent() can't render styles without the renderer in the context. Missing react-fela's <Provider /> at the app root?");var t,n=b?function(e,t){var n=[];if("undefined"==typeof Proxy)return n;var r=new Proxy({theme:1<arguments.length&&void 0!==t?t:{}},function(n){return{get:function(e,t){return"object"===D(e[t])&&e[t],n.push(t),e[t]}}}(n));try{return e(r),n}catch(e){return[]}}(m,e):[],r=[m];return a&&r.push(a),s&&("function"==typeof s?r.push(s):r.push(function(){return s})),r=_.combineRules.apply(void 0,r),n=[].concat(A(C),A(F(g,h)),A(F(f,h)),A(b?O(n,h):[])),e=M({},h,{theme:e,as:p,id:u}),y._isFelaComponent?v(y,M({_felaRule:r,passThrough:n,innerRef:l,style:c,className:d,as:p,id:u},h),i):(n=T(n,h),o.isNativeRenderer?(t=o.renderRule(r,e),n.style=c?[c,t]:t):(c&&(n.style=c),t=d?d+" ":"",n.className=t+o.renderRule(r,e)),u&&(n.id=u),l&&(n.ref=l),v(p||y,n,i))})})};return t.displayName=e,t._isFelaComponent=!0,S(t,y)}}var L=function(t,n){return function(e){return e=e.children,t(n.Consumer,void 0,e)}}(o.createElement,E),N=R(o.createElement,x,L),B=R(o.createElement,x,L,!0),U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V=function(s,n,l){return function(e){var r=e.children,t=e.as,o=void 0===t?"div":t,i=e.style,a=function(e,t){var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["children","as","style"]);return s(n.Consumer,void 0,function(n){return n.devMode&&null==i&&console.warn('"FelaComponent" is being rendered without a style prop\nIf all you need is access to theme, try using "FelaTheme" or the "useFela" hook instead'),s(l,void 0,function(e){var t=n.renderRule(Object(_.combineRules)(i),U({},a,{theme:e}));return r instanceof Function?r({className:!n.isNativeRenderer&&t,style:n.isNativeRenderer&&t,theme:e,as:o}):s(o,{className:!n.isNativeRenderer&&t,style:n.isNativeRenderer&&t},r)})})}}(o.createElement,x,L);function H(e,t){var n=1<arguments.length&&void 0!==t?t:"";return 0===(e=0<arguments.length&&void 0!==e?e:[]).length||0===n.length?0:e.indexOf(e.find(function(e){return null!==n.match(e)}))+1}r=n(10);var j=n.n(r);function W(e,t,n,r,o,i,a,s){return{type:e,className:t,selector:function(e,t,n){return(2<arguments.length&&void 0!==n?n:"")+"."+e+(1<arguments.length&&void 0!==t?t:"")}(t,o=4<arguments.length&&void 0!==o?o:"",7<arguments.length&&void 0!==s?s:""),declaration:n+":"+r,pseudo:o,media:5<arguments.length&&void 0!==i?i:"",support:6<arguments.length&&void 0!==a?a:""}}var z=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function G(e,t,n,r,o){for(var i,a=1<arguments.length&&void 0!==t?t:"",s=2<arguments.length&&void 0!==n?n:"",l=3<arguments.length&&void 0!==r?r:{},u=4<arguments.length&&void 0!==o?o:"",c=new RegExp(u.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")+"[.]([0-9a-z_-]+)([^{]+)?{([^:]+):([^}]+)}","gi");i=c.exec(e);){var p,d=((p=z(i,5))[0],p[1]),f=p[2],h=p[3];l[function(e,t,n,r,o){return(4<arguments.length&&void 0!==o?o:"")+(3<arguments.length&&void 0!==r?r:"")+(2<arguments.length&&void 0!==n?n:"")+j()(e)+t}(h,p=p[4],f,a,s)]=W("RULE",d,h,p,f,a,s,u)}return l}var K=/@supports[^{]+\{([\s\S]+?})\s*}/gi;function q(e,t,n,r){for(var o,i=1<arguments.length&&void 0!==t?t:"",a=2<arguments.length&&void 0!==n?n:{},s=3<arguments.length&&void 0!==r?r:"";o=K.exec(e);){var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(o),u=l[0];G(l[1],i,u.split("{")[0].slice(9).trim(),a,s)}return a}function Q(e,t){return e+"{"+t+"}"}var $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Y(e,t,n,r){var o,i=1<arguments.length&&void 0!==t?t:document,a=n,s=r,l=i.head||{},u=(t=e.type,n=e.media,r=e.support,i.createElement("style"));for(o in u.setAttribute("data-fela-type",t),u.type="text/css",r&&u.setAttribute("data-fela-support","true"),n&&(u.media=n),s)u.setAttribute(o,s[o]);if(void 0!==("undefined"==typeof window?"undefined":$(window))&&window.FelaConfig)for(var c in window.FelaConfig.styleNodeAttributes)u.setAttribute(c,window.FelaConfig.styleNodeAttributes[c]);return n=l.querySelectorAll("[data-fela-type]"),(a=function(e,t,n){var r=t.type,o=t.media,i=t.support;switch(r){case"FONT":case"STATIC":case"KEYFRAME":return e[0];case"RULE":var a=e.map(function(e){return e.media}).filter(function(e){return 0!==e.length});if(o){var s=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(a),[o]).sort(n),l=s.indexOf(o)+1,u=s[l];if(u)return u===o&&i?e.find(function(e){return e.media===s[s.indexOf(o)+2]}):e.find(function(e){return e.media===u})}else{var c=a.sort(n)[0];if(!i&&(a=e.find(function(e){return void 0!==e.getAttribute("data-fela-support")&&""===e.media&&"RULE"===e.getAttribute("data-fela-type")})))return a;if(c)return e.find(function(e){return e.media===c})}}}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)),e,a))?l.insertBefore(u,a):l.appendChild(u),u}function Z(e,t,n){var r=2<arguments.length&&void 0!==n?n:document;return n=function(e){var t=e.type,n=void 0===(n=e.media)?"":n;return t+n+(void 0===(e=e.support)?"":e)}(e),t.nodes[n]||(r=function(e,t){var n=e.type,r=(r=e.media)?'[media="'+r+'"]':":not([media])";return e=e.support?'[data-fela-support="true"]':':not([data-fela-support="true"])',(1<arguments.length&&void 0!==t?t:document).querySelector('[data-fela-type="'+n+'"]'+e+r)}(e,r)||Y(e,r,t.sortMediaQuery,t.styleNodeAttributes),t.nodes[n]=r),t.nodes[n]}function X(e,t){return"@supports "+e+"{"+t+"}"}function J(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=(ee(r={},"RULE",function(e,t){var n=t.selector,r=t.declaration,o=t.support;t=t.media,r=Q(n,r),o?t?(e.supportMediaRules[t]||(e.supportMediaRules[t]={}),e.supportMediaRules[t][o]||(e.supportMediaRules[t][o]=""),e.supportMediaRules[t][o]+=r):(e.supportRules[o]||(e.supportRules[o]=""),e.supportRules[o]+=r):t?(e.mediaRules[t]||(e.mediaRules[t]=""),e.mediaRules[t]+=r):e.rules+=r}),ee(r,"FONT",function(e,t){t=t.fontFace,e.fontFaces+=t}),ee(r,"KEYFRAME",function(e,t){t=t.keyframe,e.keyframes+=t}),ee(r,"STATIC",function(e,t){var n=t.css;t=t.selector,e.statics+=t?Q(t,n):n}),r),ne={fontFaces:"FONT",statics:"STATIC",keyframes:"KEYFRAME",rules:"RULE"};function re(e){return l()(e,function(e,t,n){return 0<t.length&&(e+=X(n,t)),e},"")}var oe=/^[a-z0-9_-]*$/gi,ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function ae(r){var o=function(e,t){var n=1<arguments.length&&void 0!==t?t:[];return e=function(o,i){var e=l()(o,function(e,t,n){var r=function(e,t){for(var n=-1,r=0;r<e.length;r++)if(t(e[r])){n=r;break}return n}(e,function(e){return i(o[e])>i(t)});return-1!==r?function(e,t,n){return[].concat(J(e.slice(0,n)),[t],J(e.slice(n,e.length)))}(e,n,r):[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e),[n])},[]);return s()(e,function(e,t){return e[t]=o[t],e},{})}(e,function(e){return H(n,e.pseudo)}),l()(e,function(e,t){var n=te[t.type];return n&&n(e,t),e},{mediaRules:{},supportRules:{},supportMediaRules:{},fontFaces:"",statics:"",keyframes:"",rules:""})}(r.cache,r.ruleOrder),i=function(e){return 0===e.selectorPrefix.length||null!==e.selectorPrefix.match(oe)?e.uniqueRuleIdentifier:-1}(r),e=l()(ne,function(e,t,n){return 0<o[n].length&&e.push({css:o[n],rehydration:i,attributes:r.styleNodeAttributes,type:t}),e},[]),t=re(o.supportRules);return t&&e.push({css:t,type:"RULE",rehydration:i,attributes:r.styleNodeAttributes,support:!0}),t=Object.keys(ie({},o.supportMediaRules,o.mediaRules)).sort(r.sortMediaQuery),s()(t,function(e,t){var n;return o.mediaRules[t]&&0<o.mediaRules[t].length&&e.push({css:o.mediaRules[t],type:"RULE",rehydration:i,attributes:r.styleNodeAttributes,media:t}),o.supportMediaRules[t]&&0<(n=re(o.supportMediaRules[t])).length&&e.push({css:n,type:"RULE",rehydration:i,attributes:r.styleNodeAttributes,support:!0,media:t}),e},e)}function se(e,t){e.updateSubscription||(e.scoreIndex={},e.nodes={},e.updateSubscription=function(r,e){var o=1<arguments.length&&void 0!==e?e:document;return function(e){if("CLEAR"===e.type)return a()(r.nodes,function(e){return e.parentNode.removeChild(e)}),r.nodes={},void(r.scoreIndex={});var t=Z(e,r,o);switch(e.type){case"KEYFRAME":-1===t.textContent.indexOf(e.keyframe)&&(t.textContent+=e.keyframe);break;case"FONT":-1===t.textContent.indexOf(e.fontFace)&&(t.textContent+=e.fontFace);break;case"STATIC":var n=e.selector?Q(e.selector,e.css):e.css;-1===t.textContent.indexOf(n)&&(t.textContent+=n);break;case"RULE":!function(e,t,n){var r=e.selector,o=e.declaration,i=e.support,a=e.media,s=e.pseudo,l=a+i;if(t.devMode)!function(e,t){e=ae(e);var n=t.getAttribute("media")||void 0,r=!!t.getAttribute("data-fela-support")||void 0;(e=e.find(function(e){return"RULE"===e.type&&e.media===n&&e.support===r}))&&(t.textContent=e.css)}(t,n);else try{var u=H(t.ruleOrder,s),c=n.sheet.cssRules,p=c.length;if(0===u)p=void 0===t.scoreIndex[l]?0:t.scoreIndex[l]+1;else for(var d=t.scoreIndex[l]||0,f=c.length;d<f;++d)if(c[d].score>u){p=d;break}var h,m=Q(r,o);0<i.length?(h=X(i,m),n.sheet.insertRule(h,p)):n.sheet.insertRule(m,p),0===u&&(t.scoreIndex[l]=p),c[p].score=u}catch(e){}}(e,r,t)}}}(e,t),e.subscribe(e.updateSubscription),a()(e.cache,e._emitChange))}var le=/@(-webkit-|-moz-)?keyframes ([a-z_][a-z0-9-_]*)(\{.*?(?=}})}})/gi;function ue(e,t){for(var n,r=1<arguments.length&&void 0!==t?t:{};n=le.exec(e);){var o,i=(o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),4!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(n))[0],a=(o[1],o[2]);r[o=o[3]]?r[o].keyframe+=i:r[o]={type:"KEYFRAME",keyframe:i,name:a}}return r}var ce=/[.][a-z0-9_-]*/gi,pe=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),de=(r=n(8),r=n.n(r),function(e,t,r,o,n){var i=function(e){function n(e,t){return function(e){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this),(t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)))._renderStyle(),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),pe(n,[{key:"componentDidUpdate",value:function(e){this._renderStyle()}},{key:"_renderStyle",value:function(){var e,t=(e=this.props).renderer,n=e.rehydrate;!function(e,t){if("undefined"!=typeof document)return t=t||document,e&&!e.isNativeRenderer&&t&&t.createElement}(t,e=e.targetDocument)||(n&&function(e){return 0<(0<arguments.length&&void 0!==e?e:document).querySelectorAll("[data-fela-type]").length}(e)?function(s,e){e=1<arguments.length&&void 0!==e?e:document,se(s,e),d()(e.querySelectorAll("[data-fela-type]"),function(e){var t,n,r,o,i=e.getAttribute("data-fela-rehydration")||-1,a=s.uniqueRuleIdentifier||parseInt(i,10);-1!==a&&(t=e.getAttribute("data-fela-type")||"",n=e.getAttribute("media")||"",r=e.getAttribute("data-fela-support")||"",i=e.textContent,s.uniqueRuleIdentifier=a,a=t+n+r,s.nodes[a]=e,"RULE"===t?(r?q(i,n,s.cache,s.specificityPrefix):G(i,n,"",s.cache,s.specificityPrefix),e.sheet&&e.sheet.cssRules&&(o=n+r,d()(e.sheet.cssRules,function(e,t){var n=(e.conditionText?e.cssRules[0]:e).selectorText;0===(n=H(s.ruleOrder,n.split(ce)[1]))&&(s.scoreIndex[o]=t),e.score=n}))):"KEYFRAME"===t&&ue(i,s.cache))})}:se)(t,e)}},{key:"render",value:function(){return r(t.Provider,{value:this.props.renderer},o(this.props.children))}}]),n}(e);return a()(n,function(e,t){i[t]=e}),i}(o.Component,x,o.createElement,function(e){return o.Children.only(e)},{propTypes:{renderer:r.a.object.isRequired,rehydrate:r.a.bool.isRequired},defaultProps:{rehydrate:!0}})),fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},he=function(i,a,s){return function(e){var t,n=void 0===(t=e.theme)?{}:t,r=void 0!==(t=e.overwrite)&&t,o=e.children;return a(i.Consumer,null,function(e){return a(i.Provider,{value:!r&&e?fe({},e,n):n},s(o))})}}(E,o.createElement,function(e){return o.Children.only(e)});function me(e){void 0===e&&(e={});var n=Object(o.useContext)(x),t=Object(o.useContext)(E)||{};if(!n)throw new Error('The "useFela" hook can only be used inside a "RendererProvider"');var r=Ie(Ie({},e),{theme:t});return{renderer:n,theme:t,css:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.renderRule(Object(_.combineRules).apply(void 0,e),r)}}}var ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ge=function(o,e){return function(n){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"theme";return S(function(t){return o(e,void 0,function(e){return o(n,ye({},t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,e)))})},n)}}(o.createElement,L),ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},be=function(a){return function(i){return ae(i).map(function(e){var t=e.type,n=e.media,r=e.rehydration,o=e.support;return e=e.css,a("style",ve({key:t+n},i.styleNodeAttributes,{media:n,"data-fela-rehydration":r,"data-fela-type":t,"data-fela-support":o,dangerouslySetInnerHTML:{__html:e}}))})}}(o.createElement),Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function _e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Se=function(c,p){return function(t){for(var e=arguments.length,n=Array(2<e?e-2:0),r=2;r<e;r++)n[r-2]=arguments[r];var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(o){var i=o.css,a=o.key,s=o.ref,l=o.className,u=function(e,t){var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(o,["css","key","ref","className"]);if(i)return c(p,{style:i,key:a,ref:s},function(e){return c.apply(void 0,[t,Ce({},u,{className:l?l+" "+e.className:e.className})].concat(_e(n)))})}return c.apply(void 0,[t,o].concat(_e(n)))}}(o.createElement,V);n.d(t,"FelaRenderer",function(){return Pe}),n.d(t,"connect",function(){return k}),n.d(t,"createComponent",function(){return N}),n.d(t,"createComponentWithProxy",function(){return B}),n.d(t,"FelaComponent",function(){return V}),n.d(t,"FelaTheme",function(){return L}),n.d(t,"RendererContext",function(){return x}),n.d(t,"RendererProvider",function(){return de}),n.d(t,"ThemeContext",function(){return E}),n.d(t,"ThemeProvider",function(){return he}),n.d(t,"renderToNodeList",function(){return be}),n.d(t,"useFela",function(){return me}),n.d(t,"withTheme",function(){return ge}),n.d(t,"fe",function(){return Se});var Pe=x.Consumer}]))},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(15)},,function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r={},o=void 0;try{o=window}catch(e){}function i(e,t){if(void 0!==o){var n=o.__packages__=o.__packages__||{};if(!n[e]||!r[e])r[e]=t,(n[e]=n[e]||[]).push(t)}}i("@fluentui/set-version","6.0.0")},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function p(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=p(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))u.call(n,a)&&(o[a]=n[a]);if(l){r=l(n);for(var s=0;s<r.length;s++)c.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o}},,function(e,t,n){var E=this&&this.__assign||function(){return(E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},k=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};window,e.exports=function(){return n=[function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=0,o=e.length;r<o;++r)n=t(n,e[r],r,o,e);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n="";for(t in e){var r=e[t];"string"!=typeof r&&"number"!=typeof r||(n&&(n+=";"),n+=(0,o.default)(t,r))}return n};var o=(n=n(2))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e)+":"+t};var r=(n=n(9))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0,r=e.length;n<r;++n)t(e[n],n,r,e)}},function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r in e)n=t(n,e[r],r,e);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,function(e){return e[1].toUpperCase()}).replace(o,"ms")};var r=/-([a-z])/g,o=/^Ms/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function d(n){return n.filter(function(e,t){return n.lastIndexOf(e)===t})}t.default=function e(t){for(var n=arguments.length,r=Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0,a=r.length;i<a;++i){var s,l=r[i];for(s in l){var u=l[s],c=t[s];if(c&&u){if(Array.isArray(c)){t[s]=d(c.concat(u));continue}if(Array.isArray(u)){t[s]=d([c].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(u)));continue}if("object"===(void 0===u?"undefined":p(u))){t[s]=e({},c,u);continue}}t[s]=u}}return t},e.exports=t.default},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var r=(n=n(10))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,n){"use strict";var r=/[A-Z]/g,o=/^ms-/,i={};e.exports=function(e){return e in i?i[e]:i[e]=e.replace(r,"-$&").toLowerCase().replace(o,"-ms-")}},function(e,t,n){"use strict";n.r(t);var r=n(2),h=n.n(r),o=(r=n(3),n.n(r)),m=(r=n(4),n.n(r)),i=(r=n(0),n.n(r));function a(n,e,r,t){var o=3<arguments.length&&void 0!==t?t:{};return 0<n.plugins.length?i()(n.plugins,function(e,t){return t(e,r,n,o)},e):e}var y=/^(:|\[|>|&)/;function g(e,t){return 0===e.length?t:e+" and "+t}r=n(6);var v=n.n(r),s=(r=n(1),n.n(r)),l=(r=n(5),n.n(r));function u(e){return l()(e,function(e,t,n){return"".concat(e).concat(n,"{").concat(s()(t),"}")},"")}var c="abcdefghijklmnopqrstuvwxyz",p=c.length;function b(e){return"data:"===e.substr(0,5)}function C(e){return b(e)?e:"'".concat(e,"'")}var _={".woff":"woff",".woff2":"woff2",".eot":"embedded-opentype",".ttf":"truetype",".otf":"opentype",".svg":"svg",".svgz":"svg"},S={"image/svg+xml":"svg","application/x-font-woff":"woff","application/font-woff":"woff","application/x-font-woff2":"woff2","application/font-woff2":"woff2","font/woff2":"woff2","application/octet-stream":"truetype","application/x-font-ttf":"truetype","application/x-font-truetype":"truetype","application/x-font-opentype":"opentype","application/vnd.ms-fontobject":"embedded-opentype","application/font-sfnt":"sfnt"};function P(e){return-1===e.indexOf("ad")}var I=/^[a-z_][a-z0-9-_]*$/gi;function d(d){void 0===d&&(d={});var f={listeners:[],keyframePrefixes:d.keyframePrefixes||["-webkit-","-moz-"],plugins:d.plugins||[],sortMediaQuery:d.sortMediaQuery||function(n){return void 0===n&&(n=[]),function(e,t){return-1===n.indexOf(t)?-1===n.indexOf(e)?0:-1:-1===n.indexOf(e)?1:n.indexOf(e)-n.indexOf(t)}}(d.mediaQueryOrder),supportQueryOrder:d.supportQueryOrder||[],styleNodeAttributes:d.styleNodeAttributes||{},ruleOrder:[/^:link/,/^:visited/,/^:hover/,/^:focus-within/,/^:focus/,/^:active/],selectorPrefix:function(e){return void 0===e&&(e=""),0<e.length&&null===e.match(I)&&console.error("An invalid selectorPrefix (".concat(e,") has been used to create a new Fela renderer.\nIt must only contain a-Z, 0-9, - and _ while it must start with either _ or a-Z.\nSee http://fela.js.org/docs/advanced/RendererConfiguration.html")),e}(d.selectorPrefix),specificityPrefix:d.specificityPrefix||"",filterClassName:d.filterClassName||P,devMode:d.devMode||!1,uniqueRuleIdentifier:0,uniqueKeyframeIdentifier:0,nodes:{},scoreIndex:{},cache:{},getNextRuleIdentifier:function(){return++f.uniqueRuleIdentifier},getNextKeyframeIdentifier:function(){return++f.uniqueKeyframeIdentifier},renderRule:function(e,t){return void 0===t&&(t={}),f._renderStyle(e(t,f),t)},renderKeyframe:function(e,t){void 0===t&&(t={}),e=e(t,f);var o=u(e=a(f,e,"KEYFRAME",t));return f.cache.hasOwnProperty(o)||(t={type:"KEYFRAME",keyframe:function(e,n,t){void 0===t&&(t=[""]);var r=o||u(e);return i()(t,function(e,t){return"".concat(e,"@").concat(t,"keyframes ").concat(n,"{").concat(r,"}")},"")}(e,t=f.selectorPrefix+f.generateAnimationName(t),f.keyframePrefixes),name:t},f.cache[o]=t,f._emitChange(t)),f.cache[o].name},generateAnimationName:function(e){return"k"+f.getNextKeyframeIdentifier()},renderFont:function(e,t,n){void 0===n&&(n={});var r=n.localAlias,o=k(n,["localAlias"]);return n=e+JSON.stringify(n),r=function(e){return"string"==typeof e?[e]:Array.isArray(e)?e.slice():[]}(r),f.cache.hasOwnProperty(n)||(e='"'===(e=e).charAt(0)?e:'"'.concat(e,'"'),e={type:"FONT",fontFace:function(e){return"@font-face{".concat(s()(e),"}")}(E(E({},o),{src:function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),t=i()(t,function(e,t,n){return"".concat(e).concat(0<n?",":"","local(").concat(C(t),")")},""),e=i()(e,function(e,t,n){var r=0<n?",":"";return n=function(e){if(b(e)){for(var t="",n=5;;n++){var r=e.charAt(n);if(";"===r||","===r)break;t+=r}var o=S[t];if(o)return o;console.warn("A invalid base64 font was used. Please use one of the following mime type: ".concat(Object.keys(S).join(", "),"."))}else{for(var i="",a=e.length-1;;a--)if("."===e.charAt(a)){var s=e.slice(a,e.length);i=s.includes("?")?s.split("?",1)[0]:s;break}if(o=_[i])return o;console.warn('A invalid font-format was used in "'.concat(e,'". Use one of these: ').concat(Object.keys(_).join(", "),"."))}return""}(t),"".concat(e).concat(r,"url(").concat(C(t),") format('").concat(n,"')")},""),"".concat(t).concat(0<t.length&&0<e.length?",":"").concat(e)}(t,r),fontFamily:e})),fontFamily:e},f.cache[n]=e,f._emitChange(e)),f.cache[n].fontFamily},renderStatic:function(e,t){var n=function(e){return"string"==typeof e?e:t?t+JSON.stringify(e):""}(e);f.cache.hasOwnProperty(n)||(e={type:"STATIC",css:function(e,t){return"string"==typeof e?e.replace(/\s{2,}/g,""):(e=a(t,e,"STATIC"),s()(e))}(e,f),selector:t},f.cache[n]=e,f._emitChange(e))},subscribe:function(e){return f.listeners.push(e),{unsubscribe:function(){return f.listeners.splice(f.listeners.indexOf(e),1)}}},clear:function(){f.uniqueRuleIdentifier=0,f.uniqueKeyframeIdentifier=0,f.cache={},f._emitChange({type:"CLEAR"})},_renderStyle:function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),t=a(f,e,"RULE",t),f._renderStyleToClassNames(t).slice(1)},_renderStyleToClassNames:function(e,t,n,r){var o=e._className,i=k(e,["_className"]);void 0===t&&(t=""),void 0===n&&(n=""),void 0===r&&(r="");var a,s=o?" ".concat(o):"";for(a in i){var l,u=i[a];if(m()(u))!function(e){return y.test(e)}(a)?"@media"===a.substr(0,6)?(l=g(n,a.slice(6).trim()),s+=f._renderStyleToClassNames(u,t,l,r)):"@supports"===a.substr(0,9)?(c=g(r,a.slice(9).trim()),s+=f._renderStyleToClassNames(u,t,n,c)):console.warn('The object key "'.concat(a,'" is not a valid nested key in Fela.\nMaybe you forgot to add a plugin to resolve it?\nCheck http://fela.js.org/docs/basics/Rules.html#styleobject for more information.')):s+=f._renderStyleToClassNames(u,t+("&"===(p=a).charAt(0)?p.slice(1):p),n,r);else{var c=function(e,t,n,r,o){return(4<arguments.length&&void 0!==o?o:"")+(3<arguments.length&&void 0!==r?r:"")+(2<arguments.length&&void 0!==n?n:"")+v()(e)+t}(a,u,t,n,r);if(!f.cache.hasOwnProperty(c)){if(function(e){return null==e||"string"==typeof e&&null!==e.match(/(undefined|null)/)&&null===e.match(/url/)}(u)){f.cache[c]={className:""};continue}var p=f.selectorPrefix+f.generateClassName(a,u,t,n,r);u=h()(a,u),u={type:"RULE",className:p,selector:function(e,t,n){return(2<arguments.length&&void 0!==n?n:"")+"."+e+(1<arguments.length&&void 0!==t?t:"")}(p,t,d.specificityPrefix),declaration:u,pseudo:t,media:n,support:r},f.cache[c]=u,f._emitChange(u)}(c=f.cache[c].className)&&(s+=" ".concat(c))}}return s},generateClassName:function(e,t,n,r,o){return function e(t,n){void 0===n&&(n=function(){return!0});var r=function e(t,n){return void 0===n&&(n=""),t<=p?c[t-1]+n:e(t/p|0,c[t%p]+n)}(t());return n(r)?r:e(t,n)}(f.getNextRuleIdentifier,f.filterClassName)},_emitChange:function(t){o()(f.listeners,function(e){return e(t)})}};return f.keyframePrefixes.push(""),d.enhancers&&o()(d.enhancers,function(e){f=e(f)}),f}r=n(7);var f=n.n(r);function w(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n,r){return i()(e,function(e,t){return(t=function e(t,n,r){return Array.isArray(t)?e(w.apply(void 0,t),n,r):"function"==typeof t?t(n,r):t}(t,n,r))&&e._className&&(t._className=e._className+(t._className?" "+t._className:"")),f()(e,t)},{})}}function x(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(t){return function(e){return i()(n,function(e,t){return t(e)},t(e))}}}n.d(t,"createRenderer",function(){return d}),n.d(t,"combineRules",function(){return w}),n.d(t,"enhance",function(){return x})}],r={},o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=11);function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,r}()},function(e,t,n){var D=this&&this.__assign||function(){return(D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},F=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};window,e.exports=function(){return n=[function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r in e)n=t(n,e[r],r,e);return n}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=0,o=e.length;r<o;++r)n=t(n,e[r],r,o,e);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n in e)t(e[n],n,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0,r=e.length;n<r;++n)t(e[n],n,r,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,function(e){return e[1].toUpperCase()}).replace(o,"ms")};var r=/-([a-z])/g,o=/^Ms/g;e.exports=t.default},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r);function y(e,t){return e+"{"+t+"}"}r=n(0);var a=n.n(r);function g(e,t){var n=1<arguments.length&&void 0!==t?t:"";return 0===(e=0<arguments.length&&void 0!==e?e:[]).length||0===n.length?0:e.indexOf(e.find(function(e){return null!==n.match(e)}))+1}function v(e,t){return"@supports "+e+"{"+t+"}"}r=n(2);var s=n.n(r);function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=(o(r={},"RULE",function(e,t){var n=t.selector,r=t.declaration,o=t.support;t=t.media,r=y(n,r),o?t?(e.supportMediaRules[t]||(e.supportMediaRules[t]={}),e.supportMediaRules[t][o]||(e.supportMediaRules[t][o]=""),e.supportMediaRules[t][o]+=r):(e.supportRules[o]||(e.supportRules[o]=""),e.supportRules[o]+=r):t?(e.mediaRules[t]||(e.mediaRules[t]=""),e.mediaRules[t]+=r):e.rules+=r}),o(r,"FONT",function(e,t){t=t.fontFace,e.fontFaces+=t}),o(r,"KEYFRAME",function(e,t){t=t.keyframe,e.keyframes+=t}),o(r,"STATIC",function(e,t){var n=t.css;t=t.selector,e.statics+=t?y(t,n):n}),r);function c(e,t){var n=1<arguments.length&&void 0!==t?t:[];return e=function(o,i){var e=a()(o,function(e,t,n){var r=function(e,t){for(var n=-1,r=0;r<e.length;r++)if(t(e[r])){n=r;break}return n}(e,function(e){return i(o[e])>i(t)});return-1!==r?function(e,t,n){return[].concat(l(e.slice(0,n)),[t],l(e.slice(n,e.length)))}(e,n,r):[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e),[n])},[]);return s()(e,function(e,t){return e[t]=o[t],e},{})}(e,function(e){return g(n,e.pseudo)}),a()(e,function(e,t){var n=u[t.type];return n&&n(e,t),e},{mediaRules:{},supportRules:{},supportMediaRules:{},fontFaces:"",statics:"",keyframes:"",rules:""})}var p={fontFaces:"FONT",statics:"STATIC",keyframes:"KEYFRAME",rules:"RULE"};function d(e){return a()(e,function(e,t,n){return 0<t.length&&(e+=v(n,t)),e},"")}var f=/^[a-z0-9_-]*$/gi;function h(e){return 0===e.selectorPrefix.length||null!==e.selectorPrefix.match(f)?e.uniqueRuleIdentifier:-1}function b(r){var o=c(r.cache,r.ruleOrder),i=h(r),e=a()(p,function(e,t,n){return 0<o[n].length&&e.push({css:o[n],rehydration:i,attributes:r.styleNodeAttributes,type:t}),e},[]),t=d(o.supportRules);return t&&e.push({css:t,type:"RULE",rehydration:i,attributes:r.styleNodeAttributes,support:!0}),t=Object.keys(D(D({},o.supportMediaRules),o.mediaRules)).sort(r.sortMediaQuery),s()(t,function(e,t){var n;return o.mediaRules[t]&&0<o.mediaRules[t].length&&e.push({css:o.mediaRules[t],type:"RULE",rehydration:i,attributes:r.styleNodeAttributes,media:t}),o.supportMediaRules[t]&&0<(n=d(o.supportMediaRules[t])).length&&e.push({css:n,type:"RULE",rehydration:i,attributes:r.styleNodeAttributes,support:!0,media:t}),e},e)}function m(e,t){e.updateSubscription||(e.scoreIndex={},e.nodes={},e.updateSubscription=function(r,o){return void 0===o&&(o=document),function(e){if("CLEAR"===e.type)return i()(r.nodes,function(e){return e.parentNode.removeChild(e)}),r.nodes={},void(r.scoreIndex={});var t=function(e,t,n){void 0===n&&(n=document);var r=function(e){var t;return e.type+(t=void 0===(t=e.media)?"":t)+(void 0===(e=e.support)?"":e)}(e);return t.nodes[r]||(n=function(e,t){var n=e.type,r=e.media;return e=e.support,void 0===t&&(t=document),r=r?'[media="'.concat(r,'"]'):":not([media])",e=e?'[data-fela-support="true"]':':not([data-fela-support="true"])',t.querySelector('[data-fela-type="'.concat(n,'"]').concat(e).concat(r))}(e,n)||function(e,t,n,r){void 0===t&&(t=document);var o,i=t.head||{},a=e.type,s=e.media,l=e.support,u=t.createElement("style");for(o in u.setAttribute("data-fela-type",a),u.type="text/css",l&&u.setAttribute("data-fela-support","true"),s&&(u.media=s),r)u.setAttribute(o,r[o]);if(window.FelaConfig)for(var c in window.FelaConfig.styleNodeAttributes)u.setAttribute(c,window.FelaConfig.styleNodeAttributes[c]);return(n=function(e,t,n){var r=t.type,o=t.media,i=t.support;switch(r){case"FONT":case"STATIC":case"KEYFRAME":return e[0];case"RULE":var a=e.map(function(e){return e.media}).filter(function(e){return 0!==e.length});if(o){var s=F(F([],a,!0),[o],!1).sort(n),l=s.indexOf(o)+1,u=s[l];if(u)return u===o&&i?e.find(function(e){return e.media===s[s.indexOf(o)+2]}):e.find(function(e){return e.media===u})}else{var c=a.sort(n)[0];if(!i&&(a=e.find(function(e){return void 0!==e.getAttribute("data-fela-support")&&""===e.media&&"RULE"===e.getAttribute("data-fela-type")})))return a;if(c)return e.find(function(e){return e.media===c})}}}(F([],i.querySelectorAll("[data-fela-type]"),!0),e,n))?i.insertBefore(u,n):i.appendChild(u),u}(e,n,t.sortMediaQuery,t.styleNodeAttributes),t.nodes[r]=n),t.nodes[r]}(e,r,o);switch(e.type){case"KEYFRAME":-1===t.textContent.indexOf(e.keyframe)&&(t.textContent+=e.keyframe);break;case"FONT":-1===t.textContent.indexOf(e.fontFace)&&(t.textContent+=e.fontFace);break;case"STATIC":var n=e.selector?y(e.selector,e.css):e.css;-1===t.textContent.indexOf(n)&&(t.textContent+=n);break;case"RULE":!function(e,o,t){var n=e.selector,r=e.declaration,i=e.support,a=e.media,s=e.pseudo,l=a+i;if(o.devMode)!function(e){var t=b(o),n=e.getAttribute("media")||void 0,r=!!e.getAttribute("data-fela-support")||void 0;(t=t.find(function(e){return"RULE"===e.type&&e.media===n&&e.support===r}))&&(e.textContent=t.css)}(t);else try{var u=g(o.ruleOrder,s),c=t.sheet.cssRules,p=c.length;if(0===u)p=void 0===o.scoreIndex[l]?0:o.scoreIndex[l]+1;else for(var d=o.scoreIndex[l]||0,f=c.length;d<f;++d)if(c[d].score>u){p=d;break}var h,m=y(n,r);0<i.length?(h=v(i,m),t.sheet.insertRule(h,p)):t.sheet.insertRule(m,p),0===u&&(o.scoreIndex[l]=p),c[p].score=u}catch(n){}}(e,r,t)}}}(e,t),e.subscribe(e.updateSubscription),i()(e.cache,e._emitChange))}r=n(4);var C=n.n(r),_=(r=n(5),n.n(r));function S(e,t,n,r,o,i,a,s){return void 0===o&&(o=""),void 0===i&&(i=""),void 0===a&&(a=""),void 0===s&&(s=""),{type:e,className:t,selector:function(e,t,n){return(2<arguments.length&&void 0!==n?n:"")+"."+e+(1<arguments.length&&void 0!==t?t:"")}(t,o,s),declaration:n+":"+r,pseudo:o,media:i,support:a}}function P(e,t,n,r,o){void 0===t&&(t=""),void 0===n&&(n=""),void 0===r&&(r={}),void 0===o&&(o="");for(var i=new RegExp("".concat(o.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),"[.]([0-9a-z_-]+)([^{]+)?{([^:]+):([^}]+)}"),"gi");u=i.exec(e);){u[0];var a=u[1],s=u[2],l=u[3],u=u[4];r[function(e,t,n,r,o){return(4<arguments.length&&void 0!==o?o:"")+(3<arguments.length&&void 0!==r?r:"")+(2<arguments.length&&void 0!==n?n:"")+_()(e)+t}(l,u,s,t,n)]=S("RULE",a,l,u,s,t,n,o)}return r}var I=/@supports[^{]+\{([\s\S]+?})\s*}/gi,w=/@(-webkit-|-moz-)?keyframes ([a-z_][a-z0-9-_]*)(\{.*?(?=}})}})/gi,x=/[.][a-z0-9_-]*/gi;function E(s,e){void 0===e&&(e=document),m(s,e),C()(e.querySelectorAll("[data-fela-type]"),function(e){var t,n,r,o,i=e.getAttribute("data-fela-rehydration")||-1,a=s.uniqueRuleIdentifier||parseInt(i,10);-1!==a&&(t=e.getAttribute("data-fela-type")||"",n=e.getAttribute("media")||"",r=e.getAttribute("data-fela-support")||"",i=e.textContent,s.uniqueRuleIdentifier=a,a=t+n+r,s.nodes[a]=e,"RULE"===t?(r?function(e,t,n,r){var o;for(void 0===t&&(t=""),void 0===n&&(n={}),void 0===r&&(r="");o=I.exec(e);){var i=o[0];P(o[1],t,i.split("{")[0].slice(9).trim(),n,r)}}(i,n,s.cache,s.specificityPrefix):P(i,n,"",s.cache,s.specificityPrefix),e.sheet&&e.sheet.cssRules&&(o=n+r,C()(e.sheet.cssRules,function(e,t){var n=(e.conditionText?e.cssRules[0]:e).selectorText;0===(n=g(s.ruleOrder,n.split(x)[1]))&&(s.scoreIndex[o]=t),e.score=n}))):"KEYFRAME"===t&&function(e,t){for(void 0===t&&(t={});o=w.exec(e);){var n=o[0],r=(o[1],o[2]),o=o[3];t[o]?t[o].keyframe+=n:t[o]={type:"KEYFRAME",keyframe:n,name:r}}}(i,s.cache))})}function k(e,t,n,r,o,i){return void 0===n&&(n=""),void 0===r&&(r=-1),void 0===o&&(o=!1),void 0===i&&(i={}),'<style type="text/css" data-fela-rehydration="'.concat(r,'" data-fela-type="').concat(t,'"').concat(o?' data-fela-support="true"':"").concat(0<n.length?' media="'.concat(n,'"'):"").concat(a()(i,function(e,t,n){return e+" "+n+'="'+t+'"'},""),">").concat(e,"</style>")}function T(r){var o=c(r.cache,r.ruleOrder),i=h(r),e=a()(p,function(e,t,n){return 0<o[n].length&&(e+=k(o[n],t,"",i,!1,r.styleNodeAttributes)),e},""),t=d(o.supportRules);return t&&(e+=k(t,"RULE","",i,!0,r.styleNodeAttributes)),t=Object.keys(D(D({},o.supportMediaRules),o.mediaRules)).sort(r.sortMediaQuery),s()(t,function(e,t){var n;return o.mediaRules[t]&&0<o.mediaRules[t].length&&(e+=k(o.mediaRules[t],"RULE",t,i,!1,r.styleNodeAttributes)),o.supportMediaRules[t]&&0<(n=d(o.supportMediaRules[t])).length&&(e+=k(n,"RULE",t,i,!0,r.styleNodeAttributes)),e},e)}n.d(t,"render",function(){return m}),n.d(t,"rehydrate",function(){return E}),n.d(t,"renderToMarkup",function(){return T}),n.d(t,"renderToSheetList",function(){return b})}],r={},o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=6);function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,r}()},function(e,a,s){"use strict";(function(e){s.d(a,"a",function(){return r});var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},n="undefined"==typeof window?e:window,l=n&&n.CSPSettings&&n.CSPSettings.nonce,u=function(){var e=n.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=t(t({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=t(t({},e),{registeredThemableStyles:[]}));return n.__themeState__=e,e}();function o(e,t){u.loadStyles?u.loadStyles(c(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=c(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),l&&n.setAttribute("nonce",l);n.appendChild(document.createTextNode(o)),u.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var s={styleElement:n,themableStyle:e};i?u.registeredThemableStyles.push(s):u.registeredStyles.push(s)}(e)}function r(e){u.theme=e,function(){if(u.theme){for(var e=[],t=0,n=u.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(i(u.registeredStyles),u.registeredStyles=[]);3!==e&&1!==e||(i(u.registeredThemableStyles),u.registeredThemableStyles=[])}(1),o([].concat.apply([],e)))}}()}function i(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function c(e){var o=u.theme,i=!1;return{styleString:(e||[]).map(function(e){var t=e.theme;if(t){i=!0;var n=o?o[t]:void 0,r=e.defaultValue||"inherit";return o&&!n&&console&&!(t in o)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+t+'". Falling back to "'+r+'".'),n||r}return e.rawString}).join(""),themable:i}}}).call(this,s(21))},,,,,function(e,t,n){"use strict"; /** @license React v16.14.0 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var c=n(5),r="function"==typeof Symbol&&Symbol.for,p=r?Symbol.for("react.element"):60103,u=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function C(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function _(){}function S(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}C.prototype.isReactComponent={},C.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=C.prototype;var P=S.prototype=new _;P.constructor=S,c(P,C.prototype),P.isPureReactComponent=!0;var I={current:null},w=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,r)&&!x.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:p,type:e,key:i,ref:a,props:o,_owner:I.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var T=/\/+/g,D=[];function F(e,t,n,r){if(D.length){var o=D.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function M(e,t,n){return null==e?0:function e(t,n,r,o){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var a=!1;if(null===t)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case p:case u:a=!0}}if(a)return r(o,t,""===n?"."+A(t,0):n),1;if(a=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=n+A(i=t[s],s);a+=e(i,l,r,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=y&&t[y]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(i=t.next()).done;)a+=e(i=i.value,l=n+A(i,s++),r,o);else if("object"===i)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return a}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?N(e,r,n,function(e){return e}):null!=e&&(k(e)&&(e=function(e,t){return{$$typeof:p,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function N(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(T,"$&/")+"/"),M(e,L,t=F(t,i,r,o)),O(t)}var B={current:null};function U(){var e=B.current;if(null===e)throw Error(g(321));return e}var V={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:c};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return N(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,R,t=F(null,null,t,n)),O(t)},count:function(e){return M(e,function(){return null},null)},toArray:function(e){var t=[];return N(e,t,null,function(e){return e}),t},only:function(e){if(!k(e))throw Error(g(143));return e}},t.Component=C,t.Fragment=o,t.Profiler=a,t.PureComponent=S,t.StrictMode=i,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var r=c({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=I.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)w.call(t,l)&&!x.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:p,type:e.type,key:o,ref:i,props:r,_owner:a}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return U().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,n){return U().useReducer(e,t,n)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict"; /** @license React v16.14.0 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r=n(0),g=n(5),o=n(16);function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(w(227));function u(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var c=!1,p=null,d=!1,f=null,h={onError:function(e){c=!0,p=e}};function m(e,t,n,r,o,i,a,s,l){c=!1,p=null,u.apply(h,arguments)}var i=null,a=null,s=null;function l(e,t,n){var r=e.type||"unknown-event";e.currentTarget=s(n),function(e,t,n,r,o,i,a,s,l){if(m.apply(this,arguments),c){if(!c)throw Error(w(198));var u=p;c=!1,p=null,d||(d=!0,f=u)}}(r,t,void 0,e),e.currentTarget=null}var y=null,v={};function b(){if(y)for(var e in v){var t=v[e],n=y.indexOf(e);if(!(-1<n))throw Error(w(96,e));if(!_[n]){if(!t.extractEvents)throw Error(w(97,e));for(var r in _[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,s=r;if(S.hasOwnProperty(s))throw Error(w(99,s));S[s]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&C(l[o],a,s);o=!0}else i.registrationName?(C(i.registrationName,a,s),o=!0):o=!1;if(!o)throw Error(w(98,r,e))}}}}function C(e,t,n){if(P[e])throw Error(w(100,e));P[e]=t,I[e]=t.eventTypes[n].dependencies}var _=[],S={},P={},I={};function x(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!v.hasOwnProperty(t)||v[t]!==r){if(v[t])throw Error(w(102,t));v[t]=r,n=!0}}n&&b()}var E=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),k=null,T=null,D=null;function F(e){if(e=a(e)){if("function"!=typeof k)throw Error(w(280));var t=e.stateNode;t&&(t=i(t),k(e.stateNode,e.type,t))}}function O(e){T?D?D.push(e):D=[e]:T=e}function M(){if(T){var e=T,t=D;if(D=T=null,F(e),t)for(e=0;e<t.length;e++)F(t[e])}}function A(e,t){return e(t)}function R(e,t,n,r,o){return e(t,n,r,o)}function L(){}var N=A,B=!1,U=!1;function V(){null===T&&null===D||(L(),M())}function H(e,t,n){if(U)return e(t,n);U=!0;try{return N(e,t,n)}finally{U=!1,V()}}var j=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,z={},G={};function K(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new K(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];q[t]=new K(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new K(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new K(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new K(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){q[e]=new K(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){q[e]=new K(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){q[e]=new K(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){q[e]=new K(e,5,!1,e.toLowerCase(),null,!1)});var Q=/[\-:]([a-z])/g;function $(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Q,$);q[t]=new K(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Q,$);q[t]=new K(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Q,$);q[t]=new K(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){q[e]=new K(e,1,!1,e.toLowerCase(),null,!1)}),q.xlinkHref=new K("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){q[e]=new K(e,1,!1,e.toLowerCase(),null,!0)});var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(e,t,n,r){var o=q.hasOwnProperty(t)?q[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!W.call(G,e)||!W.call(z,e)&&(j.test(e)?G[e]=!0:(z[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,oe=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,se=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,ue=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,pe=J?Symbol.for("react.memo"):60115,de=J?Symbol.for("react.lazy"):60116,fe=J?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ye(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case ue:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case pe:return ye(e.type);case fe:return ye(e.render);case de:if(e=1===e._status?e._result:null)return ye(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ye(e.type);n=null,r&&(n=ye(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(X,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ce(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Se(e,t){var n=t.checked;return g({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Pe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ie(e,t){null!=(t=t.checked)&&Z(e,"checked",t,!1)}function we(e,t){Ie(e,t);var n=ve(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ee(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function xe(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ee(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ke(e,t){return e=g({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Te(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ve(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function De(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(w(91));return g({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(w(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(w(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function Oe(e,t){var n=ve(t.value),r=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ae="http://www.w3.org/1999/xhtml",Re="http://www.w3.org/2000/svg";function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ne(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Be,Ue=function(o){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return o(e,t)})}:o}(function(e,t){if(e.namespaceURI!==Re||"innerHTML"in e)e.innerHTML=t;else{for((Be=Be||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function He(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var je={animationend:He("Animation","AnimationEnd"),animationiteration:He("Animation","AnimationIteration"),animationstart:He("Animation","AnimationStart"),transitionend:He("Transition","TransitionEnd")},We={},ze={};function Ge(e){if(We[e])return We[e];if(!je[e])return e;var t,n=je[e];for(t in n)if(n.hasOwnProperty(t)&&t in ze)return We[e]=n[t];return e}E&&(ze=document.createElement("div").style,"AnimationEvent"in window||(delete je.animationend.animation,delete je.animationiteration.animation,delete je.animationstart.animation),"TransitionEvent"in window||delete je.transitionend.transition);var Ke=Ge("animationend"),qe=Ge("animationiteration"),Qe=Ge("animationstart"),$e=Ge("transitionend"),Ye="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ze=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Ze.get(e);return void 0===t&&(t=new Map,Ze.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(w(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(w(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(w(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(w(189))}}if(n.alternate!==r)throw Error(w(190))}if(3!==n.tag)throw Error(w(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(w(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)l(e,t[r],n[r]);else t&&l(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(w(95));if(d)throw e=f,d=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ut(e){if(!E)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ct=[];function pt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function dt(e,t,n,r){if(ct.length){var o=ct.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ft(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=En(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=lt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<_.length;l++){var u=_[l];u&&(u=u.extractEvents(r,t,i,o,a))&&(s=rt(s,u))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Qt(t,"scroll",!0);break;case"focus":case"blur":Qt(t,"focus",!0),Qt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ut(e)&&Qt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ye.indexOf(e)&&qt(e,t)}n.set(e,null)}}var mt,yt,gt,vt=!1,bt=[],Ct=null,_t=null,St=null,Pt=new Map,It=new Map,wt=[],xt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Et="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function kt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Tt(e,t){switch(e){case"focus":case"blur":Ct=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":St=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=kt(t,n,r,o,i),null!==t&&(null!==(t=kn(t))&&yt(t)),e):(e.eventSystemFlags|=r,e)}function Ft(e){var t=En(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,function(){gt(n)})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ot(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=kn(t);return null!==n&&yt(n),e.blockedOn=t,!1}return!0}function Mt(e,t,n){Ot(e)&&n.delete(t)}function At(){for(vt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=kn(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==Ct&&Ot(Ct)&&(Ct=null),null!==_t&&Ot(_t)&&(_t=null),null!==St&&Ot(St)&&(St=null),Pt.forEach(Mt),It.forEach(Mt)}function Rt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,At)))}function Lt(t){function e(e){return Rt(e,t)}if(0<bt.length){Rt(bt[0],t);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Ct&&Rt(Ct,t),null!==_t&&Rt(_t,t),null!==St&&Rt(St,t),Pt.forEach(e),It.forEach(e),n=0;n<wt.length;n++)(r=wt[n]).blockedOn===t&&(r.blockedOn=null);for(;0<wt.length&&null===(n=wt[0]).blockedOn;)Ft(n),null===n.blockedOn&&wt.shift()}var Nt={},Bt=new Map,Ut=new Map,Vt=["abort","abort",Ke,"animationEnd",qe,"animationIteration",Qe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$e,"transitionEnd","waiting","waiting"];function Ht(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Ut.set(r,t),Bt.set(r,i),Nt[o]=i}}Ht("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ht("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ht(Vt,2);for(var jt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<jt.length;Wt++)Ut.set(jt[Wt],0);var zt=o.unstable_UserBlockingPriority,Gt=o.unstable_runWithPriority,Kt=!0;function qt(e,t){Qt(t,e,!1)}function Qt(e,t,n){var r=Ut.get(t);switch(void 0===r?2:r){case 0:r=$t.bind(null,t,1,e);break;case 1:r=Yt.bind(null,t,1,e);break;default:r=Zt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function $t(e,t,n,r){B||L();var o=Zt,i=B;B=!0;try{R(o,e,t,n,r)}finally{(B=i)||V()}}function Yt(e,t,n,r){Gt(zt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){if(Kt)if(0<bt.length&&-1<xt.indexOf(e))e=kt(null,e,t,n,r),bt.push(e);else{var o=Xt(e,t,n,r);if(null===o)Tt(e,r);else if(-1<xt.indexOf(e))e=kt(o,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return Ct=Dt(Ct,e,t,n,r,o),!0;case"dragenter":return _t=Dt(_t,e,t,n,r,o),!0;case"mouseover":return St=Dt(St,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,Dt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,It.set(i,Dt(It.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Tt(e,r),e=dt(e,r,null,t);try{H(ft,e)}finally{pt(e)}}}}function Xt(e,t,n,r){if(null!==(n=En(n=lt(r)))){var o=Je(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{H(ft,e)}finally{pt(e)}return null}var Jt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Jt).forEach(function(t){en.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Jt[e]=Jt[t]})});var rn=g({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(w(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(w(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(w(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Ae;function ln(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=I[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function un(){}function cn(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=pn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pn(r)}}function fn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,yn=null;function gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"==typeof setTimeout?setTimeout:void 0,Cn="function"==typeof clearTimeout?clearTimeout:void 0;function _n(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Sn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Pn=Math.random().toString(36).slice(2),In="__reactInternalInstance$"+Pn,wn="__reactEventHandlers$"+Pn,xn="__reactContainere$"+Pn;function En(e){var t=e[In];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xn]||n[In]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sn(e);null!==e;){if(n=e[In])return n;e=Sn(e)}return t}n=(e=n).parentNode}return null}function kn(e){return!(e=e[In]||e[xn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Tn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(w(33))}function Dn(e){return e[wn]||null}function Fn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function On(e,t){var n=e.stateNode;if(!n)return null;var r=i(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(w(231,t,typeof n));return n}function Mn(e,t,n){(t=On(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function An(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Fn(t);for(t=n.length;0<t--;)Mn(n[t],"captured",e);for(t=0;t<n.length;t++)Mn(n[t],"bubbled",e)}}function Rn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=On(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Ln(e){e&&e.dispatchConfig.registrationName&&Rn(e._targetInst,null,e)}function Nn(e){ot(e,An)}var Bn=null,Un=null,Vn=null;function Hn(){if(Vn)return Vn;var e,t,n=Un,r=n.length,o="value"in Bn?Bn.value:Bn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Vn=o.slice(e,1<t?1-t:void 0)}function jn(){return!0}function Wn(){return!1}function zn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?jn:Wn,this.isPropagationStopped=Wn,this}function Gn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Kn(e){if(!(e instanceof this))throw Error(w(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function qn(e){e.eventPool=[],e.getPooled=Gn,e.release=Kn}g(zn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=jn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=jn)},persist:function(){this.isPersistent=jn},isPersistent:Wn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Wn,this._dispatchInstances=this._dispatchListeners=null}}),zn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},zn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return g(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=g({},r.Interface,e),n.extend=r.extend,qn(n),n},qn(zn);var Qn=zn.extend({data:null}),$n=zn.extend({data:null}),Yn=[9,13,27,32],Zn=E&&"CompositionEvent"in window,Xn=null;E&&"documentMode"in document&&(Xn=document.documentMode);var Jn=E&&"TextEvent"in window&&!Xn,er=E&&(!Zn||Xn&&8<Xn&&11>=Xn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Yn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Zn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=Hn()):(Un="value"in(Bn=r)?Bn.value:Bn.textContent,ar=!0)),i=Qn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Nn(i),o=i):o=null,(e=Jn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Zn&&or(e,t)?(e=Hn(),Vn=Un=Bn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=$n.getPooled(nr.beforeInput,t,n,r)).data=e,Nn(t)):t=null,null===o?t:null===t?o:[o,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var cr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function pr(e,t,n){return(e=zn.getPooled(cr.change,e,t,n)).type="change",O(n),Nn(e),e}var dr=null,fr=null;function hr(e){st(e)}function mr(e){if(_e(Tn(e)))return e}function yr(e,t){if("change"===e)return t}var gr=!1;function vr(){dr&&(dr.detachEvent("onpropertychange",br),fr=dr=null)}function br(e){if("value"===e.propertyName&&mr(fr))if(e=pr(fr,e,lt(e)),B)st(e);else{B=!0;try{A(hr,e)}finally{B=!1,V()}}}function Cr(e,t,n){"focus"===e?(vr(),fr=n,(dr=t).attachEvent("onpropertychange",br)):"blur"===e&&vr()}function _r(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(fr)}function Sr(e,t){if("click"===e)return mr(t)}function Pr(e,t){if("input"===e||"change"===e)return mr(t)}E&&(gr=ut("input")&&(!document.documentMode||9<document.documentMode));var Ir={eventTypes:cr,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var o=t?Tn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=yr;else if(ur(o))if(gr)a=Pr;else{a=_r;var s=Cr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Sr);if(a&&(a=a(e,t)))return pr(a,n,r);s&&s(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ee(o,"number",o.value)}},wr=zn.extend({view:null,detail:null}),xr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xr[e])&&!!t[e]}function kr(){return Er}var Tr=0,Dr=0,Fr=!1,Or=!1,Mr=wr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:kr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Tr;return Tr=e.screenX,Fr?"mousemove"===e.type?e.screenX-t:0:(Fr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,Or?"mousemove"===e.type?e.screenY-t:0:(Or=!0,0)}}),Ar=Mr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Rr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Lr={eventTypes:Rr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?En(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Mr,l=Rr.mouseLeave,u=Rr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Ar,l=Rr.pointerLeave,u=Rr.pointerEnter,c="pointer");if(e=null==a?i:Tn(a),i=null==t?i:Tn(t),(l=s.getPooled(l,a,n,r)).type=c+"leave",l.target=e,l.relatedTarget=i,(n=s.getPooled(u,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(u=c,a=0,e=s=r;e;e=Fn(e))a++;for(e=0,t=u;t;t=Fn(t))e++;for(;0<a-e;)s=Fn(s),a--;for(;0<e-a;)u=Fn(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Fn(s),u=Fn(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Fn(r);for(r=[];c&&c!==u&&(null===(a=c.alternate)||a!==u);)r.push(c),c=Fn(c);for(c=0;c<s.length;c++)Rn(s[c],"bubbled",l);for(c=r.length;0<c--;)Rn(r[c],"captured",n);return 0==(64&o)?[l]:[l,n]}};var Nr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Br=Object.prototype.hasOwnProperty;function Ur(e,t){if(Nr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Br.call(t,n[r])||!Nr(e[n[r]],t[n[r]]))return!1;return!0}var Vr=E&&"documentMode"in document&&11>=document.documentMode,Hr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},jr=null,Wr=null,zr=null,Gr=!1;function Kr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==jr||jr!==cn(n)?null:("selectionStart"in(n=jr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},zr&&Ur(zr,n)?null:(zr=n,(e=zn.getPooled(Hr.select,Wr,e,t)).type="select",e.target=jr,Nn(e),e))}var qr={eventTypes:Hr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Xe(o),i=I.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Tn(t):window,e){case"focus":(ur(o)||"true"===o.contentEditable)&&(jr=o,Wr=t,zr=null);break;case"blur":zr=Wr=jr=null;break;case"mousedown":Gr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gr=!1,Kr(n,r);case"selectionchange":if(Vr)break;case"keydown":case"keyup":return Kr(n,r)}return null}},Qr=zn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),$r=zn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Yr=wr.extend({relatedTarget:null});function Zr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=wr.extend({key:function(e){if(e.key){var t=Xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Jr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:kr,charCode:function(e){return"keypress"===e.type?Zr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Mr.extend({dataTransfer:null}),no=wr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:kr}),ro=zn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Mr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Nt,extractEvents:function(e,t,n,r){var o=Bt.get(e);if(!o)return null;switch(e){case"keypress":if(0===Zr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Yr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Mr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Ke:case qe:case Qe:e=Qr;break;case $e:e=ro;break;case"scroll":e=wr;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=$r;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Ar;break;default:e=zn}return Nn(t=e.getPooled(o,t,n,r)),t}};if(y)throw Error(w(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),b(),i=Dn,a=kn,s=Tn,x({SimpleEventPlugin:io,EnterLeaveEventPlugin:Lr,ChangeEventPlugin:Ir,SelectEventPlugin:qr,BeforeInputEventPlugin:sr});var ao=[],so=-1;function lo(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function uo(e,t){so++,ao[so]=e.current,e.current=t}var co={},po={current:co},fo={current:!1},ho=co;function mo(e,t){var n=e.type.contextTypes;if(!n)return co;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yo(e){return null!=(e=e.childContextTypes)}function go(){lo(fo),lo(po)}function vo(e,t,n){if(po.current!==co)throw Error(w(168));uo(po,t),uo(fo,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(w(108,ye(t)||"Unknown",o));return g({},n,{},r)}function Co(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||co,ho=po.current,uo(po,e),uo(fo,fo.current),!0}function _o(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=bo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,lo(fo),lo(po),uo(po,e)):lo(fo),uo(fo,n)}var So=o.unstable_runWithPriority,Po=o.unstable_scheduleCallback,Io=o.unstable_cancelCallback,wo=o.unstable_requestPaint,xo=o.unstable_now,Eo=o.unstable_getCurrentPriorityLevel,ko=o.unstable_ImmediatePriority,To=o.unstable_UserBlockingPriority,Do=o.unstable_NormalPriority,Fo=o.unstable_LowPriority,Oo=o.unstable_IdlePriority,Mo={},Ao=o.unstable_shouldYield,Ro=void 0!==wo?wo:function(){},Lo=null,No=null,Bo=!1,Uo=xo(),Vo=1e4>Uo?xo:function(){return xo()-Uo};function Ho(){switch(Eo()){case ko:return 99;case To:return 98;case Do:return 97;case Fo:return 96;case Oo:return 95;default:throw Error(w(332))}}function jo(e){switch(e){case 99:return ko;case 98:return To;case 97:return Do;case 96:return Fo;case 95:return Oo;default:throw Error(w(332))}}function Wo(e,t){return e=jo(e),So(e,t)}function zo(e,t,n){return e=jo(e),Po(e,t,n)}function Go(e){return null===Lo?(Lo=[e],No=Po(ko,qo)):Lo.push(e),Mo}function Ko(){if(null!==No){var e=No;No=null,Io(e)}qo()}function qo(){if(!Bo&&null!==Lo){Bo=!0;var t=0;try{var n=Lo;Wo(99,function(){for(;t<n.length;t++){var e=n[t];do{e=e(!0)}while(null!==e)}}),Lo=null}catch(n){throw null!==Lo&&(Lo=Lo.slice(t+1)),Po(ko,Ko),n}finally{Bo=!1}}}function Qo(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function $o(e,t){if(e&&e.defaultProps)for(var n in t=g({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Yo={current:null},Zo=null,Xo=null,Jo=null;function ei(){Jo=Xo=Zo=null}function ti(e){var t=Yo.current;lo(Yo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Zo=e,Jo=Xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function oi(e,t){if(Jo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Jo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xo){if(null===Zo)throw Error(w(308));Xo=t,Zo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Xo=Xo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ui(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ci(e,t){var n=e.alternate;null!==n&&si(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function pi(e,t,n,r){var o=e.updateQueue;ii=!1;var i=o.baseQueue,a=o.shared.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}i=a,o.shared.pending=null,null!==(s=e.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=a))}if(null!==i){s=i.next;var l=o.baseState,u=0,c=null,p=null,d=null;if(null!==s)for(var f=s;;){if((a=f.expirationTime)<r){var h={expirationTime:f.expirationTime,suspenseConfig:f.suspenseConfig,tag:f.tag,payload:f.payload,callback:f.callback,next:null};null===d?(p=d=h,c=l):d=d.next=h,a>u&&(u=a)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:f.suspenseConfig,tag:f.tag,payload:f.payload,callback:f.callback,next:null}),il(a,f.suspenseConfig);e:{var m=e,y=f;switch(a=t,h=n,y.tag){case 1:if("function"==typeof(m=y.payload)){l=m.call(h,l,a);break e}l=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(a="function"==typeof(m=y.payload)?m.call(h,l,a):m))break e;l=g({},l,a);break e;case 2:ii=!0}}null!==f.callback&&(e.effectTag|=32,null===(a=o.effects)?o.effects=[f]:a.push(f))}if(null===(f=f.next)||f===s){if(null===(a=o.shared.pending))break;f=i.next=a.next,a.next=s,o.baseQueue=i=a,o.shared.pending=null}}null===d?c=l:d.next=p,o.baseState=c,o.baseQueue=d,al(u),e.expirationTime=u,e.memoizedState=l}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(w(191,r));r.call(o)}}}var fi=Y.ReactCurrentBatchConfig,hi=(new r.Component).refs;function mi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:g({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var yi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ks(),o=fi.suspense;(o=li(r=qs(r,e,o),o)).payload=t,null!=n&&(o.callback=n),ui(e,o),Qs(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ks(),o=fi.suspense;(o=li(r=qs(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),ui(e,o),Qs(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ks(),r=fi.suspense;(r=li(n=qs(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ui(e,r),Qs(e,n)}};function gi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ur(n,r)||!Ur(o,i))}function vi(e,t,n){var r=!1,o=co,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=yo(t)?ho:po.current,i=(r=null!=(r=t.contextTypes))?mo(e,o):co),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yi.enqueueReplaceState(t,t.state,null)}function Ci(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=yo(t)?ho:po.current,o.context=mo(e,i)),pi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&yi.enqueueReplaceState(o,o.state,null),pi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var _i=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(w(309));var r=n.stateNode}if(!r)throw Error(w(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(w(284));if(!n._owner)throw Error(w(290,e))}return e}function Pi(e,t){if("textarea"!==e.type)throw Error(w(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ii(p){function d(e,t){if(p){var n=e.lastEffect;null!==n?(n.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t,t.nextEffect=null,t.effectTag=8}}function f(e,t){if(!p)return null;for(;null!==t;)d(e,t),t=t.sibling;return null}function h(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=xl(e,t)).index=0,e.sibling=null,e}function m(e,t,n){return e.index=n,p?null!==(n=e.alternate)?(n=n.index)<t?(e.effectTag=2,t):n:(e.effectTag=2,t):t}function s(e){return p&&null===e.alternate&&(e.effectTag=2),e}function i(e,t,n,r){return null===t||6!==t.tag?((t=Tl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=El(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dl(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=kl(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function y(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Tl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=El(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case te:return(t=Dl(t,e.mode,n)).return=e,t}if(_i(t)||me(t))return(t=kl(t,e.mode,n,null)).return=e,t;Pi(e,t)}return null}function g(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:i(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?c(e,t,n.props.children,r,o):l(e,t,n,r):null;case te:return n.key===o?u(e,t,n,r):null}if(_i(n)||me(n))return null!==o?null:c(e,t,n,r,null);Pi(e,n)}return null}function v(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return i(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?c(t,e,r.props.children,o,r.key):l(t,e,r,o);case te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(_i(r)||me(r))return c(t,e=e.get(n)||null,r,o,null);Pi(t,r)}return null}function b(t,e,n,r){for(var o=null,i=null,a=e,s=e=0,l=null;null!==a&&s<n.length;s++){a.index>s?(l=a,a=null):l=a.sibling;var u=g(t,a,n[s],r);if(null===u){null===a&&(a=l);break}p&&a&&null===u.alternate&&d(t,a),e=m(u,e,s),null===i?o=u:i.sibling=u,i=u,a=l}if(s===n.length)return f(t,a),o;if(null===a){for(;s<n.length;s++)null!==(a=y(t,n[s],r))&&(e=m(a,e,s),null===i?o=a:i.sibling=a,i=a);return o}for(a=h(t,a);s<n.length;s++)null!==(l=v(a,t,s,n[s],r))&&(p&&null!==l.alternate&&a.delete(null===l.key?s:l.key),e=m(l,e,s),null===i?o=l:i.sibling=l,i=l);return p&&a.forEach(function(e){return d(t,e)}),o}function C(t,e,n,r){var o=me(n);if("function"!=typeof o)throw Error(w(150));if(null==(n=o.call(n)))throw Error(w(151));for(var i=o=null,a=e,s=e=0,l=null,u=n.next();null!==a&&!u.done;s++,u=n.next()){a.index>s?(l=a,a=null):l=a.sibling;var c=g(t,a,u.value,r);if(null===c){null===a&&(a=l);break}p&&a&&null===c.alternate&&d(t,a),e=m(c,e,s),null===i?o=c:i.sibling=c,i=c,a=l}if(u.done)return f(t,a),o;if(null===a){for(;!u.done;s++,u=n.next())null!==(u=y(t,u.value,r))&&(e=m(u,e,s),null===i?o=u:i.sibling=u,i=u);return o}for(a=h(t,a);!u.done;s++,u=n.next())null!==(u=v(a,t,s,u.value,r))&&(p&&null!==u.alternate&&a.delete(null===u.key?s:u.key),e=m(u,e,s),null===i?o=u:i.sibling=u,i=u);return p&&a.forEach(function(e){return d(t,e)}),o}return function(e,t,n,r){var o="object"==typeof n&&null!==n&&n.type===ne&&null===n.key;o&&(n=n.props.children);var i="object"==typeof n&&null!==n;if(i)switch(n.$$typeof){case ee:e:{for(i=n.key,o=t;null!==o;){if(o.key===i){switch(o.tag){case 7:if(n.type===ne){f(e,o.sibling),(t=a(o,n.props.children)).return=e,e=t;break e}break;default:if(o.elementType===n.type){f(e,o.sibling),(t=a(o,n.props)).ref=Si(e,o,n),t.return=e,e=t;break e}}f(e,o);break}d(e,o),o=o.sibling}n.type===ne?((t=kl(n.props.children,e.mode,r,n.key)).return=e,e=t):((r=El(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,e=r)}return s(e);case te:e:{for(o=n.key;null!==t;){if(t.key===o){if(4===t.tag&&t.stateNode.containerInfo===n.containerInfo&&t.stateNode.implementation===n.implementation){f(e,t.sibling),(t=a(t,n.children||[])).return=e,e=t;break e}f(e,t);break}d(e,t),t=t.sibling}(t=Dl(n,e.mode,r)).return=e,e=t}return s(e)}if("string"==typeof n||"number"==typeof n)return n=""+n,null!==t&&6===t.tag?(f(e,t.sibling),(t=a(t,n)).return=e,e=t):(f(e,t),(t=Tl(n,e.mode,r)).return=e,e=t),s(e);if(_i(n))return b(e,t,n,r);if(me(n))return C(e,t,n,r);if(i&&Pi(e,n),void 0===n&&!o)switch(e.tag){case 1:case 0:throw e=e.type,Error(w(152,e.displayName||e.name||"Component"))}return f(e,t)}}var wi=Ii(!0),xi=Ii(!1),Ei={},ki={current:Ei},Ti={current:Ei},Di={current:Ei};function Fi(e){if(e===Ei)throw Error(w(174));return e}function Oi(e,t){switch(uo(Di,t),uo(Ti,e),uo(ki,Ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ne(null,"");break;default:t=Ne(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(ki),uo(ki,t)}function Mi(){lo(ki),lo(Ti),lo(Di)}function Ai(e){Fi(Di.current);var t=Fi(ki.current),n=Ne(t,e.type);t!==n&&(uo(Ti,e),uo(ki,n))}function Ri(e){Ti.current===e&&(lo(ki),lo(Ti))}var Li={current:0};function Ni(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bi(e,t){return{responder:e,props:t}}var Ui=Y.ReactCurrentDispatcher,Vi=Y.ReactCurrentBatchConfig,Hi=0,ji=null,Wi=null,zi=null,Gi=!1;function Ki(){throw Error(w(321))}function qi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Nr(e[n],t[n]))return!1;return!0}function Qi(e,t,n,r,o,i){if(Hi=i,ji=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ui.current=null===e||null===e.memoizedState?ga:va,e=n(r,o),t.expirationTime===Hi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(w(301));i+=1,zi=Wi=null,t.updateQueue=null,Ui.current=ba,e=n(r,o)}while(t.expirationTime===Hi)}if(Ui.current=ya,t=null!==Wi&&null!==Wi.next,Hi=0,zi=Wi=ji=null,Gi=!1,t)throw Error(w(300));return e}function $i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===zi?ji.memoizedState=zi=e:zi=zi.next=e,zi}function Yi(){if(null===Wi){var e=ji.alternate;e=null!==e?e.memoizedState:null}else e=Wi.next;var t=null===zi?ji.memoizedState:zi.next;if(null!==t)zi=t,Wi=e;else{if(null===e)throw Error(w(310));e={memoizedState:(Wi=e).memoizedState,baseState:Wi.baseState,baseQueue:Wi.baseQueue,queue:Wi.queue,next:null},null===zi?ji.memoizedState=zi=e:zi=zi.next=e}return zi}function Zi(e,t){return"function"==typeof t?t(e):t}function Xi(e){var t=Yi(),n=t.queue;if(null===n)throw Error(w(311));n.lastRenderedReducer=e;var r=Wi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var s=a=i=null,l=o;do{var u=l.expirationTime;if(u<Hi){var c={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===s?(a=s=c,i=r):s=s.next=c,u>ji.expirationTime&&(ji.expirationTime=u,al(u))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),il(u,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==o);null===s?i=r:s.next=a,Nr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ji(e){var t=Yi(),n=t.queue;if(null===n)throw Error(w(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Nr(i,t.memoizedState)||(Da=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=$i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Zi,lastRenderedState:e}).dispatch=ma.bind(null,ji,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ji.updateQueue)?(t={lastEffect:null},ji.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Yi().memoizedState}function ra(e,t,n,r){var o=$i();ji.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Yi();r=void 0===r?null:r;var i=void 0;if(null!==Wi){var a=Wi.memoizedState;if(i=a.destroy,null!==r&&qi(r,a.deps))return void ta(t,n,i,r)}ji.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function sa(e,t){return oa(4,2,e,t)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ua(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)}function ca(){}function pa(e,t){return $i().memoizedState=[e,void 0===t?null:t],e}function da(e,t){var n=Yi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fa(e,t){var n=Yi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(t,n,r){var e=Ho();Wo(98>e?98:e,function(){t(!0)}),Wo(97<e?97:e,function(){var e=Vi.suspense;Vi.suspense=void 0===n?null:n;try{t(!1),r()}finally{Vi.suspense=e}})}function ma(e,t,n){var r=Ks(),o=fi.suspense;o={expirationTime:r=qs(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===ji||null!==i&&i===ji)Gi=!0,o.expirationTime=Hi,ji.expirationTime=Hi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.eagerReducer=i,o.eagerState=s,Nr(s,a))return}catch(e){}Qs(e,r)}}var ya={readContext:oi,useCallback:Ki,useContext:Ki,useEffect:Ki,useImperativeHandle:Ki,useLayoutEffect:Ki,useMemo:Ki,useReducer:Ki,useRef:Ki,useState:Ki,useDebugValue:Ki,useResponder:Ki,useDeferredValue:Ki,useTransition:Ki},ga={readContext:oi,useCallback:pa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=$i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,ji,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$i().memoizedState=e},useState:ea,useDebugValue:ca,useResponder:Bi,useDeferredValue:function(t,n){var e=ea(t),r=e[0],o=e[1];return ia(function(){var e=Vi.suspense;Vi.suspense=void 0===n?null:n;try{o(t)}finally{Vi.suspense=e}},[t,n]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},va={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:fa,useReducer:Xi,useRef:na,useState:function(){return Xi(Zi)},useDebugValue:ca,useResponder:Bi,useDeferredValue:function(t,n){var e=Xi(Zi),r=e[0],o=e[1];return aa(function(){var e=Vi.suspense;Vi.suspense=void 0===n?null:n;try{o(t)}finally{Vi.suspense=e}},[t,n]),r},useTransition:function(e){var t=Xi(Zi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:fa,useReducer:Ji,useRef:na,useState:function(){return Ji(Zi)},useDebugValue:ca,useResponder:Bi,useDeferredValue:function(t,n){var e=Ji(Zi),r=e[0],o=e[1];return aa(function(){var e=Vi.suspense;Vi.suspense=void 0===n?null:n;try{o(t)}finally{Vi.suspense=e}},[t,n]),r},useTransition:function(e){var t=Ji(Zi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},Ca=null,_a=null,Sa=!1;function Pa(e,t){var n=Il(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ia(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function wa(e){if(Sa){var t=_a;if(t){var n=t;if(!Ia(e,t)){if(!(t=_n(n.nextSibling))||!Ia(e,t))return e.effectTag=-1025&e.effectTag|2,Sa=!1,void(Ca=e);Pa(Ca,n)}Ca=e,_a=_n(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Sa=!1,Ca=e}}function xa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ca=e}function Ea(e){if(e!==Ca)return!1;if(!Sa)return xa(e),Sa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=_a;t;)Pa(e,t),t=_n(t.nextSibling);if(xa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(w(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){_a=_n(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}_a=null}}else _a=Ca?_n(e.stateNode.nextSibling):null;return!0}function ka(){_a=Ca=null,Sa=!1}var Ta=Y.ReactCurrentOwner,Da=!1;function Fa(e,t,n,r){t.child=null===e?xi(t,null,n,r):wi(t,e.child,n,r)}function Oa(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Qi(e,t,n,r,i,o),null===e||Da?(t.effectTag|=1,Fa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Qa(e,t,o))}function Ma(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||wl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=El(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Aa(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(o,r)&&e.ref===t.ref)?Qa(e,t,i):(t.effectTag|=1,(e=xl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Aa(e,t,n,r,o,i){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,o<i)?(t.expirationTime=e.expirationTime,Qa(e,t,i)):La(e,t,n,r,i)}function Ra(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function La(e,t,n,r,o){var i=yo(n)?ho:po.current;return i=mo(t,i),ri(t,o),n=Qi(e,t,n,r,i,o),null===e||Da?(t.effectTag|=1,Fa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Qa(e,t,o))}function Na(e,t,n,r,o){if(yo(n)){var i=!0;Co(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vi(t,n,r),Ci(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=oi(u):u=mo(t,u=yo(n)?ho:po.current);var c=n.getDerivedStateFromProps,p="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&bi(t,a,r,u),ii=!1;var d=t.memoizedState;a.state=d,pi(t,r,a,o),l=t.memoizedState,s!==r||d!==l||fo.current||ii?("function"==typeof c&&(mi(t,n,c,r),l=t.memoizedState),(s=ii||gi(t,n,s,r,d,l,u))?(p||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,si(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:$o(t.type,s),l=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=oi(u):u=mo(t,u=yo(n)?ho:po.current),(p="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&bi(t,a,r,u),ii=!1,l=t.memoizedState,a.state=l,pi(t,r,a,o),d=t.memoizedState,s!==r||l!==d||fo.current||ii?("function"==typeof c&&(mi(t,n,c,r),d=t.memoizedState),(c=ii||gi(t,n,s,r,l,d,u))?(p||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ba(e,t,n,r,i,o)}function Ba(e,t,n,r,o,i){Ra(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&_o(t,n,!1),Qa(e,t,i);r=t.stateNode,Ta.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,s,i)):Fa(e,t,s,i),t.memoizedState=r.state,o&&_o(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),Oi(e,t.containerInfo)}var Va,Ha,ja,Wa={dehydrated:null,retryTime:0};function za(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Li.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),uo(Li,1&a),null===e){if(void 0!==i.fallback&&wa(t),s){if(s=i.fallback,(i=kl(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=kl(s,o,n,null)).return=t,i.sibling=n,t.memoizedState=Wa,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=xi(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,s){if(i=i.fallback,(n=xl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(o=xl(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Wa,t.child=n,o}return n=wi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=i.fallback,(i=kl(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=kl(s,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Wa,t.child=i,n}return t.memoizedState=null,t.child=wi(t,e,i.children,n)}function Ga(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Ka(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function qa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Fa(e,t,r.children,n),0!=(2&(r=Li.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ga(e,n);else if(19===e.tag)Ga(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(uo(Li,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ni(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ka(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ni(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ka(t,!0,n,null,i,t.lastEffect);break;case"together":Ka(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Qa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(w(153));if(null!==t.child){for(n=xl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=xl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $a(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ya(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yo(t.type)&&go(),null;case 3:return Mi(),lo(fo),lo(po),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ea(t)||(t.effectTag|=4),null;case 5:Ri(t),n=Fi(Di.current);var o=t.type;if(null!==e&&null!=t.stateNode)Ha(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(w(166));return null}if(e=Fi(ki.current),Ea(t)){r=t.stateNode,o=t.type;var i=t.memoizedProps;switch(r[In]=t,r[wn]=i,o){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Ye.length;e++)qt(Ye[e],r);break;case"source":qt("error",r);break;case"img":case"image":case"link":qt("error",r),qt("load",r);break;case"form":qt("reset",r),qt("submit",r);break;case"details":qt("toggle",r);break;case"input":Pe(r,i),qt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!i.multiple},qt("invalid",r),ln(n,"onChange");break;case"textarea":Fe(r,i),qt("invalid",r),ln(n,"onChange")}for(var a in on(o,i),e=null,i)if(i.hasOwnProperty(a)){var s=i[a];"children"===a?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):P.hasOwnProperty(a)&&null!=s&&ln(n,a)}switch(o){case"input":Ce(r),xe(r,i,!0);break;case"textarea":Ce(r),Me(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=un)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(a=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Le(o)),e===sn?"script"===o?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(o,{is:r.is}):(e=a.createElement(o),"select"===o&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,o),e[In]=t,e[wn]=r,Va(e,t),t.stateNode=e,a=an(o,r),o){case"iframe":case"object":case"embed":qt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Ye.length;s++)qt(Ye[s],e);s=r;break;case"source":qt("error",e),s=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),s=r;break;case"form":qt("reset",e),qt("submit",e),s=r;break;case"details":qt("toggle",e),s=r;break;case"input":Pe(e,r),s=Se(e,r),qt("invalid",e),ln(n,"onChange");break;case"option":s=ke(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=g({},r,{value:void 0}),qt("invalid",e),ln(n,"onChange");break;case"textarea":Fe(e,r),s=De(e,r),qt("invalid",e),ln(n,"onChange");break;default:s=r}on(o,s);var l=s;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];"style"===i?nn(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&Ue(e,u):"children"===i?"string"==typeof u?("textarea"!==o||""!==u)&&Ve(e,u):"number"==typeof u&&Ve(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(P.hasOwnProperty(i)?null!=u&&ln(n,i):null!=u&&Z(e,i,u,a))}switch(o){case"input":Ce(e),xe(e,r,!1);break;case"textarea":Ce(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Te(e,!!r.multiple,n,!1):null!=r.defaultValue&&Te(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=un)}gn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)ja(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(w(166));n=Fi(Di.current),Fi(ki.current),Ea(t)?(n=t.stateNode,r=t.memoizedProps,n[In]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[In]=t,t.stateNode=n)}return null;case 13:return lo(Li),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ea(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(i=t.firstEffect)?(t.firstEffect=o,o.nextEffect=i):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Li.current)?Es===Cs&&(Es=_s):(Es!==Cs&&Es!==_s||(Es=Ss),0!==Os&&null!==Is&&(Ml(Is,xs),Al(Is,Os)))),(n||r)&&(t.effectTag|=4),null);case 4:return Mi(),null;case 10:return ti(t),null;case 17:return yo(t.type)&&go(),null;case 19:if(lo(Li),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(i=r.rendering)){if(o)$a(r,!1);else if(Es!==Cs||null!==e&&0!=(64&e.effectTag))for(i=t.child;null!==i;){if(null!==(e=Ni(i))){for(t.effectTag|=64,$a(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)i=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=i,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,i=e.dependencies,o.dependencies=null===i?null:{expirationTime:i.expirationTime,firstContext:i.firstContext,responders:i.responders}),r=r.sibling;return uo(Li,1&Li.current|2),t.child}i=i.sibling}}else{if(!o)if(null!==(e=Ni(i))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),$a(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Vo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,$a(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Vo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vo(),n.sibling=null,t=Li.current,uo(Li,o?1&t|2:1&t),n):null}throw Error(w(156,t.tag))}function Za(e){switch(e.tag){case 1:yo(e.type)&&go();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Mi(),lo(fo),lo(po),0!=(64&(t=e.effectTag)))throw Error(w(285));return e.effectTag=-4097&t|64,e;case 5:return Ri(e),null;case 13:return lo(Li),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lo(Li),null;case 4:return Mi(),null;case 10:return ti(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:ge(t)}}Va=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ha=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a,s,l=t.stateNode;switch(Fi(ki.current),e=null,n){case"input":i=Se(l,i),r=Se(l,r),e=[];break;case"option":i=ke(l,i),r=ke(l,r),e=[];break;case"select":i=g({},i,{value:void 0}),r=g({},r,{value:void 0}),e=[];break;case"textarea":i=De(l,i),r=De(l,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(l.onclick=un)}for(a in on(n,r),n=null,i)if(!r.hasOwnProperty(a)&&i.hasOwnProperty(a)&&null!=i[a])if("style"===a)for(s in l=i[a])l.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==a&&"children"!==a&&"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(P.hasOwnProperty(a)?e||(e=[]):(e=e||[]).push(a,null));for(a in r){var u=r[a];if(l=null!=i?i[a]:void 0,r.hasOwnProperty(a)&&u!==l&&(null!=u||null!=l))if("style"===a)if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(e||(e=[]),e.push(a,n)),n=u;else"dangerouslySetInnerHTML"===a?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(e=e||[]).push(a,u)):"children"===a?l===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(a,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&(P.hasOwnProperty(a)?(null!=u&&ln(o,a),e||l===u||(e=[])):(e=e||[]).push(a,u))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},ja=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Ja="function"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ye(n.type),t=t.value,null!==e&&1===e.tag&&ye(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function ts(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){vl(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:$o(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(w(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void os(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:$o(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))));case 19:case 17:case 20:case 21:return}throw Error(w(163))}function as(e,r,t){switch("function"==typeof Sl&&Sl(r),r.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=r.updateQueue)&&null!==(e=e.lastEffect)){var o=e.next;Wo(97<t?97:t,function(){var e=o;do{var t=e.destroy;if(void 0!==t){var n=r;try{t()}catch(e){vl(n,e)}}e=e.next}while(e!==o)})}break;case 1:ts(r),"function"==typeof(t=r.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){vl(e,t)}}(r,t);break;case 5:ts(r);break;case 4:cs(e,r,t)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function us(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(w(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(w(161))}16&n.effectTag&&(Ve(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=un));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function cs(e,t,n){for(var r,o,i=t,a=!1;;){if(!a){a=i.return;e:for(;;){if(null===a)throw Error(w(160));switch(r=a.stateNode,a.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}a=a.return}a=!0}if(5===i.tag||6===i.tag){e:for(var s=e,l=i,u=n,c=l;;)if(as(s,c,u),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}o?(s=r,l=i.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(as(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(a=!1)}i.sibling.return=i.return,i=i.sibling}}function ps(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[wn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Ie(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var a=i[o],s=i[o+1];"style"===a?nn(n,s):"dangerouslySetInnerHTML"===a?Ue(n,s):"children"===a?Ve(n,s):Z(n,a,s,t)}switch(e){case"input":we(n,r);break;case"textarea":Oe(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Te(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Te(n,!!r.multiple,r.defaultValue,!0):Te(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(w(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,As=Vo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ds(t);case 19:return void ds(t);case 17:return}throw Error(w(163))}function ds(n){var e=n.updateQueue;if(null!==e){n.updateQueue=null;var r=n.stateNode;null===r&&(r=n.stateNode=new Ja),e.forEach(function(e){var t=Cl.bind(null,n,e);r.has(e)||(r.add(e),e.then(t,t))})}}var fs="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ls||(Ls=!0,Ns=r),es(e,t)},n}function ms(t,n,e){(e=li(e,null)).tag=3;var r=t.type.getDerivedStateFromError;if("function"==typeof r){var o=n.value;e.payload=function(){return es(t,n),r(o)}}var i=t.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){"function"!=typeof r&&(null===Bs?Bs=new Set([this]):Bs.add(this),es(t,n));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),e}var ys,gs=Math.ceil,vs=Y.ReactCurrentDispatcher,bs=Y.ReactCurrentOwner,Cs=0,_s=3,Ss=4,Ps=0,Is=null,ws=null,xs=0,Es=Cs,ks=null,Ts=1073741823,Ds=1073741823,Fs=null,Os=0,Ms=!1,As=0,Rs=null,Ls=!1,Ns=null,Bs=null,Us=!1,Vs=null,Hs=90,js=null,Ws=0,zs=null,Gs=0;function Ks(){return 0!=(48&Ps)?1073741821-(Vo()/10|0):0!==Gs?Gs:Gs=1073741821-(Vo()/10|0)}function qs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ho();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Ps))return xs;if(null!==n)e=Qo(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Qo(e,150,100);break;case 97:case 96:e=Qo(e,5e3,250);break;case 95:e=2;break;default:throw Error(w(326))}return null!==Is&&e===xs&&--e,e}function Qs(e,t){if(50<Ws)throw Ws=0,zs=null,Error(w(185));if(null!==(e=$s(e,t))){var n=Ho();1073741823===t?0!=(8&Ps)&&0==(48&Ps)?Js(e):(Zs(e),0===Ps&&Ko()):Zs(e),0==(4&Ps)||98!==n&&99!==n||(null===js?js=new Map([[e,t]]):(void 0===(n=js.get(e))||n>t)&&js.set(e,t))}}function $s(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Is===o&&(al(t),Es===Ss&&Ml(o,xs)),Al(o,t)),o}function Ys(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ol(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Zs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Go(Js.bind(null,e));else{var t=Ys(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Ks();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Mo&&Io(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Go(Js.bind(null,e)):zo(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-Vo()}),e.callbackNode=t}}}function Xs(e,t){if(Gs=0,t)return Rl(e,t=Ks()),Zs(e),null;var n=Ys(e);if(0!==n){if(t=e.callbackNode,0!=(48&Ps))throw Error(w(327));if(ml(),e===Is&&n===xs||nl(e,n),null!==ws){var r=Ps;Ps|=16;for(var o=ol();;)try{ll();break}catch(t){rl(e,t)}if(ei(),Ps=r,vs.current=o,1===Es)throw t=ks,nl(e,n),Ml(e,n),Zs(e),t;if(null===ws)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Es,Is=null,r){case Cs:case 1:throw Error(w(345));case 2:Rl(e,2<n?2:n);break;case _s:if(Ml(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=pl(o)),1073741823===Ts&&10<(o=As+500-Vo())){if(Ms){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Ys(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(dl.bind(null,e),o);break}dl(e);break;case Ss:if(Ml(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=pl(o)),Ms&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(o=Ys(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ds?r=10*(1073741821-Ds)-Vo():1073741823===Ts?r=0:(r=10*(1073741821-Ts)-5e3,0>(r=(o=Vo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gs(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(dl.bind(null,e),r);break}dl(e);break;case 5:if(1073741823!==Ts&&null!==Fs){i=Ts;var a=Fs;if(0>=(r=0|a.busyMinDurationMs)?r=0:(o=0|a.busyDelayMs,r=(i=Vo()-(10*(1073741821-i)-(0|a.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Ml(e,n),e.timeoutHandle=bn(dl.bind(null,e),r);break}}dl(e);break;default:throw Error(w(329))}if(Zs(e),e.callbackNode===t)return Xs.bind(null,e)}}return null}function Js(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Ps))throw Error(w(327));if(ml(),e===Is&&t===xs||nl(e,t),null!==ws){var n=Ps;Ps|=16;for(var r=ol();;)try{sl();break}catch(t){rl(e,t)}if(ei(),Ps=n,vs.current=r,1===Es)throw n=ks,nl(e,t),Ml(e,t),Zs(e),n;if(null!==ws)throw Error(w(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Is=null,dl(e),Zs(e)}return null}function el(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&Ko()}}function tl(e,t){var n=Ps;Ps&=-2,Ps|=8;try{return e(t)}finally{0===(Ps=n)&&Ko()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Cn(n)),null!==ws)for(n=ws.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&go();break;case 3:Mi(),lo(fo),lo(po);break;case 5:Ri(r);break;case 4:Mi();break;case 13:case 19:lo(Li);break;case 10:ti(r)}n=n.return}Is=e,ws=xl(e.current,null),xs=t,Es=Cs,ks=null,Ds=Ts=1073741823,Fs=null,Os=0,Ms=!1}function rl(e,t){for(;;){try{if(ei(),Ui.current=ya,Gi)for(var n=ji.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Hi=0,zi=Wi=ji=null,Gi=!1,null===ws||null===ws.return)return Es=1,ks=t,ws=null;e:{var o=e,i=ws.return,a=ws,s=t;if(t=xs,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Li.current),p=i;do{var d;if(d=13===p.tag){var f=p.memoizedState;if(null!==f)d=null!==f.dehydrated;else{var h=p.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(d){var m=p.updateQueue;if(null===m){var y=new Set;y.add(l),p.updateQueue=y}else m.add(l);if(0==(2&p.mode)){if(p.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=li(1073741823,null);g.tag=2,ui(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var v=o.pingCache;if(null===v?(v=o.pingCache=new fs,s=new Set,v.set(l,s)):void 0===(s=v.get(l))&&(s=new Set,v.set(l,s)),!s.has(a)){s.add(a);var b=bl.bind(null,o,l,a);l.then(b,b)}p.effectTag|=4096,p.expirationTime=t;break e}p=p.return}while(null!==p);s=Error((ye(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}5!==Es&&(Es=2),s=Xa(s,a),p=i;do{switch(p.tag){case 3:l=s,p.effectTag|=4096,p.expirationTime=t,ci(p,hs(p,l,t));break e;case 1:l=s;var C=p.type,_=p.stateNode;if(0==(64&p.effectTag)&&("function"==typeof C.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Bs||!Bs.has(_)))){p.effectTag|=4096,p.expirationTime=t,ci(p,ms(p,l,t));break e}}p=p.return}while(null!==p)}ws=cl(ws)}catch(e){t=e;continue}break}}function ol(){var e=vs.current;return vs.current=ya,null===e?ya:e}function il(e,t){e<Ts&&2<e&&(Ts=e),null!==t&&e<Ds&&2<e&&(Ds=e,Fs=t)}function al(e){e>Os&&(Os=e)}function sl(){for(;null!==ws;)ws=ul(ws)}function ll(){for(;null!==ws&&!Ao();)ws=ul(ws)}function ul(e){var t=ys(e.alternate,e,xs);return e.memoizedProps=e.pendingProps,null===t&&(t=cl(e)),bs.current=null,t}function cl(e){ws=e;do{var t=ws.alternate;if(e=ws.return,0==(2048&ws.effectTag)){if(t=Ya(t,ws,xs),1===xs||1!==ws.childExpirationTime){for(var n=0,r=ws.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}ws.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=ws.firstEffect),null!==ws.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=ws.firstEffect),e.lastEffect=ws.lastEffect),1<ws.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=ws:e.firstEffect=ws,e.lastEffect=ws))}else{if(null!==(t=Za(ws)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=ws.sibling))return t;ws=e}while(null!==ws);return Es===Cs&&(Es=5),null}function pl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function dl(e){var t=Ho();return Wo(99,fl.bind(null,e,t)),null}function fl(e,t){do{ml()}while(null!==Vs);if(0!=(48&Ps))throw Error(w(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(w(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=pl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Is&&(ws=Is=null,xs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=Ps;Ps|=32,bs.current=null,mn=Kt;var a=fn();if(hn(a)){if("selectionStart"in a)var s={start:a.selectionStart,end:a.selectionEnd};else e:{var l=(s=(s=a.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(l&&0!==l.rangeCount){s=l.anchorNode;var u=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{s.nodeType,c.nodeType}catch(e){s=null;break e}var p=0,d=-1,f=-1,h=0,m=0,y=a,g=null;t:for(;;){for(var v;y!==s||0!==u&&3!==y.nodeType||(d=p+u),y!==c||0!==l&&3!==y.nodeType||(f=p+l),3===y.nodeType&&(p+=y.nodeValue.length),null!==(v=y.firstChild);)g=y,y=v;for(;;){if(y===a)break t;if(g===s&&++h===u&&(d=p),g===c&&++m===l&&(f=p),null!==(v=y.nextSibling))break;g=(y=g).parentNode}y=v}s=-1===d||-1===f?null:{start:d,end:f}}else s=null}s=s||{start:0,end:0}}else s=null;yn={activeElementDetached:null,focusedElem:a,selectionRange:s},Kt=!1,Rs=o;do{try{hl()}catch(e){if(null===Rs)throw Error(w(330));vl(Rs,e),Rs=Rs.nextEffect}}while(null!==Rs);Rs=o;do{try{for(a=e,s=t;null!==Rs;){var b=Rs.effectTag;if(16&b&&Ve(Rs.stateNode,""),128&b){var C=Rs.alternate;if(null!==C){var _=C.ref;null!==_&&("function"==typeof _?_(null):_.current=null)}}switch(1038&b){case 2:us(Rs),Rs.effectTag&=-3;break;case 6:us(Rs),Rs.effectTag&=-3,ps(Rs.alternate,Rs);break;case 1024:Rs.effectTag&=-1025;break;case 1028:Rs.effectTag&=-1025,ps(Rs.alternate,Rs);break;case 4:ps(Rs.alternate,Rs);break;case 8:cs(a,u=Rs,s),ss(u)}Rs=Rs.nextEffect}}catch(e){if(null===Rs)throw Error(w(330));vl(Rs,e),Rs=Rs.nextEffect}}while(null!==Rs);if(_=yn,C=fn(),b=_.focusedElem,s=_.selectionRange,C!==b&&b&&b.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(b.ownerDocument.documentElement,b)){null!==s&&hn(b)&&(C=s.start,void 0===(_=s.end)&&(_=C),"selectionStart"in b?(b.selectionStart=C,b.selectionEnd=Math.min(_,b.value.length)):(_=(C=b.ownerDocument||document)&&C.defaultView||window).getSelection&&(_=_.getSelection(),u=b.textContent.length,a=Math.min(s.start,u),s=void 0===s.end?a:Math.min(s.end,u),!_.extend&&a>s&&(u=s,s=a,a=u),u=dn(b,a),c=dn(b,s),u&&c&&(1!==_.rangeCount||_.anchorNode!==u.node||_.anchorOffset!==u.offset||_.focusNode!==c.node||_.focusOffset!==c.offset)&&((C=C.createRange()).setStart(u.node,u.offset),_.removeAllRanges(),a>s?(_.addRange(C),_.extend(c.node,c.offset)):(C.setEnd(c.node,c.offset),_.addRange(C))))),C=[];for(_=b;_=_.parentNode;)1===_.nodeType&&C.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<C.length;b++)(_=C[b]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Kt=!!mn,yn=mn=null,e.current=n,Rs=o;do{try{for(b=e;null!==Rs;){var S=Rs.effectTag;if(36&S&&is(b,Rs.alternate,Rs),128&S){C=void 0;var P=Rs.ref;if(null!==P){var I=Rs.stateNode;switch(Rs.tag){case 5:C=I;break;default:C=I}"function"==typeof P?P(C):P.current=C}}Rs=Rs.nextEffect}}catch(e){if(null===Rs)throw Error(w(330));vl(Rs,e),Rs=Rs.nextEffect}}while(null!==Rs);Rs=null,Ro(),Ps=i}else e.current=n;if(Us)Us=!1,Vs=e,Hs=t;else for(Rs=o;null!==Rs;)t=Rs.nextEffect,Rs.nextEffect=null,Rs=t;if(0===(t=e.firstPendingTime)&&(Bs=null),1073741823===t?e===zs?Ws++:(Ws=0,zs=e):Ws=0,"function"==typeof _l&&_l(n.stateNode,r),Zs(e),Ls)throw Ls=!1,e=Ns,Ns=null,e;return 0!=(8&Ps)||Ko(),null}function hl(){for(;null!==Rs;){var e=Rs.effectTag;0!=(256&e)&&ns(Rs.alternate,Rs),0==(512&e)||Us||(Us=!0,zo(97,function(){return ml(),null})),Rs=Rs.nextEffect}}function ml(){if(90!==Hs){var e=97<Hs?97:Hs;return Hs=90,Wo(e,yl)}}function yl(){if(null===Vs)return!1;var e=Vs;if(Vs=null,0!=(48&Ps))throw Error(w(331));var t=Ps;for(Ps|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),os(5,n)}}catch(t){if(null===e)throw Error(w(330));vl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ps=t,Ko(),!0}function gl(e,t,n){ui(e,t=hs(e,t=Xa(n,t),1073741823)),null!==(e=$s(e,1073741823))&&Zs(e)}function vl(e,t){if(3===e.tag)gl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bs||!Bs.has(r))){ui(n,e=ms(n,e=Xa(t,e),1073741823)),null!==(n=$s(n,1073741823))&&Zs(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Is===e&&xs===n?Es===Ss||Es===_s&&1073741823===Ts&&Vo()-As<500?nl(e,xs):Ms=!0:Ol(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Zs(e)))}function Cl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=qs(t=Ks(),e,null)),null!==(e=$s(e,t))&&Zs(e)}ys=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||fo.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:Ua(t),ka();break;case 5:if(Ai(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:yo(t.type)&&Co(t);break;case 4:Oi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,uo(Yo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?za(e,t,n):(uo(Li,1&Li.current),null!==(t=Qa(e,t,n))?t.sibling:null);uo(Li,1&Li.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return qa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),uo(Li,Li.current),!r)return null}return Qa(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=mo(t,po.current),ri(t,n),o=Qi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yo(r)){var i=!0;Co(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&mi(t,r,a,e),o.updater=yi,t.stateNode=o,o._reactInternalFiber=t,Ci(t,r,e,n),t=Ba(null,t,r,!0,i,n)}else t.tag=0,Fa(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return wl(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===pe)return 14}return 2}(o),e=$o(o,e),i){case 0:t=La(null,t,o,e,n);break e;case 1:t=Na(null,t,o,e,n);break e;case 11:t=Oa(null,t,o,e,n);break e;case 14:t=Ma(null,t,o,$o(o.type,e),r,n);break e}throw Error(w(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,La(e,t,r,o=t.elementType===r?o:$o(r,o),n);case 1:return r=t.type,o=t.pendingProps,Na(e,t,r,o=t.elementType===r?o:$o(r,o),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(w(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),pi(t,r,null,n),(r=t.memoizedState.element)===o)ka(),t=Qa(e,t,n);else{if((o=t.stateNode.hydrate)&&(_a=_n(t.stateNode.containerInfo.firstChild),Ca=t,o=Sa=!0),o)for(n=xi(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Fa(e,t,r,n),ka();t=t.child}return t;case 5:return Ai(t),null===e&&wa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,vn(r,o)?a=null:null!==i&&vn(r,i)&&(t.effectTag|=16),Ra(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Fa(e,t,a,n),t=t.child),t;case 6:return null===e&&wa(t),null;case 13:return za(e,t,n);case 4:return Oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wi(t,null,r,n):Fa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Oa(e,t,r,o=t.elementType===r?o:$o(r,o),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var s=t.type._context;if(uo(Yo,s._currentValue),s._currentValue=i,null!==a)if(s=a.value,0===(i=Nr(s,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,i):1073741823))){if(a.children===o.children&&!fo.current){t=Qa(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){a=s.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===s.tag&&((u=li(n,null)).tag=2,ui(s,u)),s.expirationTime<n&&(s.expirationTime=n),null!==(u=s.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ni(s.return,n),l.expirationTime<n&&(l.expirationTime=n);break}u=u.next}}else a=10===s.tag&&s.type===t.type?null:s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}Fa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,Fa(e,t,r,n),t.child;case 14:return i=$o(o=t.type,t.pendingProps),Ma(e,t,o,i=$o(o.type,i),r,n);case 15:return Aa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$o(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,yo(r)?(e=!0,Co(t)):e=!1,ri(t,n),vi(t,r,o),Ci(t,r,o,n),Ba(null,t,r,!0,e,n);case 19:return qa(e,t,n)}throw Error(w(156,t.tag))};var _l=null,Sl=null;function Pl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Il(e,t,n,r){return new Pl(e,t,n,r)}function wl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function xl(e,t){var n=e.alternate;return null===n?((n=Il(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function El(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)wl(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case ne:return kl(n.children,o,i,t);case se:a=8,o|=7;break;case re:a=8,o|=1;break;case oe:return(e=Il(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case ue:return(e=Il(13,n,t,o)).type=ue,e.elementType=ue,e.expirationTime=i,e;case ce:return(e=Il(19,n,t,o)).elementType=ce,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:a=10;break e;case ae:a=9;break e;case le:a=11;break e;case pe:a=14;break e;case de:a=16,r=null;break e;case fe:a=22;break e}throw Error(w(130,null==e?e:typeof e,""))}return(t=Il(a,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function kl(e,t,n,r){return(e=Il(7,e,r,t)).expirationTime=n,e}function Tl(e,t,n){return(e=Il(6,e,null,t)).expirationTime=n,e}function Dl(e,t,n){return(t=Il(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ol(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ml(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Al(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Rl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ll(e,t,n,r){var o=t.current,i=Ks(),a=fi.suspense;i=qs(i,o,a);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(w(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(yo(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(w(171))}if(1===n.tag){var l=n.type;if(yo(l)){n=bo(n,l,s);break e}}n=s}else n=co;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ui(o,t),Qs(o,i),i}function Nl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ul(e,t){Bl(e,t),(e=e.alternate)&&Bl(e,t)}function Vl(e,t,n){var r=new Fl(e,t,n=null!=n&&!0===n.hydrate),o=Il(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[xn]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);xt.forEach(function(e){ht(e,t,n)}),Et.forEach(function(e){ht(e,t,n)})}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Hl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function jl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Nl(a);s.call(e)}}Ll(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Vl(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Nl(a);l.call(e)}}tl(function(){Ll(t,a,e,o)})}return Nl(a)}function Wl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function zl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hl(t))throw Error(w(200));return Wl(e,t,null,n)}Vl.prototype.render=function(e){Ll(e,this._internalRoot,null,null)},Vl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ll(null,e,null,function(){t[xn]=null})},mt=function(e){if(13===e.tag){var t=Qo(Ks(),150,100);Qs(e,t),Ul(e,t)}},yt=function(e){13===e.tag&&(Qs(e,3),Ul(e,3))},gt=function(e){if(13===e.tag){var t=Ks();Qs(e,t=qs(t,e,null)),Ul(e,t)}},k=function(e,t,n){switch(t){case"input":if(we(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Dn(r);if(!o)throw Error(w(90));_e(r),we(r,o)}}}break;case"textarea":Oe(e,n);break;case"select":null!=(t=n.value)&&Te(e,!!n.multiple,t,!1)}},A=el,R=function(e,t,n,r,o){var i=Ps;Ps|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(Ps=i)&&Ko()}},L=function(){0==(49&Ps)&&(function(){if(null!==js){var e=js;js=null,e.forEach(function(e,t){Rl(t,e),Zs(t)}),Ko()}}(),ml())},N=function(e,t){var n=Ps;Ps|=2;try{return e(t)}finally{0===(Ps=n)&&Ko()}};var Gl,Kl,ql={Events:[kn,Tn,Dn,x,S,Nn,function(e){ot(e,Ln)},O,M,Zt,st,ml,{current:!1}]};Kl=(Gl={findFiberByHostInstance:En,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);_l=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Sl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(g({},Gl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Kl?Kl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ql,t.createPortal=zl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(w(188));throw Error(w(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Ps))throw Error(w(187));var n=Ps;Ps|=1;try{return Wo(99,e.bind(null,t))}finally{Ps=n,Ko()}},t.hydrate=function(e,t,n){if(!Hl(t))throw Error(w(200));return jl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Hl(t))throw Error(w(200));return jl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Hl(e))throw Error(w(40));return!!e._reactRootContainer&&(tl(function(){jl(null,null,e,!1,function(){e._reactRootContainer=null,e[xn]=null})}),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return zl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Hl(n))throw Error(w(200));if(null==e||void 0===e._reactInternalFiber)throw Error(w(38));return jl(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";e.exports=n(17)},function(e,s,t){"use strict"; /** @license React v0.19.1 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var i,l,u,c,n;if("undefined"==typeof window||"function"!=typeof MessageChannel){var r=null,o=null,a=function(){if(null!==r)try{var e=s.unstable_now();r(!0,e),r=null}catch(e){throw setTimeout(a,0),e}},p=Date.now();s.unstable_now=function(){return Date.now()-p},i=function(e){null!==r?setTimeout(i,0,e):(r=e,setTimeout(a,0))},l=function(e,t){o=setTimeout(e,t)},u=function(){clearTimeout(o)},c=function(){return!1},n=s.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var y=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)s.unstable_now=function(){return d.now()};else{var g=f.now();s.unstable_now=function(){return f.now()-g}}var v=!1,b=null,C=-1,_=5,S=0;c=function(){return s.unstable_now()>=S},n=function(){},s.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<e?Math.floor(1e3/e):5};var P=new MessageChannel,I=P.port2;P.port1.onmessage=function(){if(null!==b){var e=s.unstable_now();S=e+_;try{b(!0,e)?I.postMessage(null):(v=!1,b=null)}catch(e){throw I.postMessage(null),e}}else v=!1},i=function(e){b=e,v||(v=!0,I.postMessage(null))},l=function(e,t){C=h(function(){e(s.unstable_now())},t)},u=function(){m(C),C=-1}}function w(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>k(a,n))void 0!==l&&0>k(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>k(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],D=[],F=1,O=null,M=3,A=!1,R=!1,L=!1;function N(e){for(var t=x(D);null!==t;){if(null===t.callback)E(D);else{if(!(t.startTime<=e))break;E(D),t.sortIndex=t.expirationTime,w(T,t)}t=x(D)}}function B(e){if(L=!1,N(e),!R)if(null!==x(T))R=!0,i(U);else{var t=x(D);null!==t&&l(B,t.startTime-e)}}function U(e,t){R=!1,L&&(L=!1,u()),A=!0;var n=M;try{for(N(t),O=x(T);null!==O&&(!(O.expirationTime>t)||e&&!c());){var r=O.callback;if(null!==r){O.callback=null,M=O.priorityLevel;var o=r(O.expirationTime<=t);t=s.unstable_now(),"function"==typeof o?O.callback=o:O===x(T)&&E(T),N(t)}else E(T);O=x(T)}if(null!==O)var i=!0;else{var a=x(D);null!==a&&l(B,a.startTime-t),i=!1}return i}finally{O=null,M=n,A=!1}}function V(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var H=n;s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(e){e.callback=null},s.unstable_continueExecution=function(){R||A||(R=!0,i(U))},s.unstable_getCurrentPriorityLevel=function(){return M},s.unstable_getFirstCallbackNode=function(){return x(T)},s.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},s.unstable_pauseExecution=function(){},s.unstable_requestPaint=H,s.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},s.unstable_scheduleCallback=function(e,t,n){var r=s.unstable_now();if("object"==typeof n&&null!==n){var o=n.delay;o="number"==typeof o&&0<o?r+o:r,n="number"==typeof n.timeout?n.timeout:V(e)}else n=V(e),o=r;return e={id:F++,callback:t,priorityLevel:e,startTime:o,expirationTime:n=o+n,sortIndex:-1},o>r?(e.sortIndex=o,w(D,e),null===x(T)&&e===x(D)&&(L?u():L=!0,l(B,o-r))):(e.sortIndex=n,w(T,e),R||A||(R=!0,i(U))),e},s.unstable_shouldYield=function(){var e=s.unstable_now();N(e);var t=x(T);return t!==O&&null!==O&&null!==t&&null!==t.callback&&t.startTime<=e&&t.expirationTime<O.expirationTime||c()},s.unstable_wrapCallback=function(t){var n=M;return function(){var e=M;M=n;try{return t.apply(this,arguments)}finally{M=e}}}},function(e,t,n){"use strict";e.exports=n(19)},function(e,t,n){"use strict"; /** @license React v16.14.0 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var c=n(5),r="function"==typeof Symbol&&Symbol.for,p=r?Symbol.for("react.element"):60103,u=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function C(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function _(){}function S(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}C.prototype.isReactComponent={},C.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=C.prototype;var P=S.prototype=new _;P.constructor=S,c(P,C.prototype),P.isPureReactComponent=!0;var I={current:null},w=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,r)&&!x.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:p,type:e,key:i,ref:a,props:o,_owner:I.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var T=/\/+/g,D=[];function F(e,t,n,r){if(D.length){var o=D.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function M(e,t,n){return null==e?0:function e(t,n,r,o){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var a=!1;if(null===t)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case p:case u:a=!0}}if(a)return r(o,t,""===n?"."+A(t,0):n),1;if(a=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var l=n+A(i=t[s],s);a+=e(i,l,r,o)}else if(null===t||"object"!=typeof t?l=null:l="function"==typeof(l=y&&t[y]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),s=0;!(i=t.next()).done;)a+=e(i=i.value,l=n+A(i,s++),r,o);else if("object"===i)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return a}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?N(e,r,n,function(e){return e}):null!=e&&(k(e)&&(e=function(e,t){return{$$typeof:p,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function N(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(T,"$&/")+"/"),M(e,L,t=F(t,i,r,o)),O(t)}var B={current:null};function U(){var e=B.current;if(null===e)throw Error(g(321));return e}var V={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:c};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return N(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,R,t=F(null,null,t,n)),O(t)},count:function(e){return M(e,function(){return null},null)},toArray:function(e){var t=[];return N(e,t,null,function(e){return e}),t},only:function(e){if(!k(e))throw Error(g(143));return e}},t.Component=C,t.Fragment=o,t.Profiler=a,t.PureComponent=S,t.StrictMode=i,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var r=c({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=I.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)w.call(t,l)&&!x.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:p,type:e.type,key:o,ref:i,props:r,_owner:a}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return U().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,n){return U().useReducer(e,t,n)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="16.14.0"},function(e,t,n){var E=this&&this.__assign||function(){return(E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},k=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};window,e.exports=function(){return n=[function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=0,o=e.length;r<o;++r)n=t(n,e[r],r,o,e);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n="";for(t in e){var r=e[t];"string"!=typeof r&&"number"!=typeof r||(n&&(n+=";"),n+=(0,o.default)(t,r))}return n};var o=(n=n(2))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e)+":"+t};var r=(n=n(9))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0,r=e.length;n<r;++n)t(e[n],n,r,e)}},function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r in e)n=t(n,e[r],r,e);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,function(e){return e[1].toUpperCase()}).replace(o,"ms")};var r=/-([a-z])/g,o=/^Ms/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function d(n){return n.filter(function(e,t){return n.lastIndexOf(e)===t})}t.default=function e(t){for(var n=arguments.length,r=Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0,a=r.length;i<a;++i){var s,l=r[i];for(s in l){var u=l[s],c=t[s];if(c&&u){if(Array.isArray(c)){t[s]=d(c.concat(u));continue}if(Array.isArray(u)){t[s]=d([c].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(u)));continue}if("object"===(void 0===u?"undefined":p(u))){t[s]=e({},c,u);continue}}t[s]=u}}return t},e.exports=t.default},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var r=(n=n(10))&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,n){"use strict";var r=/[A-Z]/g,o=/^ms-/,i={};e.exports=function(e){return e in i?i[e]:i[e]=e.replace(r,"-$&").toLowerCase().replace(o,"-ms-")}},function(e,t,n){"use strict";n.r(t);var r=n(2),h=n.n(r),o=(r=n(3),n.n(r)),m=(r=n(4),n.n(r)),i=(r=n(0),n.n(r));function a(n,e,r,t){var o=3<arguments.length&&void 0!==t?t:{};return 0<n.plugins.length?i()(n.plugins,function(e,t){return t(e,r,n,o)},e):e}var y=/^(:|\[|>|&)/;function g(e,t){return 0===e.length?t:e+" and "+t}r=n(6);var v=n.n(r),s=(r=n(1),n.n(r)),l=(r=n(5),n.n(r));function u(e){return l()(e,function(e,t,n){return"".concat(e).concat(n,"{").concat(s()(t),"}")},"")}var c="abcdefghijklmnopqrstuvwxyz",p=c.length;function b(e){return"data:"===e.substr(0,5)}function C(e){return b(e)?e:"'".concat(e,"'")}var _={".woff":"woff",".woff2":"woff2",".eot":"embedded-opentype",".ttf":"truetype",".otf":"opentype",".svg":"svg",".svgz":"svg"},S={"image/svg+xml":"svg","application/x-font-woff":"woff","application/font-woff":"woff","application/x-font-woff2":"woff2","application/font-woff2":"woff2","font/woff2":"woff2","application/octet-stream":"truetype","application/x-font-ttf":"truetype","application/x-font-truetype":"truetype","application/x-font-opentype":"opentype","application/vnd.ms-fontobject":"embedded-opentype","application/font-sfnt":"sfnt"};function P(e){return-1===e.indexOf("ad")}var I=/^[a-z_][a-z0-9-_]*$/gi;function d(d){void 0===d&&(d={});var f={listeners:[],keyframePrefixes:d.keyframePrefixes||["-webkit-","-moz-"],plugins:d.plugins||[],sortMediaQuery:d.sortMediaQuery||function(n){return void 0===n&&(n=[]),function(e,t){return-1===n.indexOf(t)?-1===n.indexOf(e)?0:-1:-1===n.indexOf(e)?1:n.indexOf(e)-n.indexOf(t)}}(d.mediaQueryOrder),supportQueryOrder:d.supportQueryOrder||[],styleNodeAttributes:d.styleNodeAttributes||{},ruleOrder:[/^:link/,/^:visited/,/^:hover/,/^:focus-within/,/^:focus/,/^:active/],selectorPrefix:function(e){return void 0===e&&(e=""),0<e.length&&null===e.match(I)&&console.error("An invalid selectorPrefix (".concat(e,") has been used to create a new Fela renderer.\nIt must only contain a-Z, 0-9, - and _ while it must start with either _ or a-Z.\nSee http://fela.js.org/docs/advanced/RendererConfiguration.html")),e}(d.selectorPrefix),specificityPrefix:d.specificityPrefix||"",filterClassName:d.filterClassName||P,devMode:d.devMode||!1,uniqueRuleIdentifier:0,uniqueKeyframeIdentifier:0,nodes:{},scoreIndex:{},cache:{},getNextRuleIdentifier:function(){return++f.uniqueRuleIdentifier},getNextKeyframeIdentifier:function(){return++f.uniqueKeyframeIdentifier},renderRule:function(e,t){return void 0===t&&(t={}),f._renderStyle(e(t,f),t)},renderKeyframe:function(e,t){void 0===t&&(t={}),e=e(t,f);var o=u(e=a(f,e,"KEYFRAME",t));return f.cache.hasOwnProperty(o)||(t={type:"KEYFRAME",keyframe:function(e,n,t){void 0===t&&(t=[""]);var r=o||u(e);return i()(t,function(e,t){return"".concat(e,"@").concat(t,"keyframes ").concat(n,"{").concat(r,"}")},"")}(e,t=f.selectorPrefix+f.generateAnimationName(t),f.keyframePrefixes),name:t},f.cache[o]=t,f._emitChange(t)),f.cache[o].name},generateAnimationName:function(e){return"k"+f.getNextKeyframeIdentifier()},renderFont:function(e,t,n){void 0===n&&(n={});var r=n.localAlias,o=k(n,["localAlias"]);return n=e+JSON.stringify(n),r=function(e){return"string"==typeof e?[e]:Array.isArray(e)?e.slice():[]}(r),f.cache.hasOwnProperty(n)||(e='"'===(e=e).charAt(0)?e:'"'.concat(e,'"'),e={type:"FONT",fontFace:function(e){return"@font-face{".concat(s()(e),"}")}(E(E({},o),{src:function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),t=i()(t,function(e,t,n){return"".concat(e).concat(0<n?",":"","local(").concat(C(t),")")},""),e=i()(e,function(e,t,n){var r=0<n?",":"";return n=function(e){if(b(e)){for(var t="",n=5;;n++){var r=e.charAt(n);if(";"===r||","===r)break;t+=r}var o=S[t];if(o)return o;console.warn("A invalid base64 font was used. Please use one of the following mime type: ".concat(Object.keys(S).join(", "),"."))}else{for(var i="",a=e.length-1;;a--)if("."===e.charAt(a)){var s=e.slice(a,e.length);i=s.includes("?")?s.split("?",1)[0]:s;break}if(o=_[i])return o;console.warn('A invalid font-format was used in "'.concat(e,'". Use one of these: ').concat(Object.keys(_).join(", "),"."))}return""}(t),"".concat(e).concat(r,"url(").concat(C(t),") format('").concat(n,"')")},""),"".concat(t).concat(0<t.length&&0<e.length?",":"").concat(e)}(t,r),fontFamily:e})),fontFamily:e},f.cache[n]=e,f._emitChange(e)),f.cache[n].fontFamily},renderStatic:function(e,t){var n=function(e){return"string"==typeof e?e:t?t+JSON.stringify(e):""}(e);f.cache.hasOwnProperty(n)||(e={type:"STATIC",css:function(e,t){return"string"==typeof e?e.replace(/\s{2,}/g,""):(e=a(t,e,"STATIC"),s()(e))}(e,f),selector:t},f.cache[n]=e,f._emitChange(e))},subscribe:function(e){return f.listeners.push(e),{unsubscribe:function(){return f.listeners.splice(f.listeners.indexOf(e),1)}}},clear:function(){f.uniqueRuleIdentifier=0,f.uniqueKeyframeIdentifier=0,f.cache={},f._emitChange({type:"CLEAR"})},_renderStyle:function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),t=a(f,e,"RULE",t),f._renderStyleToClassNames(t).slice(1)},_renderStyleToClassNames:function(e,t,n,r){var o=e._className,i=k(e,["_className"]);void 0===t&&(t=""),void 0===n&&(n=""),void 0===r&&(r="");var a,s=o?" ".concat(o):"";for(a in i){var l,u=i[a];if(m()(u))!function(e){return y.test(e)}(a)?"@media"===a.substr(0,6)?(l=g(n,a.slice(6).trim()),s+=f._renderStyleToClassNames(u,t,l,r)):"@supports"===a.substr(0,9)?(c=g(r,a.slice(9).trim()),s+=f._renderStyleToClassNames(u,t,n,c)):console.warn('The object key "'.concat(a,'" is not a valid nested key in Fela.\nMaybe you forgot to add a plugin to resolve it?\nCheck http://fela.js.org/docs/basics/Rules.html#styleobject for more information.')):s+=f._renderStyleToClassNames(u,t+("&"===(p=a).charAt(0)?p.slice(1):p),n,r);else{var c=function(e,t,n,r,o){return(4<arguments.length&&void 0!==o?o:"")+(3<arguments.length&&void 0!==r?r:"")+(2<arguments.length&&void 0!==n?n:"")+v()(e)+t}(a,u,t,n,r);if(!f.cache.hasOwnProperty(c)){if(function(e){return null==e||"string"==typeof e&&null!==e.match(/(undefined|null)/)&&null===e.match(/url/)}(u)){f.cache[c]={className:""};continue}var p=f.selectorPrefix+f.generateClassName(a,u,t,n,r);u=h()(a,u),u={type:"RULE",className:p,selector:function(e,t,n){return(2<arguments.length&&void 0!==n?n:"")+"."+e+(1<arguments.length&&void 0!==t?t:"")}(p,t,d.specificityPrefix),declaration:u,pseudo:t,media:n,support:r},f.cache[c]=u,f._emitChange(u)}(c=f.cache[c].className)&&(s+=" ".concat(c))}}return s},generateClassName:function(e,t,n,r,o){return function e(t,n){void 0===n&&(n=function(){return!0});var r=function e(t,n){return void 0===n&&(n=""),t<=p?c[t-1]+n:e(t/p|0,c[t%p]+n)}(t());return n(r)?r:e(t,n)}(f.getNextRuleIdentifier,f.filterClassName)},_emitChange:function(t){o()(f.listeners,function(e){return e(t)})}};return f.keyframePrefixes.push(""),d.enhancers&&o()(d.enhancers,function(e){f=e(f)}),f}r=n(7);var f=n.n(r);function w(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n,r){return i()(e,function(e,t){return(t=function e(t,n,r){return Array.isArray(t)?e(w.apply(void 0,t),n,r):"function"==typeof t?t(n,r):t}(t,n,r))&&e._className&&(t._className=e._className+(t._className?" "+t._className:"")),f()(e,t)},{})}}function x(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(t){return function(e){return i()(n,function(e,t){return t(e)},t(e))}}}n.d(t,"createRenderer",function(){return d}),n.d(t,"combineRules",function(){return w}),n.d(t,"enhance",function(){return x})}],r={},o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=11);function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,r}()},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n;!function(e){function l(e,t,n){for(var r,o,i="",a=n,s=(r=p(c(e)),(o=Object.keys(r)).sort(function(e,t){return t.length-e.length}),o);a<t.length;){var l=e.ReadEscapedPart(t,a);if(l.length>0)i+=l.value,a+=l.length;else{var u=s.first(function(e){return t.indexOf(e,a)==a});if(u)return{token:u,literal:i,nextBegin:a+u.length};i+=t.charAt(a),a++}}return{token:"",literal:i,nextBegin:a}}function c(e){return[e.DayOfMonthShort,e.DayOfMonthLong,e.DayOfWeekShort,e.DayOfWeekLong,e.DayOfYearShort,e.DayOfYearLong,e.MonthOfYearShort,e.MonthOfYearLong,e.MonthNameShort,e.MonthNameLong,e.YearShort,e.YearLong,e.AmPm,e.Hour24Short,e.Hour24Long,e.Hour12Short,e.Hour12Long,e.MinuteShort,e.MinuteLong,e.SecondShort,e.SecondLong,e.FractionalSecond1,e.FractionalSecond2,e.FractionalSecond3,e.TimeZone,e.UnixTimestamp].map(function(e){return e||""})}function p(e){for(var t={},n=0;n<e.length;n++){var r=e[n];r&&(t[r]=n)}return t}function o(e,t){for(var n=0;n<e.length;n++)for(var r=e.charAt(n),o=0;o<t.length;o++)if(r===t.charAt(o))return n;return-1}String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return this.split(e).join(t)}),String.prototype.contains||(String.prototype.contains=function(e){return this.indexOf(e)>=0}),Array.prototype.first||(Array.prototype.first=function(e){if(!e)return this.length?this[0]:null;for(var t=0;t<this.length;t++){var n=this[t];if(e(n))return n}return null}),Array.prototype.map||(Array.prototype.map=function(e,t){var n,r,o;if(null==this)throw new TypeError(" this is null or not defined");var i=Object(this),a=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(n=t),r=new Array(a),o=0;o<a;){var s,l;o in i&&(s=i[o],l=e.call(n,s,o,i),r[o]=l),o++}return r}),Object.keys||(Object.keys=function(){"use strict";var o=Object.prototype.hasOwnProperty,i=!{toString:null}.propertyIsEnumerable("toString"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=a.length;return function(e){if("object"!=typeof e&&("function"!=typeof e||null===e))throw new TypeError("Object.keys called on non-object");var t,n,r=[];for(t in e)o.call(e,t)&&r.push(t);if(i)for(n=0;n<s;n++)o.call(e,a[n])&&r.push(a[n]);return r}}()),e.convert=function(e,t,n){if(t==n)return e;e=e||"";for(var r="",o=0,i=c(n),a=p(c(t));o<e.length;){var s=l(t,e,o);s.literal.length>0&&(r+=n.MakeLiteral(s.literal)),s.token.length>0&&(r+=i[a[s.token]]),o=s.nextBegin}return r},e.standard={DayOfMonthShort:"d",DayOfMonthLong:"dd",DayOfWeekShort:"ddd",DayOfWeekLong:"dddd",DayOfYearShort:"D",DayOfYearLong:"DD",MonthOfYearShort:"M",MonthOfYearLong:"MM",MonthNameShort:"MMM",MonthNameLong:"MMMM",YearShort:"yy",YearLong:"yyyy",AmPm:"tt",Hour24Short:"H",Hour24Long:"HH",Hour12Short:"h",Hour12Long:"hh",MinuteShort:"m",MinuteLong:"mm",SecondShort:"s",SecondLong:"ss",FractionalSecond1:"f",FractionalSecond2:"ff",FractionalSecond3:"fff",TimeZone:"Z",UnixTimestamp:"X",MakeLiteral:function(e){if(o(e,"dDMytHhmsfZX")<0)return e;for(var t="",n=0;n<e.length;n++){var r=e.charAt(n);"dDMytHhmsfZX".contains(r)&&(t+="\\"),t+=r}return t},ReadEscapedPart:function(e,t){for(var n="",r=t;r<e.length;){if("\\"!=e.charAt(r))break;n+=r==e.length-1?"\\":e[++r],r++}return{value:n,length:r-t}}},e.dotNet={DayOfMonthShort:"d",DayOfMonthLong:"dd",DayOfWeekShort:"ddd",DayOfWeekLong:"dddd",DayOfYearShort:null,DayOfYearLong:null,MonthOfYearShort:"M",MonthOfYearLong:"MM",MonthNameShort:"MMM",MonthNameLong:"MMMM",YearShort:"yy",YearLong:"yyyy",AmPm:"tt",Hour24Short:"H",Hour24Long:"HH",Hour12Short:"h",Hour12Long:"hh",MinuteShort:"m",MinuteLong:"mm",SecondShort:"s",SecondLong:"ss",FractionalSecond1:"f",FractionalSecond2:"ff",FractionalSecond3:"fff",TimeZone:"zzz",UnixTimestamp:null,MakeLiteral:function(e){if(o(e,"dfFghHKmMstyz'\"")<0)return e;for(var t="",n=0;n<e.length;n++){var r=e.charAt(n);"dfFghHKmMstyz'\"".contains(r)&&(t+="\\"),t+=r}return t},ReadEscapedPart:function(e,t){for(var n="",r=t;r<e.length;){var o=e.charAt(r);if("\\"!=o)if('"'!=o){if("'"!=o)break;for(;++r<e.length;){if("'"==(i=e.charAt(r)))break;n+="\\"==i?r==e.length-1?"\\":e[++r]:i}r++}else{for(;++r<e.length;){var i;if('"'==(i=e.charAt(r)))break;n+="\\"==i?r==e.length-1?"\\":e[++r]:i}r++}else n+=r==e.length-1?"\\":e[++r],r++}return{value:n,length:r-t}}},e.momentJs={DayOfMonthShort:"D",DayOfMonthLong:"DD",DayOfWeekShort:"ddd",DayOfWeekLong:"dddd",DayOfYearShort:"DDD",DayOfYearLong:"DDDD",MonthOfYearShort:"M",MonthOfYearLong:"MM",MonthNameShort:"MMM",MonthNameLong:"MMMM",YearShort:"YY",YearLong:"YYYY",AmPm:"A",Hour24Short:"H",Hour24Long:"HH",Hour12Short:"h",Hour12Long:"hh",MinuteShort:"m",MinuteLong:"mm",SecondShort:"s",SecondLong:"ss",FractionalSecond1:"S",FractionalSecond2:"SS",FractionalSecond3:"SSS",TimeZone:"Z",UnixTimestamp:"X",MakeLiteral:function(e){return o(e=e.replaceAll("[","(").replaceAll("]",")"),"MoDdeEwWYgGAaHhmsSzZX")<0?e:"["+e+"]"},ReadEscapedPart:function(e,t){if("["!=e.charAt(t))return{value:"",length:0};for(var n="",r=t;r<e.length;){var o=e.charAt(r);if("]"==o)break;n+=o}return{value:n,length:r-t}}}}(n||(n={})),$(document).ready(function(){$.each($("h3>a"),function(e,t){var n=$(t).attr("title");null==n||n.trim()||$(t).attr("title",$(t).text())})})},function(e,t,n){"use strict";n.r(t),n.d(t,"PcfControlProxy",function(){return sp});var r={};n.r(r);var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var x=function(){return(x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function p(e,a,s,l){return new(s||(s=Promise))(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):(t=e.value,t instanceof s?t:new s(function(e){e(t)})).then(r,o)}i((l=l.apply(e,a||[])).next())})}function d(n,r){var o,i,a,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=e(0),l.throw=e(1),l.return=e(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function e(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;l&&(l=0,t[0]&&(s=0)),s;)try{if(o=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,i=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=s.trys,(a=a.length>0&&a[a.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=r.call(n,s)}catch(e){t=[6,e],i=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}Object.create;function b(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var ie=n(0),I=n(2),a=n(7),s=n(8),l=n(1);function u(e){if(!e)return null;var t={};return t.display=e.display?e.display:"flex",t}function c(e){return!e||"flex"!==e&&"inlineflexbox"!==e?"":"flex"===e?"flexbox":"inlineflexbox"}var ae=function(){function e(){}return e.LearningPathAttributeSuffix="lp-id",e.LearningPathAttributeName="data-"+e.LearningPathAttributeSuffix,e.CCF="CustomControlFramework",e}(),f=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),h=!!window.navigator.userAgent.match("MSIE")||!!window.navigator.userAgent.match("Trident"),m=!!window.navigator.userAgent.match("Edge"),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getElementName=function(){return"div"},t.prototype.getElementProps=function(){return null},t.prototype.refCallbackTrigger=function(e){this.props.refCallback(e)},t.prototype.hasAriaProperty=function(){var e=this.props;return!!(e.accessibilityLabel||e.accessibilitySort||e.accessibilityChecked||e.accessibilityLive||e.accessibilityRelevant||e.accessibilityAtomic||e.labelledByElementId||e.describedByElementId||e.controlsElementId||e.ownsElementId||e.accessibilityRequired||"boolean"==typeof e.accessibilityExpanded||"boolean"==typeof e.accessibilityBusy||"string"==typeof e.accessibilityBusy||"boolean"==typeof e.accessibilityHasPopup||"string"==typeof e.accessibilityHasPopup||"boolean"==typeof e.accessibilityPressed||"string"==typeof e.accessibilityPressed||"boolean"==typeof e.accessibilityReadOnly||"boolean"==typeof e.accessibilityDisabled||"number"==typeof e.accessibilityLevel||"boolean"==typeof e.accessibilityHidden||"boolean"==typeof e.isSelected||e.activeDescendantId||e.accessibilityCurrent||"number"==typeof e.accessibilityValueMin||"number"==typeof e.accessibilityValueMax||"number"==typeof e.accessibilityValueNow||"boolean"==typeof e.accessibilityModal||e.accessibilityValueText||e.role||e.accessibilityAriaOrientation)},t.prototype.getElementPropsInternal=function(){var e={},t=this.props;e.id=t.id,t.hidden&&(e.hidden=!0),t.accessibilityLabel&&(e["aria-label"]=t.accessibilityLabel),t.accessibilitySort&&(e["aria-sort"]=t.accessibilitySort),t.accessibilityChecked&&(e["aria-checked"]=t.accessibilityChecked),t.accessibilityLive&&(e["aria-live"]=t.accessibilityLive),t.accessibilityRelevant&&(e["aria-relevant"]=t.accessibilityRelevant),t.accessibilityAtomic&&(e["aria-atomic"]=t.accessibilityAtomic),t.labelledByElementId&&(e["aria-labelledby"]=t.labelledByElementId),t.describedByElementId&&(e["aria-describedby"]=t.describedByElementId),t.controlsElementId&&(e["aria-controls"]=t.controlsElementId),t.ownsElementId&&(e["aria-owns"]=t.ownsElementId),t.accessibilityRequired&&(e["aria-required"]=t.accessibilityRequired),"boolean"==typeof t.accessibilityExpanded&&(e["aria-expanded"]=t.accessibilityExpanded),"string"!=typeof t.accessibilityBusy&&"boolean"!=typeof t.accessibilityBusy||(e["aria-busy"]=t.accessibilityBusy),"string"!=typeof t.accessibilityHasPopup&&"boolean"!=typeof t.accessibilityHasPopup||(e["aria-haspopup"]=t.accessibilityHasPopup),"string"!=typeof t.accessibilityPressed&&"boolean"!=typeof t.accessibilityPressed||(e["aria-pressed"]=t.accessibilityPressed),"boolean"==typeof t.accessibilityReadOnly&&(e["aria-readonly"]=t.accessibilityReadOnly),"boolean"==typeof t.accessibilityDisabled&&(e["aria-disabled"]=t.accessibilityDisabled),"number"==typeof t.accessibilityLevel&&(e["aria-level"]=t.accessibilityLevel),"boolean"==typeof t.accessibilityHidden&&(e["aria-hidden"]=t.accessibilityHidden),"boolean"==typeof t.isSelected&&(e["aria-selected"]=t.isSelected),t.activeDescendantId&&(e["aria-activedescendant"]=t.activeDescendantId),t.accessibilityCurrent&&(e["aria-current"]=t.accessibilityCurrent),"number"==typeof t.accessibilityValueMin&&(e["aria-valuemin"]=t.accessibilityValueMin),"number"==typeof t.accessibilityValueMax&&(e["aria-valuemax"]=t.accessibilityValueMax),"number"==typeof t.accessibilityValueNow&&(e["aria-valuenow"]=t.accessibilityValueNow),"boolean"==typeof t.accessibilityModal&&(e["aria-modal"]=t.accessibilityModal),t.accessibilityValueText&&(e["aria-valuetext"]=t.accessibilityValueText),t.role&&(e.role=t.role),t.title&&(e.title=t.title),t.accessibilityAriaOrientation&&(e["aria-orientation"]=t.accessibilityAriaOrientation),"number"==typeof t.tabIndex&&(e.tabIndex=t.tabIndex);var n=t[ae.LearningPathAttributeName];if(n&&(e[ae.LearningPathAttributeName]=n),t.testhooks){var r=t.testhooks;for(var o in r)e["data-"+o]=r[o]}null!=t.onClick&&(e.onClick=t.onClick),null!=t.onDoubleClick&&(e.onDoubleClick=t.onDoubleClick),null!=t.onDrag&&(e.onDrag=t.onDrag),null!=t.onDragEnd&&(e.onDragEnd=t.onDragEnd),null!=t.onDragEnter&&(e.onDragEnter=t.onDragEnter),null!=t.onDragExit&&(e.onDragExit=t.onDragExit),null!=t.onDragLeave&&(e.onDragLeave=t.onDragLeave),null!=t.onDragOver&&(e.onDragOver=t.onDragOver),null!=t.onDragStart&&(e.onDragStart=t.onDragStart),null!=t.onDrop&&(e.onDrop=t.onDrop),null!=t.onClickCapture&&(e.onClickCapture=t.onClickCapture),null!=t.onPointerOver&&(e.onPointerOver=t.onPointerOver),null!=t.onPointerOut&&(e.onPointerOut=t.onPointerOut),null!=t.onPointerUp&&(e.onPointerUp=t.onPointerUp),null!=t.onPointerDown&&(e.onPointerDown=t.onPointerDown),null!=t.onPointerEnter&&(e.onPointerEnter=t.onPointerEnter),null!=t.onPointerLeave&&(e.onPointerLeave=t.onPointerLeave),null!=t.onPointerMove&&(e.onPointerMove=t.onPointerMove),null!=t.onPointerCancel&&(e.onPointerCancel=t.onPointerCancel),null!=t.onBlur&&(e.onBlur=t.onBlur),null!=t.onFocus&&(e.onFocus=t.onFocus),null!=t.onMouseEnter&&(e.onMouseEnter=t.onMouseEnter),null!=t.onMouseLeave&&(e.onMouseLeave=t.onMouseLeave),null!=t.onKeyDown&&(e.onKeyDown=t.onKeyDown),null!=t.onKeyUp&&(e.onKeyUp=t.onKeyUp),null!=t.onScroll&&(e.onScroll=t.onScroll),Object.assign(e,this.getElementProps()),e.children=null,e.style=this.getElementStyle();var i=this.getElementClassName()+" "+this.getFlexClassName(e.style);return i.length>0&&(e.className=i,e.style={}),e},t.prototype.getElementStyle=function(){return this.props.style},t.prototype.getElementClassName=function(){return(this.props.styles?this.props.styles.rule:"")+(this.props.explicitStyles?" "+this.props.explicitStyles:"")},t.prototype.getFlexClassName=function(e){return""},t.prototype.getElementChildren=function(){var e=this.props.children;if(Array.isArray(e)){if(0===e.length)return null;if(e.length>1&&window.DEBUG){var t=e.filter(function(e){return ie.isValidElement(e)});if(t.length>1)for(var n={},r=0;r<t.length;r++){var o=t[r];if(!o.key){var i=o.key||o.type.name;n[i]&&console.warn("The React child should have a unique key within the parent's scope:",i,", current element id/key =",this.props.id,", this element type:",this.constructor.name),n[i]=i}}}}return"string"==typeof e&&0===e.length?null:e},t.isElementScrollable=function(e){return"auto"===e.overflow||"auto"===e.overflowX||"auto"===e.overflowY||"scroll"===e.overflow||"scroll"===e.overflowX||"scroll"===e.overflowY},t.prototype.render=function(){return ie.createElement(this.getElementName(),this.getElementPropsInternal(),this.getElementChildren())},Object.defineProperty(t.prototype,"isIE",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEdge",{get:function(){return m},enumerable:!1,configurable:!0}),t}(ie.Component);function g(e){return e?e.getTimezoneOffset():0}function v(){return""}function C(){return"Web"}function _(){return!0}function S(){return 1}function P(e,t){return null}function w(){return null}function E(e,t,n){return alert(e.text),Promise.resolve({})}function k(e,t,n){return alert((e.message||"")+(e.errorCode?" ("+e.errorCode+")\n\n":"\n\n")+(e.details||"")),Promise.resolve({})}function T(e,t,n){var r=confirm((e.title?e.title+"\n"+(e.subtitle?e.subtitle+"\n":"\n"):"")+e.text);return Promise.resolve({confirmed:r})}var D,F=new(function(){function e(){this._navigationContext={openAlertDialog:E,openErrorDialog:k,openConfirmDialog:T,openFile:null,openUrl:null,openWebResource:null,navigateTo:null,openDialog:null,openForm:null,openTaskFlow:null},this.UserSettings={userId:"{00000000-0000-0000-0000-000000000000}",getTimeZoneOffsetMinutes:g,isHighContrastEnabled:null,isRTL:!1,languageId:1033,locale:"en-US",userName:"",securityRoles:[],pagingLimit:null,formatInfoCultureName:"en-US",formatInfoCultureId:1033,aadObjectId:null},this.OrgSettings={languageId:null,uniqueName:null,isAutoSaveEnabled:null,attributes:null,tenantId:null},this.Utils={beginSecureSessionForResource:null,getEntityMetadata:null,getEntitiesMetadata:null,getResourceString:null,isFeatureEnabled:null,isDisruptiveFeatureEnabled:null,lookupObjects:null,getEntityName:null,getFormId:null,canOpenUrl:null,getUserSettings:null},this.Page={getClientUrl:null},this.Reporting={reportSuccess:null,reportFailure:null,reportEvent:null},this.Diagnostics={traceError:null,traceWarning:null,traceInfo:null,traceDebug:null,isInMonitorSession:null},this.IntelligenceApi={getPredictionSchemaAsync:null,predictAsync:null,getPreTrainedModelIdAsync:null,getLabelsForObjectDetectionModelAsync:null,invokeAiModelActionAsync:null,invokeGlobalOperationAsync:null,invokeCopilotActionAsync:null,hasOrganizationSettingsAsync:null,getOrganizationSettingsAsync:null},this.Client={getClient:C,getClientState:v,getFormFactor:S,isNetworkAvailable:_,getEnvironmentEndpoint:P,getClientInfo:w},this.GraphApi={sendRequest:null},this._applicationUI={addGlobalNotification:null,clearGlobalNotification:null,clearGlobalNotifications:null},this._webApiContext={online:{retrieveRecord:null,retrieveMultipleRecords:null,updateRecord:null,createRecord:null,deleteRecord:null,execute:null,executeMultiple:null},offline:{retrieveRecord:null,retrieveMultipleRecords:null,updateRecord:null,createRecord:null,deleteRecord:null,execute:null,executeMultiple:null}},this._unifiedWebApiContext=null,this.Initialized=!1}return e.prototype.setUserSettings=function(e){this.UserSettings=e},e.prototype.setOrgSettings=function(e){this.OrgSettings=e},e.prototype.setOffline=function(e){this.Offline=e},e.prototype.setUtils=function(e){var t,n=this;this.Utils=e,this.Utils.getUserSettings=null!==(t=this.Utils.getUserSettings)&&void 0!==t?t:function(){return Promise.resolve(n.UserSettings)}},e.prototype.setPage=function(e){this.Page=e},e.prototype.setReporting=function(e){this.Reporting=e},e.prototype.setIntelligenceApi=function(e){this.IntelligenceApi=e},e.prototype.setDiagnostics=function(e){this.Diagnostics=e},e.prototype.setClient=function(e){this.Client=e},e.prototype.setGraphApi=function(e){this.GraphApi=e},e.prototype.setNavigationContext=function(e){this._navigationContext=e},e.prototype.setDeviceContext=function(e){this._deviceContext=e},e.prototype.setExternalContext=function(e){this._externalContext=e},e.prototype.setApplicationUI=function(e){this._applicationUI=e},e.prototype.setWebApi=function(e){this._webApiContext=e},e.prototype.setWebApiUnified=function(e){this._unifiedWebApiContext=e},e.prototype.openForm=function(e,t,n){return this._navigationContext.openForm(e,t,n)},e.prototype.openUrl=function(e,t,n){return this._navigationContext.openUrl(e,t,n)},e.prototype.openFile=function(e,t,n){return this._navigationContext.openFile(e,t,n)},e.prototype.openAlertDialog=function(e,t,n){return this._navigationContext.openAlertDialog(e,t,n)},e.prototype.openConfirmDialog=function(e,t,n){return this._navigationContext.openConfirmDialog(e,t,n)},e.prototype.openDialog=function(e,t,n,r){return this._navigationContext.openDialog(e,t,n,r)},e.prototype.openErrorDialog=function(e,t){return this._navigationContext.openErrorDialog(e,t)},e.prototype.openTaskFlow=function(e,t,n,r){return this._navigationContext.openTaskFlow(e,t,n,r)},e.prototype.openWebResource=function(e,t,n,r){return this._navigationContext.openWebResource(e,t,n,r)},e.prototype.navigateTo=function(e,t,n){return this._navigationContext.navigateTo(e,t,n)},e.prototype.captureImage=function(e){return this._deviceContext.captureImage(e)},e.prototype.captureAudio=function(e){return this._deviceContext.captureAudio(e)},e.prototype.captureVideo=function(e){return this._deviceContext.captureVideo(e)},e.prototype.pickFile=function(e){return this._deviceContext.pickFile(e)},e.prototype.getBarcodeValue=function(){return this._deviceContext.getBarcodeValue()},e.prototype.getCurrentPosition=function(){return this._deviceContext.getCurrentPosition()},e.prototype.getAvailableExternalContexts=function(){return this._externalContext.getAvailableExternalContexts()},e.prototype.getExternalContextProperty=function(e,t,n){return this._externalContext.getExternalContextProperty(e,t,n)},e.prototype.invokeExternalContextAction=function(e,t,n){return this._externalContext.invokeExternalContextAction(e,t,n)},e.prototype.removeExternalContextPropertyListener=function(e,t,n){return this._externalContext.removeExternalContextPropertyListener(e,t,n)},e.prototype.addGlobalNotification=function(e,t,n,r,o,i){return this._applicationUI.addGlobalNotification(e,t,n,r,o,i)},e.prototype.clearGlobalNotification=function(e){return this._applicationUI.clearGlobalNotification(e)},e.prototype.clearGlobalNotifications=function(){return this._applicationUI.clearGlobalNotifications()},e.prototype._getWebApiContext=function(){return this._unifiedWebApiContext||("Offline"===this.Client.getClientState()?this._webApiContext.offline:this._webApiContext.online)},e.prototype.retrieveRecord=function(e,t,n){return this._getWebApiContext().retrieveRecord(e,t,n)},e.prototype.createRecord=function(e,t){return this._getWebApiContext().createRecord(e,t)},e.prototype.updateRecord=function(e,t,n){return this._getWebApiContext().updateRecord(e,t,n)},e.prototype.deleteRecord=function(e,t){return this._getWebApiContext().deleteRecord(e,t)},e.prototype.retrieveMultipleRecords=function(e,t,n,r){return this._getWebApiContext().retrieveMultipleRecords(e,t,n,r)},e.prototype.execute=function(e){return this._getWebApiContext().execute(e)},e.prototype.executeMultiple=function(e){var t=this._getWebApiContext();return t.executeMultiple?t.executeMultiple(e):Promise.resolve(null)},e.prototype.openARViewer=function(e){return this._deviceContext.openARViewer(e)},e.prototype.getMessageReceiver=function(e,t){return this._deviceContext.getMessageReceiver(e,t)},e}()),O=F,M=function(){function e(){var e=this;this._previousDimensions={},this._subscribers={},this._groupIdBySubscriber=new Map,this._pendingSubscribers={},this._pendingUpdates={},this._schedule=function(){e.takeMeasurements(),e.flushPendingMeasuringNotifications()}}return e.getInstance=function(){return D||(D=new e),D},e.prototype.setSchedulingFunction=function(e){this._schedule=e},e.prototype.addMeasuringSubscribers=function(e){if(e){var t=R(e.getContext());this._subscribers[t]||(this._subscribers[t]=[]),A(e,"addMeasuringSubscribers"),this._subscribers[t].push(e),this._groupIdBySubscriber.set(e,t),this.scheduleMeasuringUpdate()}},e.prototype.updateMeasuringSubscribers=function(e){if(e){var t=this._groupIdBySubscriber.get(e);if(t)R(e.getContext())!==t&&(this.removeMeasuringSubscribers(e),this.addMeasuringSubscribers(e))}},e.prototype.removeMeasuringSubscribers=function(e){var t,n,r,o;if(this._subscribers&&e){var i=R(e.getContext()),a=this._subscribers[i];if(a){var s=a.indexOf(e);s>-1&&(a.splice(s,1),null===(n=null===(t=this._previousDimensions)||void 0===t?void 0:t[i])||void 0===n||n.delete(e),this._groupIdBySubscriber.delete(e),0===a.length&&delete this._subscribers[i],0===(null===(o=null===(r=this._previousDimensions)||void 0===r?void 0:r[i])||void 0===o?void 0:o.size)&&delete this._previousDimensions[i])}}},e.prototype.scheduleMeasuringUpdate=function(){this._schedule()},e.prototype.flushPendingMeasuringNotifications=function(e){var t,n,r=[R()];e&&r.push(e);for(var o=0,i=0,a=r;i<a.length;i++){var s=a[i],l=null!==(n=null===(t=this._pendingUpdates[s])||void 0===t?void 0:t.length)&&void 0!==n?n:0;o+=l;for(var u=0;u<l;u++)this._pendingUpdates[s][u]();delete this._pendingUpdates[s],delete this._pendingSubscribers[s]}return o},e.prototype.takeMeasurements=function(e){var t,n,r,o=[R()];e&&o.push(e);for(var i=0,a=o;i<a.length;i++){var s=a[i];if(null===(t=this._subscribers)||void 0===t?void 0:t[s])for(var l=0;l<this._subscribers[s].length;l++){var u=this._subscribers[s][l],c=u.getComponent();if(c){var p=null===(n=this._previousDimensions[s])||void 0===n?void 0:n.get(u),d=c.getBoundingClientRect(),f=d.width,h=d.height;if(!p||p.Width!==f||p.Height!==h||this._subscribers[s][l].forceMeasure){var m=null===(r=this._pendingSubscribers[s])||void 0===r?void 0:r.indexOf(u);m>-1&&(this._pendingSubscribers[s].splice(m,1),this._pendingUpdates[s].splice(m,1)),this._previousDimensions[s]||(this._previousDimensions[s]=new Map),this._pendingUpdates[s]||(this._pendingUpdates[s]=[]),this._pendingSubscribers[s]||(this._pendingSubscribers[s]=[]),this._previousDimensions[s].set(u,{Width:f,Height:h}),A(u,"takeMeasurements"),this._pendingUpdates[s].push(u.onMeasure.bind(u,f,h)),this._pendingSubscribers[s].push(u)}}}}},e}();function A(e,t){var n,r;e.onMeasure||(null===(r=null===(n=null==F?void 0:F.Reporting)||void 0===n?void 0:n.reportFailure)||void 0===r||r.call(n,"MeasuringHandler.".concat(t),new Error("onMeasure callback not provided"),"Provide onMeasure callback when isRequestedMeasuring is true"),e.onMeasure=function(){})}function R(e){var t;return null!==(t=null==e?void 0:e.groupId)&&void 0!==t?t:"defaultMeasuringHandlerGroup"}var L=ie.createContext({}),N=function(){return(N=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function B(e){return e.style?N(N({},e.style),function(e){if(!e)return{};var t={};null!=e.borderBottomWidth&&(t.borderBottomWidth=U(e.borderBottomWidth));null!=e.borderLeftWidth&&(t.borderLeftWidth=U(e.borderLeftWidth));null!=e.borderRightWidth&&(t.borderRightWidth=U(e.borderRightWidth));null!=e.borderTopWidth&&(t.borderTopWidth=U(e.borderTopWidth));null!=e.borderWidth&&(t.borderWidth=U(e.borderWidth));null!=e.height&&(t.height=U(e.height));null!=e.width&&(t.width=U(e.width));null!=e.minWidth&&(t.minWidth=U(e.minWidth));null!=e.minHeight&&(t.minHeight=U(e.minHeight));null!=e.maxWidth&&(t.maxWidth=U(e.maxWidth));null!=e.maxHeight&&(t.maxHeight=U(e.maxHeight));null!=e.margin&&(t.margin=U(e.margin));null!=e.marginBottom&&(t.marginBottom=U(e.marginBottom));null!=e.marginLeft&&(t.marginLeft=U(e.marginLeft));null!=e.marginRight&&(t.marginRight=U(e.marginRight));null!=e.marginTop&&(t.marginTop=U(e.marginTop));null!=e.padding&&(t.padding=U(e.padding));null!=e.paddingBottom&&(t.paddingBottom=U(e.paddingBottom));null!=e.paddingLeft&&(t.paddingLeft=U(e.paddingLeft));null!=e.paddingRight&&(t.paddingRight=U(e.paddingRight));null!=e.paddingTop&&(t.paddingTop=U(e.paddingTop));null!=e.position&&(t.position=U(e.position));null!=e.bottom&&(t.bottom=U(e.bottom));null!=e.right&&(t.right=U(e.right));null!=e.top&&(t.top=U(e.top));null!=e.left&&(t.left=U(e.left));null!=e.flex&&(t.flex=(n=e.flex,r=Number(n),isNaN(r)?n:r));var n,r;null!=e.animationDirection&&(t.animationDirection=e.animationDirection);null!=e.animationDuration&&(t.animationDuration=e.animationDuration);null!=e.animationFillMode&&(t.animationFillMode=e.animationFillMode);null!=e.animationIterationCount&&(t.animationIterationCount=e.animationIterationCount);null!=e.animationName&&(t.animationName=e.animationName);null!=e.backgroundColor&&(t.backgroundColor=e.backgroundColor);return t}(e.style)):{}}function U(e){return"number"==typeof e?"".concat(e.toString(),"px"):e}var V,H=function(e){return{rule:B(e)}},j=function(){function e(){this._disablingScrollStyle=!1,this._popupCount=0}return e.getInstance=function(){return V||(V=new e),V},e.prototype.seeMoreOpen=function(){this._popupCount++,this.setDisableScrollStyle(!0)},e.prototype.seeMoreClose=function(){this._popupCount--,this.setDisableScrollStyle(!1)},e.prototype.getPopupCount=function(){return this._popupCount},e.prototype.getDisableScrollStyle=function(){return this._disablingScrollStyle},e.prototype.setDisableScrollStyle=function(e){if(this._disablingScrollStyle!==e){this._disablingScrollStyle=e;for(var t=document.querySelectorAll(e?".webkitScroll":".webkitScrollAuto"),n=0;n<t.length;n++)e?(t[n].classList.add("webkitScrollAuto"),t[n].classList.remove("webkitScroll")):(t[n].classList.add("webkitScroll"),t[n].classList.remove("webkitScrollAuto"));var r=document.querySelectorAll(e?".forceNewStackContext":".forceNewStackContextInert");for(n=0;n<r.length;n++)e?(r[n].classList.add("forceNewStackContextInert"),r[n].classList.remove("forceNewStackContext")):(r[n].classList.add("forceNewStackContext"),r[n].classList.remove("forceNewStackContextInert"))}},e}(),W=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),z=function(){return(z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},G=function(n){function t(e){var t=n.call(this,e)||this;return t._subscriber=null,t._mountedElement=null,t._getReference=t._getReference.bind(t),t.refCallbackTrigger=t.refCallbackTrigger.bind(t),t}return W(t,n),t.prototype.getElementName=function(){return this.props.semanticTag||"div"},t.prototype.getFlexClassName=function(e){return c(e?e.display:null)},t.prototype.componentDidMount=function(){var e=this;this.props.isRequestedMeasuring&&(this._subscriber={forceMeasure:this.props.forceMeasure,getComponent:this.getComponent.bind(this),onMeasure:this.props.onMeasuring,getContext:function(){return e.context}},M.getInstance().addMeasuringSubscribers(this._subscriber))},t.prototype.componentDidUpdate=function(){this.props.isRequestedMeasuring&&(this._mountedElement=I.findDOMNode(this),M.getInstance().updateMeasuringSubscribers(this._subscriber))},t.prototype._getReference=function(e){e&&this.props.isRequestedMeasuring&&(this._mountedElement=I.findDOMNode(e))},t.prototype.getComponent=function(){return this._mountedElement},t.prototype.componentWillUnmount=function(){this.props.isRequestedMeasuring&&M.getInstance().removeMeasuringSubscribers(this._subscriber),this._mountedElement=null},t.prototype.getElementStyle=function(){if(this.props.style)return u(this.props.style)},t.prototype.getElementClassName=function(){var e=n.prototype.getElementClassName.call(this);return this.props&&this.props.className&&(e+=" ".concat(this.props.className)),this.props.style&&t.isElementScrollable(this.props.style)&&(e+=j.getInstance().getDisableScrollStyle()&&!this.props.isWithinATopMostSeeMore?" webkitScrollAuto":" webkitScroll"),e},t.prototype.getElementProps=function(){var e={id:this.props.id,accessKey:""===this.props.accessKey?null:this.props.accessKey,ref:this.setRefCallbackAndReference.bind(this)};return"boolean"==typeof this.props.isRTL&&(e.dir=this.props.isRTL?"rtl":"ltr"),this.isIE||this.hasAriaProperty()||"number"==typeof this.props.tabIndex||this.props.semanticTag&&"div"!==this.props.semanticTag&&"span"!==this.props.semanticTag||(e.role="presentation"),e},t.prototype.setRefCallbackAndReference=function(e){return this.props.isRequestedMeasuring&&!0===this.props.isRequestedMeasuring?this._getReference(e):this.props.refCallback?this.refCallbackTrigger(e):void 0},t.prototype.render=function(){return ie.createElement(this.getElementName(),this.getElementPropsInternal(),this.getElementChildren())},t.displayName="View",t.contextType=L,t}(y);function K(e){return e&&e.style?z(z({},e.style),B(e)):{}}var q,Q,se=l.connect(function(e){return{rule:K(e)}})(G),Y=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Z=function(){return(Z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},X={position:"absolute",top:0,left:0,width:"100%",height:"100%"},le=function(n){function e(e){var t=n.call(this,e)||this;return t._rootBodyElement=null,t._seeMorePopupCount=null,t._rootBodyElement=e.rootBodyElement||document.body,t}return Y(e,n),e.prototype._getPopupId=function(){return(this.props.parentCustomControlId?this.props.parentCustomControlId+"|":"")+this.props.id+"_popupContainer"},e.prototype._initializeRootNode=function(){this._rootNode||(this._rootNode=document.createElement("section"),this._rootNode.id=this._getPopupId(),Object.assign(this._rootNode.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),this._rootNode.setAttribute("openedPopups",""),this._rootBodyElement.appendChild(this._rootNode))},e.prototype._getChildrenWithProps=function(e){var t=this;return e?e.map?e.map(function(e){return ie.cloneElement(e,{rootPopupId:t._getPopupId(),rootBodyElement:t._rootBodyElement})}):ie.cloneElement(e,{rootPopupId:this._getPopupId(),rootBodyElement:this._rootBodyElement}):null},e.prototype._renderToBody=function(){null===this._seeMorePopupCount&&(this._seeMorePopupCount=j.getInstance().getPopupCount());var e=this.props.customZIndex||1,t=this.props.customZIndex||this._seeMorePopupCount>0,n=Z({visibility:"visible"},this.props.style?this.props.style:X);this._style||(this._style=t?Z({zIndex:e},n):n),this._initializeRootNode()},e.prototype.UNSAFE_componentWillReceiveProps=function(e){e.style!==this.props.style&&(this._style=null)},e.prototype.componentDidMount=function(){this.props.openPopup&&this.props.openPopup(this._getPopupId())},e.prototype.componentWillUnmount=function(){document.getElementById(this._rootNode.id)&&this._rootBodyElement.removeChild(this._rootNode),this.props.closePopup&&this.props.closePopup(this._getPopupId()),this._rootNode=null},e.prototype.render=function(){if(this._renderToBody(),this.props.children){var e=ie.createElement(se,{style:this._style,tabIndex:this.props.tabIndex},this._getChildrenWithProps(this.props.children));return this.props.wrapElement&&(e=this.props.wrapElement(e)),I.createPortal(e,this._rootNode)}return null},e}(ie.Component);function J(e){return null==e}function ee(e){return J(e)||!e.length}!function(e){e[e.Flyout=1]="Flyout",e[e.Popup=2]="Popup"}(q||(q={}));var te=function(){function s(){this._subscribers=[],this._nextSubscriberId=0,this._addSubscribersQueue=[],this.fireEvent=this.fireEvent.bind(this)}return Object.defineProperty(s,"pointerDownEvent",{get:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream?"touchstart":"pointerdown"},enumerable:!1,configurable:!0}),Object.defineProperty(s,"scrollEvent",{get:function(){return"scroll"},enumerable:!1,configurable:!0}),s.getInstance=function(){return Q||(Q=new s),Q},Object.defineProperty(s.prototype,"subscribers",{get:function(){return this._subscribers},enumerable:!1,configurable:!0}),s.prototype.addSubscribers=function(o){var i=this,a=this._nextSubscriberId++;this._addSubscribersQueue.push({subscriber:o,id:a}),setTimeout(function(){for(var e=!1,t=0,n=i._addSubscribersQueue;t<n.length;t++){var r=n[t];if(a===r.id){e=!0;break}}e&&((J(i.subscribers)||i.subscribers.length<=0)&&(document.addEventListener(s.pointerDownEvent,i.fireEvent),o.onScroll&&document.addEventListener(s.scrollEvent,i.fireEvent,!0)),i._subscribers.push(o),i._addSubscribersQueue=ne(i._addSubscribersQueue,a,function(e){return e.id}))},100)},s.prototype.removeSubscribers=function(e){this._addSubscribersQueue=ne(this._addSubscribersQueue,e,function(e){return e.subscriber}),this._subscribers=ne(this._subscribers,e),(J(this.subscribers)||this.subscribers.length<=0)&&(document.removeEventListener(s.pointerDownEvent,this.fireEvent),document.removeEventListener(s.scrollEvent,this.fireEvent))},s.prototype.fireEvent=function(e){if(this.subscribers)for(var t=this._subscribers.length-1;t>=0;t--){var n=this.subscribers[t];if(n&&n.getComponent()&&(n.onPointerDown||n.onScroll)&&n.getComponent().offsetHeight>0){var r=n.isClickInsideSubscriber&&n.isClickInsideSubscriber(e);if(n.onPointerDown&&e.type===s.pointerDownEvent&&n.onPointerDown.bind(n,e)(),n.onScroll&&e.type===s.scrollEvent&&n.onScroll.bind(n,e)(),r)break}if(n&&n.type===q.Popup)break}},s}();function ne(e,t,n){return e.filter(function(e){return(n?n(e):e)!==t})}var ue,re=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),oe=function(){return(oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ce(e,t){return{display:e?t.display?t.display:"flex":"none"}}!function(e){e[e.Root=1]="Root",e[e.Nested=2]="Nested"}(ue||(ue={}));var pe=function(n){function r(e){var t=n.call(this,e)||this;return t._rootElement=null,t._popupElement=null,t._stopPropagation=function(e){e.stopPropagation()},t._forceClosePopup=function(e){t._stopPropagation(e),t.props.closeOnOutsideClick&&(t.setState({forceClose:!0}),t.props.onPopupForcedClosed&&t.props.onPopupForcedClosed())},t.state={forceClose:!1},t._rootElement=document.getElementById(e.rootPopupId),t._accessibilityComponent=t._createAccessibilityComponentIfNeeded(),t}return re(r,n),r.prototype._getId=function(){return"".concat(this.props.rootPopupId,"_").concat(this.props.id||"innerPopup")},r.prototype._getCurrentPopupToOpen=function(e,t){var n="";!e&&t&&(n=t.split(".")[0]);return n},r.prototype._getNextPopupToOpen=function(e,t){var n="";if(!e&&t){var r=t.split(".");r.splice(0,1),n=r.join(".")}return n},r.prototype._getChildrenProps=function(){return{type:ue.Nested,parent:this._popupElement,popupToOpen:this._getNextPopupToOpen(this.state.forceClose,this.props.popupToOpen),rootPopupId:this.props.rootPopupId}},r.prototype._getChildrenWithProps=function(e){var t=this;return e?e.map?e.map(function(e){return e.type===r?ie.cloneElement(e,t._getChildrenProps()):e}):e===r?ie.cloneElement(e,this._getChildrenProps()):e:null},r.prototype._isVisible=function(){return this._getCurrentPopupToOpen(this.state.forceClose,this.props.popupToOpen)===this.props.name},r.prototype._applyRootNodeStyle=function(){Object.assign(this._rootElement.style,this.props.rootStyle),this._toggleRootElementVisibility()},r.prototype._toggleRootElementVisibility=function(){this.props.isDialogPopup||(this._rootElement.getAttribute("openedPopups")?"none"===this._rootElement.style.display&&(this._rootElement.style.display="flex"):this._rootElement.style.display="none")},r.prototype._getStaticContent=function(){var e=null;return this.props.content&&(e=ie.createElement(se,{ref:"staticContent"})),e},r.prototype._createAccessibilityComponentIfNeeded=function(){var e=this.props,t=e.createAccessibilityComponent,n=e.rootPopupId;return t&&n?t({id:this._getId(),rootElementId:n,shouldManageFocus:!0}):null},r.prototype._registerPopup=function(e,t){var n=e.name,r=e.popupToOpen,o=t.forceClose,i=this._rootElement.getAttribute("openedPopups"),a=(i=i||"").indexOf(n);o||n!==this._getCurrentPopupToOpen(o,r)?~a&&this._rootElement.setAttribute("openedPopups",i.replace("."+n,"")):~a||this._rootElement.setAttribute("openedPopups",i.concat("."+n))},r.prototype._subscribeFlyoutPopupManager=function(){var t=this;this._managerSubscriber={type:q.Popup,onPointerDown:function(e){e.target===document.getElementById(t._getId())&&t._forceClosePopup(e)},getComponent:function(){return t._popupElement}},te.getInstance().addSubscribers(this._managerSubscriber)},r.prototype.UNSAFE_componentWillMount=function(){this.props.isDialogPopup||this._registerPopup(this.props,this.state)},r.prototype.componentDidMount=function(){var t=this;this._popupElement=I.findDOMNode(this.refs.popup),this.forceUpdate(function(){var e=t.refs.staticContent;e&&I.findDOMNode(e).appendChild(t.props.content)}),this._subscribeFlyoutPopupManager()},r.prototype.UNSAFE_componentWillReceiveProps=function(){this.setState({forceClose:!1})},r.prototype.UNSAFE_componentWillUpdate=function(e,t){this._registerPopup(e,t);var n=this.refs.staticContent;if(n){for(var r=I.findDOMNode(n);r.firstChild;)r.removeChild(r.firstChild);r.appendChild(e.content)}},r.prototype.componentDidUpdate=function(e){this.props.createAccessibilityComponent&&e.rootPopupId!==this.props.rootPopupId&&console.warn("rootPopupId changed for ".concat(this._getId(),". Focus will not be managed for this popup."))},r.prototype.componentWillUnmount=function(){te.getInstance().removeSubscribers(this._managerSubscriber)},r.prototype._adjustPixelValue=function(e,t){if(!e||"number"==typeof e||-1===e.indexOf("px"))return e;e=e.substring(0,e.indexOf("px"));var n=t?this.props.rootBodyElement.getBoundingClientRect().width:this.props.rootBodyElement.getBoundingClientRect().height,r=t?this.props.rootBodyElement.offsetWidth:this.props.rootBodyElement.offsetHeight;return(Number.parseFloat(e)-(t?this.props.rootBodyElement.getBoundingClientRect().left:this.props.rootBodyElement.getBoundingClientRect().top))/(n/r)+"px"},r.prototype._generatePopupStyle=function(){var e=oe({},this.props.popupStyle);return!e.position||"absolute"!==e.position.toLowerCase()&&"fixed"!==e.position.toLowerCase()||this.props.rootBodyElement&&this.props.rootBodyElement!==document.body&&(e.left=this._adjustPixelValue(e.left,!0),e.right=this._adjustPixelValue(e.right,!0),e.top=this._adjustPixelValue(e.top,!1),e.bottom=this._adjustPixelValue(e.bottom,!1)),oe(oe({},e),this.props.isDialogPopup?{}:ce(this._isVisible(),e))},r.prototype.render=function(){var e,t,n=this.props,r=n.children,o=n.isDialogPopup,i=n.parent,a=n.shadowStyle,s=n.style,l=o?s:oe(oe(oe({},s),function(e,t){var n=oe({},e),r=t&&t.getBoundingClientRect();return r&&(n.top=parseInt(n.top,10)-r.top+"px",n.left=parseInt(n.left,10)-r.left+"px"),n}(a,i)),ce(this._isVisible(),a)),u=this._generatePopupStyle();this._applyRootNodeStyle();var c=((e={})[te.pointerDownEvent]=this._forceClosePopup,e),p=((t={})[te.pointerDownEvent]=this._stopPropagation,t);return ie.createElement(se,oe({id:this._getId(),style:l},c),ie.createElement(se,oe({style:u},p,{ref:"popup"}),this._getStaticContent(),this._getChildrenWithProps(r)),this._accessibilityComponent)},r}(ie.Component);pe.defaultProps={shadowStyle:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.3)"},isDialogPopup:!1,type:ue.Root,closeOnOutsideClick:!1};var de=function(){return(de=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},fe=function(){function e(e){this._popups={},this._host=e}return e.prototype._getKeyName=function(e){return{key:e}},e.prototype._createPopup=function(e){return ie.createElement(pe,Object(de(de(de({},e),this._getKeyName(e.name)),{createAccessibilityComponent:e.disableAutoAccessibility?null:this._host.props.actions.createAccessibilityComponent})))},e.prototype.createPopup=function(e){e.name&&(this._popups[e.name]=this._createPopup(e),this._host.forceUpdate())},e.prototype.openPopup=function(e){if(void 0===e&&(e=""),this._popups[e]){var t=this._popups[e].props;this._popups[e]=this._createPopup(de(de({},t),{popupToOpen:e})),this._host.forceUpdate()}},e.prototype.closePopup=function(e){if(void 0===e&&(e=""),this._popups[e]){var t=this._popups[e].props;this._popups[e]=this._createPopup(de(de({},t),{popupToOpen:""})),this._host.forceUpdate()}},e.prototype.updatePopup=function(e,t){if(void 0===e&&(e=""),this._popups[e]){var n=this._popups[e].props;this._popups[e]=this._createPopup(de(de({},n),t)),this._host.forceUpdate()}},e.prototype.deletePopup=function(e){void 0===e&&(e=""),this._popups[e]&&(delete this._popups[e],this._popupsId=void 0,this._host.forceUpdate())},e.prototype.getPopups=function(){var e=[];for(var t in this._popups)e.push(this._popups[t]);return e},e.prototype.setPopupsId=function(e){this._popupsId=e},e.prototype.getPopupsId=function(){return this._popupsId},e.prototype.renderPopups=function(){var e=this.getPopups(),t=this.getPopupsId();return e.length?ie.createElement(le,{id:t,parentCustomControlId:this._host.props.controlId,openPopup:this._host.props.actions.openPopup,closePopup:this._host.props.actions.closePopup,rootBodyElement:this._host.props.rootBodyElement,customZIndex:this._host.props.zIndexOverride,wrapElement:this._host.props.themePortalWrapper},e):null},e}(),he=function(){return(he=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},me=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},ye=function(){function a(e,t,n,r,o){var i=this;this.IsVirtualComponent=!0,this._type=e,this._componentId=t,this._properties=he({},n),this._children=[],null!=r&&("string"==typeof r||"number"==typeof r||r instanceof a||ie.isValidElement(r)?this._children=r:r instanceof Array&&(this._children=me([],r.filter(function(e){return"string"==typeof e||"number"==typeof e||e instanceof a||ie.isValidElement(e)}),!0))),(null==o?void 0:o.renderVirtualComponent)&&(this.render=function(){return o.renderVirtualComponent(i)})}return a.prototype.getVirtualRepresentation=function(e){return new a(this._type,this._componentId,Object.assign(this._properties,e),null)},a.prototype.getType=function(){return this._type},a.prototype.getComponentId=function(){return this._componentId},a.prototype.getProperties=function(){return this._properties},a.prototype.getChildren=function(){return this._children instanceof Array?me([],this._children,!0):this._children},a.prototype.setProperties=function(e){Object.assign(this._properties,e)},a.createComponent=function(e,t){for(var n,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];if(null==e)throw new Error("Component is null or undefined");switch(e.constructor.name){case"String":n=e;break;case"Number":n="number";break;default:if(e.prototype.isReactComponent)n=e.name,t=he({___ReactComponentType:e},t);else{if(!e.IsVirtualComponent)throw new Error("Unsupported component type: ".concat(e.constructor.name));n="VirtualComponent"}}return new a(n,t.id?t.id:"",t,r)},a}(),ge={},ve=window;ve.ComponentFramework=ve.ComponentFramework||{},ve.ComponentFramework.createComponent=ye.createComponent,ve.ComponentFramework.registerControl=function(e,t){ge[e]=t},ve.ComponentFramework.getRegisteredControl=function(e){var t;return null!==(t=ge[e])&&void 0!==t?t:null};var be,Ce,_e={createMarker:function(){},startStopwatch:function(){return function(){}},createRetroactiveStopwatch:function(){}},Se=new(function(){function e(){this._creator=null}return e.prototype.setPerformanceHooks=function(e,t,n,r,o){this._creator=e,this._addKpi=t,this._addKpiOnIdle=n,this._trackWork=r,this._scheduleControlUpdate=o},e.prototype.createPerformanceEvent=function(e,t,n){return void 0===t&&(t=3),void 0===n&&(n="CustomControlsFramework"),this._creator&&t>2?this._creator(e,n):_e},e.prototype.startLifecycleStopwatch=function(e,t,n,r){return this.createPerformanceEvent(e,void 0,"CustomControls").startStopwatch({controlId:t,manifestControlName:n,controlHostId:r})},e.prototype.addKeyPerformanceIndicator=function(e,t,n){this._addKpi&&this._addKpi(e,t,n)},e.prototype.addKeyPerformanceIndicatorOnIdle=function(e,t){this._addKpiOnIdle&&this._addKpiOnIdle(e,t)},e.prototype.trackWork=function(e){return this._trackWork?this._trackWork(e):function(){}},e.prototype.scheduleControlUpdate=function(e){this._scheduleControlUpdate?this._scheduleControlUpdate(e):e()},e}()),Pe=function(){function e(){}return e.AppliedFilters="AppliedFilters",e.BusinessProcessFlow="BusinessProcessFlow",e.Card="Card",e.Currency="Currency",e.Dashboard="Dashboard",e.DateAndTimeDateAndTime="DateAndTime.DateAndTime",e.DateAndTimeDateOnly="DateAndTime.DateOnly",e.Decimal="Decimal",e.EmailEngagementActions="emailengagementactionscontrol",e.EmailEngagementRecipientActivity="emailrecipientactivitycontrol",e.EntityNameOptionSet="EntityNameOptionSet",e.EnumType="Enum",e.File="File",e.FP="FP",e.GlobalFilter="GlobalFilter",e.Grid="Grid",e.Image="Image",e.KbArticle="KbArticle",e.KbContent="KbContent",e.LookupCustomer="Lookup.Customer",e.LookupMultiEntity="Lookup.MultiEntity",e.LookupOwner="Lookup.Owner",e.LookupPartyList="Lookup.PartyList",e.LookupRegarding="Lookup.Regarding",e.LookupSimple="Lookup.Simple",e.MainForm="Form.Main",e.MicrosoftFlow="MicrosoftFlow",e.Multiple="Multiple",e.MultiSelectPicklist="MultiSelectPicklist",e.Object="Object",e.OptionSet="OptionSet",e.PowerBI="PowerBI",e.QuickForm="Form.QuickForm",e.ReferencePanel="ReferencePanel",e.ReferencePanelSearchWidget="SearchWidget.ReferencePanelSearchWidget",e.Search="Search",e.SearchWidget="SearchWidget.SearchWidget",e.SingleLineAddress="SingleLine.Address",e.SingleLineEmail="SingleLine.Email",e.SingleLinePhone="SingleLine.Phone",e.SingleLineText="SingleLine.Text",e.SingleLineTextArea="SingleLine.TextArea",e.SingleLineTickerSymbol="SingleLine.Ticker",e.SingleLineURL="SingleLine.URL",e.SocialInsightsControl="SocialInsightsControl",e.StatusOptionSet="StatusOptionSet",e.TimelineWall="TimelineWall",e.Timer="Timer",e.TwoOptions="TwoOptions",e.WebResourceHtmlControl="WebResource.HTML",e.WholeDuration="Whole.Duration",e.WholeLanguage="Whole.Language",e.WholeNone="Whole.None",e.WholeTimeZone="Whole.TimeZone",e}(),Ie="CustomControlFramework",we=new(function(){function e(){}return e.prototype.reportUsage=function(e,t){var n={eventName:"uci_controlframework_usage",eventParameters:this.generateEventParams(e,null,t)};F&&F.Reporting&&F.Reporting.reportEvent&&F.Reporting.reportEvent(n)},e.prototype.reportEventFailure=function(e,t,n,r,o,i){var a,s,l=(null===(a=null==e?void 0:e.manifest)||void 0===a?void 0:a.ConstructorName)||(null===(s=null==e?void 0:e.configuration)||void 0===s?void 0:s.CustomControlId)||"Unknown";o&&"ControlFramework"===o&&(l=Ie+"."+l),F&&F.Reporting&&F.Reporting.reportFailure&&F.Reporting.reportFailure(l,t,r,this.generateEventParams(e,n,null,i))},e.prototype.reportEventSuccess=function(e,t){var n=e.manifest?e.manifest.ConstructorName:e.configuration.CustomControlId;n=Ie+"."+n,F&&F.Reporting&&F.Reporting.reportSuccess&&F.Reporting.reportSuccess(n,this.generateEventParams(e,t))},e.prototype.generateEventParams=function(e,t,n,r){var o=[],i={name:"ControlId",value:e&&e.manifest?e.manifest.CustomControlId:""},a={name:"APIName",value:t},s={name:"HostPage",value:e?e.pageType:""},l={name:"ResourceArrayLength",value:e&&e.manifest?e.manifest.Properties.Resources.length:""};if(o.push(i),o.push(s),o.push(l),n){var u={name:"ControlLoadStatus",value:n};o.push(u)}if(t&&o.push(a),e.propBagData){var c={name:"Entity",value:e.propBagData&&e.propBagData.modeData?e.propBagData.modeData.entityTypeName:null};o.push(c)}return r&&o.push.apply(o,r),o},e}()),xe="MscrmControls.Grid.PCFGridControl",Ee="Microsoft.PowerApps.PowerAppsOneGrid";!function(e){e[e.GridContainer=0]="GridContainer",e[e.DashboardContainer=1]="DashboardContainer",e[e.QuickCreateForm=2]="QuickCreateForm",e[e.FieldSectionContainer=3]="FieldSectionContainer",e[e.TimelineContainer=4]="TimelineContainer",e[e.ChartControl=5]="ChartControl",e[e.WebresourceControl=6]="WebresourceControl",e[e.DummyControl=7]="DummyControl",e[e.CalendarControl=8]="CalendarControl",e[e.FormControl=9]="FormControl"}(Ce||(Ce={}));var ke,Te,De,Fe={"MscrmControls.MultiSelectPicklist.UpdMSPicklistControl":"MscrmControls.MultiSelectPicklist.MultiSelectPicklistControl"},Oe=((be={})["MscrmControls.Grid.ReadOnlyGrid"]={newControlName:function(e,t){var n,r,o;return(null===(r=null===(n=F.Utils)||void 0===n?void 0:n.isDisruptiveFeatureEnabled)||void 0===r?void 0:r.call(n,"FCB.PAOneGrid"))||(null===(o=null==t?void 0:t.getIsFluentThemingEnabled)||void 0===o?void 0:o.call(t))?Ee:xe},enabled:function(e,t,n){var r,o,i,a=!!(null===(r=null==n?void 0:n.getIsFluentThemingEnabled)||void 0===r?void 0:r.call(n));return(null===(i=null===(o=F.Utils)||void 0===o?void 0:o.isDisruptiveFeatureEnabled)||void 0===i?void 0:i.call(o,"FCB.PAOneGrid"))||a?Le("grid"===e,a):Re("grid"===e,null==t?void 0:t.pcfDatasetGridEnabled,a)}},be[xe]={newControlName:function(){return Ee},enabled:function(e,t,n){var r;return Le("grid"===e,!!(null===(r=null==n?void 0:n.getIsFluentThemingEnabled)||void 0===r?void 0:r.call(n)))}},be["MscrmControls.FieldControls.CurrencyControl"]={newControlName:function(){return"PowerApps.CoreControls.NumericInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.DecimalNumberControl"]={newControlName:function(){return"PowerApps.CoreControls.NumericInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.FloatingPointNumberInput"]={newControlName:function(){return"PowerApps.CoreControls.NumericInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.WholeNumberControl"]={newControlName:function(){return"PowerApps.CoreControls.NumericInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.TextBoxControl"]={newControlName:function(){return"PowerApps.CoreControls.TextInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.EmailAddressControl"]={newControlName:function(e,t){return Be(e,t)?"PowerApps.DataValidationControls.SmartEmailInputControl":"PowerApps.CoreControls.ActionInput"},enabled:(ke="ModernInputControls",function(e,t,n){return!!Be(t,n)||Ue(ke,n)})},be["MscrmControls.FieldControls.PhoneNumberControl"]={newControlName:function(){return"PowerApps.CoreControls.ActionInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.TickerSymbolControl"]={newControlName:function(){return"PowerApps.CoreControls.ActionInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.UrlControl"]={newControlName:function(){return"PowerApps.CoreControls.ActionInput"},enabled:Ne("ModernInputControls")},be["MscrmControls.FieldControls.OptionSet"]={newControlName:function(){return"PowerApps.CoreControls.OptionSetControl"},enabled:Ne("ModernOptionSetControls")},be["MscrmControls.FieldControls.LanguagePickerControl"]={newControlName:function(){return"ModernOptionSetControls"},enabled:Ne("ModernOptionSetControls")},be["MscrmControls.FieldControls.TimeZonePickListControl"]={newControlName:function(){return"ModernOptionSetControls"},enabled:Ne("ModernOptionSetControls")},be),Me={};function Ae(e,t){Me[e]=t}function Re(e,t,n){var r,o,i,a,s;if((null===(r=F.Utils)||void 0===r?void 0:r.isFeatureEnabled("PcfDatasetGridMainGridOnly"))&&!e)return!1;if(void 0===Te){var l=3===F.Client.getFormFactor()||2===F.Client.getFormFactor(),u=window.navigator.userAgent.includes("Chrome/71")||window.navigator.userAgent.match("MSIE")||window.navigator.userAgent.match("Trident");Te=!(l||u||"off"===t&&!n)&&(!("on"!==t&&!(null===(o=F.Utils)||void 0===o?void 0:o.isFeatureEnabled("April2022Update")))||!(null===(i=F.Utils)||void 0===i?void 0:i.isFeatureEnabled("PcfDatasetGridSlowDeployment"))&&(null===(s=null===(a=F.Utils)||void 0===a?void 0:a.isDisruptiveFeatureEnabled)||void 0===s?void 0:s.call(a,"FCB.PcfDatasetGrid","FCB.October2021Update")))}return Te}function Le(e,t){var n,r,o;return!((null===(n=F.Utils)||void 0===n?void 0:n.isFeatureEnabled("PAOneGridMainGridOnly"))&&!e)&&(void 0===De&&(De=3!==F.Client.getFormFactor()&&2!==F.Client.getFormFactor()&&((null===(o=null===(r=F.Utils)||void 0===r?void 0:r.isDisruptiveFeatureEnabled)||void 0===o?void 0:o.call(r,"FCB.PAOneGrid"))||t)),De)}function Ne(r){return function(e,t,n){return Ue(r,n)}}function Be(e,t){return(null==e?void 0:e.isEmailAddressValidationEnabled)&&(null==t?void 0:t.getAppSetting("IsSmartEmailAddressValidationControlEnabled"))}function Ue(e,t){var n,r,o;return(null===(r=null===(n=F.Utils)||void 0===n?void 0:n.isFeatureEnabled)||void 0===r?void 0:r.call(n,e))&&(null===(o=null==t?void 0:t.getIsFluentThemingEnabled)||void 0===o?void 0:o.call(t))}function Ve(e,t,n){var r,o,i,a,s;if(e===Pe.MultiSelectPicklist)return"MscrmControls.MultiSelectPicklist.UpdMSPicklistControl";if((null===(o=null===(r=null==F?void 0:F.Utils)||void 0===r?void 0:r.isFeatureEnabled)||void 0===o?void 0:o.call(r,"ModernOptionSetControls"))&&(null===(i=null==t?void 0:t.getIsFluentThemingEnabled)||void 0===i?void 0:i.call(t)))return e===Pe.TwoOptions&&"checkbox"===(null==n?void 0:n.Value)&&(null===(s=null===(a=null==F?void 0:F.Utils)||void 0===a?void 0:a.isFeatureEnabled)||void 0===s?void 0:s.call(a,"ModernCheckboxControl"))?"PowerApps.CoreControls.Checkbox":"PowerApps.CoreControls.OptionSetControl";switch(e){case Pe.TwoOptions:return"MscrmControls.FieldControls.CheckboxControl";case Pe.WholeLanguage:return"MscrmControls.FieldControls.LanguagePickerControl";case Pe.OptionSet:return"MscrmControls.FieldControls.OptionSet";case Pe.StatusOptionSet:return"MscrmControls.FieldControls.PicklistStatusControl";case Pe.WholeTimeZone:return"MscrmControls.FieldControls.TimeZonePickListControl"}}function He(e,t,n){return Le(e,n)?Ee:Re(e,t,n)?xe:"MscrmControls.Grid.ReadOnlyGrid"}function je(e,t,n,r,o,i,a,s){var l,u,c;switch(e){case Pe.Currency:case Pe.Decimal:case Pe.FP:case Pe.Multiple:case Pe.SingleLineEmail:case Pe.SingleLinePhone:case Pe.SingleLineText:case Pe.SingleLineTickerSymbol:case Pe.SingleLineURL:case Pe.WholeNone:u=function(e,t,n,r){var o,i,a=Ue("ModernInputControls",r);switch(e){case Pe.Currency:return a?"PowerApps.CoreControls.NumericInput":"MscrmControls.FieldControls.CurrencyControl";case Pe.Decimal:return a?"PowerApps.CoreControls.NumericInput":"MscrmControls.FieldControls.DecimalNumberControl";case Pe.SingleLineEmail:return Be(n,r)?"PowerApps.DataValidationControls.SmartEmailInputControl":a?"PowerApps.CoreControls.ActionInput":"MscrmControls.FieldControls.EmailAddressControl";case Pe.FP:return a?"PowerApps.CoreControls.NumericInput":"MscrmControls.FieldControls.FloatingPointNumberInput";case Pe.SingleLinePhone:return a?"PowerApps.CoreControls.ActionInput":"MscrmControls.FieldControls.PhoneNumberControl";case Pe.SingleLineText:case Pe.Multiple:return"RichText"===(null==t?void 0:t.FormatName)?(null===(o=null==F?void 0:F.Utils)||void 0===o?void 0:o.isFeatureEnabled("ReplaceRTEv1WithRTEv2"))&&(null==r?void 0:r.getAppSetting("msdyn_RTEv2DefaultConfig"))&&(null===(i=null==r?void 0:r.getIsFluentThemingEnabled)||void 0===i?void 0:i.call(r))?"MscrmControls.RichTextEditorV2.RichTextEditorControlV2":"MscrmControls.RichTextEditor.RichTextEditorControl":a?"PowerApps.CoreControls.TextInput":"MscrmControls.FieldControls.TextBoxControl";case Pe.SingleLineTickerSymbol:return a?"PowerApps.CoreControls.ActionInput":"MscrmControls.FieldControls.TickerSymbolControl";case Pe.SingleLineURL:return a?"PowerApps.CoreControls.ActionInput":"MscrmControls.FieldControls.UrlControl";case Pe.WholeNone:return a?"PowerApps.CoreControls.NumericInput":"MscrmControls.FieldControls.WholeNumberControl"}}(e,t,i,a);break;case Pe.TwoOptions:u=Ve(e,a,null==s?void 0:s.twoOptionRenderParam);break;case Pe.WholeLanguage:case Pe.OptionSet:case Pe.StatusOptionSet:case Pe.WholeTimeZone:case Pe.MultiSelectPicklist:u=Ve(e,a);break;case Pe.WholeDuration:u="MscrmControls.FieldControls.DurationControl";break;case Pe.LookupPartyList:case Pe.LookupRegarding:case Pe.LookupSimple:case Pe.LookupOwner:case Pe.LookupCustomer:case Pe.LookupMultiEntity:u=function(e,t){var n,r;return e===Pe.LookupSimple&&t&&t.Targets&&1===t.Targets.length&&"subject"===t.Targets[0]?(null===(r=null===(n=F.Utils)||void 0===n?void 0:n.isDisruptiveFeatureEnabled)||void 0===r?void 0:r.call(n,"FCB.SubjectTreeDefaultOn","FCB.October2023Update"))?"MscrmControls.CustomerService.EnhancedSubjectTreeViewControl":"MscrmControls.FieldControls.SubjectTreeControl":"MscrmControls.FieldControls.SimpleLookupControl"}(e,t);break;case Pe.DateAndTimeDateOnly:case Pe.DateAndTimeDateAndTime:u="MscrmControls.FieldControls.DateTimeControl";break;case Pe.Grid:if(J(n)||J(r))u="MscrmControls.Grid.ReadOnlyGrid";else{var p=!!(null===(l=null==a?void 0:a.getIsFluentThemingEnabled)||void 0===l?void 0:l.call(a));u=n?He(n,r,p):function(e,t,n){return"sharepointdocument"===e?"MscrmControls.SharepointAssociatedGrid.SharepointControl":"connection"===e?"MscrmControls.Grid.GridControl":He(!1,t,n)}(o,r,p)}break;case"SearchWidget":case"SearchWidget.SearchWidget":case"ReferencePanelSearchWidget":u="MscrmControls.KbSearchControl.KbSearchControl";break;case Pe.KbArticle:u="MscrmControls.KbArticleControl.KbArticleControl";break;case Pe.KbContent:u="MscrmControls.KbContentControl.KbContentControl";break;case Pe.Timer:u="MscrmControls.FieldControls.TimerControl";break;case Pe.SingleLineAddress:u="MscrmControls.Map.MapControl";break;case Pe.File:u="MscrmControls.FieldControls.FileControl";break;case Pe.Image:u="MscrmControls.FieldControls.ImageControl";break;case Pe.SingleLineTextArea:default:u="MscrmControls.FieldControls.DummyControl"}return c=u,u=Me.hasOwnProperty(c)?Me[c]:c}var We;function ze(e,t,n){if(n)return n;if(!t)return t;var r=Ge(e);return(r?r+"-":"")+t}function Ge(e){if(e.configuration&&"MscrmControls.Containers.FieldSectionItem"===e.configuration.CustomControlId)return function(e){return e.descriptor.DomId+"-"+e.descriptor.Id}(e);var t="";return e.descriptor&&(t=e.descriptor.DomId?e.descriptor.DomId:""),(t?t+"-":"")+((e.controlId?e.controlId:"")||"")}function Ke(e,t){var n=e&&e.controlId?e.controlId:"";return t?(n?n+"-":"")+t:n||""}function qe(e,t,n){var r=Qe(e,t,n);if(r&&null!==r){var o=document.getElementById(r);o&&null!==o&&o.focus()}}function Qe(e,t,n){if(t)return!0===n?t:ze(e,t)}function $e(e,t){var n=t.organizationUniqueName?t.organizationUniqueName:"";return!!t.usePathBasedUrls&&t.usePathBasedUrls&&n?"/"+n+e:e}function Ye(o,t,e,n,i,r){if(i){var a=i.entityType||i.entityName||i.LogicalName,s=i.id||i.Id&&i.Id.toString(),l=function(e,t){var n=t&&e.dynamicData?e.dynamicData.parameters[t]:null;return e.actions&&e.actions.getRecordSetQueryKey&&null!==n?e.actions.getRecordSetQueryKey(n):null}(o,e),u=function(){var t,e,n;try{var r={entityName:a,entityId:s,recordSetQueryKey:l};if(null===(e=null===(t=null==o?void 0:o.parentDefinedControlProps)||void 0===t?void 0:t.propertyBagOverrides)||void 0===e?void 0:e.openForm)o.parentDefinedControlProps.propertyBagOverrides.openForm(r,null,o.id);else{if(!r.entityName)throw new Error("EntityName was not passed in to method, cannot call openForm");F.openForm(r,null,o.id)}}catch(t){try{(null===(n=o.propBagMethods.navigation)||void 0===n?void 0:n.openEditForm)&&o.propBagMethods.navigation.openEditForm(i,null,null,null,null,o.id)}catch(e){F.Reporting.reportFailure(Ie+".Utilities",t,"propBagMethods.navigation.openEditForm failed",[{name:"APIName",value:Ie+".Utilities.CustomControlHelper.openDatasetItemAction"}])}F.Reporting.reportFailure(Ie+".Utilities",t,"XrmProxyInstance.openForm failed",[{name:"APIName",value:Ie+"Utilities.CustomControlHelper.openFormAction"}])}};a!==t.getTargetEntityType()&&"activitypointer"!==t.getTargetEntityType()||!t.records.hasOwnProperty(s)?u():F.Utils.isFeatureEnabled("GridOverrideOpenRecord")&&n?n(o.id,a,s,o.contextToken).then(function(e){e?F.Reporting.reportSuccess(Ie+".Utilities",[{name:"hasCustomOpenAction",value:e},{name:"entityName",value:a},{name:"APIName",value:Ie+".Utilities.CustomControlHelper.runCustomOpenRecord"}]):c()},function(e){F.Reporting.reportFailure(Ie+".Utilities",e,"runCustomOpenRecord failed",[{name:"APIName",value:Ie+".Utilities.CustomControlHelper.runCustomOpenRecord"},{name:"entityName",value:a}])}):c()}function c(){if(t.retrieveRecordCommand){var e=r&&r.CommandButtonId?r.CommandButtonId:"Mscrm.OpenRecordItem";t.retrieveRecordCommand([s],[e],!1,!1,!1).then(function(e){e&&e.length>0?e[0].execute():u()},function(){u()})}else u()}}function Ze(e){var t,n=Ge(e).split("-");for(t=0;t<n.length-1;t++)if("id"!==n[t]&&isNaN(Number(n[t])))return n[t];return""}function Xe(e,t){t||(t=function(e){return e});var n="";if(J(e)||(J(e.filters)||0===e.filters.length)&&(J(e.conditions)||0===e.conditions.length))return n;if(!J(e.conditions)&&e.conditions.length>0){n+='<filter type="'+Je(e.filterOperator)+'"',n+=">";for(var r=0;r<e.conditions.length;r++){var o=e.conditions[r];if(n+="<condition ",ee(o.entityAliasName)||(n+='entityname="'+o.entityAliasName+'" '),null==o.value)n+='attribute="'+o.attributeName+'" operator="'+et(o.conditionOperator)+'"/>';else if("string"==typeof o.value||"number"==typeof o.value)n+='attribute="'+o.attributeName+'" operator="'+et(o.conditionOperator)+'" value="'+t(o.value)+'" />';else{var i=o.value;n+='attribute="'+o.attributeName+'" operator="'+et(o.conditionOperator)+'">';for(var a=0;a<i.length;a++)n+="<value>"+t(i[a])+"</value>";n+="</condition>"}}n+="</filter>"}else{e.filters.length>0&&(n+='<filter type="'+Je(e.filterOperator)+'">');for(r=0;r<e.filters.length;r++)n+=Xe(e.filters[r],t);e.filters.length>0&&(n+="</filter>")}return n}function Je(e){switch(e){case 0:return"and";case 1:return"or"}}function et(e){switch(e){case 0:return"eq";case 1:return"ne";case 2:return"gt";case 3:return"lt";case 4:return"ge";case 5:return"le";case 6:return"like";case 7:return"not-like";case 8:return"in";case 9:return"not-in";case 10:return"between";case 11:return"not-between";case 12:return"null";case 13:return"not-null";case 14:return"yesterday";case 15:return"today";case 16:return"tomorrow";case 17:return"last-seven-days";case 18:return"next-seven-days";case 19:return"last-week";case 20:return"this-week";case 21:return"next-week";case 22:return"last-month";case 23:return"this-month";case 24:return"next-month";case 25:return"on";case 26:return"on-or-before";case 27:return"on-or-after";case 28:return"last-year";case 29:return"this-year";case 30:return"next-year";case 31:return"last-x-hours";case 32:return"next-x-hours";case 33:return"last-x-days";case 34:return"next-x-days";case 35:return"last-x-weeks";case 36:return"next-x-weeks";case 37:return"last-x-months";case 38:return"next-x-months";case 39:return"last-x-years";case 40:return"next-x-years";case 41:return"eq-userid";case 42:return"ne-userid";case 43:return"eq-businessid";case 44:return"ne-businessid";case 49:return"contain-values";case 51:return"eq-userlanguage";case 53:return"olderthan-x-months";case 54:return"begins-with";case 55:return"not-begin-with";case 56:return"ends-with";case 57:return"not-end-with";case 58:return"this-fiscal-year";case 59:return"this-fiscal-period";case 60:return"next-fiscal-year";case 61:return"next-fiscal-period";case 62:return"last-fiscal-year";case 63:return"last-fiscal-period";case 64:return"last-x-fiscal-years";case 65:return"last-x-fiscal-periods";case 66:return"next-x-fiscal-years";case 67:return"next-x-fiscal-periods";case 68:return"in-fiscal-year";case 69:return"in-fiscal-period";case 70:return"in-fiscal-period-and-year";case 71:return"in-or-before-fiscal-period-and-year";case 72:return"in-or-after-fiscal-period-and-year";case 73:return"eq-userteams";case 74:return"eq-useroruserteams";case 75:return"above";case 76:return"under";case 77:return"not-under";case 78:return"eq-or-above";case 79:return"eq-or-under";case 80:return"eq-useroruserhierarchy";case 81:return"eq-useroruserhierarchyandteams";case 82:return"olderthan-x-years";case 83:return"olderthan-x-weeks";case 84:return"olderthan-x-days";case 85:return"olderthan-x-hours";case 86:return"olderthan-x-minutes";case 87:return"contain-values";case 88:return"not-contain-values"}}function tt(e){var t,n,r=function(e){if(e&&e.Parameters)for(var t in e.Parameters)if(e.Parameters[t]&&(e.Parameters[t].Type===Pe.QuickForm||e.Parameters[t].Type===Pe.MainForm)&&e.Parameters[t].Primary)return t;return"value"}(e.configuration),o=e.dynamicData.parameters[r];if(o&&o.getLatestData){var i=o.getLatestData();t=i?i.entityName:nt(e.configuration,1),n=i?i.recordId:function(e){return nt(e,2)}(e.configuration)}return{recordId:n,entityTypeName:t}}function nt(e,t){var n;if(e&&e.Parameters&&e.Parameters.value){var r=e.Parameters.value,o=r.Value?r.Value.split("|"):null;o&&o.length>t&&(n=o[t])}return n}var rt={},ot=function(){function e(e){this._commandManagerPromises={},this._commandManagerIds=[],this._memoizedProps={},this._datasetWrappers={},this._ownProps=e,this._commandManagerId="".concat(e.id,":").concat(e.controlId),this._externalCommandManagerId=e.externalCommandManagerId,this._externalCommandManagerPromise=e.externalCommandPromise,this._createCommandManagerUXComponent=e.actions.createCommandManagerUXComponent(),rt[this._commandManagerId]=this}return e.prototype.addDataSetWrapper=function(e){var t,n,r=null===(n=(t=e.getLatestData()).getViewId)||void 0===n?void 0:n.call(t);r=r?r.toLowerCase():"";var o="".concat(r,":").concat(e.getEntityTypeName());this._datasetWrappers[o]=e},e.prototype.retrieveRecordCommandForDatasetWrapper=function(e,t,n,r,o,i,a){var s=this,l="".concat(this._commandManagerId,":").concat(t),u=this._ownProps.contextToken,c=this._ownProps&&this._ownProps.manifest&&this._ownProps.manifest.ConstructorName?this._ownProps.manifest.ConstructorName:null,p=this._ownProps.id;if(!t)return F.Diagnostics.traceError(Ie+".Models.CommandingWrapper","Entity Type Name is undefined"),Promise.reject("Entity Type Name is undefined");if(this._externalCommandManagerId)return this._externalCommandInitialized?this._ownProps.actions.retrieveRecordCommand(e,this._externalCommandManagerId,u,n,r,o,i,c,a,p):this._externalCommandManagerPromise.then(function(){return s._externalCommandInitialized=!0,s._ownProps.actions.retrieveRecordCommand(e,s._externalCommandManagerId,u,n,r,o,i,c,a,p)},function(){var e=new Error("Command bar initialization failed");throw F.Reporting.reportFailure(Ie+".Models",e,"Rejected promise",[{name:"etn",value:t},{name:"commandManagerId",value:s._commandManagerId},{name:"APIName",value:Ie+".Models.CommandingWrapper.retrieveRecordCommandForDatasetWrapper"}]),e});if(this._commandManagerPromises[t]&&this._commandManagerPromises[t].promise)return this._commandManagerPromises[t].promise.then(function(){return s._ownProps.actions.retrieveRecordCommand(e,l,u,n,r,o,i,c,a,p)});if(this._commandManagerIds.indexOf(l)>-1)return this._ownProps.actions.retrieveRecordCommand(e,l,u,n,r,o,i,c,a,p);var d=Se.createPerformanceEvent("CommandingWrapper.CreateCommandManager").startStopwatch({controlId:this._ownProps.controlId,commandManagerId:l}),f=this._ownProps.actions.initializeCommandManager(p,this._ownProps.contextToken,this._ownProps.controlId,l);return this._commandManagerPromises[t]=f,f.promise.then(function(){return d(),s._commandManagerPromises[t]=null,s._ownProps.actions.retrieveRecordCommand(e,l,u,n,r,o,i,c,a,p)})},e.prototype.retrieveRecordCommand=function(e,t,n,r,o,i,a){var s=this._datasetWrappers["".concat(e?e.toLowerCase():"",":").concat(t)];if(!s)return F.Diagnostics.traceError(Ie+".retrieveRecordCommand","No associated dataset, promise rejected"),Promise.reject(0);var l=s.getLatestData().records;return this.retrieveRecordCommandForDatasetWrapper(l,t,n,r,o,i,a)},e.prototype.getRibbonId=function(e,t,n){return("form"!==t.toLowerCase()&&"editform"!==t.toLowerCase()?"HomePageGrid:":n?"SubGridAssociated:":"SubGridStandard:")+e},e.prototype.getDefaultConfigParameters=function(e){if(e.configuration&&e.configuration.Parameters){var t=e.configuration.Parameters;for(var n in t){var r=t[n];if(r.Type===Pe.Grid||r.Type===Pe.TimelineWall)return r}}},e.prototype.populateCommandManagerProps=function(e,t,n){var r=this.getDefaultConfigParameters(t),o=n||(r?r.TargetEntityType||r.EntityName:null),i=r?!!r.RelationshipName:null;if(e.id=t.id,void 0===e.ribbonId)if(t.formInfo&&t.formInfo.RibbonId)e.ribbonId=t.formInfo.RibbonId;else{var a=t.pageType.toLowerCase();e.ribbonId=this.getRibbonId(o,a,i)}e.commandManagerId=e.commandManagerId||"".concat(this._commandManagerId,":").concat(o),e.key=e.key||"".concat(this._ownProps.controlId,"-").concat(o,"-commandbar"),e.mainMenuLength=e.mainMenuLength||3,e.contextToken=e.contextToken||t.contextToken,e.customControlType=this._ownProps&&this._ownProps.manifest&&this._ownProps.manifest.ConstructorName?this._ownProps.manifest.ConstructorName:null},e.prototype.createCommandBar=function(e){return this._commandManagerIds.push(e.commandManagerId),this._createCommandManagerUXComponent(e)},e.prototype.createHiddenCommandManager=function(e,t){var n,r=e.split(":")[2];return this._memoizedProps[e]?n=this._memoizedProps[e]:(n={},this._memoizedProps[e]=n,n.isHidden=!0,n.ribbonId=t,n.metaDataLoadedResolve=this._commandManagerPromises[r]&&this._commandManagerPromises[r].resolve,this.populateCommandManagerProps(n,this._ownProps,r)),this.createCommandBar(n)},e.getWrapperByCommandManagerId=function(e){return rt[e]},e.prototype.getCommandManagerId=function(){return this._commandManagerId},e.prototype.linkParameterMethod=function(e){e.retrieveRecordCommand=this.retrieveRecordCommandForDatasetWrapper.bind(this,e.records,e.getTargetEntityType())},e.prototype.unmount=function(){delete rt[this._commandManagerId]},e}(),it=function(){function e(){}return e.registerToLearningPath=function(e,t,n){e&&t&&n&&e.getAttribute(t)!==n&&e.setAttribute(t,n)},e.getLearningPathControlId=function(e){if(!e.configuration)return null;var t=e.configuration.CustomControlId+"|"+e.controlId;switch(e.personalizationConfiguration&&(t+="|"+e.personalizationConfiguration.entityTypeName),function(e){switch(e){case"MscrmControls.Grid.ReadOnlyGrid":case xe:case Ee:case"MscrmControls.Grid.GridControl":return Ce.GridContainer;case"MscrmControls.Containers.DashboardControl":return Ce.DashboardContainer;case"MscrmControls.Containers.QuickForm":return Ce.QuickCreateForm;case"MscrmControls.Containers.FieldSectionItem":return Ce.FieldSectionContainer;case"MscrmControls.TimelineWallControl.TimelineWall":return Ce.TimelineContainer;case"MscrmControls.Chart.ChartControl":return Ce.ChartControl;case"MscrmControls.WebResource.WebResourceHtmlControl":return Ce.WebresourceControl;case"MscrmControls.Calendar.CalendarControl":return Ce.CalendarControl;case"MscrmControls.FieldControls.DummyControl":return Ce.DummyControl}}(e.configuration.CustomControlId)){case Ce.GridContainer:case Ce.ChartControl:case Ce.CalendarControl:t+=function(e){var t="",n=e.configuration.Parameters;for(var r in n){var o=n[r];if(o.Type===Pe.Grid){var i=o;i.ViewId&&(t+="|"+i.ViewId),i.VisualizationId&&(t+="|"+i.VisualizationId),i.EntityName&&(t+="|"+i.EntityName),i.RelationshipName&&(t+="|"+i.RelationshipName)}}return t}(e);break;case Ce.DashboardContainer:case Ce.QuickCreateForm:e.personalizationConfiguration&&e.personalizationConfiguration.formGuid&&(t+="|"+e.personalizationConfiguration.formGuid.guid);break;case Ce.WebresourceControl:t+=function(e){var t="",n=e.configuration.Parameters;for(var r in n){var o=n[r];if(o.Type===Pe.WebResourceHtmlControl)t+="|"+o.ControlId}return t}(e);break;case Ce.FieldSectionContainer:case Ce.TimelineContainer:case Ce.DummyControl:}return t},e.LEARNING_PATH_ATTRIBUTE="data-lp-id",e}();var at,st,lt=function(){function e(e,t){this._externalUtils=t,this._controlId=e.controlId}return e.prototype.addControlId=function(e){null==e&&(e=[]);var t={name:"CustomControlId",value:this._controlId};return e.push(t),e},e.prototype.reportSuccess=function(e,t){return this._externalUtils.xrmProxy.Reporting.reportSuccess(e,this.addControlId(t))},e.prototype.reportFailure=function(e,t,n,r){return this._externalUtils.xrmProxy.Reporting.reportFailure(e,t,n,this.addControlId(r))},e.prototype.reportEvent=function(e){var t=this.addControlId([]);return e.eventParameters.push(t[0]),this._externalUtils.xrmProxy.Reporting.reportEvent(e)},e}(),ut=function(){function e(){}return e.localeFormat=function(e,t,n){return pt(e,t,n)},e}();function ct(e,t){return e[t]}function pt(e,t,n){if(!t||0===t.length||"i"===t)return n&&n.name.length>0?ut.toLocaleString():ut.toString();function m(e,t,n){for(var r=e.length;r<t;r++)e=n?"0".concat(e):"".concat(e,"0");return e}function r(e,t,n,r,o){var i=n[0],a=1,s=Math.pow(10,t),l=Math.round(e*s)/s;isFinite(l)||(l=e);var u,c=(e=l).toString(),p="",d=c.split(/e/i);c=d[0],u=d.length>1?parseInt(d[1],10):0,d=c.split("."),c=d[0],p=d.length>1?d[1]:"",u>0?(c+=(p=m(p,u,!1)).slice(0,u),p=p.substr(u)):u<0&&(p=(c=m(c,(u=-u)+1,!0)).slice(-u,c.length)+p,c=c.slice(0,-u)),p=t>0?o+(p=p.length>t?p.slice(0,t):m(p,t,!1)):"";for(var f=c.length-1,h="";f>=0;){if(0===i||i>f)return h.length>0?c.slice(0,f+1)+r+h+p:c.slice(0,f+1)+p;h=h.length>0?c.slice(f-i+1,f+1)+r+h:c.slice(f-i+1,f+1),f-=i,a<n.length&&(i=n[a],a++)}return c.slice(0,f+1)+r+h+p}var o=n.numberFormat,i=Math.abs(e).toString();t||(t="D");var a,s=-1;switch(t.length>1&&(s=parseInt(t.slice(1),10)),t.charAt(0)){case"d":case"D":a="n",-1!==s&&(i=m("".concat(i),s,!0)),e<0&&(i=(-i).toString());break;case"c":case"C":a=e<0?["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"][ct(o,"CurrencyNegativePattern")]:["$n","n$","$ n","n $"][ct(o,"CurrencyPositivePattern")],-1===s&&(s=ct(o,"CurrencyDecimalDigits")),i=r(Math.abs(e),s,ct(o,"CurrencyGroupSizes"),ct(o,"CurrencyGroupSeparator"),ct(o,"CurrencyDecimalSeparator"));break;case"n":case"N":a=e<0?["(n)","-n","- n","n-","n -"][ct(o,"NumberNegativePattern")]:"n",-1===s&&(s=ct(o,"NumberDecimalDigits")),i=r(Math.abs(e),s,ct(o,"NumberGroupSizes"),ct(o,"NumberGroupSeparator"),ct(o,"NumberDecimalSeparator"));break;case"p":case"P":a=e<0?["-n %","-n%","-%n"][ct(o,"PercentNegativePattern")]:["n %","n%","%n"][ct(o,"PercentPositivePattern")],-1===s&&(s=ct(o,"PercentDecimalDigits")),i=r(100*Math.abs(e),s,ct(o,"PercentGroupSizes"),ct(o,"PercentGroupSeparator"),ct(o,"PercentDecimalSeparator"));break;default:throw Error("Res.formatBadFormatSpecifier")}for(var l=/n|\$|-|%/g,u="";;){var c=l.lastIndex,p=l.exec(a);if(u+=a.slice(c,p?p.index:a.length),!p)break;switch(p[0]){case"n":u+=i;break;case"$":u+=ct(o,"CurrencySymbol");break;case"-":/[1-9]/.test(i)&&(u+=ct(o,"NegativeSign"));break;case"%":u+=ct(o,"PercentSymbol");break;default:throw Error("Invalid number format pattern")}}return u}!function(e){e.date="date",e.dateonly="dateonly",e.datetime="datetime",e.dateandtime="dateandtime"}(at||(at={})),function(e){e.connection="connection",e.date="date",e.dateTime="datetime",e.duration="duration",e.email="email",e.language="language",e.none="none",e.phone="phone",e.regarding="regarding",e.text="text",e.textArea="textarea",e.tickerSymbol="tickersymbol",e.timeZone="timezone",e.url="url"}(st||(st={}));var dt=String.fromCharCode(41);function ft(e,t,n){return ut.localeFormat(e,"N"+(null!=n?n:function(e){return mt(e,"NumberDecimalDigits")}(t)),t)}function ht(e,t,n){var r=Math.abs(e);return function(e){switch(e){case 1:return"-{0}";case 2:return"-"+dt+"{0}";case 3:return"{0}-";case 4:return"{0}"+dt+"-";default:return"({0})"}}(mt(t,"NumberNegativePattern")).replace("{0}",ft(r,t,n))}function mt(e,t){return e.numberFormat[t]}function yt(e,t,n){var r=n;if(null==r){var o=function(e){return mt(e,"CurrencyDecimalDigits")}(t);null==r&&(r=o)}return ut.localeFormat(e,"C"+r,t)}function gt(e){return bt(e,"ShortDatePattern","DateSeparator","/")}function vt(e){return bt(e,"ShortTimePattern","TimeSeparator",":")}function bt(e,t,n,r){return e.dateTimeFormat[t].toString().replace(new RegExp(r,"g"),e.dateTimeFormat[n].toString())}var Ct=function(){function e(e){this._text="",e&&(this._text=e.toString())}return e.prototype.append=function(e){this._text+=e},e.prototype.toString=function(){return this._text},e}(),_t=function(){function e(){}return e.localeFormat=function(e,t,n){return function e(t,n,r){var o=r.dateTimeFormat,i=St(o,"Calendar").convert;if(!n||!n.length||"i"===n){if(r&&r.name.length){if(i)return e(t,St(o,"FullDateTimePattern"),r);var a=new Date(t.getTime()),s=wt(t,St(o,"eras"));return a.setFullYear(xt(t,o,s)),a.toLocaleString()}return t.toString()}var l=St(o,"eras"),u="s"===n;n=It(o,n);var c,p,d,f=new Ct;function h(e){return e<10?"0".concat(e):e.toString()}function m(e){return e<10?"00".concat(e):e<100?"0".concat(e):e.toString()}var y=/([^d]|^)(d|dd)([^d]|$)/g;function g(){return p||d||(p=y.test(n),d=!0),p}var v,b=0,C=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g;!u&&i&&(v=i.fromGregorian(t));function _(e,t){if(v)return v[t];switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate()}}for(;;){var S=C.lastIndex,P=C.exec(n),I=n.slice(S,P?P.index:n.length);if(b+=Pt(I,f),!P)break;if(b%2!=1)switch(P[0]){case"dddd":f.append(St(o,"DayNames")[t.getDay()]);break;case"ddd":f.append(St(o,"AbbreviatedDayNames")[t.getDay()]);break;case"dd":p=!0,f.append(h(_(t,2)));break;case"d":p=!0,f.append(_(t,2).toString());break;case"MMMM":f.append(St(o,"MonthGenitiveNames")&&g()?St(o,"MonthGenitiveNames")[_(t,1)]:St(o,"MonthNames")[_(t,1)]);break;case"MMM":f.append(St(o,"AbbreviatedMonthGenitiveNames")&&g()?St(o,"AbbreviatedMonthGenitiveNames")[_(t,1)]:St(o,"AbbreviatedMonthNames")[_(t,1)]);break;case"MM":f.append(h(_(t,1)+1));break;case"M":f.append((_(t,1)+1).toString());break;case"yyyy":f.append((w=v?v[0]:xt(t,o,wt(t,l),u))<10?"000".concat(w):w<100?"00".concat(w):w<1e3?"0".concat(w):w.toString());break;case"yy":f.append(h((v?v[0]:xt(t,o,wt(t,l),u))%100));break;case"y":f.append(v?v[0].toString():(xt(t,o,wt(t,l),u)%100).toString());break;case"hh":0===(c=t.getHours()%12)&&(c=12),f.append(h(c));break;case"h":0===(c=t.getHours()%12)&&(c=12),f.append(c.toString());break;case"HH":f.append(h(t.getHours()));break;case"H":f.append(t.getHours().toString());break;case"mm":f.append(h(t.getMinutes()));break;case"m":f.append(t.getMinutes().toString());break;case"ss":f.append(h(t.getSeconds()));break;case"s":f.append(t.getSeconds().toString());break;case"tt":f.append(t.getHours()<12?St(o,"AMDesignator"):St(o,"PMDesignator"));break;case"t":f.append((t.getHours()<12?St(o,"AMDesignator"):St(o,"PMDesignator")).charAt(0));break;case"f":f.append(m(t.getMilliseconds()).charAt(0));break;case"ff":f.append(m(t.getMilliseconds()).substr(0,2));break;case"fff":f.append(m(t.getMilliseconds()));break;case"z":c=t.getTimezoneOffset()/60,f.append((c<=0?"+":"-")+Math.floor(Math.abs(c)));break;case"zz":c=t.getTimezoneOffset()/60,f.append((c<=0?"+":"-")+h(Math.floor(Math.abs(c))));break;case"zzz":c=t.getTimezoneOffset()/60,f.append("".concat((c<=0?"+":"-")+h(Math.floor(Math.abs(c))),":").concat(h(Math.abs(t.getTimezoneOffset()%60))));break;case"g":case"gg":St(o,"eras")&&f.append(St(o,"eras")[wt(t,l)+1]);break;case"/":f.append(St(o,"DateSeparator"));break;default:throw Error("Invalid date format pattern")}else f.append(P[0])}var w;return f.toString()}(e,t,n)},e.parse=function(e,t,n){e=e.trim();var r=n.dateTimeFormat,o=function(e,t){var n=It(e,t);n=n.replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");var r,o=new Ct("^"),i=[],a=0,s=0,l=/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g;for(;null!==(r=l.exec(n));){var u=n.slice(a,r.index);if(a=l.lastIndex,(s+=Pt(u,o))%2!=1){switch(r[0]){case"dddd":case"ddd":case"MMMM":case"MMM":case"gg":case"g":o.append("(\\D+)");break;case"tt":case"t":o.append("(\\D*)");break;case"yyyy":o.append("(\\d{4})");break;case"fff":o.append("(\\d{3})");break;case"ff":o.append("(\\d{2})");break;case"f":o.append("(\\d)");break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":o.append("(\\d\\d?)");break;case"zzz":o.append("([+-]?\\d\\d?:\\d{2})");break;case"zz":case"z":o.append("([+-]?\\d\\d?)");break;case"/":o.append("(\\".concat(St(e,"DateSeparator"),")"));break;default:throw Error("Invalid date format pattern")}i.push(r[0])}else o.append(r[0])}return Pt(n.slice(a),o),o.append("$"),{regExp:o.toString().replace(/\s+/g,"\\s+"),groups:i}}(r,t),i=new RegExp(o.regExp).exec(e);if(null===i)return null;for(var a,s=o.groups,l=null,u=null,c=null,p=null,d=null,f=0,h=0,m=0,y=0,g=null,v=!1,b=0,C=s.length;b<C;b++){var _=i[b+1];if(_)switch(s[b]){case"dd":case"d":if((p=parseInt(_,10))<1||p>31)return null;break;case"MMMM":if((c=Dt(n,_))<0||c>11)return null;break;case"MMM":if((c=Ft(n,_))<0||c>11)return null;break;case"M":case"MM":if((c=parseInt(_,10)-1)<0||c>11)return null;break;case"y":case"yy":if((u=At(r,parseInt(_,10)))<0||u>9999)return null;break;case"yyyy":if((u=parseInt(_,10))<0||u>9999)return null;break;case"h":case"hh":if(12===(f=parseInt(_,10))&&(f=0),f<0||f>11)return null;break;case"H":case"HH":if((f=parseInt(_,10))<0||f>23)return null;break;case"m":case"mm":if((h=parseInt(_,10))<0||h>59)return null;break;case"s":case"ss":if((m=parseInt(_,10))<0||m>59)return null;break;case"tt":case"t":var S=_.toUpperCase();if(!(v=S===St(r,"PMDesignator").toUpperCase())&&S!==St(r,"AMDesignator").toUpperCase())return null;break;case"f":if((y=100*parseInt(_,10))<0||y>999)return null;break;case"ff":if((y=10*parseInt(_,10))<0||y>999)return null;break;case"fff":if((y=parseInt(_,10))<0||y>999)return null;break;case"dddd":if((d=Ot(n,_))<0||d>6)return null;break;case"ddd":if((d=Mt(n,_))<0||d>6)return null;break;case"zzz":var P=_.split(/:/);if(2!==P.length)return null;if((a=parseInt(P[0],10))<-12||a>13)return null;var I=parseInt(P[1],10);if(I<0||I>59)return null;g=60*a+(_.startsWith("-")?-I:I);break;case"z":case"zz":if((a=parseInt(_,10))<-12||a>13)return null;g=60*a;break;case"g":case"gg":var w=_,x=St(r,"eras");if(!w||!x)return null;w=w.toLowerCase().trim();for(var E=0,k=Object.keys(x).length;E<k;E+=4)if(w===x[E+1].toLowerCase()){l=E;break}if(null===l)return null}}var T,D=new Date,F=St(r,"Calendar").convert;if(T=F?F.fromGregorian(D)[0]:D.getFullYear(),null===u?u=T:St(r,"eras")&&(u+=St(r,"eras")[(l||0)+3]),null===c&&(c=0),null===p&&(p=1),F){if(null===(D=F.toGregorian(u,c,p)))return null}else{if(D.setFullYear(u,c,p),D.getDate()!==p)return null;if(null!==d&&D.getDay()!==d)return null}if(v&&f<12&&(f+=12),D.setHours(f,h,m,y),null!==g){var O=D.getMinutes()-(g+D.getTimezoneOffset());D.setHours(D.getHours()+O/60,O%60)}return D},e}();function St(e,t){return e[t]}function Pt(e,t){for(var n=0,r=!1,o=0,i=e.length;o<i;o++){var a=e.charAt(o);switch(a){case"'":r?t.append("'"):n++,r=!1;break;case"\\":r&&t.append("\\"),r=!r;break;default:t.append(a),r=!1}}return n}function It(e,t){t||(t="F");var n=t.length;if(1===n)switch(t){case"d":return St(e,"ShortDatePattern");case"D":return St(e,"LongDatePattern");case"t":return St(e,"ShortTimePattern");case"T":return St(e,"LongTimePattern");case"f":return"".concat(St(e,"LongDatePattern")," ").concat(St(e,"ShortTimePattern"));case"F":return St(e,"FullDateTimePattern");case"M":case"m":return St(e,"MonthDayPattern");case"s":return St(e,"SortableDateTimePattern");case"Y":case"y":return St(e,"YearMonthPattern");default:throw Error("Res.formatInvalidString")}else 2===n&&"%"===t.charAt(0)&&(t=t.charAt(1));return t}function wt(e,t){if(!t)return 0;for(var n,r=e.getTime(),o=0;o<4;o+=4)if(null===(n=t[o+2])||r>=n)return o;return 0}function xt(e,t,n,r){var o=e.getFullYear();return!r&&St(t,"eras")&&(o-=St(t,"eras")[n+3]),o}function Et(e){return e.split(" ").join(" ").toUpperCase()}function kt(e){for(var t=[],n=0,r=e.length;n<r;n++)t[n]=Et(e[n]);return t}function Tt(e,t,n){var r=Et(e),o=t.indexOf(r);return-1===o&&(o=n.indexOf(r)),o}function Dt(e,t){return Tt(t,kt(e.dateTimeFormat.MonthNames),kt(e.dateTimeFormat.MonthGenitiveNames))}function Ft(e,t){return Tt(t,kt(St(e.dateTimeFormat,"AbbreviatedMonthNames")),kt(St(e.dateTimeFormat,"AbbreviatedMonthGenitiveNames")))}function Ot(e,t){return kt(St(e.dateTimeFormat,"DayNames")).indexOf(Et(t))}function Mt(e,t){return kt(St(e.dateTimeFormat,"AbbreviatedDayNames")).indexOf(Et(t))}function At(e,t){var n=new Date,r=wt(n,St(e,"eras"));if(t<100){var o=xt(n,e,r);(t+=o-o%100)>St(St(e,"Calendar"),"TwoDigitYearMax")&&(t-=100)}return t}var Rt=function(e,t,n){this.name=e,this.dateTimeFormat=n,this.numberFormat=t};Rt.CurrentCulture=function(){if("object"==typeof __cultureInfo)return new Rt(__cultureInfo.name,__cultureInfo.numberFormat,__cultureInfo.dateTimeFormat);return new Rt("en-US",{CurrencyDecimalDigits:2,CurrencyDecimalSeparator:".",IsReadOnly:!1,CurrencyGroupSizes:[3],NumberGroupSizes:[3],PercentGroupSizes:[3],CurrencyGroupSeparator:",",CurrencySymbol:"$",NaNSymbol:"NaN",CurrencyNegativePattern:0,NumberNegativePattern:1,PercentPositivePattern:0,PercentNegativePattern:0,NegativeInfinitySymbol:"-Infinity",NegativeSign:"-",NumberDecimalDigits:2,NumberDecimalSeparator:".",NumberGroupSeparator:",",CurrencyPositivePattern:0,PositiveInfinitySymbol:"Infinity",PositiveSign:"+",PercentDecimalDigits:2,PercentDecimalSeparator:".",PercentGroupSeparator:",",PercentSymbol:"%",PerMilleSymbol:"‰",NativeDigits:["0","1","2","3","4","5","6","7","8","9"],DigitSubstitution:1},{AMDesignator:"AM",Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,IsReadOnly:!1},DateSeparator:"/",FirstDayOfWeek:0,CalendarWeekRule:0,FullDateTimePattern:"dddd, MMMM dd, yyyy h:mm:ss tt",LongDatePattern:"dddd, MMMM dd, yyyy",LongTimePattern:"h:mm:ss tt",MonthDayPattern:"MMMM dd",PMDesignator:"PM",RFC1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",ShortDatePattern:"M/d/yyyy",ShortTimePattern:"h:mm tt",SortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",TimeSeparator:":",UniversalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",YearMonthPattern:"MMMM, yyyy",AbbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ShortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],DayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],AbbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],MonthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],IsReadOnly:!1,NativeCalendarName:"Gregorian Calendar",AbbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],MonthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""]})}(),Rt.InvariantCulture=new Rt("",{CurrencyDecimalDigits:2,CurrencyDecimalSeparator:".",IsReadOnly:!0,CurrencyGroupSizes:[3],NumberGroupSizes:[3],PercentGroupSizes:[3],CurrencyGroupSeparator:",",CurrencySymbol:"¤",NaNSymbol:"NaN",CurrencyNegativePattern:0,NumberNegativePattern:1,PercentPositivePattern:0,PercentNegativePattern:0,NegativeInfinitySymbol:"-Infinity",NegativeSign:"-",NumberDecimalDigits:2,NumberDecimalSeparator:".",NumberGroupSeparator:",",CurrencyPositivePattern:0,PositiveInfinitySymbol:"Infinity",PositiveSign:"+",PercentDecimalDigits:2,PercentDecimalSeparator:".",PercentGroupSeparator:",",PercentSymbol:"%",PerMilleSymbol:"‰",NativeDigits:["0","1","2","3","4","5","6","7","8","9"],DigitSubstitution:1},{AMDesignator:"AM",Calendar:{MinSupportedDateTime:"@-62135568000000@",MaxSupportedDateTime:"@253402300799999@",AlgorithmType:1,CalendarType:1,Eras:[1],TwoDigitYearMax:2029,IsReadOnly:!0},DateSeparator:"/",FirstDayOfWeek:0,CalendarWeekRule:0,FullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",LongDatePattern:"dddd, dd MMMM yyyy",LongTimePattern:"HH:mm:ss",MonthDayPattern:"MMMM dd",PMDesignator:"PM",RFC1123Pattern:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",ShortDatePattern:"MM/dd/yyyy",ShortTimePattern:"HH:mm",SortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",TimeSeparator:":",UniversalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",YearMonthPattern:"yyyy MMMM",AbbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ShortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],DayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],AbbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],MonthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],IsReadOnly:!0,NativeCalendarName:"Gregorian Calendar",AbbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],MonthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""]});var Lt=function(){function n(){}return n.ParseDateFromString=function(e,t,n){var r=t;r&&(r=r.toLowerCase());var o=e.indexOf(" ");switch(t){case at.date:case at.dateonly:o>0&&(r=at.datetime);break;case at.datetime:case at.dateandtime:o<0&&(r=at.date)}var i=function(e,t){switch(t){case at.datetime:case at.dateandtime:return gt(e)+" "+vt(e);case at.date:case at.dateonly:default:return gt(e)}}(n,r);return _t.parse(e,i,n)},n.parseDateFromInput=function(e){var t=Date.parse(e);return isNaN(t)?null:new Date(t)},n.formatIntegerValue=function(e,t){return n.formatDecimalValue(e,t,0)},n.parseFormatted=function(){return null},n.parseFormattedValue=function(){return null},n.formatCurrencyValue=function(e,t,n,r){var o=yt(e,t,r);return null!=n?o.replace(function(e){return mt(e,"CurrencySymbol")}(t),n):o},n.formatShortDateValue=function(e,t){return _t.localeFormat(e,"d",t)},n.formatLongDateValue=function(e,t){return _t.localeFormat(e,"D",t)},n.formatDecimalValue=function(e,t,n){return e<0?ht(e,t,n):ft(e,t,n)},n.formatSortableDateValue=function(e){return n.formatSortableDateTimeValue(e).split("T")[0]},n.formatSortableDateTimeValue=function(e){return _t.localeFormat(e,"s",Rt.CurrentCulture)},n.formatShortDateTimeValue=function(e,t){var n=gt(t),r=vt(t);return _t.localeFormat(e,n+" "+r,t)},n.formatDateLongAbbreviated=function(e,t){var n=function(e){return bt(e,"LongDatePattern","DateSeparator","/")}(t);return n=(n=n.replace("MMMM","MMM")).replace("dddd","ddd"),_t.localeFormat(e,n,t)},n.formatDateYearMonthValue=function(e,t){return _t.localeFormat(e,"Y",t)},n.formatLanguageValue=function(e,t){if(!(isNaN(e)||e<-1))return null===e||t&&t[e]?t[e]:e.toString()},n.formatUserInput=function(e){if(null!=e)return e.toString()},n}();function Nt(e){var t={timeZoneUtcOffsetMinutes:0,dateTimeFormatInfo:Rt.CurrentCulture.dateTimeFormat,numberFormatInfo:Rt.CurrentCulture.numberFormat,timeZoneAdjusters:[],formatInfoCultureName:Rt.CurrentCulture.name,formatter:Lt,languagesByCode:{},workDayStartTime:"08:00"},n=(null==e?void 0:e.formatter)||t.formatter;return Object.assign(t,e,{formatter:n})}var Bt,Ut,Vt=function(){function e(e){this._formattingData=Nt(e.propBagData.formattingData),this._utilsData=e.propBagData.utilsData,this._adjusters=this._formattingData.timeZoneAdjusters,this._dateTimeFormatInfo=this._formattingData.dateTimeFormatInfo,this._currentCultureInfo=new Rt(this._formattingData.formatInfoCultureName,this._formattingData.numberFormatInfo,this._formattingData.dateTimeFormatInfo),this._timeZoneOffsetMinutes=this._formattingData.timeZoneUtcOffsetMinutes}return e.prototype.parseDateFromString=function(e,t){var n={cultureInfo:this._currentCultureInfo};return this._formattingData.formatter.ParseDateFromString(e,t,this._currentCultureInfo,n)},e.prototype.parseDateFromInput=function(e,t){return this._formattingData.formatter.parseDateFromInput(e,t)},e.prototype.formatDateShort=function(e,t){return t?this._formattingData.formatter.formatShortDateTimeValue(e,this._currentCultureInfo,0,this._timeZoneOffsetMinutes,this._adjusters):this._formattingData.formatter.formatShortDateValue(e,this._currentCultureInfo,0,this._timeZoneOffsetMinutes,this._adjusters)},e.prototype.formatDateLongAbbreviated=function(e){return this._formattingData.formatter.formatDateLongAbbreviated(e,this._currentCultureInfo,0,this._timeZoneOffsetMinutes,this._adjusters)},e.prototype.formatDateLong=function(e){return this._formattingData.formatter.formatLongDateValue(e,this._currentCultureInfo,0,this._timeZoneOffsetMinutes,this._adjusters)},e.prototype.formatDateYearMonth=function(e){return this._formattingData.formatter.formatDateYearMonthValue(e,this._currentCultureInfo,0,this._timeZoneOffsetMinutes,this._adjusters)},e.prototype.parseFormatted=function(e,t,n,r){return t&&!t.cultureInfo&&(t.cultureInfo=this._currentCultureInfo),this._formattingData.formatter.parseFormatted(e,t,this._currentCultureInfo,n,r)},e.prototype.parseFormattedValue=function(e,t){return this._formattingData.formatter.parseFormattedValue(e,t)},e.prototype.formatInteger=function(e){return this._formattingData.formatter.formatIntegerValue(e,this._currentCultureInfo)},e.prototype.formatDecimal=function(e,t){return this._formattingData.formatter.formatDecimalValue(e,this._currentCultureInfo,t)},e.prototype.formatCurrency=function(e,t,n){return this._formattingData.formatter.formatCurrencyValue(e,this._currentCultureInfo,n,t)},e.prototype.formatTime=function(e,t){return this._formattingData.formatter.formatShortDateTimeValue(e,this._currentCultureInfo,t,this._timeZoneOffsetMinutes,this._adjusters)},e.prototype.getWeekOfYear=function(e){return this._utilsData.dateTimeUtils.getWeekOfYear(e,this._dateTimeFormatInfo.firstDayOfWeek,this._dateTimeFormatInfo.calendarWeekRule,!J(F)&&!J(F.Utils)&&!J(F.Utils.isFeatureEnabled)&&F.Utils.isFeatureEnabled("UseLegacyFunctionForWeekNumbering"))},e.prototype.getTimeZoneOffsetInMinutes=function(e){var t=this._utilsData.dateTimeUtils.getDSTAdjustmentMinutes(e,this._adjusters);return this._timeZoneOffsetMinutes+t},e.prototype.formatDateAsFilterStringInUTC=function(e,t){return t?this._formattingData.formatter.formatSortableDateTimeValue(e,this._currentCultureInfo,0,this._timeZoneOffsetMinutes,this._adjusters):this._formattingData.formatter.formatSortableDateValue(e,this._currentCultureInfo,0)},e.prototype.formatLanguage=function(e){return this._formattingData.formatter.formatLanguageValue(e,this._formattingData.languagesByCode)},e.prototype.formatUserDateTimeToUTC=function(e,t){return this._formattingData.formatter.formatUserDateTimeToUTC(e,t)},e.prototype.formatUTCDateTimeToUserDate=function(e,t){return this._formattingData.formatter.formatUTCDateTimeToUserDate(e,t)},e.prototype.formatUserInput=function(e,t){return this._formattingData.formatter.formatUserInput(e,t)},e}(),Ht=function(e,t){this.done=e,this.value=t},jt=function(){function e(e,t){this._file=e,this._currentIndex=0,(!t||t<1048576)&&(t=1048576),this._chunkSize=Math.floor(t)}return e.prototype.getCurrentIndex=function(){return this._currentIndex},e.prototype.read=function(){var i=this;return new Promise(function(n){if(!i._file||i._currentIndex>=i._file.size)n(new Ht(!0,null));else{var r=i._currentIndex+i._chunkSize>i._file.size?i._file.size:i._currentIndex+i._chunkSize,e=i._file.slice(i._currentIndex,r),o=new FileReader;o._realReader&&(o=o._realReader),o.addEventListener("loadend",function(){i._currentIndex=r;var e=o.result,t=new Uint8Array(e);n(new Ht(!1,t))}),o.readAsArrayBuffer(e)}})},e}(),Wt=function(){function e(e){this._file=e,this.fileName=encodeURIComponent(e.name),this.fileSize=e.size,this.mimeType=e.type,this.fileUrl=URL.createObjectURL&&URL.createObjectURL(this._file),this.version=Date.now()}return e.prototype.getBinaryReader=function(e){return new jt(this._file,e)},e}(),zt=function(){function e(e,t){this._customControlProperties=e,this._externalUtils=t,this.createElement=this.createElement.bind(this),this.createComponent=this.createComponent.bind(this)}return e.prototype.createElement=function(e,t,n){return new ye(e,t?t.id:"",t,n,this._externalUtils)},e.prototype.createComponent=function(e,t,n){return new ye(e,t,n,null,this._externalUtils)},e.prototype.bindDOMElement=function(e,t){this._externalUtils.bindDOMElement(e,t)},e.prototype.bindDOMComponent=function(e,t){this._externalUtils.bindDOMElement(e,t)},e.prototype.createFileObject=function(e){return new Wt(e)},e.prototype.fireEvent=function(e,t){var n=this._customControlProperties.parentDefinedControlProps;if(!J(n)&&!J(n.eventListeners)){for(var r=-1,o=n.eventListeners,i=0;i<o.length;i++)o[i].eventname===e&&(r=i);if(-1!==r){var a=n.eventListeners[r];for(var i in a.eventhandler)J(a.eventhandler[i])||a.eventhandler[i](t)}}},e.prototype.getControlDefaultMapping=function(e,t,n){var r,o,i,a,s;return je(e,t,null,null,null,null===(i=null===(o=null===(r=this._customControlProperties)||void 0===r?void 0:r.propBagData)||void 0===o?void 0:o.clientData)||void 0===i?void 0:i.orgSettingsData,null===(s=null===(a=this._customControlProperties)||void 0===a?void 0:a.actions)||void 0===s?void 0:s.appSettings,n)},e.prototype.getPopupService=function(){return this._externalUtils.getPopupService()},e.prototype.requestRender=function(e){this._externalUtils.forceUpdate(e)},e.prototype.unbindDOMComponent=function(e){return this._externalUtils.unbindDOMComponent(e)},e.prototype.updateComponent=function(e,t){this._externalUtils.updateComponent(e,t)},e}(),Gt=function(){function e(e,t){this._externalUtils=t,this._controlId=e.controlId}return e.prototype.addControlId=function(e){return e+"[CustomControlId = "+this._controlId+"]"},e.prototype.traceError=function(e,t,n,r){return void 0===r&&(r=!1),this._externalUtils.xrmProxy.Diagnostics.traceError(r?e:"CustomControl."+e,r?t:this.addControlId(t),this._addControlIdParameter(n))},e.prototype.traceWarning=function(e,t,n,r){return void 0===r&&(r=!1),this._externalUtils.xrmProxy.Diagnostics.traceWarning(r?e:"CustomControl."+e,r?t:this.addControlId(t),this._addControlIdParameter(n))},e.prototype.traceInfo=function(e,t,n,r){return void 0===r&&(r=!1),this._externalUtils.xrmProxy.Diagnostics.traceInfo(r?e:"CustomControl."+e,r?t:this.addControlId(t),this._addControlIdParameter(n))},e.prototype.traceDebug=function(e,t,n,r){return void 0===r&&(r=!1),this._externalUtils.xrmProxy.Diagnostics.traceDebug(r?e:"CustomControl."+e,r?t:this.addControlId(t),this._addControlIdParameter(n))},e.prototype.isInMonitorSession=function(){return this._externalUtils.xrmProxy.Diagnostics.isInMonitorSession()},e.prototype._addControlIdParameter=function(e){return(e||[]).concat([{name:"CustomControlId",value:this._controlId}])},e}(),Kt=function(){function e(){}return e.prototype.getPredictionSchemaAsync=function(e,t){return F.IntelligenceApi.getPredictionSchemaAsync(e,t)},e.prototype.predictAsync=function(e,t){return F.IntelligenceApi.predictAsync(e,t)},e.prototype.getPreTrainedModelIdAsync=function(e){return F.IntelligenceApi.getPreTrainedModelIdAsync(e)},e.prototype.getLabelsForObjectDetectionModelAsync=function(e){return F.IntelligenceApi.getLabelsForObjectDetectionModelAsync(e)},e.prototype.invokeAiModelActionAsync=function(e,t){return F.IntelligenceApi.invokeAiModelActionAsync(e,t)},e.prototype.invokeGlobalOperationAsync=function(e,t){return F.IntelligenceApi.invokeGlobalOperationAsync(e,t)},e.prototype.invokeCopilotActionAsync=function(e,t){return F.IntelligenceApi.invokeCopilotActionAsync(e,t)},e.prototype.hasOrganizationSettingsAsync=function(){var e,t,n;return null!==(n=null===(t=(e=F.IntelligenceApi).hasOrganizationSettingsAsync)||void 0===t?void 0:t.call(e))&&void 0!==n?n:Promise.resolve(!1)},e.prototype.getOrganizationSettingsAsync=function(e){var t,n,r;return null!==(r=null===(n=(t=F.IntelligenceApi).getOrganizationSettingsAsync)||void 0===n?void 0:n.call(t,e))&&void 0!==r?r:Promise.resolve({})},e}();!function(e){e[e.Root=1]="Root",e[e.Nested=2]="Nested"}(Bt||(Bt={})),function(e){e[e.None=0]="None",e[e.Slate=1]="Slate",e[e.Phone=2]="Phone",e[e.Desktop=3]="Desktop",e[e.MailApp=4]="MailApp"}(Ut||(Ut={}));var qt=["CRMICON","ENTITYICON","BOOLEAN","BUTTON","COMBOBOX","CONTAINER","HYPERLINK","IMG","FILEINPUT","FLYOUT","LABEL","LIST","LISTITEM","LIVEPERSONACARDHOVERTARGET","MICROSOFTICON","POPUP","SCROLLCONTAINER","TABLE","TABLEBODY","TABLECAPTION","TABLECELL","TABLEFOOTER","TABLEHEADER","TABLEHEADERCELL","TABLEROW","TEXTINPUT","IFRAME","COMMANDBAR","OPTION","SELECT","ENTITYIMAGE","PROGRESSINDICATOR","RADIO","HORIZONTALSCROLL","VIEWSELECTORCONTROL","TEXT","PRESENCEINDICATOR","PLACEHOLDER"],Qt=function(){function e(e,t){this._event=e,this._parameters=t}return e.prototype.start=function(){this._stop=this._event.startStopwatch(this._parameters)},e.prototype.stop=function(e){this._stop(e)},e}(),$t=function(){return($t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Yt(e){var t={encoder:null,dateTimeUtils:{getDSTAdjustmentMinutes:function(e){return g(e)},getWeekOfYear:function(){return-1}}},n={encoder:$t($t({},t.encoder),e.encoder),dateTimeUtils:$t($t({},t.dateTimeUtils),e.dateTimeUtils)};return $t($t({},e),n)}var Zt=function(){function e(e,t){this._customControlProperties=e,this._externalUtils=t,this._globalCommandManagerInitialized=e.globalCommandManagerInitialized,this._internalEventListeners=this._generateInternalEventListeners()}return e.prototype._generateInternalEventListeners=function(){return[{eventname:"systemKeyDown",eventhandler:[this._handleSystemKeydown.bind(this)]}]},e.prototype._handleSystemKeydown=function(e){this._customControlProperties.actions&&this._customControlProperties.actions.fireXrmEvent&&this._customControlProperties.controlId&&this._customControlProperties.actions.fireXrmEvent(this._customControlProperties.controlId.split(".")[0],this._customControlProperties.id,this._customControlProperties.contextToken,0,e)},e.prototype.doesControlExist=function(e){return this._customControlProperties&&this._customControlProperties.actions&&this._customControlProperties.actions.loadManifest?this._customControlProperties.actions.loadManifest(e).then(function(){return!0},function(){return!1}):Promise.resolve(!1)},e.prototype.beginSecureSessionForResource=function(e,t,n,r){return F.Utils.beginSecureSessionForResource(e,t,n,r)},e.prototype.createPerformanceMarker=function(e){F.Diagnostics.traceWarning("Utility","createPerformanceMarker called by ".concat(this._customControlProperties.configuration.CustomControlId)),Se.createPerformanceEvent(e,this._customControlProperties.logLevel,this._customControlProperties.configuration.CustomControlId).createMarker()},e.prototype.createPerformanceStopwatch=function(e){return F.Diagnostics.traceWarning("Utility","createPerformanceStopwatch called by ".concat(this._customControlProperties.configuration.CustomControlId)),new Qt(Se.createPerformanceEvent(e,this._customControlProperties.logLevel,this._customControlProperties.configuration.CustomControlId))},e.prototype.log=function(e,t,n){this._customControlProperties.propBagMethods.utils.logMessage(e,t,n)},e.prototype.getEntityMetadata=function(e,t){return F.Utils.getEntityMetadata(e,t)},e.prototype.getEntitiesMetadata=function(e){if(F.Utils.getEntitiesMetadata)return F.Utils.getEntitiesMetadata(e);var t=[];for(var n in e)t.push(F.Utils.getEntityMetadata(n,e[n]));return Promise.all(t).then(function(e){return e})},e.prototype.getParentControlName=function(){return this._customControlProperties&&this._customControlProperties.parentContextToken&&this._customControlProperties.parentContextToken.controlName||""},e.prototype.getResourceString=function(e,t){return F.Utils.getResourceString(e,t)},e.prototype.isFeatureEnabled=function(e){return F.Utils.isFeatureEnabled(e)},e.prototype.isDisruptiveFeatureEnabled=function(e,t,n){return F.Utils.isDisruptiveFeatureEnabled&&F.Utils.isDisruptiveFeatureEnabled(e,t,n)},e.prototype.canOpenUrl=function(e){return F.Utils.canOpenUrl(e)},e.prototype.getFormId=function(e,t){return F.Utils.getFormId(e,t)},e.prototype.lookupObjects=function(e){return F.Utils.lookupObjects(e)},e.prototype.bindDOMElement=function(e,t){this._externalUtils.bindDOMElement(e,t)},e.prototype.fireEvent=function(e,t){var n=this._customControlProperties.parentDefinedControlProps;if(!J(n)&&!J(n.eventListeners)){for(var r=-1,o=n.eventListeners,i=0;i<o.length;i++)o[i].eventname===e&&(r=i);if(-1!==r){var a=n.eventListeners[r];for(var i in a.eventhandler)J(a.eventhandler[i])||a.eventhandler[i](t)}}if(!J(this._internalEventListeners))for(var s=0;s<this._internalEventListeners.length;s++)if(this._internalEventListeners[s].eventname===e){a=this._internalEventListeners[s];for(var l in a.eventhandler)J(a.eventhandler[l])||a.eventhandler[l](t)}},e.prototype.getControlDefaultMapping=function(e,t,n){var r,o,i,a,s;return je(e,t,null,null,null,null===(i=null===(o=null===(r=this._customControlProperties)||void 0===r?void 0:r.propBagData)||void 0===o?void 0:o.clientData)||void 0===i?void 0:i.orgSettingsData,null===(s=null===(a=this._customControlProperties)||void 0===a?void 0:a.actions)||void 0===s?void 0:s.appSettings,n)},e.prototype.getPopupService=function(){return this._externalUtils.getPopupService()},e.prototype.requestRender=function(e){this._externalUtils.forceUpdate(e)},e.prototype.unbindDOMComponent=function(e){return this._externalUtils.unbindDOMComponent(e)},e.prototype.updateComponent=function(e,t){this._externalUtils.updateComponent(e,t)},e.prototype.createCrmUri=function(e){return this._customControlProperties&&this._customControlProperties.propBagData&&this._customControlProperties.propBagData.clientData?$e(e,this._customControlProperties.propBagData.clientData):e},e.prototype.createServerUri=function(e){return this._customControlProperties&&this._customControlProperties.propBagData&&this._customControlProperties.propBagData.clientData?$e(e,this._customControlProperties.propBagData.clientData):e},e.prototype.openInBrowser=function(e){e&&window.open(e)},e.prototype.getServiceUri=function(){return""},e.prototype.setState=function(e){var t=this._customControlProperties.personalizationConfiguration;return t&&("form"===t.areaType&&this._customControlProperties.actions.setFieldControlPersonalization(t,e),"grid"===t.areaType&&this._customControlProperties.actions.setGridControlPersonalization(t,e),"dashboard"===t.areaType&&this._customControlProperties.actions.setDashboardControlPersonalization(t,e)),this._customControlProperties.propBagMethods.utils.setState(e)},e.prototype.loadDependency=function(t){var e,n,r,o,i;return(null===(r=null===(n=null===(e=this._customControlProperties.manifest)||void 0===e?void 0:e.Properties)||void 0===n?void 0:n.Resources)||void 0===r?void 0:r.some(function(e){return e.Name===t&&"onDemand"===e.LoadType}))?null===(i=(o=this._customControlProperties.propBagMethods.utils).loadDependency)||void 0===i?void 0:i.call(o,t,this._customControlProperties.id):Promise.reject()},e.prototype.crmUrlEncode=function(e){return this._customControlProperties.propBagData.utilsData.encoder.CrmUrlEncode(e)},e.prototype.hasEntityPrivilege=function(e,t,n){return this._customControlProperties.propBagData.utilsData.hasEntityPrivilege(e,t,n)},e.prototype.crmHtmlEncode=function(e){return this._customControlProperties.propBagData.utilsData.encoder.CrmHtmlEncode(e)},e.prototype.isNullOrUndefined=function(e){return J(e)},e.prototype.isNullOrEmptyString=function(e){return ee(e)},e.prototype.notifyOutputChanged=function(){},e.prototype.eventListenerExists=function(e){var t=this._customControlProperties.parentDefinedControlProps;if(!J(t)&&!J(t.eventListeners))for(var n=t.eventListeners,r=0;r<n.length;r++)if(n[r].eventname.toLowerCase()===e.toLowerCase())return!0;return!1},e.prototype.getElementByRef=function(){return null},e.prototype.disablePanoramaScroll=function(){return!1},e.prototype.scrollToView=function(){},e.prototype.setNotification=function(){return!1},e.prototype.clearNotification=function(){return!1},e.prototype.triggerOfflineMetadataSync=function(){return this._customControlProperties.actions.triggerOfflineMetadataSync()},e.prototype.addGlobalNotification=function(e,t,n,r,o,i){return F.addGlobalNotification(e,t,n,r,o,i)},e.prototype.clearGlobalNotification=function(e){return F.clearGlobalNotification(e)},e.prototype.clearGlobalNotifications=function(){return F.clearGlobalNotifications()},e.prototype.retrieveChartDrilldownAttributes=function(e){return this._customControlProperties.actions.retrieveChartDrilldownAttributes(e)},e.prototype.retrieveFormWithAttributes=function(e,t,n){return this._customControlProperties.actions.retrieveFormWithAttributes(e,t,n)},e.prototype.getEntityName=function(e){return F.Utils.getEntityName(e)},e.prototype.retrieveRecordCommand=function(e,t,n,r,o,i){var a=this,s=this._customControlProperties&&this._customControlProperties.manifest&&this._customControlProperties.manifest.ConstructorName?this._customControlProperties.manifest.ConstructorName:null,l=this._customControlProperties.id;if("crm_header_global"===t){if(this._globalCommandManagerInitialized)return this._customControlProperties.actions.retrieveRecordCommand(e,t,this._customControlProperties.contextToken,n,r,o,i,s,!0,l);var u=this._externalUtils.getGlobalCommandManagerPromise();if(u&&u.promise)return u.promise.then(function(){return a._globalCommandManagerInitialized=!0,a._customControlProperties.actions.retrieveRecordCommand(e,t,a._customControlProperties.contextToken,n,r,o,i,s,!0,l)},function(){var e=new Error("Global command manager initialization failed");throw F.Reporting.reportFailure(Ie+".Models",e,"Rejected promise",[{name:"commandManagerId",value:t},{name:"APIName",value:Ie+".Models.PropertyClasses.Utility.retrieveRecordCommand"}]),e});var c=this._customControlProperties.actions.addPendingCommandManagerId(l,this._customControlProperties.contextToken,this._customControlProperties.controlId,t);return this._externalUtils.setGlobalCommandManagerPromise(c),c.promise.then(function(){return a._globalCommandManagerInitialized=!0,a._customControlProperties.actions.retrieveRecordCommand(e,t,a._customControlProperties.contextToken,n,r,o,i,s,!0,l)})}return this._customControlProperties.actions.retrieveRecordCommand(e,t,this._customControlProperties.contextToken,n,r,o,i,s,!0,l)},e.prototype.getDeclaredFeatures=function(){return{unspecifiedFeatureFallback:{supportStatus:"supported"}}},e.prototype.getFeatureClassName=function(){return"Utility"},e.prototype.encodeFilterString=function(e,t){var n=e?e.replace(/\[/g,"[[]").replace(/%/g,"[%]").replace(/_/g,"[_]").replace(/\*/g,"%"):"";if(t&&t.encloseWithWildcard)switch(t.encloseWithWildcardOption){case 1:n="%"+n;break;case 2:n+="%";break;case 3:default:n="%"+n+"%"}return n},e.prototype.getUserSettings=function(){return F.Utils.getUserSettings()},e}(),Xt=function(){function e(e){this._performanceEvents={},this._customControlProperties=e}return e.prototype.createPerformanceStopwatch=function(e,t,n){return void 0===n&&(n=!1),this._performanceEvents[e]||(this._performanceEvents[e]=Se.createPerformanceEvent(e,n?void 0:this._customControlProperties.logLevel,this._customControlProperties.configuration.CustomControlId)),this._performanceEvents[e].startStopwatch(t)},e.prototype.trackWork=function(e){return Se.trackWork(e)},e.prototype.addKeyPerformanceIndicator=function(e,t,n){Se.addKeyPerformanceIndicator(e,t,n)},e.prototype.addKeyPerformanceIndicatorOnIdle=function(e,t){Se.addKeyPerformanceIndicatorOnIdle(e,t)},e}(),Jt=function(){function e(e,t){var n=e.propBagData.clientData.orgSettingsData,r=t.xrmProxy.OrgSettings;this._externalUtils=t,this.languageId=r.languageId,this.attributes=r.attributes,this.uniqueName=r.uniqueName,this.isAutoSaveEnabled=r.isAutoSaveEnabled,this.tenantId=r.tenantId,this.isRTL=n.isRTL,this.fiscalYearStartDate=n.fiscalYearStartDate,this.fiscalPeriodFormat=n.fiscalPeriodFormat,this.fiscalPeriodType=n.fiscalPeriodType,this.fiscalYearFormatYear=n.fiscalYearFormatYear,this.fiscalYearFormatPrefix=n.fiscalYearFormatPrefix,this.fiscalYearFormatSuffix=n.fiscalYearFormatSuffix,this.fiscalYearDisplayCode=n.fiscalYearDisplayCode,this.fiscalPeriodConnector=n.fiscalPeriodConnector,this.showWeekNumber=n.showWeekNumber,this.boundDashboardDefaultCardExpanded=n.boundDashboardDefaultCardExpanded,this.allowUnresolvedPartiesOnEmailSend=n.allowUnresolvedPartiesOnEmailSend,this.webResourceHash=n.webResourceHash,this.enableBingMapsIntegration=n.enableBingMapsIntegration,this.bingMapsApiKey=n.bingMapsApiKey,this.availableBingMapLocales=n.availableBingMapLocales,this.excludedCountriesForMaps=n.excludedCountriesForMaps,this.bFDatacenter=n.bFDatacenter,this.securitySettingForEmail=n.securitySettingForEmail,this.appointmentRichEditorExperience=n.appointmentRichEditorExperience,this.gridTotalRecordCountLimit=n.gridTotalRecordCountLimit,this.lookupCharacterCountBeforeResolve=n.lookupCharacterCountBeforeResolve,this.lookupResolveDelayMS=n.lookupResolveDelayMS,this.advancedLookupEnabled=n.advancedLookupEnabled,this.isCollaborationExperienceEnabled=n.isCollaborationExperienceEnabled,this.pcfDatasetGridEnabled=n.pcfDatasetGridEnabled,this.allowUsersHidingSystemViews=n.allowUsersHidingSystemViews,this.appointmentWithTeamsMeeting=n.appointmentWithTeamsMeeting,this.appointmentWithTeamsMeetingV2=n.appointmentWithTeamsMeetingV2,this.isEmailAddressValidationEnabled=n.isEmailAddressValidationEnabled}return e.prototype.updateBag=function(){this.tenantId=this._externalUtils.xrmProxy.OrgSettings.tenantId},e}(),en=function(){function e(e,t){this._externalUtils=t,this._formattingData=Nt(e.propBagData.formattingData);var n=t.xrmProxy.UserSettings;this._utilsData=Yt(e.propBagData.utilsData),this.userId=n.userId,this.userName=n.userName,this.dateFormattingInfo=this._formattingData.dateTimeFormatInfo,this.numberFormattingInfo=this._formattingData.numberFormatInfo,this.isRTL=n.isRTL,this.languageId=n.languageId,this.locale=n.locale,this.securityRoles=n.securityRoles,this.isHighContrastEnabled=n.isHighContrastEnabled,this.timeZoneUtcOffsetMinutes=this._formattingData.timeZoneUtcOffsetMinutes,this.pagingLimit=n.pagingLimit,this.workDayStartTime=this._formattingData.workDayStartTime,this.workDayStopTime=this._formattingData.workDayStopTime,this.formatInfoCultureName=this._formattingData.formatInfoCultureName,this.formatInfoCultureId=n.formatInfoCultureId,this.aadObjectId=n.aadObjectId}return e.prototype.updateBag=function(e){this.isRTL=e.propBagData.clientData.isRTL,this.aadObjectId=this._externalUtils.xrmProxy.UserSettings.aadObjectId},e.prototype.getTimeZoneOffsetMinutes=function(e){return e?this._formattingData.timeZoneUtcOffsetMinutes+this._utilsData.dateTimeUtils.getDSTAdjustmentMinutes(e,this._formattingData.timeZoneAdjusters):this._formattingData.timeZoneUtcOffsetMinutes},e}(),tn=function(){function e(e,t){this._externalUtils=t,this._customControlProperties=e,this._xrmProxy=t.xrmProxy}return e.prototype.getClient=function(){return this._externalUtils.xrmProxy.Client.getClient()},e.prototype.isOffline=function(){return"Offline"===this._externalUtils.xrmProxy.Client.getClientState()},e.prototype.isNetworkAvailable=function(){return this._externalUtils.xrmProxy.Client.isNetworkAvailable()},e.prototype.getFormFactor=function(){return this._externalUtils.xrmProxy.Client.getFormFactor()},e.prototype.getClientState=function(){return null},e.prototype.getEnvironmentEndpoint=function(e,t){if("function"!=typeof this._externalUtils.xrmProxy.Client.getEnvironmentEndpoint)throw new Error("getEnvironmentEndpoint API not supported");return this._externalUtils.xrmProxy.Client.getEnvironmentEndpoint(e,t)},e.prototype.getClientInfo=function(){if("function"!=typeof this._externalUtils.xrmProxy.Client.getClientInfo)throw new Error("getClientInfo API not supported");return this._externalUtils.xrmProxy.Client.getClientInfo()},e.prototype.updateClientBag=function(e){var t=Nt(this._customControlProperties.propBagData.formattingData),n=this._customControlProperties.propBagData.clientData,r=Yt(this._customControlProperties.propBagData.utilsData);this.formFactor=n.formFactor||this.getFormFactor(),this.userAgent=n.userAgent,this.languageCode=n.languageCode?n.languageCode.toString():null,this.isRTL=this._xrmProxy.UserSettings.isRTL,this.locale=n.locale,this.orgSettings=n.orgSettingsData,this.dateFormattingInfo=t.dateTimeFormatInfo,this.numberFormattingInfo=t.numberFormatInfo,this.userTimeZoneUtcOffsetMinutes=t.timeZoneUtcOffsetMinutes,this.getUserTimeZoneUtcOffset=function(e){return t.timeZoneUtcOffsetMinutes+r.dateTimeUtils.getDSTAdjustmentMinutes(e,t.timeZoneAdjusters)},this.allocatedWidth=J(e.allocatedWidth)?-1:e.allocatedWidth,this.allocatedHeight=J(e.allocatedHeight)?-1:e.allocatedHeight,this.trackContainerResize=e.trackResize,this.setFullScreen=e.updateFullscreen,this.setFullscreen=e.updateFullscreen,this.ignoreSelfUpdates=e.ignoreUpdates,this.disableScroll=n.disableScroll||!1,this.fnoDetails=n.fnoDetails},e}(),nn=function(){function e(e){if(this._customControlProperties=e,e.manifest&&null!==e.manifest.Properties.DataSetDefinitions)for(var t in e.manifest.Properties.DataSetDefinitions)e.manifest.Properties.DataSetDefinitions[t].Primary&&(this._paramKey=t)}return e.prototype.updateBag=function(e){this._customControlProperties=e},e.prototype.openEditForm=function(e,t,n,r,o){var i=this._customControlProperties.id;if(t)this._customControlProperties.propBagMethods.navigation.openEditForm(e,t,n,r,o,i);else{var a=e.entityName||e.LogicalName,s=e.id||e.Id&&e.Id.toString(),l=this._getRecordSetQueryFromProps(this._paramKey);F.openForm({entityName:a,entityId:s,recordSetQueryKey:l,processInstanceId:n,selectedStageId:r,isCrossEntityNavigate:o},null,i)}},e.prototype.openGridPage=function(e,t,n,r,o){this._customControlProperties.propBagMethods.navigation.openGridPage(e,t,n,null,r,o,null,null,this._customControlProperties.id)},e.prototype.openGrid=function(e,t,n,r,o,i,a,s){this._customControlProperties.propBagMethods.navigation.openGridPage(e,t,n,r,o,i,a,s,this._customControlProperties.id)},e.prototype.openDashboard=function(e){this._customControlProperties.propBagMethods.navigation.openDashboard(e,this._customControlProperties.id)},e.prototype.openCreateForm=function(e,t,n){this._customControlProperties.propBagMethods.navigation.openCreateForm(e,t,n,this._customControlProperties.id)},e.prototype.openForm=function(e,t){return e.recordSetQueryKey=this._getRecordSetQueryFromProps(this._paramKey),this._customControlProperties.parentDefinedControlProps&&this._customControlProperties.parentDefinedControlProps.propertyBagOverrides&&this._customControlProperties.parentDefinedControlProps.propertyBagOverrides.openForm?this._customControlProperties.parentDefinedControlProps.propertyBagOverrides.openForm(e,t):F.openForm(e,t,this._customControlProperties.id)},e.prototype.openSearch=function(e){this._customControlProperties.propBagMethods.navigation.openSearch(e,this._customControlProperties.id)},e.prototype.openPowerBIFullScreenPage=function(e,t,n,r,o,i,a){this._customControlProperties.propBagMethods.navigation.openPowerBIFullScreenPage(e,t,n,r,o,i,a,this._customControlProperties.id)},e.prototype.openUrl=function(e,t){F.openUrl(e,t,this._customControlProperties.id)},e.prototype.openUrlWithProtocol=function(e,t){this._customControlProperties.propBagMethods.navigation.openUrlWithProtocol(e,t,this._customControlProperties.id)},e.prototype.openPhoneNumber=function(e,t,n,r,o,i){var a,s,l,u=n||this._customControlProperties.propBagData.modeData.entityTypeName,c=r||this._customControlProperties.propBagData.modeData.entityId,p=o||this._customControlProperties.propBagData.modeData.entityRecordName;this._customControlProperties.formInfo&&this._customControlProperties.formInfo.ParentFormInfo&&(a=this._customControlProperties.formInfo.ParentFormInfo.EntityName,s=this._customControlProperties.formInfo.ParentFormInfo.RecordId,l=this._customControlProperties.formInfo.ParentFormInfo.RecordName);var d=this._customControlProperties.descriptor?this._customControlProperties.descriptor.parentFieldSectionItem:this._customControlProperties.descriptor.Id;this._customControlProperties.propBagMethods.navigation.openPhoneNumber(e,u,c,p,a,s,l,d,this._customControlProperties.contextToken,t,i,this._customControlProperties.id)},e.prototype.openMaps=function(e){this._customControlProperties.propBagMethods.navigation.openMaps(e,this._customControlProperties.id)},e.prototype.openMap=function(e){this._customControlProperties.propBagMethods.navigation.openMap(e,this._customControlProperties.id)},e.prototype.openAlertDialog=function(e,t){return F.openAlertDialog(e,t,this._customControlProperties.id)},e.prototype.openConfirmDialog=function(e,t){return F.openConfirmDialog(e,t,this._customControlProperties.id)},e.prototype.openErrorDialog=function(e){return F.openErrorDialog(e,this._customControlProperties.id)},e.prototype.openDialog=function(e,t,n){return F.openDialog(e,t,n,this._customControlProperties.id)},e.prototype.openFile=function(e,t){return F.openFile(e,t,this._customControlProperties.id)},e.prototype.openTaskFlow=function(e,t,n){return F.openTaskFlow(e,t,n,this._customControlProperties.id)},e.prototype.openWebResource=function(e,t,n){F.openWebResource(e,t,n,this._customControlProperties.id)},e.prototype.navigateTo=function(e,t){return F.navigateTo(e,t,this._customControlProperties.id)},e.prototype._getRecordSetQueryFromProps=function(e){var t=e&&this._customControlProperties.dynamicData?this._customControlProperties.dynamicData.parameters[e]:null;return this._customControlProperties.actions&&this._customControlProperties.actions.getRecordSetQueryKey&&null!==t?this._customControlProperties.actions.getRecordSetQueryKey(t):null},e}(),rn=new(function(){function e(){this.IsAvailable=!1,this._proxy=window.RootAppServices,this._alwaysRenderedControls=new Set,this.IsAvailable=!!this._proxy,this.IsAvailable||(this._proxy={PCF:{forkPCFTree:!1,renderChildControl:function(){return null},rootPageId:"",updateAlwaysRenderState:function(){return null}},Commanding:{createCommandManager:null},Performance:{WorkBlockTracker:{trackWork:function(){return function(){return null}}},PerformanceOutput:{createEvent:function(){return null}}},Xrm:null}),!this._proxy.PCF&&this._proxy.renderChildControl&&(this._proxy.PCF={forkPCFTree:this._proxy.forkPCFTree,renderChildControl:this._proxy.renderChildControl,rootPageId:this._proxy.rootPageId,updateAlwaysRenderState:this._proxy.updateAlwaysRenderState})}return Object.defineProperty(e.prototype,"PCF",{get:function(){return this._proxy.PCF},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Performance",{get:function(){return this._proxy.Performance},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Commanding",{get:function(){return this._proxy.Commanding},enumerable:!1,configurable:!0}),e.prototype.requestAlwaysRender=function(e,t){var n=!!this._alwaysRenderedControls.size;t?this._alwaysRenderedControls.add(e):this._alwaysRenderedControls.delete(e),n!==!!this._alwaysRenderedControls.size&&this._proxy.PCF.updateAlwaysRenderState&&this._proxy.PCF.updateAlwaysRenderState(!!this._alwaysRenderedControls.size)},e}()),on=function(){function e(e,t,n){this.hasFocus=!0,this.isPreview=!1,this.isAuthoringMode=!1,this.isActive=!1,this.isRead=!1,this._customControlProperties=e;var r=e?e.descriptor:null;this._modeData=e?e.propBagData.modeData:null,this.allocatedWidth=J(n.allocatedWidth)?-1:n.allocatedWidth,this.allocatedHeight=J(n.allocatedHeight)?-1:n.allocatedHeight,this.trackContainerResize=n.trackResize,this.setFullScreen=n.updateFullscreen,this.isControlDisabled=!!r&&r.Disabled,this.isVisible=!r||r.Visible,this.label=r&&r.ShowLabel?r.Label:"",this.accessibilityLabel=r?r.ShowLabel?null:r.Label:null,this.isOffline=this._modeData.isOffline,this.isAuthoringMode=this._modeData.isAuthoringMode,this.isRead=!!this._modeData.isRead,this.fullPageParam=e&&e.descriptor&&e.descriptor.FullPageParamers?e.descriptor.FullPageParamers:null,this.rowSpan=this._customControlProperties?this._customControlProperties.rowSpan:0,this.contextInfo={entityTypeName:this._modeData&&this._modeData.entityTypeName,entityId:this._modeData&&this._modeData.entityId,entityRecordName:this._modeData&&this._modeData.entityRecordName}}return e.prototype.setNotification=function(e,t){if(e&&e.trim().length>0&&this.isVisible&&!this.isControlDisabled&&this._customControlProperties.descriptor.parentFieldSectionItem){var n=this._customControlProperties.descriptor.parentFieldSectionItem;return this._customControlProperties.propBagMethods.mode.setNotification(e,t,this._customControlProperties.id,n,this._customControlProperties.contextToken,this._modeData.entityTypeName,this._modeData.entityId)}return!1},e.prototype.clearNotification=function(e){if(this._customControlProperties.descriptor.parentFieldSectionItem){var t=this._customControlProperties.descriptor.parentFieldSectionItem;return this._customControlProperties.propBagMethods.mode.clearNotification(this._customControlProperties.id,t,this._customControlProperties.contextToken,this._modeData.entityTypeName,this._modeData.entityId,e)}return!1},e.prototype.requestAlwaysRender=function(e){rn.IsAvailable&&rn.requestAlwaysRender(this._customControlProperties.id,e)},e.prototype.setControlState=function(e,t,n){var r=this._customControlProperties.personalizationConfiguration;if(r){if(t)return void(this._customControlProperties.manifest.CustomControlId&&this._customControlProperties.actions.setGlobalControlPersonalization(this._customControlProperties.manifest.CustomControlId,e));"form"===r.areaType?this._customControlProperties.actions.setFieldControlPersonalization(r,e,n?this._customControlProperties.id:null):"grid"===r.areaType?this._customControlProperties.actions.setGridControlPersonalization(r,e,n?this._customControlProperties.id:null):"dashboard"===r.areaType?this._customControlProperties.actions.setDashboardControlPersonalization(r,e,n?this._customControlProperties.id:null):n&&this._customControlProperties.actions.setGenericControlPersonalization(r.controlUniqueId,e,this._customControlProperties.id)}return this._customControlProperties.propBagMethods.utils.setState(e)},e.prototype.blur=function(){},e.prototype.focus=function(){},e}(),an=function(){function e(e){this._bagProps=e.propBagMethods.device}return e.prototype.captureImage=function(e){return F.captureImage(e)},e.prototype.captureAudio=function(e){return F.captureAudio(e)},e.prototype.captureVideo=function(e){return F.captureVideo(e)},e.prototype.pickFile=function(e){return F.pickFile(e)},e.prototype.getBarcodeValue=function(){return F.getBarcodeValue()},e.prototype.getCurrentPosition=function(){return F.getCurrentPosition()},e.prototype.isGetBarcodeValueOperationAvailable=function(){return this._bagProps.isGetBarcodeValueOperationAvailable()},e.prototype.isTakePictureOperationAvailable=function(){return this._bagProps.isTakePictureOperationAvailable()},e.prototype.isCaptureVideoOperationAvailable=function(){return this._bagProps.isCaptureVideoOperationAvailable()},e.prototype.isCaptureAudioOperationAvailable=function(){return this._bagProps.isCaptureAudioOperationAvailable()},e.prototype.isOpenARViewerAvailable=function(){return this._bagProps.isOpenARViewerAvailable()},e.prototype.openARViewer=function(e){return F.openARViewer(e)},e.prototype.isGetMessageReceiverAvailable=function(){return this._bagProps.isGetMessageReceiverAvailable()},e.prototype.getMessageReceiver=function(e,t){return F.getMessageReceiver(e,t)},e.prototype.getDeclaredFeatures=function(){return{unspecifiedFeatureFallback:{supportStatus:"supported"},featureList:{captureImage:{supportStatus:this.isTakePictureOperationAvailable&&this.isTakePictureOperationAvailable()?"supported":"unsupported"},captureAudio:{supportStatus:this.isCaptureAudioOperationAvailable&&this.isCaptureAudioOperationAvailable()?"supported":"unsupported"},captureVideo:{supportStatus:this.isCaptureVideoOperationAvailable&&this.isCaptureVideoOperationAvailable()?"supported":"unsupported"},getBarcodeValue:{supportStatus:this.isGetBarcodeValueOperationAvailable&&this.isGetBarcodeValueOperationAvailable()?"supported":"unsupported"},getCurrentPosition:{supportStatus:"supported"},pickFile:{supportStatus:"supported"},openARViewer:{supportStatus:this.isOpenARViewerAvailable&&this.isOpenARViewerAvailable()?"supported":"unsupported"},getMessageReceiver:{supportStatus:this.isGetMessageReceiverAvailable&&this.isGetMessageReceiverAvailable()?"supported":"unsupported"}}}},e.prototype.getFeatureClassName=function(){return"Device"},e}(),sn=function(){function e(){}return e.prototype.getAvailableExternalContexts=function(){return F.getAvailableExternalContexts()},e.prototype.getExternalContextProperty=function(e,t,n){return F.getExternalContextProperty(e,t,n)},e.prototype.invokeExternalContextAction=function(e,t,n){return F.invokeExternalContextAction(e,t,n)},e.prototype.removeExternalContextPropertyListener=function(e,t,n){return F.removeExternalContextPropertyListener(e,t,n)},e}(),ln=function(){function e(e){this.getPresenceMappedField=e.actions.getPresenceMappedField,this.isPresenceEnabled=e.actions.isPresenceEnabledEntity,this.getPersonaInfo=e.actions.retrievePersonaInfo,this.getPresenceStatus=e.actions.usePresenceStatus,this.getProfilePhoto=e.actions.useProfilePhoto,this.getAadObjectIdInfos=e.actions.retrieveAadObjectIdInfos}return e.prototype.getPresenceMappedField=function(e){return null},e.prototype.isPresenceEnabled=function(e){return null},e.prototype.getPersonaInfo=function(e){return null},e.prototype.getPresenceStatus=function(e,t){return null},e.prototype.getProfilePhoto=function(e,t){return null},e.prototype.getAadObjectIdInfos=function(e){return null},e}(),un=function(){function e(e){this._themingData=e.propBagData.themingData,this.useUpdatedDesignSystem=!!this._themingData.shouldUseDesignSystem,this.normalfontcolor=this._themingData.defaultThemingData.normalfontcolor,this.normalfontfamily=this._themingData.defaultThemingData.normalfontfamily,this.normalfontsize=this._themingData.defaultThemingData.normalfontsize,this.solidborderstyle=this._themingData.defaultThemingData.solidborderstyle,this.noneborderstyle=this._themingData.defaultThemingData.noneborderstyle,this.colors=this._themingData.defaultThemingData.colors,this.textbox=this._themingData.defaultThemingData.textbox,this.spacings=this._themingData.defaultThemingData.spacings,this.fontfamilies=this._themingData.defaultThemingData.fontfamilies,this.fontsizes=this._themingData.defaultThemingData.fontsizes,this.breakpoints=this._themingData.defaultThemingData.breakpoints,this.measures=this._themingData.defaultThemingData.measures,this.lookup=this._themingData.defaultThemingData.lookup,this.borders=this._themingData.defaultThemingData.borders,this.shadows=this._themingData.defaultThemingData.shadows,this.buttons=this._themingData.defaultThemingData.buttons}return e.prototype.getEntityColor=function(e){return this._themingData.getEntityColor?this._themingData.getEntityColor(e):""},e.prototype.disableUiTransitions=function(){},e.prototype.rightAlignEdit=function(){},e.prototype.inlineLayout=function(){},e}(),cn=function(){function e(e){this._manifest=e.manifest,this._getResource=e.actions.getResource,this._bagPropsResource=e.propBagData.resourcesData}return e.prototype.getString=function(e){return e&&this._bagPropsResource&&this._bagPropsResource.strings[e]?this._bagPropsResource.strings[e]:e},e.prototype.getResource=function(t,n,e){var r=this._manifest.Properties.Resources.filter(function(e){if(e)return e.Name.endsWith(t)})[0];r?this._getResource(r).then(function(e){n(e)},function(){e()}):e()},e}(),pn=function(){function e(e){var t,n,r;this._customControlProperties=e,this.assignedTabIndex=(t=this._customControlProperties,J(null===(r=null===(n=null==t?void 0:t.propBagData)||void 0===n?void 0:n.accessibilityData)||void 0===r?void 0:r.assignedTabIndex)?0:t.propBagData.accessibilityData.assignedTabIndex),this.assignedTooltip=function(e){var t,n,r;return null!==(r=null===(n=null===(t=null==e?void 0:e.propBagData)||void 0===t?void 0:t.accessibilityData)||void 0===n?void 0:n.assignedTooltip)&&void 0!==r?r:null}(this._customControlProperties),this.accessibilityInternalData={keyboardShortcuts:[]},this.isHighContrastEnabled=function(){if(void 0===We){var e=window.matchMedia("(-ms-high-contrast: active)"),t=window.matchMedia("(forced-colors: active)"),n=window.matchMedia("(prefers-contrast: more)");if(e.matches||t.matches||n.matches)We=!0;else{var r=document.getElementsByTagName("html");We=null!=r[0].getAttribute("hc")}}return We}()}return e.prototype.registerShortcut=function(e,t,n,r,o,i){var a=this._customControlProperties.actions.createKeyboardShortcut(e,t,n,r,o,i);this.accessibilityInternalData.keyboardShortcuts.push(a)},e.prototype.getUniqueId=function(e){return ze(this._customControlProperties,e)},e.prototype.focusElementById=function(e,t){qe(this._customControlProperties,e,t)},e.prototype.blurElementById=function(e,t){!function(e,t,n){var r=Qe(e,t,n);if(r&&null!==r){var o=document.getElementById(r);o&&null!==o&&o.blur()}}(this._customControlProperties,e,t)},e}(),dn=function(){function e(){}return e.prototype.retrieveRecord=function(e,t,n){return F.retrieveRecord(e,t,n)},e.prototype.createRecord=function(e,t){return F.createRecord(e,t)},e.prototype.updateRecord=function(e,t,n){return F.updateRecord(e,t,n)},e.prototype.deleteRecord=function(e,t){return F.deleteRecord(e,t)},e.prototype.retrieveMultipleRecords=function(e,t,n,r){return F.retrieveMultipleRecords(e,t,n,r)},e.prototype.execute=function(e){return F.execute(e)},e.prototype.executeMultiple=function(e){return F.executeMultiple(e)},e.prototype.getDeclaredFeatures=function(){return{unspecifiedFeatureFallback:{supportStatus:"supported"}}},e.prototype.getFeatureClassName=function(){return"WebAPI"},e}(),fn=function(){function e(){}return e.prototype.sendRequest=function(e,t,n,r,o){var i;return null===(i=F.GraphApi)||void 0===i?void 0:i.sendRequest(e,t,n,r,o)},e.prototype.getDeclaredFeatures=function(){return{unspecifiedFeatureFallback:{supportStatus:"supported"}}},e.prototype.getFeatureClassName=function(){return"GraphApi"},e}(),hn=function(){function e(e,t){this.updateBag(e),this.getClientUrl=function(){return t.xrmProxy.Page.getClientUrl()}}return e.prototype.updateBag=function(e){var t=e.propBagData.pageData,n=e.propBagData.modeData;this.appId=t.appId,this.entityTypeName=n.entityTypeName,this.entityId=n.entityId,this.isPageReadOnly=t.isPageReadOnly},e}();function mn(e,t){if(e&&t&&t.ApiVersion&&!(vn(t.ApiVersion,"1.1")<0)&&e.getDeclaredFeatures&&e.getFeatureClassName){var n=e.getDeclaredFeatures();if(n)for(var r=t.Properties&&t.Properties.FeatureUsage,o=function(t){var e=r&&r.find(function(e){return e.Name.toLowerCase()===t.toLowerCase()});return e?e.IsRequired?"required":"optional":"unspecified"},i=e.getFeatureClassName(),a=o(i),s=0,l=function(e){var t=["constructor","getFeatureClassName","getDeclaredFeatures"];return Reflect.ownKeys(Reflect.getPrototypeOf(e)).filter(function(e){return"string"==typeof e&&!e.startsWith("_")&&-1===t.indexOf(e)}).map(function(e){return e})}(e).filter(function(e){return!n.featureList||n.featureList[e]}).map(function(e){return{name:e,featureState:n.featureList?o("".concat(i,".").concat(e)):a,versionStatus:yn(n,e,t.ApiVersion)}});s<l.length;s++){var u=l[s],c=n.featureList&&n.featureList[u.name],p=c&&c.supportStatus||n.unspecifiedFeatureFallback&&n.unspecifiedFeatureFallback.supportStatus||"unsupported";gn(e,u.name,u.featureState,u.versionStatus,p)}}}function yn(e,t,n){var r=e.featureList&&e.featureList[t]||e.unspecifiedFeatureFallback;if(!r||!r.minApiVersion&&!r.maxApiVersion)return"implemented";var o=r.minApiVersion&&vn(n,r.minApiVersion),i=r.maxApiVersion&&vn(n,r.maxApiVersion);if(void 0!==o){if(isNaN(o))return"unknown";if(o<0)return"notimplemented"}if(void 0!==i){if(isNaN(i))return"unknown";if(i>0)return"deprecated"}return"implemented"}function gn(e,t,n,r,o){"unknown"===r||("deprecated"===r?e[t]=function(){throw new Error(function(e,t){return"Feature '".concat(e.getFeatureClassName(),".").concat(t,"' has been deprecated.")}(e,t))}:"notimplemented"===r?e[t]=function(){throw new Error(function(e,t){return"Feature '".concat(e.getFeatureClassName(),".").concat(t,"' not implemented in this version.")}(e,t))}:"unspecified"===n?e[t]=function(){throw new Error(function(e,t){return"Feature '".concat(e.getFeatureClassName(),".").concat(t,"' is required to be specified in the <uses-feature> section in ControlManifest.xml before use.")}(e,t))}:"required"===n&&"unsupported"===o?e[t]=function(){throw new Error(function(e,t){return"Required method '".concat(e.getFeatureClassName(),".").concat(t,"' not supported on this device. Error code: ").concat("PlatformErrorCodes.OperationIsNotSupportedOnThisDevice")}(e,t))}:"optional"===n&&"unsupported"===o&&(e[t]=null))}function vn(e,t){var n=t.match("^(\\d+)?\\.?(\\d+)?\\.?(\\d+)?$"),r=e.match("^(\\d+)?\\.?(\\d+)?\\.?(\\d+)?$");if(!n||!r)return Number.NaN;for(var o=1;o<4;o++){var i=n.length>o&&parseInt(n[o],10)||0,a=r.length>o&&parseInt(r[o],10)||0;if(a-i!=0)return Math.min(Math.max(a-i,-1),1)}return 0}var bn=function(){function e(e,t,n){this._customControlProperties=e,this._externalUtils=t,this._hostData=n}return e.prototype.getInstance=function(e){var t=new e(this._customControlProperties,this._externalUtils,this._hostData);return t instanceof Object&&void 0!==t.getDeclaredFeatures&&this._modifyDeclaredFunctions(t),t},e.prototype._modifyDeclaredFunctions=function(e){mn(e,this._customControlProperties.manifest)},e}(),Cn=function(){return(Cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},_n={Primary01:"#0078D4",Primary02:"#106EBE",Primary03:"#005A9E",Primary04:"#004578",Primary05:"#2B88D8",Primary06:"#C7E0F4",Primary07:"#DEECF9",Primary08:"#EFF6FC",Secondary01:"#0078D4",Error01:"#a80000",Error02:"#fde7e9",Error03:"#d83b01",Error04:"#fed9cc",Error05:"#107c10",Error06:"#dff6dd",Error07:"#6e6f77",Error08:"#fff4ce",Error09:"#6e6f77",Error10:"#e1dfdd",Neutral01:"#FFFFFF",Neutral02:"#FAF9F8",Neutral03:"#F3F2F1",Neutral04:"#EDEBE9",Neutral05:"#E1DFDD",Neutral06:"#D2D0CE",Neutral07:"#C8C6C4",Neutral08:"#BEBBB8",Neutral09:"#B3B0AD",Neutral10:"#A19F9D",Neutral11:"#8A8886",Neutral12:"#605E5C",Neutral13:"#323130",Neutral14:"#201F1E",Data01:"#118DFF",Data02:"#12239E",Data03:"#E66C37",Data04:"#6B007B",Data05:"#E044A7",Data06:"#744EC2",Data07:"#D98300",Data08:"#D64550",Data09:"#197278",Data10:"#1AAB40",Data11:"#15C6F4",DataEmpty:"#e6e6e6"};function Sn(e){e=Cn(Cn({},_n),e);var t={};return t.Contrast=e.Neutral01,t.Text01=e.Neutral13,t.Text02=e.Neutral14,t.Text03=e.Neutral12,t.Text04=e.Neutral11,t.Background=t.Contrast,t.DisabledBackground=e.Neutral03,t.DisabledForeground=e.Neutral10,t.InputBorder=e.Neutral12,t.InputFocusBorder=e.Primary01,t.KeyboardFocusBorder=e.Neutral12,t.PivotColor=e.Primary01,{Palette:e,Patterns:t}}Sn({});var Pn,In,wn=(Pn={},In={},{Colors:Pn=Cn(Cn({},Sn(_n)),Pn),Components:In=Cn(Cn({},function(e){return{TextInput:{PrefixBackgroundColor:e.Palette.Neutral03,PrefixForegroundColor:e.Palette.Neutral12,SuffixBackgroundColor:e.Palette.Neutral03,SuffixForegroundColor:e.Palette.Neutral12,Disabled:{TextColor:e.Patterns.DisabledForeground,BackgroundColor:e.Patterns.DisabledBackground,BorderColor:e.Palette.Neutral03,LinkColor:e.Patterns.DisabledForeground},View:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,BorderColor:e.Patterns.InputBorder,LinkColor:e.Patterns.Text01},Edit:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,BorderColor:e.Patterns.InputBorder,LinkColor:e.Palette.Primary01,Valid:{Hover:{BorderColor:e.Palette.Neutral13},Focus:{BorderColor:e.Patterns.InputFocusBorder},Open:{BorderColor:e.Palette.Neutral09}},Invalid:{BorderColor:e.Palette.Error01,ErrortextColor:e.Palette.Error01}}},Link:{Enabled:{TextColor:e.Palette.Primary01,Hover:{TextColor:e.Palette.Primary04}},Disabled:{TextColor:e.Patterns.DisabledForeground}},ButtonPrimary:{BackgroundColor:e.Palette.Primary01,TextColor:e.Patterns.Contrast,Disabled:{BackgroundColor:e.Patterns.DisabledBackground,TextColor:e.Patterns.DisabledForeground},Enabled:{Hover:{BackgroundColor:e.Palette.Primary02,TextColor:e.Patterns.Contrast},Pressed:{BackgroundColor:e.Palette.Primary03,TextColor:e.Patterns.Contrast}}},ButtonSecondary:{BackgroundColor:e.Patterns.Background,TextColor:e.Patterns.Text01,BorderColor:e.Palette.Neutral11,Disabled:{BackgroundColor:e.Patterns.DisabledBackground,TextColor:e.Patterns.DisabledForeground},Enabled:{Hover:{BackgroundColor:e.Palette.Neutral03,TextColor:e.Patterns.Text01},Pressed:{BackgroundColor:e.Palette.Neutral04,TextColor:e.Patterns.Text02}}},Label:{TextColor:e.Patterns.Text01,Disabled:{TextColor:e.Patterns.DisabledForeground}},Dropdown:{TextColor:e.Patterns.Text01,BorderColor:e.Patterns.InputBorder,Disabled:{TextColor:e.Patterns.DisabledForeground,BackgroundColor:e.Patterns.DisabledBackground,BorderColor:e.Palette.Neutral03},Enabled:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,Valid:{Hover:{BorderColor:e.Palette.Neutral13},Focus:{BorderColor:e.Patterns.InputFocusBorder},Open:{BorderColor:e.Palette.Neutral09}},Invalid:{BorderColor:e.Palette.Error01}}},DropdownMenu:{BackgroundColor:e.Patterns.Background,Menuitem:{BackgroundColor:e.Patterns.Background,BorderColor:e.Patterns.Background,Disabled:{TextColor:e.Patterns.DisabledForeground},Enabled:{Hover:{TextColor:e.Patterns.Text02,BackgroundColor:e.Palette.Neutral03,BorderColor:e.Palette.Neutral03},Focus:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,BorderColor:e.Patterns.KeyboardFocusBorder},Selected:{TextColor:e.Patterns.Text02,BackgroundColor:e.Palette.Neutral04,BorderColor:e.Palette.Neutral04}}}},Gauge:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,FullArcColor:e.Palette.Primary01,EmptyArcColor:e.Palette.DataEmpty},CommandBar:{BackgroundColor:e.Patterns.Background,Command:{TextColor:e.Patterns.Text01,IconColor:e.Palette.Primary01,Hover:{BackgroundColor:e.Palette.Neutral03},Pressed:{BackgroundColor:e.Palette.Neutral04},Focus:{BorderColor:e.Patterns.KeyboardFocusBorder}}},Form:{PivotColor:e.Patterns.PivotColor,FooterCommand:{TextColor:e.Patterns.Text01,BackgroundColor:e.Palette.Neutral06,IconColor:e.Palette.Neutral13,DividerColor:e.Palette.Neutral08,Hover:{BackgroundColor:e.Palette.Neutral07},Press:{BackgroundColor:e.Palette.Neutral08},Focus:{BorderColor:e.Patterns.KeyboardFocusBorder}}},MessageBar:{Info:{TextColor:e.Patterns.Text01,BackgroundColor:e.Palette.Neutral03,IconColor:e.Palette.Neutral12},SevereWarning:{TextColor:e.Patterns.Text01,BackgroundColor:e.Palette.Error04,IconColor:e.Palette.Error03},Blocked:{TextColor:e.Patterns.Text01,BackgroundColor:e.Palette.Error02,IconColor:e.Palette.Error01},Locked:{TextColor:e.Patterns.Text01,BackgroundColor:e.Palette.Neutral05,IconColor:e.Palette.Neutral12}},Grid:{ColumnHeader:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,CheckmarkIconColor:e.Palette.Neutral11,SortFilterIconColor:e.Palette.Neutral12,DividerColor:e.Palette.Neutral04,Focus:{BorderColor:e.Patterns.KeyboardFocusBorder}},Cell:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,LinkColor:e.Palette.Primary01,Hover:{TextColor:e.Patterns.Text02,BackgroundColor:e.Palette.Neutral03},Selected:{TextColor:e.Patterns.Text02,BackgroundColor:e.Palette.Neutral04,CheckmarkIconColor:e.Palette.Neutral11},Focus:{BorderColor:e.Patterns.KeyboardFocusBorder}},Footer:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,IconColor:e.Palette.Primary01,Focus:{BorderColor:e.Patterns.KeyboardFocusBorder},Disabled:{IconColor:e.Patterns.DisabledForeground}}},AppHeader:{TextColor:e.Patterns.Contrast,BackgroundColor:e.Palette.Primary01,IconColor:e.Palette.Neutral01,Hover:{BackgroundColor:e.Palette.Primary03},Pressed:{BackgroundColor:e.Patterns.Background,IconColor:e.Palette.Neutral13},Focus:{BorderColor:e.Patterns.Background}},Navigation:{Rest:{TextColor:e.Palette.Neutral13,IconColor:e.Palette.Neutral12,BackgroundColor:e.Palette.Neutral03,DividerColor:e.Palette.Neutral04,Hover:{TextColor:e.Palette.Neutral14,IconColor:e.Palette.Neutral12,BackgroundColor:e.Palette.Neutral01},Focus:{BorderColor:e.Patterns.KeyboardFocusBorder}},Selected:{TextColor:e.Palette.Neutral14,IconColor:e.Palette.Neutral12,BackgroundColor:e.Palette.Neutral01,PivotColor:e.Patterns.PivotColor,Focus:{BorderColor:e.Patterns.KeyboardFocusBorder}}},Dashboard:{TextColor:e.Patterns.Text01,BackgroundColor:e.Palette.Neutral02,ViewSelector:{TextColor:e.Patterns.Text01,ChevronColor:e.Palette.Neutral13,ChevronBackgroundColor:e.Palette.Neutral02,Hover:{ChevronBackgroundColor:e.Palette.Neutral04},Pressed:{ChevronBackgroundColor:e.Palette.Neutral04},Open:{ChevronBackgroundColor:e.Palette.Neutral04}},Card:{TextColor:e.Patterns.Text01,BackgroundColor:e.Patterns.Background,DividerColor:e.Palette.Neutral04,ActionButton:{Rest:{TextColor:e.Patterns.Text01,IconColor:e.Palette.Primary01,BackgroundColor:e.Patterns.Background,BorderColor:e.Patterns.Background,Focus:{BorderColor:e.Patterns.KeyboardFocusBorder},Hover:{TextColor:e.Patterns.Text02,IconColor:e.Palette.Primary03,BackgroundColor:e.Palette.Neutral03}},Selected:{TextColor:e.Patterns.Text02,IconColor:e.Palette.Primary03,BackgroundColor:e.Palette.Neutral04,BorderColor:e.Palette.Neutral04,Focus:{BorderColor:e.Patterns.KeyboardFocusBorder},Hover:{BackgroundColor:e.Palette.Neutral05}},Disabled:{TextColor:e.Patterns.DisabledForeground,IconColor:e.Patterns.DisabledForeground,BackgroundColor:e.Patterns.Background}}}}}}(Pn)),In),DesignLanguageId:"Fluent",ThemeId:"default"}),xn=new(function(){function e(){this._map={}}return e.prototype.GetThemeData=function(e,t){t||(t=wn);var n=t,r="".concat(e.ConstructorName,"-").concat(n.DesignLanguageId,"-").concat(n.ThemeId);if(this._map.hasOwnProperty(r))return this._map[r];var o={DesignLanguageId:n.DesignLanguageId||"FluentVNextTheme",ThemeId:n.ThemeId||"WebBasic"};if(!e.DesignMap||!e.DesignMap.DesignMap)return Object.assign(o,t);for(var i in e.DesignMap.DesignMap){for(var a=e.DesignMap.DesignMap[i],s=a.split("."),l=n,u=0;u<s.length;u++){if(!l){l=a;break}l=l[s[u]]}o[i]=l||a}return this._map[r]=o,o},e}());var En=function(){function e(e){this._customControlProperties=e}return e.prototype.updateBag=function(e){this._customControlProperties=e},e.prototype.resolvePrediction=function(e){var t,n=this,r=this._customControlProperties.dynamicData.parameters[e];if(r&&!J(r.predicted)){var o=this._customControlProperties.propBagData.modeData.entityId,i=this._customControlProperties.id,a=this._customControlProperties.contextToken,s=null===(t=r.attributes)||void 0===t?void 0:t.LogicalName;window.setTimeout(function(){n._customControlProperties.actions.resolvePrediction(i,a,o,s)},100)}},e}(),kn=function(){function e(e,t){var n;this._accessibilityInternalData={keyboardShortcuts:[]};var r=new bn(e,t);this._externalUtils=t;var o=Se.createPerformanceEvent("PropertyBag.constructor",e.logLevel).startStopwatch({controlId:e.controlId,manifestControlName:e.manifest.CustomControlId,parentId:Ze(e),level:0..toString()});this._bagObject={formatting:r.getInstance(Vt),factory:r.getInstance(zt),navigation:r.getInstance(nn),reporting:r.getInstance(lt),diagnostics:r.getInstance(Gt),resources:r.getInstance(cn),theming:r.getInstance(un),design:xn.GetThemeData(e.manifest,e.designLanguage),fluentDesignLanguage:e.fluentDesignLanguage,performance:r.getInstance(Xt),utils:r.getInstance(Zt),orgSettings:r.getInstance(Jt),userSettings:r.getInstance(en),offline:t.xrmProxy.Offline,learningPath:null,page:r.getInstance(hn),webAPI:null,graphApi:null,intelligenceApi:null,connectors:null,client:r.getInstance(tn),parameters:{labelForPrefix:{type:"",raw:"".concat(e.descriptor.DomId,"-").concat(e.descriptor.Id).concat((null===(n=e.descriptor.ClassId)||void 0===n?void 0:n.guid)?e.descriptor.ClassId.guid:"","-").concat(e.descriptor.Id),error:!1,errorMessage:"",security:null}},mode:null,accessibility:null,updatedProperties:[],device:r.getInstance(an),externalContext:r.getInstance(sn),communicationChannel:null,events:this._getBagEvents(e),appSettings:e.actions.appSettings,copilot:r.getInstance(En)},this._memoizedFileObjects={},o()}return e.prototype.generateBag=function(e,t){var n,r,o=new bn(e,null,t),i=Se.createPerformanceEvent("PropertyBag.generateBag",e.logLevel).startStopwatch({controlId:e.controlId,manifestControlName:e.manifest.CustomControlId,parentId:Ze(e),level:1..toString()});return this._bagObject.accessibility=o.getInstance(pn),this._bagObject.mode=o.getInstance(on),this._bagObject.parameters=this._updateLatestParameters(e),this._bagObject.children=this._getChildren(e.children),this._bagObject.resources=o.getInstance(cn),this._bagObject.webAPI=o.getInstance(dn),this._bagObject.intelligenceApi=o.getInstance(Kt),this._bagObject.graphApi=o.getInstance(fn),this._bagObject.connectors=e.actions.getConnectorsApi?e.actions.getConnectorsApi(e.id):null,this._bagObject.offline=F.Offline,this._bagObject.learningPath=this._getLearningPathBag(e),this._bagObject.updatedProperties=this._getUpdatedPropertiesBag(e,t),this._bagObject.communicationChannel=o.getInstance(ln),this._bagObject.design=xn.GetThemeData(e.manifest,e.designLanguage),this._bagObject.fluentDesignLanguage=null!==(n=e.fluentDesignLanguage)&&void 0!==n?n:this._bagObject.fluentDesignLanguage,this._bagObject.decorators=null!=e.parentDefinedControlProps?e.parentDefinedControlProps.decorators:null,this._accessibilityInternalData=this._bagObject.accessibility.accessibilityInternalData,this._bagObject.client.updateClientBag(t),this._bagObject.userSettings.updateBag(e),this._bagObject.orgSettings.updateBag(),this._bagObject.events=this._getBagEvents(e),null!=e.propBagData.pageData&&this._bagObject.page.updateBag(e),this._bagObject.navigation.updateBag(e),null===(r=this._bagObject.copilot)||void 0===r||r.updateBag(e),i(),this._bagObject.utils.setNotification=this._bagObject.mode.setNotification.bind(this._bagObject.mode),this._bagObject.utils.clearNotification=this._bagObject.mode.clearNotification.bind(this._bagObject.mode),this._bagObject},e.prototype._getChildren=function(e){if(this._memoizedChildrenRaw!==e){this._memoizedChildrenRaw=e;var t={};for(var n in this._memoizedChildrenRaw){var r=this._memoizedChildrenRaw[n];t[n]=new ye(r.CustomControlId,n,{parameters:r.Parameters},null,this._externalUtils)}this._memoizedChildrenConverted=t}return this._memoizedChildrenConverted},e.prototype._updateLatestParameters=function(g){var v,b={labelForPrefix:this._bagObject.parameters.labelForPrefix};g.dynamicData.generateDummySystemProps&&Object.assign(b,{deviceSizeMode:{Usage:1,Static:!0,Type:"WholeNumber.None",Value:0,Primary:!1},viewportSizeMode:{Usage:1,Static:!0,Type:"WholeNumber.None",Value:0,Primary:!1},scope:{Usage:1,Static:!0,Type:"WholeNumber.None",Value:1,Primary:!1},syncError:{Usage:1,Static:!0,Type:"TwoOptions",Value:!1,Primary:!1},isEmpty:{Usage:1,Static:!0,Type:"TwoOptions",Value:!1,Primary:!1}});var C=g.dynamicData&&g.dynamicData.parameters,e=function(e){var t=C[e];if(t&&t.attributes&&t.attributes.SourceType&&2===t.attributes.SourceType){var n=g.propBagData.modeData.entityTypeName,r=g.propBagData.modeData.entityId,o=t.attributes.LogicalName;t.attributes.recalculate=function(){g.actions.executeRollupRequest({entityType:n,id:r},o,g.id)}}if(t&&t.attributes&&g.actions.getBoundFileObject&&(t.type===Pe.File||t.type===Pe.Image)){var i=_._memoizedFileObjects[t.attributes.LogicalName];if(i&&i.timestamp&&t.attributes.Timestamp&&i.timestamp>=t.attributes.Timestamp)t.raw=i.file;else{var a={entityType:g.propBagData.modeData.entityTypeName,id:g.propBagData.modeData.entityId};t.raw=g.actions.getBoundFileObject(t.attributes.LogicalName,a,g.id,g.contextToken),_._memoizedFileObjects[t.attributes.LogicalName]={file:t.raw,timestamp:t.attributes.Timestamp}}}if(C[e]&&C[e].getLatestData){var s=C[e],l=s.getLatestData(),u=s;if(u.ensureLookupMetaDataInitialization){g.descriptor.Parameters&&g.descriptor.Parameters.delayMetadataInitialization||u.ensureLookupMetaDataInitialization({retrieveLookupMetadataAction:g.actions.retrieveLookupMetadataAction,refreshDataSetParameter:g.actions.refreshDataSetParameter,retrieveViewAction:g.actions.retrieveView})}null===(v=s.linkToParameter)||void 0===v||v.call(s,l,{retrieveAction:g.actions.retrieveLookupData,retrieveViewAction:g.actions.retrieveView,retrieveViewSelectorAction:g.actions.retrieveViewSelector,retrieveLookupMetadataAction:g.actions.retrieveLookupMetadataAction,retrieveRecordDataForForm:g.actions.retrieveRecordDataForForm,updateFieldValue:g.actions.updateFieldValue,saveEmbeddedEntity:g.actions.saveEmbeddedEntity,refreshDataSetParameter:g.actions.refreshDataSetParameter,retrieveDataSetLookupCellParameter:g.actions.retrieveDataSetLookupCellParameter,executeAddOnLoad:g.actions.executeAddOnLoad,setPowerBISignedInState:g.actions.setPowerBISignedInState,beginSecureSessionForResource:g.actions.beginSecureSessionForResource,executeNotifyHandlersThatEventOccurred:g.actions.executeNotifyHandlersThatEventOccurred,addSessionTab:g.actions.addSessionTab,closeSessionTab:g.actions.closeSessionTab,updateSessionTab:g.actions.updateSessionTab,closeAllSessionTabs:g.actions.closeAllSessionTabs,dismissMessage:g.actions.dismissMessage,markActiveTab:g.actions.markActiveTab,initializeReferencePanelControl:g.actions.initializeReferencePanelControl,cleanReferencePanelState:g.actions.cleanReferencePanelState,runCustomOpenRecord:g.actions.runCustomOpenRecord,openDatasetItem:Ye.bind(null,g,l,e,g.actions.runCustomOpenRecord),updateControlMemoizedDataSet:g.actions.updateControlMemoizedDataSet,executeRollupRequest:g.actions.executeRollupRequest,loadWebResource:g.actions.loadWebResource,updateChartFilterExpression:g.actions.updateChartFilterExpression,sendLookupRequest:g.actions.sendLookupRequest,runPreSearch:g.actions.runPreSearch,retrieveLookupRecordsBySearchString:g.actions.retrieveLookupRecordsBySearchString,retrieveLookupRecordsByIds:g.actions.retrieveLookupRecordsByIds,getBoundFileObject:g.actions.getBoundFileObject,updateGridPageNumber:g.actions.updateGridPageNumber,retrievePersonaInfo:g.actions.retrievePersonaInfo,usePresenceStatus:g.actions.usePresenceStatus,useProfilePhoto:g.actions.useProfilePhoto});var c=s;if(c.applyDataSetInputs){var p=l,d=c.applyDataSetInputs(p),f=void 0,h=void 0;if("number"==typeof d?f=d:(f=d.nextAction,h=d.pageNumber),0!==f)switch(f){case 1:p.refresh&&p.refresh();break;case 2:p.paging&&p.paging.hasNextPage&&p.paging.loadNextPage&&p.paging.loadNextPage();break;case 3:p.paging&&p.paging.hasPreviousPage&&p.paging.loadPreviousPage&&p.paging.loadPreviousPage();break;case 6:if(J(h)){var m=C[e]&&C[e]._wrapper&&C[e]._wrapper.previousAppliedSubParametersInput.pagingInput?C[e]._wrapper.previousAppliedSubParametersInput.pagingInput.raw:null;h=m?JSON.parse(m).firstPageNumber:null}p.paging&&p.paging.loadExactPage&&p.paging.loadExactPage(h)}}var y=ot.getWrapperByCommandManagerId("".concat(g.id,":").concat(g.controlId));y&&l.getTargetEntityType&&y.linkParameterMethod(l),b[e]=l}else b[e]=C[e]},_=this;for(var t in C)e(t);return b},e.prototype._getBagEvents=function(i){var e={};if((i.manifest.Events||i.manifest.CommonEvents)&&i.actions.fireManifestEvent){var t=[];i.manifest.Events&&(t=t.concat(Object.keys(i.manifest.Events))),i.manifest.CommonEvents&&(t=t.concat(Object.keys(i.manifest.CommonEvents)));for(var n=0,r=t;n<r.length;n++){var o=r[n];o in e||(e[o]=i.actions.fireManifestEvent.bind(null,o))}}else if(i.manifest.Properties.Events)for(var a=function(o){e[o.Name]=function(e){var t,n=null===(t=i.parentDefinedControlProps.customEventListeners)||void 0===t?void 0:t[o.Name];if(n&&n(e),i.actions.fireManifestEvent){var r=i.id;i.actions.fireManifestEvent(o.Name,e,i.contextToken,r)}}},s=0,l=i.manifest.Properties.Events;s<l.length;s++){a(l[s])}return e},e.prototype.getAccessibilityData=function(){return this._accessibilityInternalData},e.prototype.getLearningPathBag=function(){return this._bagObject.learningPath},e.prototype.getCommunicationBag=function(){return this._bagObject.communicationChannel},e.prototype._getLearningPathBag=function(e){var t=it.getLearningPathControlId(e);return{DOMAttributeName:it.LEARNING_PATH_ATTRIBUTE,baseControlId:t}},e.prototype._getUpdatedPropertiesBag=function(e,t){var n=[];for(var r in t&&t.updatedProperties&&(n=t.updatedProperties),e.dynamicData.parameters)if(e.dynamicData.parameters[r]&&e.dynamicData.parameters[r].getUpdatedPropertiesDic){var o=e.dynamicData.parameters[r].getUpdatedPropertiesDic();for(var i in o)o[i]&&-1===n.indexOf(i)&&n.push(i);e.dynamicData.parameters[r].clearUpdatedPropertiesDic&&e.dynamicData.parameters[r].clearUpdatedPropertiesDic()}return n},e}(),Tn=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Dn=function(){return(Dn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tn(e,t),e.prototype.getElementName=function(){return"button"},e.prototype.getElementProps=function(){var e={type:"button",ref:this.props.refCallback?this.refCallbackTrigger.bind(this):null};return e.accessKey=this.props.accessKey,this.props.disabled&&(e.disabled=!0),e},e.prototype.getElementClassName=function(){var e=t.prototype.getElementClassName.call(this);return this.props&&this.props.className&&(e+=" ".concat(this.props.className)),e},e.prototype.getFlexClassName=function(e){return c(e?e.display:null)},e.prototype.getElementStyle=function(){if(this.props.style)return Dn({},u(this.props.style))},e.displayName="Button",e}(y),On=l.connect(H)(Fn),Mn=/^\{?([0-9a-f]{8}(-?)[0-9a-f]{4}\2[a-f\d]{4}\2[0-9a-f]{4}\2[0-9a-f]{12})}?$/;function An(e,t){var n=Mn.exec(e.toLocaleLowerCase()),r=Mn.exec(t.toLocaleLowerCase());return n[1]===r[1]}function Rn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}var Ln,Nn;!function(e){e[e.Backspace=8]="Backspace",e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Shift=16]="Shift",e[e.Ctrl=17]="Ctrl",e[e.Alt=18]="Alt",e[e.PauseBreak=19]="PauseBreak",e[e.Capslock=20]="Capslock",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.LeftArrow=37]="LeftArrow",e[e.UpArrow=38]="UpArrow",e[e.RightArrow=39]="RightArrow",e[e.DownArrow=40]="DownArrow",e[e.Insert=45]="Insert",e[e.Delete=46]="Delete",e[e.Num0=48]="Num0",e[e.Num1=49]="Num1",e[e.Num2=50]="Num2",e[e.Num3=51]="Num3",e[e.Num4=52]="Num4",e[e.Num5=53]="Num5",e[e.Num6=54]="Num6",e[e.Num7=55]="Num7",e[e.Num8=56]="Num8",e[e.Num9=57]="Num9",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.LeftWindowKey=91]="LeftWindowKey",e[e.RightWindowKey=92]="RightWindowKey",e[e.SelectKey=93]="SelectKey",e[e.NumPad0=96]="NumPad0",e[e.NumPad1=97]="NumPad1",e[e.NumPad2=98]="NumPad2",e[e.NumPad3=99]="NumPad3",e[e.NumPad4=100]="NumPad4",e[e.NumPad5=101]="NumPad5",e[e.NumPad6=102]="NumPad6",e[e.NumPad7=103]="NumPad7",e[e.NumPad8=104]="NumPad8",e[e.NumPad9=105]="NumPad9",e[e.Multiply=106]="Multiply",e[e.Add=107]="Add",e[e.Subtract=109]="Subtract",e[e.DecimalPoint=110]="DecimalPoint",e[e.Divide=111]="Divide",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F3=114]="F3",e[e.F4=115]="F4",e[e.F5=116]="F5",e[e.F6=117]="F6",e[e.F7=118]="F7",e[e.F8=119]="F8",e[e.F9=120]="F9",e[e.F10=121]="F10",e[e.F11=122]="F11",e[e.F12=123]="F12",e[e.NumLock=144]="NumLock",e[e.ScrollLock=145]="ScrollLock",e[e.SemiColon=186]="SemiColon",e[e.EqualSign=187]="EqualSign",e[e.Comma=188]="Comma",e[e.Dash=189]="Dash",e[e.Period=190]="Period",e[e.ForwardSlash=191]="ForwardSlash",e[e.GraveAccent=192]="GraveAccent",e[e.OpenBracket=219]="OpenBracket",e[e.BackSlash=220]="BackSlash",e[e.CloseBraket=221]="CloseBraket",e[e.SingleQuote=222]="SingleQuote"}(Ln||(Ln={})),function(e){e[e.left=0]="left",e[e.right=1]="right",e[e.up=2]="up",e[e.down=3]="down",e[e.leftup=4]="leftup",e[e.rightup=5]="rightup",e[e.upleft=6]="upleft",e[e.downleft=7]="downleft"}(Nn||(Nn={}));var Bn;function Un(){return{width:document.body.offsetWidth,height:document.body.offsetHeight}}function Vn(){var e=document.getElementById("topBar-mobile"),t=Hn(),n=Un();return{left:document.body.scrollLeft,top:document.body.scrollTop,right:t.width-n.width-document.body.scrollLeft,bottom:e?e.offsetHeight:t.height-n.height-document.body.scrollTop}}function Hn(){return{width:document.body.scrollWidth,height:document.body.scrollHeight}}function jn(e){return{width:e.offsetWidth-e.clientWidth+e.scrollWidth,height:e.offsetHeight-e.clientHeight+e.scrollHeight}}function Wn(e,t,n,r){void 0===n&&(n=Un()),void 0===r&&(r=Vn());var o={},i=t.maxWidth&&t.width&&t.maxWidth>0&&t.maxWidth<t.width?t.maxWidth:t.width?t.width:0,a=t.maxHeight&&t.height&&t.maxHeight>0&&t.maxHeight<t.height?t.maxHeight:t.height?t.height:0;return"number"==typeof e.left?(o.width=Math.max(r.left-e.left,0),o.width+=Math.max(e.left+i-n.width-r.left,0)):"number"==typeof e.right&&(o.width=Math.max(r.right-e.right,0),o.width+=Math.max(e.right+i-n.width-r.right,0)),"number"==typeof e.top?(o.height=Math.max(r.top-e.top,0),o.height+=Math.max(e.top+a-n.height-r.top,0)):"number"==typeof e.bottom&&(o.height=Math.max(r.bottom-e.bottom,0),o.height+=Math.max(e.bottom+a-n.height-r.bottom,0)),o}function zn(e){switch(e){case Nn.down:return[Nn.down,Nn.downleft,Nn.up,Nn.upleft,Nn.right,Nn.rightup,Nn.left,Nn.leftup];case Nn.downleft:return[Nn.downleft,Nn.down,Nn.upleft,Nn.up,Nn.right,Nn.rightup,Nn.left,Nn.leftup];case Nn.right:return[Nn.right,Nn.rightup,Nn.left,Nn.leftup,Nn.down,Nn.downleft,Nn.up,Nn.upleft];case Nn.rightup:return[Nn.rightup,Nn.right,Nn.leftup,Nn.left,Nn.down,Nn.downleft,Nn.up,Nn.upleft];case Nn.up:return[Nn.up,Nn.upleft,Nn.down,Nn.downleft,Nn.right,Nn.rightup,Nn.left,Nn.leftup];case Nn.upleft:return[Nn.upleft,Nn.up,Nn.downleft,Nn.down,Nn.right,Nn.rightup,Nn.left,Nn.leftup];case Nn.left:return[Nn.left,Nn.leftup,Nn.right,Nn.rightup,Nn.down,Nn.downleft,Nn.up,Nn.upleft];case Nn.leftup:return[Nn.leftup,Nn.left,Nn.rightup,Nn.right,Nn.down,Nn.downleft,Nn.up,Nn.upleft];default:var t="";try{t=JSON.stringify(e)}catch(e){t="Unable to parse initial direction"}var n=new Error("Unexpected initial direction: "+t);throw F.Reporting.reportFailure(Ie+".Primitive.Flyout",n),n}}function Gn(e,t,n){var r=function(e,t){void 0===t&&(t=document.body);var n=t.getBoundingClientRect(),r=e.getBoundingClientRect();return{top:r.top-n.top,left:r.left-n.left}}(n,document.body),o=n.getBoundingClientRect(),i=Un(),a={top:r.top,left:r.left,width:o.width,height:o.height,right:r.left+o.width,bottom:r.top+o.height},s=a.top,l=a.right,u=null,c=null;function p(){return e.maxWidth&&e.maxWidth<e.width?e.maxWidth:e.width}function d(){return e.maxHeight&&e.maxHeight<e.height?e.maxHeight:e.height}switch(t){case Nn.rightup:e&&e.height?s=a.bottom-d():(s=void 0,c=i.height-a.bottom);break;case Nn.up:e&&e.height?s=a.top-d():(c=i.height-a.top,s=void 0),l=a.left;break;case Nn.upleft:e&&e.height?s=a.top-d():(c=i.height-a.top,s=void 0),e&&e.width?l=a.right-p():(l=void 0,u=i.width-a.right);break;case Nn.down:s=a.bottom,l=a.left;break;case Nn.downleft:s=a.bottom,e&&e.width?l=a.right-p():(l=void 0,u=i.width-a.right);break;case Nn.left:s=a.top,e&&e.width?l=a.left-p():u=i.width-a.left;break;case Nn.leftup:e&&e.height?s=a.bottom-d():(s=void 0,c=i.height-a.bottom),e&&e.width?l=a.left-p():u=i.width-a.left}return{left:l,top:s,right:u,bottom:c}}function Kn(e){var t=window.getComputedStyle(e);return e&&t&&("auto"===t.overflow||"scroll"===t.overflow||"auto"===t.overflowX||"scroll"===t.overflowX||"auto"===t.overflowY||"scroll"===t.overflowY)}var qn=function(){function e(){this._parentFlyoutNameToChildRootNameMap={}}return e.getInstance=function(){return Bn||(Bn=new e),Bn},e.prototype.mountChildFlyout=function(e,t){this._parentFlyoutNameToChildRootNameMap.hasOwnProperty(e)||(this._parentFlyoutNameToChildRootNameMap[e]=[]),this._parentFlyoutNameToChildRootNameMap[e].push(t)},e.prototype.unmountChildFlyout=function(e,t){if(this._parentFlyoutNameToChildRootNameMap.hasOwnProperty(e)){var n=this._parentFlyoutNameToChildRootNameMap[e],r=n.indexOf(t);return r>-1&&(n.splice(r,1),n.length<1&&delete this._parentFlyoutNameToChildRootNameMap[e]),!1}return!1},e.prototype.getChildRoots=function(e){return this._parentFlyoutNameToChildRootNameMap.hasOwnProperty(e)?this._parentFlyoutNameToChildRootNameMap[e]:[]},e}(),Qn=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),$n=function(n){function e(e){var t=n.call(this,e)||this;return t.state={portals:new Map},t}return Qn(e,n),e.prototype.bindDOMElement=function(n,r,o,e){if(!r.isRemoveChildPatched){var t=r.removeChild,i=this.props.onError;r.removeChild=function(){try{return t.apply(this,arguments)}catch(e){if("NotFoundError"!==e.name&&"HierarchyRequestError"!==e.name)throw i&&i(e),e}},r.isRemoveChildPatched=!0}this.setState(function(e){var t=new Map(e.portals);return t.set(r,{element:n,id:o}),{portals:t}},e)},e.prototype.unbindDOMComponent=function(r,e){this.setState(function(e){var n=new Map(e.portals);return n.forEach(function(e,t){e.id===r&&n.delete(t)}),{portals:n}},e)},e.prototype.componentDidCatch=function(e){if("Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node."!==e.message)throw e},e.prototype.render=function(){var n=this,r=[];return this.state.portals.forEach(function(e,t){r.push(n.props.renderReactSubtree(e.element,t))}),r},e}(ie.Component),Yn=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Zn=function(){return(Zn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Xn=function(t){function e(e){var r=t.call(this,e)||this;return r._wasInnerFocusRequested=!1,r._seeMorePopupCount=null,r._previousChildren=null,r._resizeHandler=r.debouncingFlyoutEvent(function(){r._flyoutElement&&r._flyoutElement.offsetHeight>0&&r.updateDom()}),r._scrollHandler=r.debouncingFlyoutEvent(function(){if(r.getIsRelative()&&!r.props.keepWhenRelativeToElementHides){for(var e in r._isOutOfRange=!1,r._scrollableAncestors)if(t=r._getRelativeElement(),n=r._scrollableAncestors[e],t.getBoundingClientRect().top<n.getBoundingClientRect().top||t.getBoundingClientRect().bottom>n.getBoundingClientRect().bottom){r._isOutOfRange=!0;break}var t,n;r.updateDom()}},100),r.debouncingFlyoutEvent=r.debouncingFlyoutEvent.bind(r),r.handleMeasuring=r.handleMeasuring.bind(r),r.setFlyoutRef=r.setFlyoutRef.bind(r),r.handlePointerDown=r.handlePointerDown.bind(r),r.handleOnScroll=r.props.enableTrackOnScroll?r.handleOnScroll.bind(r):null,r.handleWindowBlur=r.handleWindowBlur.bind(r),r._isClickInsideFlyout=r._isClickInsideFlyout.bind(r),r._portal=ie.createRef(),r}return Yn(e,t),Object.defineProperty(e.prototype,"flyoutElement",{get:function(){return this._flyoutElement},enumerable:!1,configurable:!0}),e.prototype.getFlyoutRootId=function(){return this.props.isPortalToElement&&this.props.portalContainerId?this.props.portalContainerId:e.generateFlyoutId(this.props.parentCustomControlId,this.props.groupId)},e.prototype.componentDidMount=function(){var e=this;this.props.hasDynamicContent&&(this._measuringSubscriber={onMeasure:this.handleMeasuring,getComponent:function(){return e._flyoutElement},getContext:function(){return e.context}},M.getInstance().addMeasuringSubscribers(this._measuringSubscriber)),this.updateDom(),this._subscribeFlyoutPopupManager()},e.generateFlyoutId=function(e,t){return(e?e+"|":"")+(t?"__flyoutRootNode_"+t:"__flyoutRootNode")},e.prototype.componentDidUpdate=function(){this.updateDom(),M.getInstance().updateMeasuringSubscribers(this._measuringSubscriber)},e.prototype.componentWillUnmount=function(){this.removeFromDom(),this.resetFocus(),this.props.hasDynamicContent&&M.getInstance().removeMeasuringSubscribers(this._measuringSubscriber),te.getInstance().removeSubscribers(this._managerSubscriber)},e.prototype._getRelativeElement=function(){var e=document.getElementById(this.props.relativeToElementId);return e&&this.props.relativeToElementIdSelector&&(e=this.props.relativeToElementIdSelector(e)),e},e.prototype.calculatePosition=function(){var e,t={position:"absolute",visibility:this._isOutOfRange?"hidden":"visible",overflowX:this.props.disableHorizontalScroll?"hidden":"auto",overflowY:this.props.disableVerticalScroll?"hidden":"auto"},n=Zn({},this.props.size);if(this.getIsAbsolute())e=this.props.position;else{if(!this.getIsRelative()){var r=new Error("Cannot recognize positioning approach");throw F.Reporting.reportFailure("CustomControlFramework.Primitive.Flyout",r),r}var o=this._getRelativeElement();if(!o)return t.visibility="hidden",t;this._updateActualSize();var i=this.props.children;if(i&&i.props&&i.props.style){var a=new RegExp("^(\\d+)\\s*px$"),s=i.props.style,l=void 0;!n.maxHeight&&s.maxHeight&&(l=a.exec(s.maxHeight))&&(n.maxHeight=parseInt(l[1],10)),!n.maxWidth&&s.maxWidth&&(l=a.exec(s.maxWidth))&&(n.maxWidth=parseInt(l[1],10))}var u={width:n.width||this._actualSize&&this._actualSize.width,maxWidth:n.maxWidth||this._actualSize&&this._actualSize.maxWidth,height:n.height||this._actualSize&&this._actualSize.height,maxHeight:n.maxHeight||this._actualSize&&this._actualSize.maxHeight},c=null===this.props.flyoutDirection||void 0===this.props.flyoutDirection?Nn.right:this.props.flyoutDirection,p=null;if(null!==this._lastDirection&&void 0!==this._lastDirection&&(p=c,c=this._lastDirection),this.props.enforceDirection)e=Gn(u,c,o),this._lastDirection=c;else{var d=function(e,t,n,r){if(!e)return{Position:Gn(e,t,n),Direction:t};var o;null!==r&&r!==t?((o=zn(r)).splice(o.indexOf(t),1),o.unshift(t)):o=zn(t);for(var i,a,s=t,l=0,u=o;l<u.length;l++){var c=u[l],p=Gn(e,c,n),d=Wn(p,e);if(0===d.height&&0===d.width){a=p,s=c,i=d;break}if(i){var f=i.width+i.height;d.width+d.height<f&&(a=p,s=c,i=d)}else a=p,s=c,i=d}return{Position:a,Direction:s}}(u,c,o,p);e=d.Position,this._lastDirection=d.Direction}e.left=e.left>=0?e.left:0}if(this._actualSize){var f=Wn(e,this._actualSize),h=Vn();f.width&&!n.width&&(e.left<h.left&&(e.left=h.left),e.right<h.right&&(e.right=h.right)),!f.height||n.height||e.bottom||0===e.bottom||(e.top<h.top&&(e.top=h.top),e.bottom<h.bottom&&(e.bottom=h.bottom))}var m=function(e,t,n){void 0===t&&(t=Un()),void 0===n&&(n=Vn());var r={};return"number"==typeof e.left?r.maxWidth=Math.floor(t.width+n.left-e.left):"number"==typeof e.right&&(r.maxWidth=Math.floor(t.width+n.right-e.right)),"number"!=typeof e.top&&"number"!=typeof e.bottom||(r.maxHeight=Math.floor(t.height+n.top-e.top)),r}(e),y=m;return n.maxHeight&&n.maxHeight<m.maxHeight&&(y.maxHeight=n.maxHeight),n.maxWidth&&n.maxWidth<m.maxWidth&&(y.maxWidth=n.maxWidth),Object.assign(t,e,y),n.height&&(t.height=n.height),n.width&&(t.width=n.width),t},e.prototype._updateActualSize=function(){if(this._actualSize){var e=jn(this._flyoutElement);0!==e.width&&0!==e.height&&(this._actualSize.width===e.width&&this._actualSize.height===e.height||(this._actualSize=jn(this._flyoutElement)))}},e.prototype.ensureRootNode=function(){this.rootNode||(this.rootNode=document.getElementById(this.getFlyoutRootId()),this.rootNode||(this.rootNode=document.createElement("div"),this.rootNode.id=this.getFlyoutRootId(),this.rootNode.setAttribute("data-id",this.rootNode.id),this.rootNode.setAttribute("flyoutRoot",this.props.isPortalToElement&&this.props.portalContainerId?"":"__flyoutRootNode"),document.body.appendChild(this.rootNode)))},e.prototype.debouncingFlyoutEvent=function(e,t){void 0===t&&(t=200);var n=0;return function(){n||(n=window.setTimeout(function(){e(),n=0},t))}},e.prototype.handleMeasuring=function(e,t){this._actualSize.width===e&&this._actualSize.height===t||(this._actualSize.width=e,this._actualSize.height=t,this.updateDom())},e.prototype.getIsRelative=function(){return"relative"===this.props.positionType||!this.props.positionType&&this.props.relativeToElementId},e.prototype.getIsAbsolute=function(){return"absolute"===this.props.positionType||!this.props.positionType&&this.props.position},e.prototype.setFlyoutRef=function(e){this._flyoutElement=I.findDOMNode(e)},e.prototype._interceptClickEvent=function(){var e;return!(null===(e=null==F?void 0:F.Utils)||void 0===e?void 0:e.isFeatureEnabled("FlyoutPrimitveParentClickCheck"))||this.props.hasOnClickAncestor},e.prototype.updateDom=function(){var r=this;if(this.props.testhooks&&this.props.testhooks,this.props.children){null===this._seeMorePopupCount&&(this._seeMorePopupCount=j.getInstance().getPopupCount());var e=this._seeMorePopupCount>0;this.ensureRootNode(),this.parentFlyoutNode||(this.parentFlyoutNode=document.createElement("div"),this.rootNode.appendChild(this.parentFlyoutNode));var t=!!window.navigator.userAgent.match("MSIE")||!!window.navigator.userAgent.match("Trident"),o=this.calculatePosition(),n=Zn(Zn(Zn(Zn(Zn(Zn({},this.props.flyoutStyle),o),{boxSizing:"border-box"}),this.props.rootZIndex||e?{zIndex:1}:{}),t&&void 0===this._flyoutElement?{left:0}:{}),t?{display:"initial"}:{}),i=!this._actualSize,a=this.props.children!==this._previousChildren;if(a&&(this._previousChildren=this.props.children),i){var s=Hn();Object.assign(n,{bottom:null,right:null,maxWidth:s.width,maxHeight:s.height,visibility:"hidden"})}var l=ie.createElement(se,Zn({id:this.props.id,style:n,ref:this.setFlyoutRef,onClick:function(e){r._interceptClickEvent()&&e.stopPropagation()}},this.props),this.props.children);this.props.wrapElement&&(l=this.props.wrapElement(l)),this._portal.current.bindDOMElement(l,this.parentFlyoutNode,"flyout",function(){r.focusInnerElement(i),r._actualSize=jn(r._flyoutElement);var e=r.calculatePosition();if(i=i||a&&(e.left!==o.left||e.top!==o.top||e.right!==o.right||e.bottom!==o.bottom),!r._isFlyoutShown&&(window.addEventListener("blur",r.handleWindowBlur),window.addEventListener("resize",r._resizeHandler),r.getIsRelative())){r._scrollableAncestors=function(e,t){var n=[];for(e=e&&e.parentElement;e&&e!==t;)Kn(e)&&n.push(e),e=e.parentElement;return n}(r._getRelativeElement(),document.body);for(var t=0,n=r._scrollableAncestors;t<n.length;t++){n[t].addEventListener("scroll",r._scrollHandler)}}r._isFlyoutShown=!0,i&&r.updateDom()})}else this.removeFromDom(),this.resetFocus()},e.prototype.focusInnerElement=function(e){!e&&this.props.focusCallback&&this.props.focusElementId&&!this._wasInnerFocusRequested&&(this.props.focusCallback(this.props.focusElementId),this._wasInnerFocusRequested=!0)},e.prototype.removeFromDom=function(){if(this.parentFlyoutNode&&(this._portal.current.unbindDOMComponent("flyout"),this.rootNode.removeChild(this.parentFlyoutNode),this.parentFlyoutNode=void 0,0===this.rootNode.childElementCount&&(document.body.removeChild(this.rootNode),this.rootNode=void 0)),this._isFlyoutShown&&(window.removeEventListener("blur",this.handleWindowBlur),this.getIsRelative()&&(window.removeEventListener("resize",this._resizeHandler),this._scrollableAncestors)))for(var e=0,t=this._scrollableAncestors;e<t.length;e++){t[e].removeEventListener("scroll",this._scrollHandler)}this._isFlyoutShown=!1},e.prototype.resetFocus=function(){this.props.focusElementId&&this.props.relativeToElementId&&this.props.focusCallback&&this.props.focusCallback(this.props.relativeToElementId)},e.prototype._isClickInsideFlyout=function(e){if(this._flyoutElement&&this._flyoutElement.contains(e.target)||document.querySelector(".ms-Layer"))return!0;for(var t=qn.getInstance().getChildRoots(this.getFlyoutRootId()),n=0;n<t.length;n++){var r=document.getElementById(t[n]);if(r&&r.contains(e.target))return!0}return!1},e.prototype.handleOnScroll=function(e){this.ensureRootNode(),!this._isClickInsideFlyout(e)&&this.props.dismissOnScroll&&this.props.onOutsideClick&&this.props.onOutsideClick(e)},e.prototype.handlePointerDown=function(e){this.ensureRootNode(),!this._isClickInsideFlyout(e)&&this.props.onOutsideClick&&this.props.onOutsideClick(e)},e.prototype.handleWindowBlur=function(e){if(this.ensureRootNode(),this.props.onOutsideClick&&!this.props.keepOpenOnWindowBlur){var t=document.activeElement;if(t&&"IFRAME"===t.tagName.toUpperCase()){var n=Object.create(e,{target:{value:t}});if(this._isClickInsideFlyout(n))return}var r=Object.create(e,{target:{value:this.rootNode}});this.props.onOutsideClick(r)}},e.prototype.render=function(){return ie.createElement($n,{key:"portal",ref:this._portal,renderReactSubtree:I.createPortal})},e.prototype._subscribeFlyoutPopupManager=function(){var e=this;this._managerSubscriber={type:q.Flyout,isClickInsideSubscriber:this._isClickInsideFlyout,onPointerDown:this.handlePointerDown,onScroll:this.props.enableTrackOnScroll?this.handleOnScroll:null,getComponent:function(){return e._flyoutElement}},te.getInstance().addSubscribers(this._managerSubscriber)},e.displayName="Flyout",e}(ie.Component),Jn=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),er=function(){return(er=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},tr=function(n){function e(e){var t=n.call(this,e)||this;return t.refCallbackTrigger=t.refCallbackTrigger.bind(t),t}return Jn(e,n),e.prototype.getElementName=function(){return"ul"},e.prototype.getFlexClassName=function(e){return c(e?e.display:null)},e.prototype.getElementProps=function(){var e={ref:this.props.refCallback?this.refCallbackTrigger:null};return!0===this.props.announceAccessibilityNotification&&(e["aria-live"]=this.props.notificationType||"polite"),e},e.prototype.getElementStyle=function(){if(this.props.style)return er({},u(this.props.style))},e.displayName="List",e}(y),nr=l.connect(H)(tr),rr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),or=function(){return(or=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ir=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return rr(t,e),t.prototype._handleSelected=function(e){this.props.onSelected&&this.props.onSelected(e)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.isSelected&&e.isSelected!==this.props.isSelected&&this._handleSelected(this)},t.prototype.getElementName=function(){return"li"},t.prototype.hasAriaProperty=function(){return e.prototype.hasAriaProperty.call(this)||!!this.props.accessibilitySetSize},t.prototype.getElementProps=function(){var e;return(e={})["aria-selected"]=this.props.isSelected,e["data-text"]=this.props.dataText,e["data-value"]=this.props.dataValue,e["data-expanded"]=this.props.dataExpanded,e["aria-setsize"]=this.props.accessibilitySetSize,e},t.displayName="ListItem",t}(y);function ar(e){return e&&e.style?e.isSelected&&e.selectedStyle?or(or({},or(or({},e.style),e.selectedStyle)),B(e)):or(or({},e.style),B(e)):{}}var sr=l.connect(function(e){return{rule:ar(e)}})(ir),lr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),ur=function(){return(ur=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},cr=function(n){function r(e){var t=n.call(this,e)||this;return t._setInnerViewRef=t._setInnerViewRef.bind(t),t._onScrollHandler=t._onScrollHandler.bind(t),t._ua=window.navigator.userAgent,t}return lr(r,n),r.prototype.componentDidUpdate=function(e){if(this.props.scrollToId!==e.scrollToId&&this.props.scrollToId&&this._scrollViewRef){var t=document.getElementById(this.props.scrollToId),n=I.findDOMNode(this);this._scrollToContent(n,t)}},r.prototype.componentDidMount=function(){if(this.props.scrollToId&&this._scrollViewRef){var e=document.getElementById(this.props.scrollToId),t=I.findDOMNode(this);this._scrollToContent(t,e)}},r.prototype._scrollToContentHorizontalLTR=function(e,t){if(e.scrollLeft+e.offsetWidth>t.offsetLeft+t.offsetWidth)e.scrollLeft=t.offsetLeft+t.offsetWidth-e.offsetWidth;else if(e.scrollLeft<t.offsetLeft){var n=t.offsetLeft;e.scrollLeft=n,e.scrollLeft!==n&&this._isMobileSafari()&&(e.scrollLeft=e.scrollLeft-1)}},r.prototype._scrollToContentHorizontalRTLIEorEdge=function(e,t){var n=e.offsetWidth-t.offsetLeft;e.scrollLeft<n-t.offsetWidth?e.scrollLeft=n-t.offsetWidth:e.scrollLeft+e.offsetWidth>n+t.offsetWidth&&(e.scrollLeft=n-e.offsetWidth)},r.prototype._scrollToContent=function(e,t){e&&t&&(this.props.horizontal?this.props.isRTL&&this._isIEorEdge()?this._scrollToContentHorizontalRTLIEorEdge(e,t):this._scrollToContentHorizontalLTR(e,t):e.scrollTop+e.clientHeight<t.offsetTop+t.clientHeight?e.scrollTop=t.offsetTop+t.clientHeight-e.clientHeight:t.offsetTop<e.scrollTop&&(e.scrollTop=t.offsetTop))},r.prototype._isIEorEdge=function(){return this.isIE||this.isEdge},r.prototype._isMobileSafari=function(){var e=!!this._ua.match(/iPad/i)||!!this._ua.match(/iPod/i)||!!this._ua.match(/iPhone/i),t=!!this._ua.match(/WebKit/i);return e&&t&&!this._ua.match(/CriOS/i)},r.prototype._onScrollHandler=function(e){if(this.props.onScroll&&this.props.onScroll(e),this.props.onScrollToBottom){var t=I.findDOMNode(this);Math.ceil(t.scrollTop)+t.clientHeight>=t.scrollHeight&&this.props.onScrollToBottom()}},r.prototype.getElementName=function(){return this.props.semanticTag?this.props.semanticTag:"div"},r.prototype.getElementProps=function(){return{onClick:this.props.onClick,onScroll:this.props.onScroll||this.props.onScrollToBottom?this._onScrollHandler:void 0,ref:this.props.scrollToId||this.props.refCallback?this._setInnerViewRef:void 0}},r.prototype.scrollToChild=function(e){if(!e){var t=new Error("child must be specified");throw F.Reporting.reportFailure("CustomControlFramework.Primitive.ScrollView",t),t}var n=I.findDOMNode(this),r=I.findDOMNode(e);this._scrollToContent(n,r)},r.prototype._setInnerViewRef=function(e){this.props.refCallback&&this.props.refCallback(this),this._scrollViewRef=e},r.prototype.getFlexClassName=function(e){var t=pr({style:e});return c(t?t.display:null)},r.prototype.getElementClassName=function(){var e=n.prototype.getElementClassName.call(this);this.props&&this.props.className&&(e+=" ".concat(this.props.className));var t=pr(this.props);return r.isElementScrollable(t)&&(e+=j.getInstance().getDisableScrollStyle()&&!this.props.isWithinATopMostSeeMore?" webkitScrollAuto":" webkitScroll"),e},r.displayName="ScrollView",r}(y);function pr(e){if(e&&e.style){var t=e.horizontal?ur(ur({},e.style),{overflowX:"scroll",flexDirection:"row"}):ur(ur({},e.style),{overflowY:"scroll",flexDirection:"column"}),n=e.contentContainerStyle?ur(ur({},e.style),e.contentContainerStyle):e.style,r=ur(ur({},t),n);return ur(ur(ur(ur({},e.style),r),B(e)),u(r))}return{}}var dr=l.connect(function(e){return{rule:pr(e)}})(cr),fr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),hr=function(){return(hr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function mr(e){switch(e){case"normal":return"normal";case"bold":return"bold";default:return Number(e)}}var yr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return fr(t,e),t.prototype.getElementName=function(){return this.props.semanticTag||"span"},t.prototype.getElementClassName=function(){var e=this.props.styles?this.props.styles.rule:"";return this.props.className?"".concat(e," ").concat(this.props.className):e},t.prototype.getElementProps=function(){var e={};switch(this.props.role){case"alert":e["aria-live"]=this.props.notificationType||"polite"}return e},t.displayName="Text",t}(y);function gr(e){return e&&e.style?e.style.fontWeight?hr({fontWeight:"string"==typeof e.style.fontWeight?mr(e.style.fontWeight):e.style.fontWeight},B(e)):hr(hr({},e.style),B(e)):{}}var vr=l.connect(function(e){return{rule:gr(e)}})(yr),br={ERROR_LOADING_CONTROL:"Error loading control",VALIDATION_FAILED_EMAIL:"Value is not a valid email",VALIDATION_FAILED_BOOL:"Value is not a valid boolean",VALIDATION_FAILED_DATE:"Value is not a valid Date object",VALIDATION_FAILED_NUM:"Value is not a valid number",VALIDATION_FAILED_INT:"Number is not a valid integer",VALIDATION_FAILED_RANGE:"Value is not within the defined range for this property. Range is {0} to {1}",SELECT_TO_ENTER_DATA:"Select to enter data."},Cr=br;function _r(e){return Cr[e]}var Sr,Pr,Ir=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),wr=function(){return(wr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};!function(e){e[e.default=0]="default",e[e.emailAddress=1]="emailAddress",e[e.numeric=2]="numeric",e[e.phonePad=3]="phonePad",e[e.asciiCapable=4]="asciiCapable",e[e.numbersAndPunctuation=5]="numbersAndPunctuation",e[e.url=6]="url",e[e.numberPad=7]="numberPad",e[e.namePhonePad=8]="namePhonePad",e[e.decimalPad=9]="decimalPad",e[e.twitter=10]="twitter",e[e.webSearch=11]="webSearch"}(Sr||(Sr={})),function(e){e[e.start=0]="start",e[e.update=1]="update",e[e.end=2]="end"}(Pr||(Pr={}));var xr=function(n){function e(e){var t=n.call(this,e)||this;return t._compositionEvents=[],t.refCallbackTrigger=t.refCallbackTrigger.bind(t),t._onKeyPress=t._onKeyPress.bind(t),t._onChange=t._onChange.bind(t),t._onInput=t._onInput.bind(t),t._onFocus=t._onFocus.bind(t),t._onBlur=t._onBlur.bind(t),t.handlePointerDown=t.handlePointerDown.bind(t),t.handlePointerUp=t.handlePointerUp.bind(t),t.handleKeyDown=t.handleKeyDown.bind(t),t._refElementCallback=t._refElementCallback.bind(t),t.handleKeyUp=t.handleKeyUp.bind(t),t._onCompositionStart=t._onCompositionStart.bind(t),t._onCompositionUpdate=t._onCompositionUpdate.bind(t),t._onCompositionEnd=t._onCompositionEnd.bind(t),t.state={value:e.value},t}return Ir(e,n),e.prototype.UNSAFE_componentWillReceiveProps=function(e){e&&e.value!==this.state.value&&this.setState({value:e.value}),this._dateInput&&(this._dateInput.defaultValue="")},e.prototype._selectValue=function(){if(!this.props.type||"text"===this.props.type.toLowerCase()||"search"===this.props.type.toLowerCase()||"url"===this.props.type.toLowerCase()||"tel"===this.props.type.toLowerCase()||"password"===this.props.type.toLowerCase()){var e=(this.props.multiline,I.findDOMNode(this));e.selectionStart=0,e.selectionEnd=e.value.length}},e.prototype._onChange=function(e){this.isIE||this._handleOnChange(e)},e.prototype._onInput=function(e){if(this.isIE){var t=(this.props.multiline,e.target.value);if(!this.state.value&&!t||this.state.value===t&&0===this._compositionEvents.length)return;this._compositionEvents=[],this._handleOnChange(e)}},e.prototype._onCompositionStart=function(){this._compositionEvents.push(Pr.start)},e.prototype._onCompositionUpdate=function(e){var t=(this.props.multiline,e.target.value);this.state.value!==t&&this.setState({value:t}),this._compositionEvents.push(Pr.update)},e.prototype._onCompositionEnd=function(){this._compositionEvents.push(Pr.end)},e.prototype._handleOnChange=function(e){var t=(this.props.multiline,e.target.value);this.setState({value:t}),this.props.onChange&&this.props.onChange(e),this.props.onChangeText&&this.props.onChangeText(t)},e.prototype._onKeyPress=function(e){this.props.onKeyPress&&this.props.onKeyPress(e)},e.prototype.handleFocus=function(){var e=this,t=function(){e.props.selectValueOnFocus&&e.state&&e.state.value&&e._selectValue()};if(window.navigator.userAgent.match(/Edge\/(13|14)/))return window.setTimeout(t,10);t()},e.prototype._onFocus=function(e){this.setState({hasFocus:!0}),this.props.onFocus&&this.props.onFocus(e)},e.prototype._onBlur=function(e){this.setState({hasFocus:!1}),this.props.onBlur&&this.props.onBlur(e)},e.prototype.handlePointerDown=function(e){this.props.onPointerDown&&this.props.onPointerDown(e)},e.prototype.handlePointerUp=function(e){this.props.onPointerUp&&this.props.onPointerUp(e)},e.prototype.handleKeyDown=function(e){this.props.onKeyDown&&this.props.onKeyDown(e)},e.prototype.handleKeyUp=function(e){this.props.onKeyUp&&this.props.onKeyUp(e)},e.prototype.getElementName=function(){return this.props.multiline?"textarea":"input"},e.prototype.getElementProps=function(){var e,t=((e={value:this.state.value||"",ref:this.props.refCallback?this.refCallbackTrigger:"datetime-local"===this.props.type||"datetime"===this.props.type?this._refElementCallback:null,title:this.state.hasFocus?"":this._getTitle()||"",onChange:this._onChange,onInput:this._onInput,onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,placeholder:this.props.placeholder,maxLength:this.props.maxLength,onKeyPress:this._onKeyPress,onFocus:this._onFocus,onBlur:this._onBlur,autoComplete:"off"})["aria-multiline"]=this.props.multiline?!0===this.props.multiline:null,e["aria-autocomplete"]=this.props.autoComplete,e);if(this.props.readOnly&&(t.readOnly=!0),this.props.disabled&&(t.disabled=!0),this.props.multiline)this.props.rows&&(t.rows=Math.max(this.props.rows,2));else if(this.props.type)t.type=this.props.type;else switch(this.props.keyboardType){case Sr.numeric:t.type="number";break;case Sr.emailAddress:t.type="email";break;default:t.type="text"}return t},e.prototype._getTitle=function(){var e=this.props.title,t=this.state.value;return""===e?null:e&&"---"!==e?e:t&&"---"!==t?t:_r("SELECT_TO_ENTER_DATA")},e.prototype._refElementCallback=function(){this._dateInput=I.findDOMNode(this)},e.displayName="TextInput",e}(y);function Er(e){var t={"::-ms-clear":{display:"none"}};return e&&e.style?(e.isRTL&&Object.assign(t,{direction:"rtl",unicodeBidi:"bidi-override"}),wr(wr(wr({},e.style),t),B(e))):{}}var kr,Tr=l.connect(function(e){return{rule:Er(e)}})(xr),Dr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Fr=function(){return(Fr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Or=function(o){function p(e){var n=o.call(this,e)||this;n._wasInnerFocusRequested=!1,n.clickedOutside=!1,n.keyboardScrolling=!1,n.setFocusToItem=function(e){if((!n.props.freeTextMode||!n.state.hasFocus)&&e&&null!==e){var t=document.getElementById(e);t&&null!==t&&t.focus()}},n.keyboardNavigation=function(e){if(-1!==p.supportedKeys.indexOf(e.keyCode)){switch(e.keyCode){case Ln.UpArrow:n._handleMove(-1);break;case Ln.DownArrow:n._handleMove(1);break;case Ln.PageUp:n._handleMove(-1*n.getPageSize());break;case Ln.PageDown:n._handleMove(1*n.getPageSize());break;case Ln.Enter:n.handleEnterKey(e);break;case Ln.Space:n.props.freeTextMode||n.handleEnterKey(e);break;case Ln.Escape:n.handleEscapeKey(e);break;case Ln.Tab:n.handleTabKey(e)}e.preventDefault(),e.stopPropagation()}},n._handleMove=n._handleMove.bind(n),n._handleButtonClick=n._handleButtonClick.bind(n),n._handleTextInputChange=n._handleTextInputChange.bind(n),n._saveTextInputRef=n._saveTextInputRef.bind(n),n.saveContainerRef=n.saveContainerRef.bind(n),n.saveItemRef=n.saveItemRef.bind(n),n.saveTextRef=n.saveTextRef.bind(n),n.handleValueChange=n.handleValueChange.bind(n),n.handleItemSelected=n.handleItemSelected.bind(n),n.handleItemPointerDown=n.handleItemPointerDown.bind(n),n.handleItemHover=n.handleItemHover.bind(n),n.handleTextPointerDown=n.handleTextPointerDown.bind(n),n.handleBlur=n.handleBlur.bind(n),n.handleEnterKey=n.handleEnterKey.bind(n),n.handleKeyDown=n.handleKeyDown.bind(n),n.handleKeyboardExpandRequest=n.handleKeyboardExpandRequest.bind(n),n.handleFlyoutOutsideClick=n.handleFlyoutOutsideClick.bind(n),n.handleInnerControlFocus=n.handleInnerControlFocus.bind(n),n.handleInnerControlBlur=n.handleInnerControlBlur.bind(n),n.handleRelativeToElementSelector=n.handleRelativeToElementSelector.bind(n);var t=n.getVisibleOptions(),r=n._getInitialStateOption(e);return n.keyboardScrolling=!1,n._internalIdAppendix=e.hideInternalId?void 0:Rn(),n.selectedIndex=t.indexOf(r),n.state={option:r,isExpanded:!1,freeTextValue:e&&e.freeTextMode?e.value||e.defaultValue:r&&r.text,isAutoCompleting:!1},n}return Dr(p,o),Object.defineProperty(p.prototype,"focusableControlId",{get:function(){return"".concat(this.getInternalId(),"_text").concat(this.props.freeTextMode?"Input":"")},enumerable:!1,configurable:!0}),p.prototype.getInternalId=function(e,t){return void 0===e&&(e=this.props.id),void 0===t&&(t=this._internalIdAppendix),e+(t?"_"+t:"")},p.prototype.getListId=function(e,t){return void 0===e&&(e=this.props.id),void 0===t&&(t=this._internalIdAppendix),"".concat(this.getInternalId(e,t),"_list")},Object.defineProperty(p.prototype,"getEmptyListId",{get:function(){return"".concat(this.getListId(),"_empty")},enumerable:!1,configurable:!0}),p.prototype.getListItemId=function(e){return this.getListId()+(e?e.id||e.value:"")},p.prototype.getFlyoutId=function(e,t){return void 0===e&&(e=this.props.id),void 0===t&&(t=this._internalIdAppendix),"".concat(this.getInternalId(e,t),"_flyout")},p.prototype.getButtonId=function(e,t){return void 0===e&&(e=this.props.id),void 0===t&&(t=this._internalIdAppendix),"".concat(this.getInternalId(e,t),"_button")},p.prototype.onFlyoutScroll=function(){},p.prototype.getActiveDescendantId=function(){if(~this.selectedIndex){var e=this.getVisibleOptions()[this.selectedIndex];if(e)return this.getListItemId(e)}return""},p.prototype.getPageSize=function(){return this.props.pageSize||p.DEFAULT_PAGE_SIZE},p.prototype._getInitialStateOption=function(e){var t=e.defaultValue?this.getOptionByValue(e.options,e.defaultValue):this.getOptionByValue(e.options,e.value);return!t&&e.options&&e.options.length>0&&!e.freeTextMode&&(t=e.options[0]),t},p.prototype.getOptionByValue=function(e,t){if(e){var n=e.filter(function(e){return e.value===t});if(n.length>0)return n[0]}},p.prototype.UNSAFE_componentWillReceiveProps=function(e){if(e&&!e.defaultValue){var t=this.getOptionByValue(e.options,e.value),n=this.getOptionByValue(this.props.options,this.props.value);if(e.value!==this.props.value||e.value===this.props.value&&(null==t?void 0:t.text)!==(null==n?void 0:n.text)){var r=void 0;e.freeTextMode?r={freeTextValue:this.state.hasFocus&&this.state.freeTextValue||e.value,freeTextOptionDisplayValue:this.state.hasFocus&&this.state.freeTextValue||e.value}:(this.selectedIndex=e.options&&e.options.indexOf(t),r={option:t,freeTextValue:t&&t.text,freeTextOptionDisplayValue:t&&t.text}),this.setState(r)}}if(e&&e.defaultValue&&(!this.state.option||!this.state.option.value)&&e.options!==this.props.options&&!e.freeTextMode){n=this.getOptionByValue(e.options,e.defaultValue);this.selectedIndex=e.options&&e.options.indexOf(n);r={option:n,freeTextValue:n&&n.text};this.setState(r)}},p.prototype._getIfValueChanged=function(e){return this.props.freeTextMode?e!==this.state.freeTextValue:e!==this.getSelectedOptionValue()},p.prototype.getElementProps=function(){return{name:this.props.name}},p.prototype.getElementChildren=function(){},p.prototype.setIsExpanded=function(e){e?(this._updateContainerWidth(),this._wasInnerFocusRequested=!1):this._wasInnerFocusRequested||(this.setFocusToItem(this.focusableControlId),this._wasInnerFocusRequested=!0),this.state.isExpanded||(this.keyboardScrolling=!1),this.setState({isExpanded:e})},p.prototype._toggleIsExpanded=function(){this.setIsExpanded(!this.state.isExpanded)},p.prototype.setFocus=function(){if(this.props.freeTextMode){if(this._textInput){var e=I.findDOMNode(this._textInput);e&&e.focus()}}else if(this._text){var t=I.findDOMNode(this._text);t&&t.focus()}},p.prototype.resetSelectedIndex=function(){if(this.props.defaultValue){var e=this.getSelectedOptionValue(),t=this.getOptionByValue(this.props.options,e);this.selectedIndex=this.getVisibleOptions().indexOf(t)}else{var n=this.props.value||this.props.options[0].value,r=this.props.freeTextMode&&this.state.freeTextValue||n;t=this.getOptionByValue(this.props.options,r);this.selectedIndex=this.getVisibleOptions().indexOf(t)}},p.prototype.setCurrentItemByValue=function(e,t){void 0===t&&(t=!0);var n=this.getOptionByValue(this.props.options,e),r={freeTextOptionDisplayValue:n&&n.text};this.state.isExpanded||(t=!0),n&&this.props.onOptionSelected&&this.props.onOptionSelected(n),this.selectedIndex=this.getVisibleOptions().indexOf(n),this.setState(r),t&&(this.handleValueChange(n&&n.value),this.setState({freeTextValue:n&&n.text,option:n}))},p.prototype._setCurrentItemByVisibleIndex=function(e){var t=this.getVisibleOptions();~e&&e<t.length&&this.setCurrentItemByValue(t[e].value,!1)},p.prototype.handleKeyDown=function(e){if(-1!==p.supportedKeys.indexOf(e.keyCode))switch(e.keyCode){case Ln.UpArrow:e.altKey?this.setIsExpanded(!1):this.handleArrowUp(-1);break;case Ln.DownArrow:e.altKey?this.handleKeyboardExpandRequest():this.handleArrowDown(e,1);break;case Ln.Enter:this.handleEnterKey(e);break;case Ln.Space:this.props.freeTextMode||this.handleEnterKey(e);break;case Ln.Escape:this.handleEscapeKey(e);break;case Ln.Tab:this.handleTabKey(e)}},p.prototype.getVisibleOptions=function(t,e){return void 0===t&&(t=this.state),void 0===e&&(e=this.props.options),e&&t&&t.isAutoCompleting&&t.freeTextValue&&(e=e.filter(function(e){return e.text&&e.text.toLocaleUpperCase().startsWith(t.freeTextValue.toLocaleUpperCase())})),e},p.prototype._searchOptions=function(t){return this.props.options.filter(function(e){return e.text&&e.text===t})},p.prototype.saveContainerRef=function(e){this._container=e,this._updateContainerWidth()},p.prototype.saveItemRef=function(e){e&&e.props&&e.props.isSelected&&(this.selectedListItem=e)},p.prototype._saveTextInputRef=function(e){this._textInput=e},p.prototype.saveTextRef=function(e){this._text=e},p.prototype._updateContainerWidth=function(){var e=this._container&&I.findDOMNode(this._container);this._containerWidth=e&&e.offsetWidth},p.prototype.handleValueChange=function(e){this.props.onChange&&this.props.onChange(e)},p.prototype.handleItemSelected=function(e){this.selectedListItem=e},p.prototype.handleItemPointerDown=function(e){if(0===e.button){var t=e.currentTarget.dataset.value;this.setCurrentItemByValue(t),this.setState({isAutoCompleting:!1,isExpanded:!1})}},p.prototype.handleItemHover=function(e){var t=e.currentTarget.dataset.value,n=this.getOptionByValue(this.props.options,t||"");this.selectedIndex=this.getVisibleOptions().indexOf(n)},p.prototype._handleTextInputChange=function(e){var t={freeTextValue:e,freeTextOptionDisplayValue:null,isAutoCompleting:!0,option:null};if(this.resetSelectedIndex(),e||""===e){var n=this._searchOptions(e);t.option=n.length?n[0]:void 0}t.isExpanded=!!this.getVisibleOptions(t).length,this._getIfValueChanged(e)&&(this.setState(t),this.props.suppressFreeTextChangeCallback||this.handleValueChange(t.freeTextValue)),this._resetSelectedListItem()},p.prototype.handleTextPointerDown=function(e){0===e.button&&(this.props.freeTextMode&&this.setFocus(),this._toggleIsExpanded())},p.prototype._handleButtonClick=function(e){0===e.button&&(this.resetSelectedIndex(),this.setState({isAutoCompleting:!1}),this.state.isExpanded&&(this.setFocusToItem(this.getButtonId()),this._wasInnerFocusRequested=!0),this._toggleIsExpanded())},p.prototype.handleArrowUp=function(e){this._handleMove(e)},p.prototype.handleArrowDown=function(e,t){this._handleMove(t)},p.prototype._handleMove=function(e){this.keyboardScrolling=!0;var t=this.getVisibleOptions();var n,r,o=(n=this.selectedIndex+e,r=t.length,(n%r+r)%r);this._setCurrentItemByVisibleIndex(o),this.setFocusToItem(this.getListItemId(t[o]))},p.prototype.selectItem=function(e){!this.props.freeTextMode&&this.setFocusToItem(e)},p.prototype.handleBlur=function(e){this.clickedOutside&&(this.clickedOutside=!1,this.setIsExpanded(!1),this.props.freeTextMode&&this.setFocus(),this.props.onBlur&&this.props.onBlur(e))},p.prototype.handleEnterKey=function(e){if(!this.state.isExpanded)return this.handleKeyboardExpandRequest(),e.stopPropagation(),void e.preventDefault();if(this.selectedIndex>-1){var t=this.getVisibleOptions(),n=this.state.option!==t[this.selectedIndex];this.setState({isAutoCompleting:!1,isExpanded:!1,option:t[this.selectedIndex],freeTextValue:this.props.freeTextMode?t[this.selectedIndex].text:null,freeTextOptionDisplayValue:this.props.freeTextMode?t[this.selectedIndex].text:null}),this.setFocus();var r=t[this.selectedIndex];r&&this.props.onOptionSelected&&this.props.onOptionSelected(r),n&&this.handleValueChange(t[this.selectedIndex].value)}},p.prototype.handleEscapeKey=function(e){this.state.isExpanded&&(this.setIsExpanded(!1),e.stopPropagation(),e.preventDefault())},p.prototype.handleTabKey=function(e){this.state.isExpanded&&(e.stopPropagation(),e.preventDefault())},p.prototype.handleKeyboardExpandRequest=function(){this.state.isExpanded?this.setState({isAutoCompleting:!1}):(this.resetSelectedIndex(),this.setIsExpanded(!0))},p.prototype.handleFlyoutOutsideClick=function(e){var t=e.target;t.id!==this.getButtonId()&&t.id!==this.getButtonId()+"_innerdiv"&&this.setIsExpanded(!1),this.setFocus(),this.clickedOutside=!0},p.prototype.handleInnerControlFocus=function(){this.setState({hasFocus:!0}),this.isIE&&this.handleIEBorderFocus()},p.prototype.handleIEBorderFocus=function(){if(this.isIE){var e=document.getElementById(this.focusableControlId);if(!e||null===e)return;e.setAttribute("style","border: 1px dotted;")}},p.prototype.handleInnerControlBlur=function(){this.resetSelectedIndex(),this.setState({hasFocus:!1}),this.isIE&&this.handleIEInnerControlBlur()},p.prototype.handleIEInnerControlBlur=function(){if(this.isIE){var e=document.getElementById(this.focusableControlId);if(!e||null===e)return;e.setAttribute("style","null")}},p.prototype._resetSelectedListItem=function(){this.selectedListItem=void 0,this.props.onOptionSelected&&this.props.onOptionSelected(null)},p.prototype.handleRelativeToElementSelector=function(e){return e.parentElement},p.prototype.renderOptionsList=function(e){var r=this;if(e&&e.length){var o=this.props.selectedItemStyle||p.getSelectedItemStyle(),t=e.map(function(e,t){var n=r.getListItemId(e);return ie.createElement(sr,{key:t,id:n,tabIndex:0,role:"option",dataText:e.text,dataValue:e.value,onSelected:r.handleItemSelected,isSelected:r.selectedIndex===t,style:p.getListItemStyle(),selectedStyle:o,ref:r.saveItemRef,onClick:r.handleItemPointerDown},e.text||" ")}),n=this.getPageSize(),i=this.getListId()+"_scrollView",a=n<t.length,s={height:a?2.35*n+"em":void 0,overflowY:a?"scroll":"hidden",overflowX:"hidden",flex:"1 1 auto",flexDirection:"column"},l={width:"100%",listStyleType:"none"},u=e[this.selectedIndex],c=this.keyboardScrolling||u?this.getListItemId(u):this.selectedListItem&&this.selectedListItem.props.id?this.selectedListItem.props.id:void 0;return ie.createElement(nr,{id:this.getListId(),key:this.getListId(),role:"listbox",style:l,tabIndex:0,accessibilityLabel:this.props.accessibilityLabel,onKeyDown:this.keyboardNavigation},ie.createElement(dr,{id:i,scrollToId:c,horizontal:!1,role:"presentation",onScroll:this.onFlyoutScroll,style:s},t))}},p.prototype.renderFlyout=function(e){var t,n;if(void 0===e&&(e="rtl"===document.body.dir),this.props.testhooks)for(var r in n=Fr({},this.props.testhooks))n[r]+="-flyout";if(!this.props.readOnly&&this.state.isExpanded){var o=this.renderOptionsList(this.getVisibleOptions()),i=this.getActiveDescendantId()||this.getListId();if(o){var a={borderWidth:"0.1em",borderStyle:"solid",borderColor:"#666666",backgroundColor:"white",width:this.calculateWidth(),boxShadow:p.SHADOWS.Shadow01};t=ie.createElement(Xn,{id:this.getFlyoutId(),key:this.getFlyoutId(),focusElementId:i,testhooks:n,focusCallback:this.setFocusToItem,flyoutDirection:e?Nn.down:Nn.downleft,flyoutStyle:a,positionType:"relative",relativeToElementId:this.props.relativeToElementId?this.props.relativeToElementId:this.getButtonId(),relativeToElementIdSelector:this.handleRelativeToElementSelector,onOutsideClick:this.handleFlyoutOutsideClick,parentCustomControlId:this.props.parentCustomControlId,parentFlyoutRoot:this.props.parentFlyoutRoot,rootZIndex:this.props.rootZIndex,enableTrackOnScroll:!0,dismissOnScroll:!this.props.keepFlyoutOpenOnScroll},o)}}return t},p.prototype._renderTextInput=function(e,t){var n=this.props.textInputStyle?this.props.textInputStyle:{borderWidth:0,flex:"1 1 auto",backgroundColor:"transparent",padding:"0.5em 0.5em",width:"100%",fontSize:"1rem",fontWeight:this.state.hasFocus?"normal":"600",":hover":{fontWeight:"normal"}};return ie.createElement(Tr,{id:e,key:e,testhooks:t,readOnly:this.props.readOnly,accessibilityHasPopup:!0,accessibilityExpanded:this.state.isExpanded,accessibilityRequired:this.props.accessibilityRequired,describedByElementId:this.props.describedByElementId,role:"combobox",ref:this._saveTextInputRef,onFocus:this.handleInnerControlFocus,onBlur:this.handleInnerControlBlur,onKeyDown:this.handleKeyDown,onChangeText:this._handleTextInputChange,value:this.props.freeTextMode?this.state.freeTextValue||this.state.freeTextOptionDisplayValue:this.state.option&&this.state.option.text,accessibilityLabel:this.props.accessibilityLabel?this.props.accessibilityLabel:this.props.placeholder,labelledByElementId:this.props.labelledByElementId?this.props.labelledByElementId:null,activeDescendantId:this.state.isExpanded?this.getActiveDescendantId():null,ownsElementId:this.state.isExpanded?this.getListId():null,controlsElementId:this.state.isExpanded?this.getListId():null,style:n,placeholder:this.props.placeholder})},p.prototype.getTextOnlyStyle=function(){return this.props.textStyle?this.props.textStyle:{borderWidth:0,flex:"1 1 auto",outline:"none",cursor:"default"}},p.prototype._getEmptyList=function(){return this.state.isExpanded?null:ie.createElement("div",{role:"listbox",id:this.getEmptyListId,style:{display:"none"}}," ")},p.prototype.getTextOnlyInnerComponent=function(e){return ie.createElement(vr,{id:e},this.getSelectedOptionText())},p.prototype.renderTextOnly=function(e,t,n){void 0===n&&(n=!1);var r=this.getTextOnlyStyle(),o="".concat(e,"-value"),i=this.state.isExpanded?{ownsElementId:this.getListId(),controlsElementId:this.getListId()}:{ownsElementId:this.getEmptyListId,controlsElementId:this.getEmptyListId},a=Fr({id:e,key:e,testhooks:t,accessibilityHasPopup:!0,accessibilityExpanded:this.state.isExpanded,accessibilityLabel:this.props.accessibilityLabel||this.getSelectedOptionText(),title:this.props.title,describedByElementId:this.props.describedByElementId||o,ref:this.saveTextRef,role:"button",onClick:this.handleEnterKey,onFocus:this.handleInnerControlFocus,onBlur:this.handleInnerControlBlur,onKeyDown:this.handleKeyDown,tabIndex:this.props.readOnly?-1:0,style:r},i),s=ie.createElement(se,Fr({},a),this._getTextOnlyContent(o));return n?ie.createElement(vr,{semanticTag:"h1",style:{maxWidth:"100%",padding:"0",margin:"0"}},s):s},p.prototype._getTextOnlyContent=function(e){return ie.createElement(ie.Fragment,null,this.getTextOnlyInnerComponent(e),this._getEmptyList())},p.prototype.getSelectedOptionText=function(){return this.state.option&&this.state.option.text||" "},p.prototype.getSelectedOptionValue=function(){return this.state.option&&this.state.option.value},p.prototype._renderDropDownButton=function(){var e={backgroundColor:"transparent",borderColor:"transparent",borderStyle:"solid",borderWidth:"0 0 0 0.1em",flexDirection:"row",padding:"0 0.75em",justifyContent:"center",":hover":{borderColor:p.COLORS.Grey5}},t={width:"0.6em",height:"0.6em",marginTop:"-0.4em",borderColor:p.COLORS.Grey7,borderWidth:"0em",borderRightWidth:"0.1em",borderBottomWidth:"0.1em",borderStyle:"solid",transform:"rotate(45deg)",content:"",display:this.props.hideArrow?"none":"flex",alignSelf:"center"};return ie.createElement(se,{id:this.getButtonId(),key:"dropButton",role:"button",accessibilityLabel:this.props.accessibilityLabel,accessibilityExpanded:this.state.isExpanded,accessibilityHasPopup:!0,tabIndex:-1,style:e,onKeyDown:this.handleKeyDown,onClick:this._handleButtonClick},ie.createElement("div",{style:t,id:this.getButtonId()+"_innerdiv"}))},p.prototype.render=function(){var e,t=this.getElementPropsInternal();if(Object.assign(t.style,{backgroundColor:"white",display:"flex",flex:"1 1 auto",borderWidth:"0.1em",borderStyle:"solid",borderColor:"#666666"},this.props.style),this.props.testhooks&&(t.testhooks=this.props.testhooks),this.props.testhooks)for(var n in e=Fr({},this.props.testhooks))e[n]+="-text";return ie.createElement(se,Fr({},t,{ref:this.saveContainerRef}),ie.createElement(se,{style:{display:"flex",flex:"1 1 auto"},id:this.getInternalId()+"_wrapper"},this.props.freeTextMode?this._renderTextInput(this.focusableControlId,e):this.renderTextOnly(this.focusableControlId,e),!this.props.readOnly&&this._renderDropDownButton(),!this.props.readOnly&&this.renderFlyout()))},p.prototype.calculateWidth=function(){var e="50px";return this.props.style&&this.props.style.width&&"100%"!==this.props.style.width?e=this.props.style.width.toString():this._containerWidth&&(e=this._containerWidth.toString()),-1===e.indexOf("px")&&-1===e.indexOf("%")&&(e+="px"),e},p.getListItemStyle=function(){return{flex:"0 1 auto",cursor:"pointer",padding:"0.5em 0.5em",":hover":{backgroundColor:p.COLORS.Grey1,color:p.COLORS.Grey7}}},p.getSelectedItemStyle=function(){return{backgroundColor:p.COLORS.Grey3,color:"black","@media (forced-colors: active)":{color:"highlightText",backgroundColor:"highlight","forced-color-adjust":"none"}}},p.supportedKeys=[Ln.Alt,Ln.UpArrow,Ln.DownArrow,Ln.Enter,Ln.PageDown,Ln.PageUp,Ln.Escape,Ln.Tab,Ln.Space],p.displayName="ComboBox",p.DEFAULT_PAGE_SIZE=7,p.COLORS={Grey1:"#efefef",Grey2:"#e2e2e2",Grey3:"#d8d8d8",Grey5:"#666666",Grey7:"#333333"},p.SHADOWS={Shadow01:"0px 2px 4px 0px rgba(0, 0, 0, 0.5);"},p}(y),Mr=l.connect(H)(Or),Ar=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Rr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ar(t,e),t.prototype.getElementName=function(){return"a"},t.prototype.getElementProps=function(){var e={href:this.props.href||"#",target:this.props.target};return this.props.download&&Object.assign(e,{download:this.props.download}),e},t}(y),Lr=l.connect(H)(Rr),Nr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Br=function(n){function e(e){var t=n.call(this,e)||this;return t._onLoad=t._onLoad.bind(t),t}return Nr(e,n),e.prototype._onLoad=function(){this.props.onLoad&&this.props.onLoad()},e.prototype.getElementName=function(){return"img"},e.prototype.getElementProps=function(){return{src:this.props.source,onLoad:this._onLoad,alt:this.props.altText?this.props.altText:"",title:this.props.title?this.props.title:this.props.altText?this.props.altText:void 0,onError:this.props.onError}},e.displayName="Image",e}(y),Ur=l.connect(H)(Br),Vr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Hr=function(n){function e(e){var t=n.call(this,e)||this;return t._iframeElement=null,t._origin=null,t._onLoad=t._onLoad.bind(t),t._onError=t._onError.bind(t),t._origin=t._normalizeUrl(e.src),t}return Vr(e,n),e.prototype._normalizeUrl=function(e){var t=document.createElement("a");return t.href=e,"".concat(t.protocol,"//").concat(t.host)},e.prototype._onLoad=function(){this.props.onLoad&&this.props.onLoad(),this.props.onReadyStateComplete&&this.props.onReadyStateComplete()},e.prototype._onError=function(){this.props.onError&&this.props.onError(),this.props.onReadyStateComplete&&this.props.onReadyStateComplete()},e.prototype.getElementName=function(){return"iframe"},e.prototype.getElementProps=function(){var e={src:this.props.src,title:this.props.title,onLoad:this._onLoad,onError:this._onError};return this.props.security&&(e.security=this.props.security,e.sandbox=""),this.props.scrolling&&(e.scrolling=this.props.scrolling),this.props.allow&&(e.allow=this.props.allow),this.props.name&&(e.name=this.props.name),e.ref=this._registerIframeElement.bind(this),e},e.prototype.UNSAFE_componentWillReceiveProps=function(){this._resetEventHandlers()},e.prototype._resetEventHandlers=function(){window.removeEventListener("message",this._receiveMessageHandler,!1),this._receiveMessageHandler=null,this.props.registerSendMessageHandler&&this.props.registerSendMessageHandler(void 0)},e.prototype._registerIframeElement=function(e){this._iframeElement=e,this._iframeElement?(this._receiveMessageHandler=this._receiveMessage.bind(this),window.addEventListener("message",this._receiveMessageHandler,!1),this.props.registerSendMessageHandler&&this.props.registerSendMessageHandler(this._sendMessage.bind(this))):this._resetEventHandlers()},e.prototype.componentWillUnmount=function(){this._resetEventHandlers()},e.prototype._receiveMessage=function(e){this._iframeElement&&e.source===this._iframeElement.contentWindow&&this._normalizeUrl(e.origin)===this._origin&&this.props.onMessage&&this.props.onMessage(e)},e.prototype._sendMessage=function(e){this._iframeElement&&this._iframeElement.contentWindow.postMessage(e,this._origin)},e.displayName="IFrame",e}(y),jr=l.connect(H)(Hr),Wr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),zr=function(r){function e(e){var t=r.call(this,e)||this;if(e&&void 0===e.type){var n=Error("FontIcon type property cannot be null");F.Reporting.reportFailure("CustomControlFramework.Primitive.FontIcon",n)}return t}return Wr(e,r),e.prototype.getElementName=function(){return"span"},e.prototype.getElementClassName=function(){var e=this.props.styles?" "+this.props.styles.rule:"";return this.getSymbolClassName(this.props.type)+e},e.displayName="FontIcon",e}(y);!function(e){e[e.Entity=0]="Entity",e[e.List=1]="List",e[e.Account=2]="Account",e[e.Opportunity=3]="Opportunity",e[e.Sharepointdocument=4]="Sharepointdocument",e[e.Dashboard=5]="Dashboard",e[e.WORKSPACE=6]="WORKSPACE",e[e.Lead=7]="Lead",e[e.Contact=8]="Contact",e[e.Activitypointer=9]="Activitypointer",e[e.Drafts=10]="Drafts",e[e.Systemuser=11]="Systemuser",e[e.Letter=12]="Letter",e[e.Salesorder=13]="Salesorder",e[e.Competitor=14]="Competitor",e[e.Task=15]="Task",e[e.Fax=16]="Fax",e[e.Email=17]="Email",e[e.Phonecall=18]="Phonecall",e[e.Contract=19]="Contract",e[e.Quote=20]="Quote",e[e.Incident=21]="Incident",e[e.Campaign=22]="Campaign",e[e.Appointment=23]="Appointment",e[e.Invoice=24]="Invoice",e[e.Knowledgearticle=25]="Knowledgearticle",e[e.Product=26]="Product",e[e.Opportunityproduct=27]="Opportunityproduct",e[e.Queueitem=28]="Queueitem",e[e.Socialprofile=29]="Socialprofile",e[e.ChevronRight=30]="ChevronRight",e[e.Globe=31]="Globe",e[e.Ticker=32]="Ticker",e[e.Duration=33]="Duration",e[e.Timezone=34]="Timezone",e[e.Language=35]="Language",e[e.MultipleUsers=36]="MultipleUsers",e[e.Regarding=37]="Regarding",e[e.Checklist=38]="Checklist",e[e.TwoOptions=39]="TwoOptions",e[e.Currency=40]="Currency",e[e.DateTime=41]="DateTime",e[e.OfficeIcon=42]="OfficeIcon",e[e.OfficeIconWordFileSharedWithMe=43]="OfficeIconWordFileSharedWithMe",e[e.OfficeIconWordFileCheckedOut=44]="OfficeIconWordFileCheckedOut",e[e.OfficeIconExcelFile=45]="OfficeIconExcelFile",e[e.OfficeIconExcelFileSharedWithMe=46]="OfficeIconExcelFileSharedWithMe",e[e.OfficeIconExcelFileCheckedOut=47]="OfficeIconExcelFileCheckedOut",e[e.OfficeIconPowerPointFile=48]="OfficeIconPowerPointFile",e[e.OfficeIconPowerPointFileSharedWithMe=49]="OfficeIconPowerPointFileSharedWithMe",e[e.OfficeIconPowerPointFileCheckedOut=50]="OfficeIconPowerPointFileCheckedOut",e[e.OfficeIconOneNoteFile=51]="OfficeIconOneNoteFile",e[e.OfficeIconOneNoteFileSharedWithMe=52]="OfficeIconOneNoteFileSharedWithMe",e[e.OfficeIconOneNoteFileCheckedOut=53]="OfficeIconOneNoteFileCheckedOut",e[e.OfficeIconAccessFile=54]="OfficeIconAccessFile",e[e.OfficeIconAccessFileSharedWithMe=55]="OfficeIconAccessFileSharedWithMe",e[e.OfficeIconAccessFileCheckedOut=56]="OfficeIconAccessFileCheckedOut",e[e.OfficeIconProjectFile=57]="OfficeIconProjectFile",e[e.OfficeIconProjectFileSharedWithMe=58]="OfficeIconProjectFileSharedWithMe",e[e.OfficeIconProjectFileCheckedOut=59]="OfficeIconProjectFileCheckedOut",e[e.OfficeIconVisioFile=60]="OfficeIconVisioFile",e[e.OfficeIconVisioFileSharedWithMe=61]="OfficeIconVisioFileSharedWithMe",e[e.OfficeIconVisioFileCheckedOut=62]="OfficeIconVisioFileCheckedOut",e[e.OfficeIconHelpFile=63]="OfficeIconHelpFile",e[e.OfficeIconHelpFileSharedWithMe=64]="OfficeIconHelpFileSharedWithMe",e[e.OfficeIconHelpFileCheckedOut=65]="OfficeIconHelpFileCheckedOut",e[e.OfficeIconZipFile=66]="OfficeIconZipFile",e[e.OfficeIconZipFileSharedWithMe=67]="OfficeIconZipFileSharedWithMe",e[e.OfficeIconZipFileCheckedOut=68]="OfficeIconZipFileCheckedOut",e[e.OfficeIconSetupFile=69]="OfficeIconSetupFile",e[e.OfficeIconSetupFileSharedWithMe=70]="OfficeIconSetupFileSharedWithMe",e[e.OfficeIconSetupFileCheckedOut=71]="OfficeIconSetupFileCheckedOut",e[e.OfficeIconVideoFile=72]="OfficeIconVideoFile",e[e.OfficeIconVideoFileSharedWithMe=73]="OfficeIconVideoFileSharedWithMe",e[e.OfficeIconVideoFileCheckedOut=74]="OfficeIconVideoFileCheckedOut",e[e.OfficeIconImageFile=75]="OfficeIconImageFile",e[e.OfficeIconImageFileSharedWithMe=76]="OfficeIconImageFileSharedWithMe",e[e.OfficeIconImageFileCheckedOut=77]="OfficeIconImageFileCheckedOut",e[e.OfficeIconAudioFile=78]="OfficeIconAudioFile",e[e.OfficeIconAudioFileSharedWithMe=79]="OfficeIconAudioFileSharedWithMe",e[e.OfficeIconAudioFileCheckedOut=80]="OfficeIconAudioFileCheckedOut",e[e.OfficeIconExecutableFile=81]="OfficeIconExecutableFile",e[e.OfficeIconExecutableFileSharedWithMe=82]="OfficeIconExecutableFileSharedWithMe",e[e.OfficeIconExecutableFileCheckedOut=83]="OfficeIconExecutableFileCheckedOut",e[e.OfficeIconPdfFile=84]="OfficeIconPdfFile",e[e.OfficeIconPdfFileSharedWithMe=85]="OfficeIconPdfFileSharedWithMe",e[e.OfficeIconPdfFileCheckedOut=86]="OfficeIconPdfFileCheckedOut",e[e.OfficeIconWebFile=87]="OfficeIconWebFile",e[e.OfficeIconWebFileSharedWithMe=88]="OfficeIconWebFileSharedWithMe",e[e.OfficeIconWebFileCheckedOut=89]="OfficeIconWebFileCheckedOut",e[e.OfficeIconTextFile=90]="OfficeIconTextFile",e[e.OfficeIconTextFileSharedWithMe=91]="OfficeIconTextFileSharedWithMe",e[e.OfficeIconTextFileCheckedOut=92]="OfficeIconTextFileCheckedOut",e[e.OfficeIconFolder=93]="OfficeIconFolder",e[e.OfficeIconFolderSharedWithMe=94]="OfficeIconFolderSharedWithMe",e[e.OfficeIconFolderCheckedOut=95]="OfficeIconFolderCheckedOut",e[e.OfficeIconGenericFile=96]="OfficeIconGenericFile",e[e.OfficeIconGenericFileSharedWithMe=97]="OfficeIconGenericFileSharedWithMe",e[e.OfficeIconGenericFileCheckedOut=98]="OfficeIconGenericFileCheckedOut",e[e.Timer=99]="Timer",e[e.ScanBarcodeButton=100]="ScanBarcodeButton",e[e.Goal=101]="Goal",e[e.Metric=102]="Metric",e[e.Report=103]="Report",e[e.SalesLiterature=104]="SalesLiterature",e[e.Connection=105]="Connection",e[e.CustomerAddress=106]="CustomerAddress",e[e.Position=107]="Position",e[e.TransactionCurrency=108]="TransactionCurrency",e[e.Team=109]="Team",e[e.Service=110]="Service",e[e.ServiceAppointment=111]="ServiceAppointment",e[e.Equipment=112]="Equipment",e[e.PriceLevel=113]="PriceLevel",e[e.GoalRollUpQuery=114]="GoalRollUpQuery",e[e.UoMSchedule=115]="UoMSchedule",e[e.DiscountType=116]="DiscountType",e[e.Territory=117]="Territory",e[e.Socialactivity=118]="Socialactivity",e[e.Calendar=119]="Calendar",e[e.Category=120]="Category",e[e.Entitlement=121]="Entitlement",e[e.Queue=122]="Queue",e[e.RoutingRule=123]="RoutingRule",e[e.RoutingRuleItem=124]="RoutingRuleItem",e[e.msdyn_knowledgearticletemplate=125]="msdyn_knowledgearticletemplate",e[e.msdyn_servicelevelagreement=126]="msdyn_servicelevelagreement",e[e.msdyn_servicelevelagreementkpi=127]="msdyn_servicelevelagreementkpi",e[e.msdyn_servicelevelagreementinstance=128]="msdyn_servicelevelagreementinstance",e[e.Code=129]="Code",e[e.GroupList=130]="GroupList",e[e.CompletedSolid=131]="CompletedSolid",e[e.WarningSolid=132]="WarningSolid",e[e.Site=133]="Site"}(kr||(kr={}));var Gr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Kr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Gr(t,e),t.prototype.getSymbolClassName=function(e){return function(e){return kr[e]&&"crmSymbolFont entity-symbol ".concat(kr[e])}(e)},t}(zr),qr=l.connect(H)(Kr),Qr={account:"crmSymbolFont entity-symbol Account",activitypointer:"crmSymbolFont entity-symbol Activitypointer",appointment:"crmSymbolFont entity-symbol Appointment",article:"symbolFont Article-symbol",businessunit:"crmSymbolFont entity-symbol BusinessUnit",campaign:"crmSymbolFont entity-symbol Campaign",campaignresolution:"symbolFont CampaignResolution-symbol",case:"symbolFont Case-symbol",caseresolution:"symbolFont CaseResolution-symbol",chat:"symbolFont Chat-symbol",competitor:"crmSymbolFont entity-symbol Competitor",connection:"crmSymbolFont entity-symbol Connection",contact:"crmSymbolFont entity-symbol Contact",contract:"crmSymbolFont entity-symbol Contract",createquote:"symbolFont CreateQuote-symbol",customactivity:"symbolFont CustomActivity-symbol",customeraddress:"crmSymbolFont entity-symbol CustomerAddress",dashboard:"crmSymbolFont entity-symbol Dashboard",distributionList:"symbolFont DistributionList-symbol",documenttemplates:"symbolFont DocumentTemplates-symbol",email:"crmSymbolFont entity-symbol Email",externalUser:"symbolFont GuestUser-symbol",fax:"crmSymbolFont entity-symbol Fax",goal:"crmSymbolFont entity-symbol Goal",guestUser:"symbolFont GuestUser-symbol",incident:"crmSymbolFont entity-symbol Incident",invoice:"crmSymbolFont entity-symbol Invoice",knowledgearticle:"crmSymbolFont entity-symbol Knowledgearticle",lead:"crmSymbolFont entity-symbol Lead",letter:"crmSymbolFont entity-symbol Letter",mail:"symbolFont Mail-symbol",membersicon:"symbolFont MembersIcon-symbol",metric:"crmSymbolFont entity-symbol Metric",opportunity:"crmSymbolFont entity-symbol Opportunity",opportunityproduct:"crmSymbolFont entity-symbol Opportunityproduct",phone:"symbolFont Phone-symbol",phonecall:"crmSymbolFont entity-symbol Phonecall",position:"crmSymbolFont entity-symbol Position",product:"crmSymbolFont entity-symbol Product",queueicon:"symbolFont QueueIcon-symbol",queueitem:"crmSymbolFont entity-symbol Queueitem",queueitemroute:"symbolFont QueueItemRoute-symbol",quote:"crmSymbolFont entity-symbol Quote",report:"crmSymbolFont entity-symbol Report",resolvecase:"symbolFont ResolveCase-symbol",salesliterature:"crmSymbolFont entity-symbol SalesLiterature",salesorder:"crmSymbolFont entity-symbol Salesorder",serviceactivity:"symbolFont ServiceActivity-symbol",sharepointdocument:"crmSymbolFont entity-symbol Sharepointdocument",socialprofile:"crmSymbolFont entity-symbol Socialprofile",systemuser:"crmSymbolFont entity-symbol Systemuser",task:"crmSymbolFont entity-symbol Task",team:"crmSymbolFont entity-symbol Team",transactioncurrency:"crmSymbolFont entity-symbol TransactionCurrency",user:"symbolFont GuestUser-symbol",wordtemplates:"symbolFont WordTemplates-symbol",msdyusd_task:"crmSymbolFont entity-symbol msdyusd_task-symbol",msdyusd_configuration:"crmSymbolFont entity-symbol msdyusd_configuration-symbol",msdyusd_customizationfiles:"crmSymbolFont entity-symbol msdyusd_customizationfiles-symbol",msdyusd_entitysearch:"crmSymbolFont entity-symbol msdyusd_entitysearch-symbol",msdyusd_uiievent:"crmSymbolFont entity-symbol msdyusd_uiievent-symbol",msdyusd_form:"crmSymbolFont entity-symbol msdyusd_form-symbol",uii_option:"crmSymbolFont entity-symbol uii_option-symbol",uii_hostedapplication:"crmSymbolFont entity-symbol uii_hostedapplication-symbol",msdyusd_scriptlet:"crmSymbolFont entity-symbol msdyusd_scriptlet-symbol",msdyusd_toolbarstrip:"crmSymbolFont entity-symbol msdyusd_toolbarstrip-symbol",msdyusd_usersettings:"crmSymbolFont entity-symbol msdyusd_usersettings-symbol",msdyusd_agentscriptaction:"crmSymbolFont entity-symbol msdyusd_agentscriptaction-symbol",msdyusd_auditanddiagnosticssetting:"crmSymbolFont entity-symbol msdyusd_auditanddiagnosticssetting-symbol",msdyusd_sessioninformation:"crmSymbolFont entity-symbol msdyusd_sessioninformation-symbol",msdyusd_windowroute:"crmSymbolFont entity-symbol msdyusd_windowroute-symbol",customentity:"symbolFont CustomEntity-symbol",default:"symbolFont CustomEntity-symbol",unresolvedaddress:"symbolFont InformationIcon-symbol",recurringappointmentmaster:"symbolFont NewRecurringAppointment-symbol",service:"crmSymbolFont entity-symbol Service",serviceappointment:"crmSymbolFont entity-symbol ServiceAppointment",equipment:"crmSymbolFont entity-symbol Equipment",pricelevel:"crmSymbolFont entity-symbol PriceLevel",goalrollupquery:"crmSymbolFont entity-symbol GoalRollUpQuery",uomschedule:"crmSymbolFont entity-symbol UoMSchedule",discounttype:"crmSymbolFont entity-symbol DiscountType",territory:"crmSymbolFont entity-symbol Territory",socialactivity:"crmSymbolFont entity-symbol Socialactivity",calendar:"crmSymbolFont entity-symbol Calendar",category:"crmSymbolFont entity-symbol Category",entitlement:"crmSymbolFont entity-symbol Entitlement",queue:"crmSymbolFont entity-symbol Queue",routingrule:"crmSymbolFont entity-symbol RoutingRule",routingruleitem:"crmSymbolFont entity-symbol RoutingRuleItem",msdyn_knowledgearticletemplate:"crmSymbolFont entity-symbol msdyn_knowledgearticletemplate",msdyn_servicelevelagreement:"crmSymbolFont entity-symbol msdyn_servicelevelagreement",msdyn_servicelevelagreementkpi:"crmSymbolFont entity-symbol msdyn_servicelevelagreementkpi",msdyn_servicelevelagreementinstance:"crmSymbolFont entity-symbol msdyn_servicelevelagreementinstance",Code:"crmSymbolFont entity-symbol Code",GroupList:"crmSymbolFont entity-symbol GroupList",CompletedSolid:"crmSymbolFont entity-symbol CompletedSolid",WarningSolid:"crmSymbolFont entity-symbol WarningSolid",site:"crmSymbolFont entity-symbol Site"};var $r,Yr=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Zr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Yr(t,e),t.prototype.getSymbolClassName=function(e){return function(e){return Qr[e]?Qr[e]:Qr.default}(e)},t}(zr),Xr=l.connect(H)(Zr);!function(e){e[e.Expanded=0]="Expanded",e[e.UpArrowHead=1]="UpArrowHead",e[e.LeftArrowHead=2]="LeftArrowHead",e[e.Collapsed=3]="Collapsed",e[e.Edit=4]="Edit",e[e.Save=5]="Save",e[e.Delete=6]="Delete",e[e.Remove=7]="Remove",e[e.Add=8]="Add",e[e.Cancel=9]="Cancel",e[e.HandClick=10]="HandClick",e[e.Accept=11]="Accept",e[e.More=12]="More",e[e.Forward=13]="Forward",e[e.Favorite=14]="Favorite",e[e.Placeholder=15]="Placeholder",e[e.RatingFull=16]="RatingFull",e[e.RatingEmpty=17]="RatingEmpty",e[e.Options=18]="Options",e[e.Manage=19]="Manage",e[e.Settings=20]="Settings",e[e.Find=21]="Find",e[e.Help=22]="Help",e[e.ViewNotifications=23]="ViewNotifications",e[e.StageAdvance=24]="StageAdvance",e[e.CheckMark=25]="CheckMark",e[e.Locked=26]="Locked",e[e.Lock=27]="Lock",e[e.MoreOptions=28]="MoreOptions",e[e.ContactInfo=29]="ContactInfo",e[e.Pin=30]="Pin",e[e.Unpin=31]="Unpin",e[e.Refresh=32]="Refresh",e[e.Details=33]="Details",e[e.VisualFilter=34]="VisualFilter",e[e.GlobalFilter=35]="GlobalFilter",e[e.Diamond=36]="Diamond",e[e.ApplyFilter=37]="ApplyFilter",e[e.CancelFilter=38]="CancelFilter",e[e.StreamView=39]="StreamView",e[e.TileView=40]="TileView",e[e.Import=41]="Import",e[e.Tools=42]="Tools",e[e.Attach=43]="Attach",e[e.Filter=44]="Filter",e[e.Copy=45]="Copy",e[e.HighPriority=46]="HighPriority",e[e.ReduceTile=47]="ReduceTile",e[e.ExpandTile=48]="ExpandTile",e[e.GlobalFilterExpand=49]="GlobalFilterExpand",e[e.GlobalFilterCollapse=50]="GlobalFilterCollapse",e[e.Clear=51]="Clear",e[e.Post=52]="Post",e[e.OneNote=53]="OneNote",e[e.Home=54]="Home",e[e.SetAsHome=55]="SetAsHome",e[e.BackButton=56]="BackButton",e[e.BackButtonWithoutBorder=57]="BackButtonWithoutBorder",e[e.UpArrow=58]="UpArrow",e[e.DownArrow=59]="DownArrow",e[e.SetActiveButton=60]="SetActiveButton",e[e.SearchButton=61]="SearchButton",e[e.ForwardButton=62]="ForwardButton",e[e.Mail=63]="Mail",e[e.CheckedMail=64]="CheckedMail",e[e.FailedMail=65]="FailedMail",e[e.Phone=66]="Phone",e[e.Chat=67]="Chat",e[e.OpenPane=68]="OpenPane",e[e.ClosePane=69]="ClosePane",e[e.AddFriend=70]="AddFriend",e[e.Arrow=71]="Arrow",e[e.DropdownArrow=72]="DropdownArrow",e[e.FlsLocked=73]="FlsLocked",e[e.LinkArticle=74]="LinkArticle",e[e.UnlinkArticle=75]="UnlinkArticle",e[e.CopyLink=76]="CopyLink",e[e.EmailLink=77]="EmailLink",e[e.Share=78]="Share",e[e.Assign=79]="Assign",e[e.Connect=80]="Connect",e[e.Opportunity=81]="Opportunity",e[e.Appointment=82]="Appointment",e[e.Task=83]="Task",e[e.Case=84]="Case",e[e.PhoneCallIncoming=85]="PhoneCallIncoming",e[e.PhoneCallOutgoing=86]="PhoneCallOutgoing",e[e.EmailIncoming=87]="EmailIncoming",e[e.EmailOutgoing=88]="EmailOutgoing",e[e.SendEmail=89]="SendEmail",e[e.ApplyTemplate=90]="ApplyTemplate",e[e.InsertKbArticle=91]="InsertKbArticle",e[e.SendSelected=92]="SendSelected",e[e.SaveAndClose=93]="SaveAndClose",e[e.ReplyEmail=94]="ReplyEmail",e[e.ReplyAllEmail=95]="ReplyAllEmail",e[e.ForwardEmail=96]="ForwardEmail",e[e.Close=97]="Close",e[e.Activate=98]="Activate",e[e.DeActivate=99]="DeActivate",e[e.DeleteBulk=100]="DeleteBulk",e[e.SocialActivityIncoming=101]="SocialActivityIncoming",e[e.SocialActivityOutgoing=102]="SocialActivityOutgoing",e[e.CustomActivity=103]="CustomActivity",e[e.SystemPost=104]="SystemPost",e[e.Convert=105]="Convert",e[e.MarkAsWon=106]="MarkAsWon",e[e.MarkAsLost=107]="MarkAsLost",e[e.SetRegarding=108]="SetRegarding",e[e.SaveAsComplete=109]="SaveAsComplete",e[e.SwitchProcess=110]="SwitchProcess",e[e.Recalculate=111]="Recalculate",e[e.SendDirectEmail=112]="SendDirectEmail",e[e.OpenMailbox=113]="OpenMailbox",e[e.ReOpenOpportunity=114]="ReOpenOpportunity",e[e.ReactivateLead=115]="ReactivateLead",e[e.Disqualify=116]="Disqualify",e[e.Qualify=117]="Qualify",e[e.SelectView=118]="SelectView",e[e.SelectChart=119]="SelectChart",e[e.OpenInBrowser=120]="OpenInBrowser",e[e.NewAppointment=121]="NewAppointment",e[e.NewRecurringAppointment=122]="NewRecurringAppointment",e[e.NewPhoneCall=123]="NewPhoneCall",e[e.NewTask=124]="NewTask",e[e.NewEmail=125]="NewEmail",e[e.AddExisting=126]="AddExisting",e[e.SaveAndEdit=127]="SaveAndEdit",e[e.Default=128]="Default",e[e.ScrollRight=129]="ScrollRight",e[e.ScrollLeft=130]="ScrollLeft",e[e.SaveAndRunRoutingRule=131]="SaveAndRunRoutingRule",e[e.RunRoutingRule=132]="RunRoutingRule",e[e.ResolveCase=133]="ResolveCase",e[e.CancelCase=134]="CancelCase",e[e.ReactivateCase=135]="ReactivateCase",e[e.AddToQueue=136]="AddToQueue",e[e.CreateChildCase=137]="CreateChildCase",e[e.QueueItemRoute=138]="QueueItemRoute",e[e.QueueItemRelease=139]="QueueItemRelease",e[e.QueueItemRemove=140]="QueueItemRemove",e[e.QueueItemPick=141]="QueueItemPick",e[e.Drilldown=142]="Drilldown",e[e.PopOverButton=143]="PopOverButton",e[e.ExitButton=144]="ExitButton",e[e.ExportToExcel=145]="ExportToExcel",e[e.WordTemplates=146]="WordTemplates",e[e.DocumentTemplates=147]="DocumentTemplates",e[e.OpenInPowerBI=148]="OpenInPowerBI",e[e.OpenPowerBIReport=149]="OpenPowerBIReport",e[e.OpenDelve=150]="OpenDelve",e[e.ArticleLink=151]="ArticleLink",e[e.ArchiveArticle=152]="ArchiveArticle",e[e.ApproveArticle=153]="ApproveArticle",e[e.DiscardArticle=154]="DiscardArticle",e[e.Minor=155]="Minor",e[e.Major=156]="Major",e[e.PublishKnowledgeArticle=157]="PublishKnowledgeArticle",e[e.RelateArticle=158]="RelateArticle",e[e.RelateProduct=159]="RelateProduct",e[e.RestoreArticle=160]="RestoreArticle",e[e.RevertToDraftArticle=161]="RevertToDraftArticle",e[e.Translate=162]="Translate",e[e.UpdateArticle=163]="UpdateArticle",e[e.RemoveFilter=164]="RemoveFilter",e[e.Article=165]="Article",e[e.Graph=166]="Graph",e[e.CSR=167]="CSR",e[e.MembersIcon=168]="MembersIcon",e[e.QueueIcon=169]="QueueIcon",e[e.SiteMap=170]="SiteMap",e[e.NormalPriority=171]="NormalPriority",e[e.LowPriority=172]="LowPriority",e[e.ViewIcon=173]="ViewIcon",e[e.RecentCases=174]="RecentCases",e[e.KBRecords=175]="KBRecords",e[e.NumberOfViews=176]="NumberOfViews",e[e.ResizeHandle=177]="ResizeHandle",e[e.TaskBasedFlow=178]="TaskBasedFlow",e[e.InformationIcon=179]="InformationIcon",e[e.PencilIcon=180]="PencilIcon",e[e.ErrorIcon=181]="ErrorIcon",e[e.SuccessIcon=182]="SuccessIcon",e[e.OptionsetIcon=183]="OptionsetIcon",e[e.NotificationIcon=184]="NotificationIcon",e[e.PanelHeaderImportDataIcon=185]="PanelHeaderImportDataIcon",e[e.SidePanelUpload=186]="SidePanelUpload",e[e.New=187]="New",e[e.DetailsPageClose=188]="DetailsPageClose",e[e.SettingsListIcon=189]="SettingsListIcon",e[e.ListIcon=190]="ListIcon",e[e.ForwardDisable=191]="ForwardDisable",e[e.PdfIconFile=192]="PdfIconFile",e[e.PresentationFile=193]="PresentationFile",e[e.OneNoteFile=194]="OneNoteFile",e[e.AccessFile=195]="AccessFile",e[e.VisioFile=196]="VisioFile",e[e.ProjectFile=197]="ProjectFile",e[e.Plus=198]="Plus",e[e.ChevronUp=199]="ChevronUp",e[e.ChevronDown=200]="ChevronDown",e[e.HappySmiley=201]="HappySmiley",e[e.SadSmiley=202]="SadSmiley",e[e.CaseResolution=203]="CaseResolution",e[e.CampaignResolution=204]="CampaignResolution",e[e.ServiceActivity=205]="ServiceActivity",e[e.Notes=206]="Notes",e[e.Audio=207]="Audio",e[e.Camera=208]="Camera",e[e.Video=209]="Video",e[e.Image=210]="Image",e[e.Html=211]="Html",e[e.SharePointEditDocument=212]="SharePointEditDocument",e[e.SharePointDeleteDocument=213]="SharePointDeleteDocument",e[e.SharePointCheckoutDocument=214]="SharePointCheckoutDocument",e[e.SharePointCheckinDocument=215]="SharePointCheckinDocument",e[e.SharePointEditDocumentProperties=216]="SharePointEditDocumentProperties",e[e.SharePointDiscardCheckoutDocument=217]="SharePointDiscardCheckoutDocument",e[e.SharePointNewDocument=218]="SharePointNewDocument",e[e.SharePointNewWordDocument=219]="SharePointNewWordDocument",e[e.SharePointNewExcelDocument=220]="SharePointNewExcelDocument",e[e.SharePointNewPowerPointDocument=221]="SharePointNewPowerPointDocument",e[e.SharePointNewOneNoteDocument=222]="SharePointNewOneNoteDocument",e[e.SharePointUploadDocument=223]="SharePointUploadDocument",e[e.SharePointChangeLocation=224]="SharePointChangeLocation",e[e.SharePointAddDocumentLocation=225]="SharePointAddDocumentLocation",e[e.SharePointEditLocation=226]="SharePointEditLocation",e[e.SharePointOpenLocation=227]="SharePointOpenLocation",e[e.SharePointOpenDocument=228]="SharePointOpenDocument",e[e.SendByEmail=229]="SendByEmail",e[e.CreateQuote=230]="CreateQuote",e[e.Reply=231]="Reply",e[e.Warning=232]="Warning",e[e.Play=233]="Play",e[e.ExpandButton=234]="ExpandButton",e[e.AssociatedArticle=235]="AssociatedArticle",e[e.DisassociatedArticle=236]="DisassociatedArticle",e[e.FormDesign=237]="FormDesign",e[e.GlobalFilterClearAll=238]="GlobalFilterClearAll",e[e.GlobalFilterExpandedRow=239]="GlobalFilterExpandedRow",e[e.GlobalFilterCollapsedRow=240]="GlobalFilterCollapsedRow",e[e.RelationshipAssistant=241]="RelationshipAssistant",e[e.AutomaticSuggestions=242]="AutomaticSuggestions",e[e.SemanticZoom=243]="SemanticZoom",e[e.SemanticZoomMirrored=244]="SemanticZoomMirrored",e[e.BackwardButton=245]="BackwardButton",e[e.MultiSelect=246]="MultiSelect",e[e.MultiSelectMirrored=247]="MultiSelectMirrored",e[e.Spinning=248]="Spinning",e[e.RetireProduct=249]="RetireProduct",e[e.AddProduct=250]="AddProduct",e[e.OfflineStatus=251]="OfflineStatus",e[e.Abandon=252]="Abandon",e[e.Reactivate=253]="Reactivate",e[e.FinishStage=254]="FinishStage",e[e.SortButton=255]="SortButton",e[e.Flows=256]="Flows",e[e.OpenEntityRecord=257]="OpenEntityRecord",e[e.View=258]="View",e[e.CreateView=259]="CreateView",e[e.EditView=260]="EditView",e[e.GuestUser=261]="GuestUser",e[e.History=262]="History",e[e.ReassignRecords=263]="ReassignRecords",e[e.ManageRoles=264]="ManageRoles",e[e.JoinTeams=265]="JoinTeams",e[e.ChangeManager=266]="ChangeManager",e[e.AddMembers=267]="AddMembers",e[e.RemoveMembers=268]="RemoveMembers",e[e.Download=269]="Download",e[e.SetAsDefaultView=270]="SetAsDefaultView",e[e.Pinned=271]="Pinned",e[e.DistributionList=272]="DistributionList",e[e.MergeRecords=273]="MergeRecords",e[e.AssociateChildCase=274]="AssociateChildCase",e[e.SetAsDefault=275]="SetAsDefault",e[e.ConvertKnowledgeArticle=276]="ConvertKnowledgeArticle",e[e.Messenger=277]="Messenger",e[e.AssociateCategory=278]="AssociateCategory",e[e.OfficeWaffle=279]="OfficeWaffle",e[e.TripleColumn=280]="TripleColumn",e[e.Tiles=281]="Tiles",e[e.HideVisualFilter=282]="HideVisualFilter",e[e.InteractiveDashboard=283]="InteractiveDashboard",e[e.Dynamics365=284]="Dynamics365",e[e.SalesLiterature=285]="SalesLiterature",e[e.SelectButton=286]="SelectButton",e[e.SelectButtonRTL=287]="SelectButtonRTL",e[e.LockPricing=288]="LockPricing",e[e.CreateInvoice=289]="CreateInvoice",e[e.FulfillOrder=290]="FulfillOrder",e[e.CancelInvoice=291]="CancelInvoice",e[e.ActivateQuote=292]="ActivateQuote",e[e.InvoicePaid=293]="InvoicePaid",e[e.GetProducts=294]="GetProducts",e[e.UnlockPricing=295]="UnlockPricing",e[e.Checkbox=296]="Checkbox",e[e.CheckboxComposite=297]="CheckboxComposite",e[e.RightChevron=298]="RightChevron",e[e.LeftChevron=299]="LeftChevron",e[e.UntrackedEmail=300]="UntrackedEmail",e[e.OpenEmail=301]="OpenEmail",e[e.GlobalFilterCollapsedRowRTL=302]="GlobalFilterCollapsedRowRTL",e[e.CancelOrder=303]="CancelOrder",e[e.URL=304]="URL",e[e.Ticker=305]="Ticker",e[e.UseCurrentPricing=306]="UseCurrentPricing",e[e.Process=307]="Process",e[e.FirstPageButton=308]="FirstPageButton",e[e.LinkedInLogo=309]="LinkedInLogo",e[e.Health=310]="Health",e[e.Family=311]="Family",e[e.Sports=312]="Sports",e[e.Entertainment=313]="Entertainment",e[e.OOF=314]="OOF",e[e.CarouselView=315]="CarouselView",e[e.HeartEmpty=316]="HeartEmpty",e[e.HeartFilled=317]="HeartFilled",e[e.Follow=318]="Follow",e[e.RunQuery=319]="RunQuery",e[e.GroupAnd=320]="GroupAnd",e[e.GroupOr=321]="GroupOr",e[e.Ungroup=322]="Ungroup",e[e.HideInSimpleMode=323]="HideInSimpleMode",e[e.ShowInSimpleMode=324]="ShowInSimpleMode",e[e.PinnedSolid=325]="PinnedSolid",e[e.FilterSolid=326]="FilterSolid",e[e.Bot=327]="Bot",e[e.SystemDocumentTemplates=328]="SystemDocumentTemplates",e[e.MyDocumentTemplates=329]="MyDocumentTemplates",e[e.ViewAllMyDocumentTemplates=330]="ViewAllMyDocumentTemplates",e[e.EnableSecurityRoles=331]="EnableSecurityRoles",e[e.DocumentTemplateUpload=332]="DocumentTemplateUpload",e[e.DocumentTemplateEdit=333]="DocumentTemplateEdit",e[e.DocumentTemplateActivate=334]="DocumentTemplateActivate",e[e.DocumentTemplateDeactivate=335]="DocumentTemplateDeactivate",e[e.YammerIcon=336]="YammerIcon",e[e.StopIcon=337]="StopIcon",e[e.ReplaceContentIcon=338]="ReplaceContentIcon",e[e.CloseDateComingSoon=339]="CloseDateComingSoon",e[e.NearbyCustomers=340]="NearbyCustomers",e[e.RelevantNews=341]="RelevantNews",e[e.UpcomingMeeting=342]="UpcomingMeeting",e[e.RecentMeeting=343]="RecentMeeting",e[e.ReminderWithCall=344]="ReminderWithCall",e[e.CardsTask=345]="CardsTask",e[e.CardsQuote=346]="CardsQuote",e[e.CardsOpportunity=347]="CardsOpportunity",e[e.CardsInvoice=348]="CardsInvoice",e[e.CardsDashboard=349]="CardsDashboard",e[e.CardsLeads=350]="CardsLeads",e[e.OpportunityNoActivity=351]="OpportunityNoActivity",e[e.CaseNoActivity=352]="CaseNoActivity",e[e.CompetitorMentioned=353]="CompetitorMentioned",e[e.MeetingRequest=354]="MeetingRequest",e[e.MissedCloseDate=355]="MissedCloseDate",e[e.IssueDetection=356]="IssueDetection",e[e.NoActivityWithAccount=357]="NoActivityWithAccount",e[e.YesNo=358]="YesNo",e[e.AgendaActivityServiceAppointment=359]="AgendaActivityServiceAppointment",e[e.AgendaActivityFax=360]="AgendaActivityFax",e[e.UpcomingFlight=361]="UpcomingFlight",e[e.OpportunityAtRiskSentiment=362]="OpportunityAtRiskSentiment",e[e.IconDue=363]="IconDue",e[e.AddProductFamily=364]="AddProductFamily",e[e.AddProductBundle=365]="AddProductBundle",e[e.ProductPublish=366]="ProductPublish",e[e.CloneProduct=367]="CloneProduct",e[e.CloseGoal=368]="CloseGoal",e[e.AlignWithFiscalPeriod=369]="AlignWithFiscalPeriod",e[e.Connection=370]="Connection",e[e.ConnectionToMe=371]="ConnectionToMe",e[e.ConnectionToOther=372]="ConnectionToOther",e[e.ProductUpsell=373]="ProductUpsell",e[e.SubscriptionAdd=374]="SubscriptionAdd",e[e.RefreshDevice=375]="RefreshDevice",e[e.BulletListRemove=376]="BulletListRemove",e[e.BulletListAdd=377]="BulletListAdd",e[e.ScatterChart=378]="ScatterChart",e[e.BarChartHorizontal=379]="BarChartHorizontal",e[e.BarChartVertical=380]="BarChartVertical",e[e.FunnelChart=381]="FunnelChart",e[e.PieDouble=382]="PieDouble",e[e.AALinkedInLogo=383]="AALinkedInLogo",e[e.SendAndClose=384]="SendAndClose",e[e.AdvFind=385]="AdvFind",e[e.DoubleChevronLeft=386]="DoubleChevronLeft",e[e.DoubleChevronRight=387]="DoubleChevronRight",e[e.AreaChart=388]="AreaChart",e[e.DonutChart=389]="DonutChart",e[e.TagChart=390]="TagChart",e[e.Teaser=391]="Teaser",e[e.Clone=392]="Clone",e[e.AreaChartMirrored=393]="AreaChartMirrored",e[e.BarChartHorizontalMirrored=394]="BarChartHorizontalMirrored",e[e.BarChartVerticalMirrored=395]="BarChartVerticalMirrored",e[e.People=396]="People",e[e.PeopleBlock=397]="PeopleBlock",e[e.BulletListDownArrow=398]="BulletListDownArrow",e[e.Recent=399]="Recent",e[e.SharePointIcon=400]="SharePointIcon",e[e.OneDriveIcon=401]="OneDriveIcon",e[e.FolderSharedIcon=402]="FolderSharedIcon",e[e.MSTeamsIcon=403]="MSTeamsIcon",e[e.ScrollUpDown=404]="ScrollUpDown",e[e.SendToCTI=405]="SendToCTI",e[e.CreateQuickCampaign=406]="CreateQuickCampaign",e[e.PageSolid=407]="PageSolid",e[e.Page=408]="Page",e[e.OpportunitiesList=409]="OpportunitiesList",e[e.BrowseCards=410]="BrowseCards",e[e.Letter=411]="Letter",e[e.Fax=412]="Fax",e[e.NewLetter=413]="NewLetter",e[e.NewFax=414]="NewFax",e[e.LetterIncoming=415]="LetterIncoming",e[e.LetterOutgoing=416]="LetterOutgoing",e[e.FaxIncoming=417]="FaxIncoming",e[e.FaxOutgoing=418]="FaxOutgoing",e[e.CreatePersonalView=419]="CreatePersonalView",e[e.ViewHierarchy=420]="ViewHierarchy",e[e.ProductPreview=421]="ProductPreview",e[e.AddTerritoryMember=422]="AddTerritoryMember",e[e.RemoveTerritoryMember=423]="RemoveTerritoryMember",e[e.Report=424]="Report",e[e.NewServiceActivity=425]="NewServiceActivity",e[e.Recurrence=426]="Recurrence",e[e.EditSeries=427]="EditSeries",e[e.EndSeries=428]="EndSeries",e[e.EditDefaultFilter=429]="EditDefaultFilter",e[e.QueueItemDetail=430]="QueueItemDetail",e[e.ThumbsUp=431]="ThumbsUp",e[e.ThumbsDown=432]="ThumbsDown",e[e.Lead=433]="Lead",e[e.TableLink=434]="TableLink",e[e.TableGroup=435]="TableGroup",e[e.ClearDefault=436]="ClearDefault",e[e.SetDefault=437]="SetDefault",e[e.SaveFilterToNewPersonalView=438]="SaveFilterToNewPersonalView",e[e.SaveFilterToCurrentPersonalView=439]="SaveFilterToCurrentPersonalView",e[e.Expand=440]="Expand",e[e.ChromeMinimize=441]="ChromeMinimize",e[e.ChromeMaximize=442]="ChromeMaximize",e[e.ConnectionRoleManageRecordType=443]="ConnectionRoleManageRecordType",e[e.Sync=444]="Sync",e[e.ThumbsUpSolid=445]="ThumbsUpSolid",e[e.ThumbsDownSolid=446]="ThumbsDownSolid",e[e.msdyn_enhancedsla=447]="msdyn_enhancedsla",e[e.msdyn_enhancedslakpi=448]="msdyn_enhancedslakpi",e[e.msdyn_enhancedslakpiinstance=449]="msdyn_enhancedslakpiinstance",e[e.CreateOrder=450]="CreateOrder",e[e.Revise=451]="Revise",e[e.CloseQuote=452]="CloseQuote",e[e.CommandChecker=453]="CommandChecker",e[e.MiniContract=454]="MiniContract",e[e.MiniExpand=455]="MiniExpand",e[e.Print=456]="Print",e[e.NoDataAvailable=457]="NoDataAvailable",e[e.MoreVertical=458]="MoreVertical",e[e.OpenInNewWindow=459]="OpenInNewWindow",e[e.EditEvent=460]="EditEvent",e[e.LinkToRecord=461]="LinkToRecord",e[e.UnlinkFromRecord=462]="UnlinkFromRecord",e[e.KnowledgeSearch=463]="KnowledgeSearch",e[e.ChevronDownMed=464]="ChevronDownMed",e[e.OpenFolderHorizontal=465]="OpenFolderHorizontal",e[e.TaskClipboard=466]="TaskClipboard",e[e.CustomList=467]="CustomList",e[e.ExpandAllRecords=468]="ExpandAllRecords",e[e.CollapseAllRecords=469]="CollapseAllRecords",e[e.SelectAll=470]="SelectAll",e[e.Embed=471]="Embed",e[e.MailTemplate=472]="MailTemplate",e[e.Monitor=473]="Monitor",e[e.Error=474]="Error",e[e.CustomEntity=475]="CustomEntity",e[e.EventAccepted=476]="EventAccepted",e[e.ClosePaneMirrored=477]="ClosePaneMirrored",e[e.RollupQuery=478]="RollupQuery",e[e.FontColor=479]="FontColor",e[e.AlignJustify=480]="AlignJustify",e[e.NumberedList=481]="NumberedList",e[e.Omega=482]="Omega",e[e.LineSpacing=483]="LineSpacing",e[e.Spelling=484]="Spelling",e[e.Strikethrough=485]="Strikethrough",e[e.Code=486]="Code",e[e.IncreaseIndent=487]="IncreaseIndent",e[e.DecreaseIndent=488]="DecreaseIndent",e[e.Subscript=489]="Subscript",e[e.Superscript=490]="Superscript",e[e.AllinOnePC=491]="AllinOnePC",e[e.ButtonControl=492]="ButtonControl",e[e.LineFocus1=493]="LineFocus1",e[e.CodeEdit=494]="CodeEdit",e[e.QRCode=495]="QRCode",e[e.CloudUpload=496]="CloudUpload",e[e.TextAlignLeft=497]="TextAlignLeft",e[e.TextAlignCenter=498]="TextAlignCenter",e[e.TextAlignRight=499]="TextAlignRight",e[e.TextAlignJustify=500]="TextAlignJustify",e[e.BulletedList=501]="BulletedList",e[e.Anchor=502]="Anchor",e[e.ClearNight=503]="ClearNight",e[e.SearchCampaigns=504]="SearchCampaigns",e[e.FileCode=505]="FileCode",e[e.DockBottom=506]="DockBottom",e[e.DockLeft=507]="DockLeft",e[e.DockRight=508]="DockRight",e[e.Brightness=509]="Brightness",e[e.AlignHorizontalLeft=510]="AlignHorizontalLeft",e[e.AlignHorizontalCenter=511]="AlignHorizontalCenter",e[e.AlignHorizontalRight=512]="AlignHorizontalRight",e[e.AlignVerticalTop=513]="AlignVerticalTop",e[e.AlignVerticalCenter=514]="AlignVerticalCenter",e[e.AlignVerticalBottom=515]="AlignVerticalBottom",e[e.SidePanelMirrored=516]="SidePanelMirrored",e[e.BackButtonRTL=517]="BackButtonRTL",e[e.InstagramIcon=518]="InstagramIcon",e[e.Bookmark=519]="Bookmark",e[e.RatingFullGrey=520]="RatingFullGrey",e[e.ContactSolid=521]="ContactSolid",e[e.ExploitProtectionSettings=522]="ExploitProtectionSettings",e[e.ColumnOptions=523]="ColumnOptions",e[e.CollaborationDisplay=524]="CollaborationDisplay",e[e.AppIconDefaultAdd=525]="AppIconDefaultAdd",e[e.NoteForward=526]="NoteForward",e[e.ViewAll2=527]="ViewAll2",e[e.AddToShoppingList=528]="AddToShoppingList"}($r||($r={}));var Jr={OfficeWaffle:"d365Shell OfficeWaffle-symbol",ScrollUpDown:"symbolFont AreaSwitcher-symbol",QueueItemDetail:"symbolFont QueueItemPick-symbol",InstagramIcon:"symbolFont InstagramIncon-symbol"};var eo,to=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),no=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return to(t,e),t.prototype.getSymbolClassName=function(e){return function(e){var t=$r[e]||"Default";return Jr[t]||"symbolFont ".concat(t,"-symbol")}(e)},t}(zr);!function(e){e[e.None=0]="None",e[e.Left=1]="Left",e[e.Top=2]="Top"}(eo||(eo={}));var ro,oo,io=l.connect(H)(no),ao=ie.createContext({}),so=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),lo={};!function(e){e.NotInitialized="NotInitialized",e.Initializing="Initializing",e.Initialized="Initialized",e.Failed="Failed"}(ro||(ro={})),function(e){e.NotStarted="NotStarted",e.InProgress="InProgress",e.Completed="Completed",e.Failed="Failed"}(oo||(oo={}));var uo=function(r){function e(e,t){var n=r.call(this,e,t)||this;return n.state={identifiers:null,getRecordDataStatus:oo.NotStarted},n._isLivePersonCardLibAvailable=n._isLivePersonCardLibAvailable.bind(n),n._openCard=n._openCard.bind(n),n}return so(e,r),e.prototype.getElementProps=function(){return{accessibilityLabel:this.props.accessibilityLabel,displayName:this.props.displayName,emailAddress:this.props.emailAddress,entityReference:this.props.entityReference,personaType:this.props.personaType,recordId:this.props.recordId,registerOpenCardCallback:this.props.registerOpenCardCallback}},e.prototype.componentDidMount=function(){this.props.registerOpenCardCallback&&this.props.registerOpenCardCallback(this._openCard),this.props.registerHasLivePersonaCardLoadedCallback&&this.props.registerHasLivePersonaCardLoadedCallback(this._isLivePersonCardLibAvailable)},e.prototype.componentWillUnmount=function(){delete lo[this.props.recordId]},e.prototype.componentDidUpdate=function(e){e.recordId!==this.props.recordId&&(this.setState({identifiers:null,getRecordDataStatus:oo.NotStarted}),this._getRecordData())},e.prototype.render=function(){var e=this.getElementChildren();if(this._isLivePersonCardLibAvailable()&&this.state.getRecordDataStatus===oo.Completed){var t=window.LivePersonaCardHoverTargetV2;if(t){var n=this.props,r=n.id,o=n.renderAsPresentational,i=n.style;return ie.createElement(t,{cardParameters:this._makeLivePersonaCardParameters(),tabIndex:"-1"},ie.createElement("span",{id:r,style:i,role:o?"presentation":void 0},e))}}else this._isLivePersonCardLibAvailable()&&this.state.getRecordDataStatus===oo.NotStarted&&this._getRecordData();return e},e.prototype._makeLivePersonaCardParameters=function(){var e=this,t=this.state.identifiers||{},n=this._getHostAppId(),r=this.props,o=r.accessibilityLabel,i=r.displayName,a=r.personaType,s=r.renderAsPresentational,l=void 0!==s&&s;return{personaInfo:{identifiers:{HostAppPersonaId:n,Smtp:t.smtp,AadObjectId:t.aadObjectId,PersonaType:a},displayName:i},behavior:{onCardOpen:function(){return e._reportCardUsage("Card Opened")},onCardClose:function(){return e._reportCardUsage("Card Closed")},disableClick:l},ariaLabel:l?void 0:o,disableAccessibilityDefaults:l}},e.prototype._openCard=function(){if(this._isLivePersonCardLibAvailable()&&this.state.getRecordDataStatus===oo.Completed&&window.LPC&&window.LPC.openCard){var e=this.props.onKeyDownContainerId;if(e){var t=document.getElementById(e);if(t){var n=this._makeLivePersonaCardParameters();window.LPC.openCard(t,n)}}}},e.prototype._getHostAppId=function(){return this.props.entityReference.LogicalName+":"+this.props.recordId},e.prototype._setIdentifiersAndRecordDataStatus=function(e,t){sessionStorage.setItem(this.props.recordId,JSON.stringify(e));var n=this._getLpcIdentifiers(e,t);n&&this.setState({identifiers:n,getRecordDataStatus:oo.Completed})},e.prototype._setGetRecordDataError=function(e){this.setState({getRecordDataStatus:oo.Failed}),F.Diagnostics.traceError("LivePersonaHoverTarget","Failed to fetch record data: ".concat(e))},e.prototype._getRecordData=function(){var t=this;if(this.state.getRecordDataStatus===oo.NotStarted){var n=this.props.entityReference.LogicalName;try{var e=sessionStorage.getItem(this.props.recordId),r=lo[this.props.recordId];if(e){var o=JSON.parse(e);this._setIdentifiersAndRecordDataStatus(o,n)}else if(r)r.then(function(e){t._setIdentifiersAndRecordDataStatus(e,n)}).catch(function(e){t._setGetRecordDataError(e)});else{this.setState({getRecordDataStatus:oo.InProgress});var i=F.retrieveRecord(n,this.props.recordId,this._getQueryOptions(n));i.then(function(e){t._setIdentifiersAndRecordDataStatus(e,n)}).catch(function(e){t._setGetRecordDataError(e)}),lo[this.props.recordId]=i}}catch(t){this._setGetRecordDataError(t)}}},e.prototype._getQueryOptions=function(e){switch(e){case"contact":return"?$select=emailaddress1";case"systemuser":return"?$select=internalemailaddress,azureactivedirectoryobjectid"}return""},e.prototype._getLpcIdentifiers=function(e,t){switch(t){case"contact":return{smtp:e.emailaddress1};case"systemuser":return{smtp:e.internalemailaddress,aadObjectId:e.azureactivedirectoryobjectid}}return null},e.prototype._isLivePersonCardLibAvailable=function(){var e=this.context?this.context.lpcInitializationState:void 0;return!!e&&e===ro.Initialized},e.prototype._reportCardUsage=function(e){var t={eventName:"uci_controlframework_usage",eventParameters:[{name:"EventContext",value:e},{name:"ControlName",value:"LivePersonaHoverTarget"},{name:"ControlId",value:"LivePersonaHoverTarget"}]};F.Reporting.reportEvent(t)},e.displayName="LivePersonaCardHoverTarget",e}(y);uo.contextType=ao;var co=l.connect(H)(uo),po=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),fo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return po(t,e),t.prototype.getElementName=function(){return"label"},t.prototype.getElementProps=function(){return{htmlFor:this.props.forElementId}},t.displayName="Label",t}(y),ho=l.connect(H)(fo),mo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),yo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mo(t,e),t.prototype.getElementName=function(){return"option"},t.prototype.getElementProps=function(){var e={value:this.props.value?this.props.value.Value.toString():"-1"};return this.props.disabled&&(e.disabled=!0),this.props.selected&&(e["data-selected"]=!0),e},t.prototype.getElementChildren=function(){return this.props.value&&this.props.value.Label||""},t}(y),go=l.connect(H)(yo),vo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),bo=function(){return(bo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Co=function(n){function e(e){var t=n.call(this,e)||this;return t._onChangeHandler=t._onChangeHandler.bind(t),t._uuid=Rn(),t.state={value:e.value},t}return vo(e,n),e.prototype.UNSAFE_componentWillReceiveProps=function(e){e&&!function(e,t,n){void 0===n&&(n=!1);if(!e||!t)return!1;if(J(e.Value)&&J(t.Value))return e.Label===t.Label;if(n){var r=e,o=t;return r.length===o.length&&r.every(function(e,t){return e===o[t]})}return e.Value===t.Value}(this.state.value,e.value,this._isMultiple())&&this.setState({value:e.value})},e.prototype._uniqueId=function(e,t){return void 0===e&&(e=this.props.id),void 0===t&&(t=this._uuid),"".concat(e,"_").concat(t)},e.prototype._isMultiple=function(){return!!this.props.multiple},e.prototype._optionId=function(e){return"".concat(this._uniqueId()).concat(e.Value)},e.prototype._onChangeHandler=function(e){for(var r=Array.from(e.target.options).filter(function(e){return e.selected}),o=[],t=function(e){var t=r[e].value;if(!J(t)){var n=i.props.options.filter(function(e){return(J(e.Value)?"":e.Value.toString())===t});n&&n.length&&o.push(n[0])}},i=this,n=0;n<r.length;n++)t(n);if(o.length>0){var a=this._isMultiple()?{value:o}:{value:o[0]};this.setState(a),this.props.onChange&&this.props.onChange(a.value)}},e.prototype.getElementName=function(){return"select"},e.prototype.getElementProps=function(){var e={value:this.props.multiple?this.state.value?this.state.value.map(function(e){return e.Value.toString()}):["-1"]:this.state.value?this.state.value.Value.toString():"-1",onChange:this._onChangeHandler};return e.describedByElementId=this.props.describedByElementId?null:this.props.describedByElementId,this.props.disabled&&(e.disabled=!0),this.props.multiple&&(e.multiple=!0),e},e.prototype.getElementChildren=function(){var o=this;return this.props.options&&this.props.options.length?this.props.options.map(function(e){var t=o._optionId(e),n=!1;if(o.props.multiple){for(var r=0;r<o.props.value.length;r++)if(o.props.value[r]===e){n=!0;break}}else n=o.props.value===e;return ie.createElement(go,{id:t,key:t,value:e,selected:n,style:o.props.style.optionStyle})}):n.prototype.getElementChildren.call(this)},e}(y);function _o(e){if(e&&e.style){var t=bo({},e.style.selectStyle);return e.style.selectStyle&&e.style.selectStyle.appearance&&(t.appearance=e.style.selectStyle.appearance,t.WebkitAppearance=e.style.selectStyle.appearance,t.MozAppearance=e.style.selectStyle.appearance,t.MsAppearance=e.style.selectStyle.appearance),bo(bo(bo({},e.style),t),B(e))}return{}}var So=l.connect(function(e){return{rule:_o(e)}})(Co);var Po,Io,wo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),xo=function(n){function e(e){var t=n.call(this,e)||this;return t._onCheckboxChange=t._onCheckboxChange.bind(t),t}return wo(e,n),e.prototype._onCheckboxChange=function(e){var t=e.target.checked;this.props.onChange(t)},e.prototype.getElementName=function(){return"input"},e.prototype.getElementProps=function(){var e,t=((e={tabIndex:this.props.tabIndex?this.props.tabIndex:0,disabled:this.props.disabled,key:this.props.key,id:this.props.id?this.props.id:this.props.key,onChange:this._onCheckboxChange,role:this.props.accessibilityRole?this.props.accessibilityRole:"checkbox",type:"checkbox",name:this.props.name?this.props.name:null})["aria-checked"]=this.props.checked,e.checked=this.props.checked,e);return t.testhooks=this.props.testhooks,t},e.displayName="Checkbox",e}(y),Eo=l.connect(H)(xo),ko=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),To=function(){return(To=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Do=function(n){function e(e){var t=n.call(this,e)||this;return t._optionSetChange=t._optionSetChange.bind(t),t._onCheckboxChange=t._onCheckboxChange.bind(t),t.onClick=t.onClick.bind(t),t.state={checked:t.props.value||!1},t}return ko(e,n),e.prototype.UNSAFE_componentWillReceiveProps=function(e){null!==e.value&&void 0!==e.value&&e.value!==this.state.checked&&this.setState({checked:e.value})},e.prototype._onCheckboxChange=function(e){if(this.state.checked!==e&&(this.setState({checked:e}),this.props.onValueChange&&this.props.onValueChange(e)),this.props.onOptionSetValueChange&&this.props.options){var t=this.props.options[Number(e)];this.props.onOptionSetValueChange(t)}},e.prototype._optionSetChange=function(e){e&&this.props.onOptionSetValueChange&&this.props.onOptionSetValueChange(e)},e.prototype.onClick=function(){if(this.props.onOptionSetValueChange&&this.props.options){var e=this.props.options[Number(!this.props.value)];this.props.onOptionSetValueChange(e)}},e.prototype.getCheckboxComponent=function(){var e={tabIndex:0,disabled:this.props.disabled,id:this.props.id||null,key:this.props.id||null,onChange:this._onCheckboxChange,testhooks:this.props.testhooks,name:this.props.name?this.props.name:null,accessibilityRole:this.props.displayAs&&"checkbox"!==this.props.displayAs?"switch":"",accessibilityLabel:this.props.accessibilityLabel,describedByElementId:this.props.describedByElementId?null:this.props.describedByElementId,style:this.props.style,checked:this.props.displayAs?this.props.value:this.state.checked,accessibilityChecked:this.props.displayAs?this.props.value:this.state.checked,title:this.props.title?this.props.title:null};return ie.createElement(Eo,To({},e))},e.prototype.getSelectComponent=function(){var e=this.props.options[Number(this.props.value)],t={style:this.props.style||{},options:this.props.options,value:e,onChange:this._optionSetChange,testhooks:this.props.testhooks,disabled:this.props.disabled,key:this.props.absoluteId,name:this.props.id,id:this.props.id,accessibilityLabel:this.props.accessibilityLabel,accessibilityRequired:this.props.accessibilityRequired,title:this.props.title,onFocus:this.props.disabled?null:this.props.onFocus,onBlur:this.props.disabled?null:this.props.onBlur,describedByElementId:this.props.describedByElementId?null:this.props.describedByElementId};return ie.createElement(So,To({},t))},e.prototype.getLabelComponent=function(){var e={};Object.assign(e,this.props),e.id=e.id&&e.id+"_label";var t=this.props.displayValue;return"checkbox"===this.props.displayAs?(e.forElementId=e.id||null,t=this.props.defaultValue):e.onClick=this.onClick,this.props.testhooks&&(e.testhooks=this.props.testhooks),e.style={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},this.props.displayValue?ie.createElement(ho,To({},e),t):null},e.prototype.render=function(){if(!this.props.options&&this.props.displayAs)return ie.createElement(ho,null);if("picklist"===this.props.displayAs)return this.getSelectComponent();if("radio"===this.props.displayAs)return this.getLabelComponent();return ie.createElement(se,To({},{style:{display:"flex",alignItems:"center",width:"100%"}},{testhooks:this.props.testhooks}),this.getCheckboxComponent(),this.getLabelComponent())},e.displayName="Switch",e}(y),Fo=l.connect(H)(Do),Oo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Mo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Oo(t,e),t.prototype.getElementName=function(){return"input"},t.prototype.getElementProps=function(){var o=this,e={type:"file",onKeyPress:function(e){(o.isEdge||o.isIE)&&"Enter"===e.key&&e.target.click()}};return this.props.accept&&this.props.accept.length&&(e.accept=this.props.accept.join(",")),this.props.fileSelected&&(e.onChange=function(e){var t=e.target;if(t&&t.files&&t.files.length>0)if(t.files.length>1&&o.props.multipleFilesSelected)t.type="",t.type="file",o.props.multipleFilesSelected();else{var n=t.files[0],r=new FileReader;r.readAsDataURL(n),r.onload=function(){var e=o._parseFileReaderResult(n,r.result);o.props.fileSelected(e)},r.onerror=function(){o.props.onReaderError&&o.props.onReaderError("Error reading file: "+n.name+"\n"+r.error)}}else o.props.fileUnselected&&o.props.fileUnselected()}),e},t.prototype._parseFileReaderResult=function(e,t){var n=null,r=null;if(t){var o=t.indexOf(",");o>-1&&(n=t.substring(o+1));var i=t.indexOf(";");i>-1&&o>-1&&(r=t.substring(i+1,o))}return{content:n,mimeType:e.type,encoding:r,name:e.name,size:e.size}},t.displayName="FileInput",t}(y),Ao=l.connect(H)(Mo),Ro=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}();!function(e){e[e.Default=0]="Default",e[e.Small=1]="Small",e[e.Medium=2]="Medium",e[e.Large=3]="Large"}(Po||(Po={})),function(e){e[e.None=0]="None",e[e.Lookup=1]="Lookup",e[e.Grid=2]="Grid"}(Io||(Io={}));var Lo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._renderPresence=!1,e}return Ro(e,t),e.prototype._addPresenceInformation=function(){var e=this.props.displaySize?this.props.displaySize:Po.Default,t=this.props.presenceTarget?this.props.presenceTarget:Io.None;this._presenceInstance=new this._skypeChannelContext.SkypeChannelClient.Presence(this._presenceId,this.props.sipUrl,this.props.entityReference,e,this.props.parentControlId,this.props.accessibilityLabel,t),this._presenceInstance.buildPresence()},e.prototype.componentDidMount=function(){this._renderPresence&&this._addPresenceInformation()},e.prototype.componentWillUnmount=function(){this._presenceInstance&&(this._presenceInstance.close(),this._presenceInstance=null)},e.prototype._isSkypeChannelAvailable=function(){return this._skypeChannelContext=this.context?this.context.SkypeChannel:void 0,void 0!==this._skypeChannelContext},e.prototype._isPropsAvailable=function(){return!!this.props.sipUrl||this.props.entityReference&&this._skypeChannelContext.SkypeChannelClient.PresenceInformation&&this._skypeChannelContext.SkypeChannelClient.PresenceInformation.isPresenceEnabledEntity(this.props.entityReference.entityName)},e.prototype.render=function(){return this._presenceId=this.props.id?this.props.id:this.props.parentControlId+"_presence",this._renderPresence=this._isSkypeChannelAvailable()&&this._isPropsAvailable(),this._renderPresence?ie.createElement(se,{id:this._presenceId,style:this.props.style}):null},e.displayName="PresenceIndicator",e}(ie.Component);function No(e,o){return new Promise(function(t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE){var e=r.responseText;/<svg[\s\S]*>/i.test(e)?t(function(e){return(new DOMParser).parseFromString(e,"text/xml").getElementsByTagName("svg")[0]}(e)):n(new Error("Provided file isn't a valid SVG"))}},r.open("GET",e,!0),o&&r.setRequestHeader("Authorization","Bearer ".concat(o)),r.send()})}Lo.contextType=ao;var Bo,Uo,Vo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ho=function(){return(Ho=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},jo=function(r){function e(e){var t=r.call(this,e)||this;return t.state={},t}return Vo(e,r),e.prototype.componentDidMount=function(){this.props.source&&this._inlineSvgImage(this.props.source)},e.prototype._getInnerSVGStyle=function(){return this.state.parsedSvgProps&&this.state.parsedSvgProps.style?this.state.parsedSvgProps.style:null},e.prototype.componentDidUpdate=function(e){this.props.source!==e.source&&this._inlineSvgImage(this.props.source)},e.prototype._inlineSvgImage=function(e){var t,n,r=this;(t=e,n=this.props.token,No(t,n).then(function(e){var t,n,r=null;return e&&(function(e){for(var t=e.getElementsByTagName("script"),n=t.length-1;n>=0;n--)t[n].parentNode.removeChild(t[n])}(e),(r=function(e){for(var t={},n=0;n<e.attributes.length;n++){var r=e.attributes[n].name,o=e.attributes[n].value;"style"===r?o=i(o):"class"===r&&(r="className"),t[r]=o}return t;function i(e){if(!e)return null;for(var t={},n=0,r=e.split(";").filter(function(e){return e&&-1!==e.indexOf(":")});n<r.length;n++){var o=r[n].split(":"),i=o[0].trim().replace(/-\S/g,function(e){return e[1].toUpperCase()}),a=o[1].trim();t[i]=a}return t}}(e)).dangerouslySetInnerHTML={__html:(t=e,n=new XMLSerializer,Array.prototype.reduce.call(t.childNodes,function(e,t){return e+n.serializeToString(t)},""))},r=Object.freeze(r)),r})).then(function(e){e?r.setState({parsedSvgProps:e}):r.props.onParsingError&&r.props.onParsingError("File content is empty")},function(e){r.props.onParsingError&&r.props.onParsingError(e.message)})},e.prototype._shouldRenderImg=function(){return this.props.source&&this.props.fallbackToImage&&!this.state.parsedSvgProps},e.prototype.getElementName=function(){return"svg"},e.prototype.getElementProps=function(){return Ho(Ho({},this.state.parsedSvgProps),this.props)},e.prototype.getElementClassName=function(){var e,t,n=r.prototype.getElementClassName.call(this)||"";return(null===(t=null===(e=this.state.parsedSvgProps)||void 0===e?void 0:e.className)||void 0===t?void 0:t.length)&&(n.length&&" "!==n[n.length-1]&&(n+=" "),n+=this.state.parsedSvgProps.className),n},e.prototype.render=function(){if(this._shouldRenderImg()){var e=void 0;return this.props.source&&(e=this.props.source.replace(/\\/g,"/")),ie.createElement(Ur,{source:e,style:this.props.style,altText:this.props.altText,title:this.props.title})}var t=this.getElementPropsInternal(),n=this._getInnerSVGStyle();return n&&(t.style=Ho(Ho({},n),t.style)),ie.createElement(this.getElementName(),t,this.getElementChildren())},e.displayName="Svg",e}(y),Wo=l.connect(H)(jo),zo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Go=function(){return(Go=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ko=/[0-9]*\.?[0-9]+(px|%|em|rem)?/i,qo=[{min:1,max:39,color:"#FF0000"},{min:40,max:59,color:"#FFBB00"},{min:60,max:100,color:"#00EE00"}];(Uo=Bo||(Bo={}))[Uo.CustomImage=0]="CustomImage",Uo[Uo.Initials=1]="Initials",Uo[Uo.CustomEntityIcon=2]="CustomEntityIcon",Uo[Uo.DefaultEntityIcon=3]="DefaultEntityIcon";var Qo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zo(t,e),t.getMode=function(e){return e.hasPrimaryImageField&&e.imageSrc?Bo.CustomImage:e.hasPrimaryImageField&&e.entityPrimaryField?Bo.Initials:e.customEntityIcon?Bo.CustomEntityIcon:e.entityReference&&e.entityReference.entityName?Bo.DefaultEntityIcon:void 0},t.prototype._isCustomImageMode=function(){return t.getMode(this.props)===Bo.CustomImage},t.prototype._isInitialsMode=function(){return t.getMode(this.props)===Bo.Initials},t.prototype._isCustomEntityIconMode=function(){return t.getMode(this.props)===Bo.CustomEntityIcon},t.prototype._isDefaultEntityIconMode=function(){return t.getMode(this.props)===Bo.DefaultEntityIcon},t.prototype._renderHealthCircle=function(e){var t=this,n=Ko.exec(this.props.style.width+"")[1],r=parseFloat(this.props.style.width+""),o=360*this.props.entityHealthScore/100,i={width:r+n,height:r+n,position:"relative",display:"block"},a={clip:"rect(0, ".concat(r+n,", ").concat(r+n,", ").concat(r/2+n,")"),height:"100%",width:"100%",left:"0",position:"absolute",top:"0"},s={clip:"rect(0, ".concat(r/2+n,", ").concat(r+n,", 0)"),transform:"rotate(".concat(o,"deg)"),height:"100%",width:"100%",border:"4px solid transparent",borderRadius:"50%",left:"0",position:"absolute",top:"0",borderColor:"transparent",boxSizing:"border-box"};qo.forEach(function(e){t.props.entityHealthScore>=e.min&&t.props.entityHealthScore<=e.max&&(s.borderColor=e.color)});var l=Go({},s),u=Go({display:"none"},s);return o>180&&(a.clip="rect(auto, auto, auto, auto)",l.transform="rotate(180deg)",u.display="block"),ie.createElement(se,{style:i},e,ie.createElement(se,{style:a},ie.createElement(se,{style:l}),ie.createElement(se,{style:u})))},t.prototype.getElementName=function(){return"span"},t.prototype.getElementProps=function(){return{alt:this.props.alt?this.props.alt:""}},t.prototype.getElementChildren=function(){return this._isInitialsMode()?function(e){var t="";if(e){for(var n=e.split(" "),r=0;r<n.length&&t.length<2;r++)if(n[r].length>0){var o=n[r].charCodeAt(0);if(!(o>=97&&o<=122||o>=65&&o<=90)){"".codePointAt&&String.fromCodePoint?t+=String.fromCodePoint(n[r].codePointAt(0)):t+=n[r].charAt(0);break}t+=n[r].charAt(0)}if(t.length<=1){t="";for(var i=0;i<e.length&&t.length<2;i++){var a=e.charCodeAt(i);if(!(a>=97&&a<=122||a>=65&&a<=90)){"".codePointAt&&String.fromCodePoint?t+=String.fromCodePoint(e.codePointAt(i)):t+=e.charAt(i);break}t+=e.charAt(i)}}}return t}(this.props.entityPrimaryField):this._isDefaultEntityIconMode()?ie.createElement(Xr,{type:this.props.entityReference.entityName,style:this.props.iconStyle}):void 0},t.prototype._renderEntityImageWithPresence=function(e){var t="id_"+Rn(),n=ie.createElement(Lo,{key:t+"_presence",id:t+"_presence",parentControlId:t,style:{right:"0px",bottom:"0px",position:"absolute"},entityReference:this.props.entityReference,sipUrl:this.props.sipUrl,displaySize:this.props.presenceIndicatorSize,accessibilityLabel:this.props.entityPrimaryField});return ie.createElement(se,{id:t,style:{position:"relative"}},e,n)},t.prototype.render=function(){var e;if(this._isCustomImageMode()||this._isCustomEntityIconMode())if(window.navigator.userAgent.match("MSIE")||window.navigator.userAgent.match("Trident")){var t={source:this._isCustomImageMode()?this.props.imageSrc:this.props.customEntityIcon,style:this.props.style,fallbackToImage:!0,altText:this.props.alt,title:this.props.title};e=ie.createElement(Wo,Go({},t))}else{var n={source:this._isCustomImageMode()?this.props.imageSrc:this.props.customEntityIcon,style:this.props.style,altText:this.props.alt,title:this.props.title};e=ie.createElement(Ur,Go({},n))}else{var r=this.getElementPropsInternal(),o=Go(Go({},r),{role:r.role||"img","aria-label":this.props.alt||""});e=ie.createElement(this.getElementName(),o,this.getElementChildren())}return this.props.wrapperStyle&&(e=ie.createElement(se,{style:this.props.wrapperStyle},e)),this.props.entityHealthScore&&(e=this._renderHealthCircle(e)),(this.props.entityReference||this.props.sipUrl)&&(e=this._renderEntityImageWithPresence(e)),e},t.displayName="EntityImage",t.backgroundColors=["#005C62","#358717","#725A0D","#A42B1A","#652F4E","#6A1E7A","#315FA2"],t}(y);function $o(e){if(e&&e.style){if(!e.style.backgroundColor&&(Qo.getMode(e)===Bo.Initials||Qo.getMode(e)===Bo.DefaultEntityIcon)){var t=Qo.backgroundColors[0];if(e.entityPrimaryField){for(var n=0,r=e.entityPrimaryField.length-1;r>=0;r--){var o=e.entityPrimaryField.charCodeAt(r),i=r%8;n^=(o<<i)+(o>>8-i)}t=Qo.backgroundColors[n%Qo.backgroundColors.length]}return Go({backgroundColor:t},B(e))}return Go(Go({},e.style),B(e))}return{}}var Yo=l.connect(function(e){return{rule:$o(e)}})(Qo);var Zo=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}();var Xo,Jo=function(r){function e(e){var t=r.call(this,e)||this;t._delayTimeoutId=void 0;var n=e.displayDelay>0;return t.state={renderIndicator:!n},n&&(t._delayTimeoutId=setTimeout(function(){return t.setState({renderIndicator:!0})},e.displayDelay)),t}return Zo(e,r),e.prototype.componentWillUnmount=function(){void 0!==this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0)},e.prototype.shouldComponentUpdate=function(e,t){return this.props.active!==e.active||this.props.progressType!==e.progressType||this.state.renderIndicator!==t.renderIndicator},e.prototype.getElementName=function(){return"div"},e.prototype.getFlexClassName=function(e){var t,n="";return e?(t=Object.assign(u(e)),this.props.progressType&&"bar"!==this.props.progressType?"ring"===this.props.progressType&&(n+="indeterminateProgressRing"):n+="indeterminateProgressBar",!0!==this.props.active&&!0!==this.props.animating&&(n+=" hideProgressBar"),n+=" "+c(t?t.display:null)):null},e.prototype.getElementChildren=function(){if("ring"===this.props.progressType&&this.state.renderIndicator)return this.isIE?ie.createElement("div",null,"......"):ie.createElement("div",null,ie.createElement("div",{className:"progressDot"}),ie.createElement("div",{className:"progressDot"}),ie.createElement("div",{className:"progressDot"}),ie.createElement("div",{className:"progressDot"}),ie.createElement("div",{className:"progressDot"}))},e.displayName="ProgressIndicator",e}(y),ei=l.connect(H)(Jo),ti=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),ni=function(){return(ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ri=function(n){function e(e){var t=n.call(this,e)||this;return t._recalculateState=t._recalculateState.bind(t),t._onNextClick=t._onNextClick.bind(t),t._onPrevClick=t._onPrevClick.bind(t),t._onNextKeyDown=t._onNextKeyDown.bind(t),t._onPrevKeyDown=t._onPrevKeyDown.bind(t),t._saveScrollViewRefCallback=t._saveScrollViewRefCallback.bind(t),t.state={prevArrowDisabled:!0,nextArrowDisabled:!0},t._userAgent=window.navigator.userAgent,t}return ti(e,n),e.prototype.getElementProps=function(){var e=this.props.arrowButtonStyle||{},t=this.props.scrollViewStyle||{};return ni(ni({},this.props),{startChildIndex:this.props.startChildIndex||0,arrowWidth:this.props.arrowWidth||e.width||20,arrowButtonStyle:e,scrollViewStyle:t})},e.prototype.componentDidMount=function(){var e=this.getElementPropsInternal();0!==e.startChildIndex&&this._scrollToChildByIndex(e.startChildIndex),this._currentChildIndex=e.startChildIndex},e.prototype.componentDidUpdate=function(){if(!this.getElementPropsInternal().style.height){var e=this._getScrollableContainer();if(e){var t=e.scrollHeight+"px";e.parentElement.style.height=t,e.parentElement.style.minHeight=t}}this._recalculateState()},e.prototype._saveScrollViewRefCallback=function(e){this._scrollView=e},e.prototype._onPrevKeyDown=function(e){this.props.onPrevArrowKeyDown&&this.props.onPrevArrowKeyDown(e,this._currentChildIndex)},e.prototype._onNextKeyDown=function(e){this.props.onNextArrowKeyDown&&this.props.onNextArrowKeyDown(e,this._currentChildIndex)},e.prototype._onPrevClick=function(e){this._slideByArrow(!1),e.stopPropagation(),this.props.onPrevArrowClick&&this.props.onPrevArrowClick(e,this._currentChildIndex)},e.prototype._onNextClick=function(e){this._slideByArrow(!0),e.stopPropagation(),this.props.onNextArrowClick&&this.props.onNextArrowClick(e,this._currentChildIndex)},e.prototype._slideByArrow=function(e){var t=this._getChildIndexToScroll(e);this._scrollToChildByIndex(t)},e.prototype._getScrollLeft=function(e){if(this.props.isRTL){if(this._isBrowserIEorEdge()||this._isBrowserFirefox())return Math.abs(e.scrollLeft);if(this._isBrowserChromeOrAndroid()||this._isBrowserSafari())return e.scrollWidth-e.clientWidth+e.scrollLeft}return e.scrollLeft},e.prototype._getPrevIcon=function(){var e=this.props.prevArrowIconType;return this.props.isRTL&&56===e&&(e=13),this._renderArrowIcon(e,"<")},e.prototype._getNextIcon=function(){var e=this.props.nextArrowIconType;return this.props.isRTL&&13===e&&(e=56),this._renderArrowIcon(e,">")},e.prototype._getCurrentChildIndex=function(e,t){var n=this._getScrollableContainer(),r=n.children,o=0,i=e;if(t&&!this.props.isRTL||!t&&this.props.isRTL){if(this._getTotalWidthIncludingMargins(r[i])>=n.clientWidth)return this._boundIndex(++i,r);for(;i<r.length;i++)if((o+=this._getTotalWidthIncludingMargins(r[i]))>=n.clientWidth)return this._boundIndex(i,r)}else{if(this._getTotalWidthIncludingMargins(r[i])>=n.clientWidth)return this._boundIndex(--i,r);for(;i>=0;i--)if((o+=this._getTotalWidthIncludingMargins(r[i]))>=n.clientWidth)return this._boundIndex(i,r)}return this._boundIndex(i,r)},e.prototype._boundIndex=function(e,t){return e=Math.min(e,t.length-1),e=Math.max(e,0)},e.prototype._getChildIndexToScroll=function(e){return this._currentChildIndex=this._getCurrentChildIndex(this._currentChildIndex,e),this._currentChildIndex},e.prototype._recalculateState=function(){var e=this._getScrollableContainer(),t=this._getScrollLeft(e),n=t<=1,r=t+e.offsetWidth+1>=e.scrollWidth-1;n===this.state.prevArrowDisabled&&r===this.state.nextArrowDisabled||this.setState({prevArrowDisabled:n,nextArrowDisabled:r})},e.prototype._getChildByIndex=function(e){e=e&&e>0?e:0;var t=this._getScrollableContainer().children;return t?t[e]:null},e.prototype._scrollToChildByIndex=function(e){var t=this._getChildByIndex(e);t&&this._scrollToChild(t)},e.prototype._scrollToChild=function(e){if(!e)throw new Error("child must be specified");this._scrollToContent(this._getScrollableContainer(),e)},e.prototype._scrollToWithTransition=function(e,t){var n=e.scrollLeft,r=t-n,o=this._determineDuration();this._scrollTransition(e,0,n,10,r,o)},e.prototype._scrollTransition=function(e,t,n,r,o,i){var a=this,s=function(){t+=r,e.scrollLeft=a._scrollEase(t,n,o,i),t<i&&setTimeout(s,r)};s()},e.prototype._scrollEase=function(e,t,n,r){return(e/=r/2)<1?n*Math.pow(e,2)/2+t:(e--,-1*n*(Math.pow(e,2)-2*e-1)/2+t)},e.prototype._getScrollableContainer=function(){return I.findDOMNode(this._scrollView)},e.prototype._renderPrevArrowButton=function(){var e=this.getElementPropsInternal(),t=ni({position:"absolute",left:"0px",top:"0px",width:e.arrowWidth+"px",boxSizing:"border-box",alignItems:"center"},this.props.arrowButtonStyle),n=this.props.id+"_scrollPrevArrow";return ie.createElement(On,{id:n,key:n,accessibilityHidden:this.state.prevArrowDisabled,accessibilityLabel:this.props.isRTL?this.props.scrollRightAccessibilityLabel:this.props.scrollLeftAccessibilityLabel,accessibilityHasPopup:!0,tabIndex:-1,disabled:this.state.prevArrowDisabled,style:t,onFocus:this.props.onFocus,onClick:this._onPrevClick,onKeyDown:this._onPrevKeyDown},this.props.isRTL?this._getNextIcon():this._getPrevIcon())},e.prototype._renderNextArrowButton=function(){var e=this.getElementPropsInternal(),t=ni({position:"absolute",right:"0px",top:"0px",width:e.arrowWidth+"px",boxSizing:"border-box",alignItems:"center"},this.props.arrowButtonStyle),n=this.props.id+"_scrollNextArrow";return ie.createElement(On,{id:n,key:n,accessibilityHidden:this.state.nextArrowDisabled,accessibilityLabel:this.props.isRTL?this.props.scrollLeftAccessibilityLabel:this.props.scrollRightAccessibilityLabel,accessibilityHasPopup:!0,tabIndex:-1,disabled:this.state.nextArrowDisabled,style:t,onFocus:this.props.onFocus,onClick:this._onNextClick,onKeyDown:this._onNextKeyDown},this.props.isRTL?this._getPrevIcon():this._getNextIcon())},e.prototype._renderArrowIcon=function(e,t){if(e){var n="scroll"+$r[e]+"Icon";return ie.createElement(io,{key:n,type:e})}return t},e.prototype._isBrowserIEorEdge=function(){return this.isEdge||this.isIE},e.prototype._isBrowserFirefox=function(){return!!this._userAgent.match("Firefox")},e.prototype._isBrowserChromeOrAndroid=function(){return!!this._userAgent.match("Chrome")||!!this._userAgent.match("Android")||!!this._userAgent.match("AppleWebKit")},e.prototype._isBrowserSafari=function(){return!!this._userAgent.match("Safari")},e.prototype._scrollToContent=function(e,t){e&&t&&this._scrollToContentHorizontal(e,t)},e.prototype._scrollToContentHorizontal=function(e,t){for(var n,r=e.scrollWidth-e.offsetWidth,o=e.children,i=this._getChildIndex(t),a=0,s=0;s<i;s++)a+=this._getTotalWidthIncludingMargins(o[s]);this.props.isRTL?(a+=parseInt(this._getCalculatedStyle(t).marginRight,10),n=this._isBrowserIEorEdge()?a:r-a):n=a+=parseInt(this._getCalculatedStyle(t).marginLeft,10),this._scrollToWithTransition(e,n)},e.prototype._getCalculatedStyle=function(e){return e.currentStyle||window.getComputedStyle(e)},e.prototype._getTotalWidthIncludingMargins=function(e){var t=this._getCalculatedStyle(e),n=parseInt(t.width,10);return isNaN(n)&&(n=e.offsetWidth),n+(t.marginLeft.indexOf("px")<0?parseInt(getComputedStyle(e).marginLeft,10):parseInt(t.marginLeft,10))+(t.marginRight.indexOf("px")<0?parseInt(getComputedStyle(e).marginRight,10):parseInt(t.marginRight,10))},e.prototype._getChildIndex=function(e){for(var t=0;null!=(e=e&&e.previousSibling);)t++;return t},e.prototype._determineDuration=function(){return this._getScrollableContainer().clientWidth<=550||this._getScrollableContainer().clientWidth,500},e.prototype.render=function(){var e=this.getElementPropsInternal();Object.assign(e.style,{display:"block",position:"relative",paddingLeft:e.arrowWidth+"px",paddingRight:e.arrowWidth+"px",overflow:"hidden"},this.props.style);var t=ni(ni({},this.props.scrollViewStyle),{position:"relative"});return ie.createElement(se,{style:e.style,isRequestedMeasuring:!0,onMeasuring:this._recalculateState,accessibilityLabel:this.props.accessibilityLabel},this.props.isRTL?this._renderNextArrowButton():this._renderPrevArrowButton(),ie.createElement(dr,{semanticTag:this.props.semanticTag,key:"HorizontalScrollContent",refCallback:this._saveScrollViewRefCallback,horizontal:!0,style:t,accessibilityLabel:this.props.accessibilityLabel,onScroll:this._recalculateState,role:this.props.role,isRTL:this.props.isRTL},this.props.children),this.props.isRTL?this._renderPrevArrowButton():this._renderNextArrowButton())},e.displayName="HorizontalScroll",e.defaultProps={scrollRightAccessibilityLabel:"Scroll right the content",scrollLeftAccessibilityLabel:"Scroll left the content"},e}(y),oi=l.connect(H)(ri),ii=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),ai=function(){return(ai=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};!function(e){e[e.Crm=0]="Crm",e[e.Microsoft=1]="Microsoft"}(Xo||(Xo={}));var si=function(n){function l(e){var t=n.call(this,e)||this;return t.handleItemSelected=t.handleItemSelected.bind(t),t.handleItemIconPointerDown=t.handleItemIconPointerDown.bind(t),t.handleSpaceKey=t.handleSpaceKey.bind(t),t.handleRelativeToElementSelector=t.handleRelativeToElementSelector.bind(t),t._getOptionTestHooks=t._getOptionTestHooks.bind(t),(null==e?void 0:e.applyTheme)&&(t.handleInnerControlFocus=t.handleInnerControlFocus.bind(t),t.handleInnerControlBlur=t.handleInnerControlBlur.bind(t)),t}return ii(l,n),l.prototype.handleInnerControlFocus=function(){this.setState({hasFocus:!0}),this.isIE?this.handleIEBorderFocus():this._applyThemeValueOnFocus()},l.prototype._applyThemeValueOnFocus=function(){var e=this.props,t=e.themeValues;if(e.applyTheme){var n="".concat("background-color: ").concat(null==t?void 0:t.viewFocusBackgroundColor).concat(";"),r="".concat("color: ").concat(null==t?void 0:t.viewFocusColor).concat(";"),o="".concat("border-radius: ").concat(null==t?void 0:t.flyoutBorderRadius).concat(";"),i=n+r+"".concat("border-top: 0px;border-left: 0px;border-right: 0px;")+o+"".concat("border-bottom:"," ").concat(null==t?void 0:t.viewFocusBorderBottomWidth," solid ").concat(null==t?void 0:t.viewFocusBorderBottomColor).concat(";")+"".concat("outline: none;"),a=document.getElementById(this.focusableControlId);if(!a||null===a)return;a.setAttribute("style",i)}},l.prototype.handleInnerControlBlur=function(){this.resetSelectedIndex(),this.setState({hasFocus:!1});var e=this.props.applyTheme;if(this.isIE)this.handleIEInnerControlBlur();else if(e){var t=document.getElementById(this.focusableControlId);if(!t||null===t)return;t.setAttribute("style","null")}},l.prototype.handleItemSelected=function(e){this.selectedListItem=e},l.prototype.handleItemIconPointerDown=function(e){var t=e.currentTarget;this._handleIconClick(t)},l.prototype.handleSpaceKey=function(e){var t=e.currentTarget;this._handleIconClick(t)},l.prototype.handleArrowUp=function(e){this.state.isExpanded&&n.prototype.handleArrowUp.call(this,e)},l.prototype.handleArrowDown=function(e,t){this.state.isExpanded?n.prototype.handleArrowDown.call(this,e,t):n.prototype.handleEnterKey.call(this,e)},l.prototype.handleRelativeToElementSelector=function(e){return e},l.prototype.calculateWidth=function(){return this.props.style&&this.props.style.width?this.props.style.width:"20em"},l.prototype._handleIconClick=function(e){if(e&&e.parentElement&&e.parentElement.parentElement&&"li"===e.parentElement.parentElement.localName){var t=e.parentElement.parentElement.dataset.value;if(this.props.onItemIconPointerDown&&t){var n=this.getOptionByValue(this.props.options,t);n&&this.props.onItemIconPointerDown(n)}}},l.prototype._renderListItem=function(e){var t=[ie.createElement(vr,{role:"presentation",style:this._getListItemTextStyle()},e.text||" "),this._renderListItemIcon(e)],n=this.props.placeItemIconOnRight;return ie.createElement(se,{style:{display:"flex",justifyContent:n&&"space-between"}},n?t:t.reverse())},l.prototype._renderListItemIcon=function(e){var t,n,r=30===e.iconType||31===e.iconType;if(r&&(null===(n=null===(t=null==F?void 0:F.Utils)||void 0===t?void 0:t.isFeatureEnabled)||void 0===n?void 0:n.call(t,l.FCB_OCTOBER2021UPDATE)))return null;var o=e.iconStyle?e.iconStyle:{width:16,height:16,marginLeft:"8px",marginRight:"8px"},i=!e.imageSource&&e.iconType?e.iconCategory===Xo.Crm?ie.createElement(qr,{type:e.iconType,style:o}):ie.createElement(io,{type:e.iconType,style:o}):null,a=30===e.iconType?"Pin ":31===e.iconType?"Unpin ":null,s=null==a?a:a+e.text;return e.imageSource?ie.createElement(se,null,ie.createElement(Ur,{source:e.imageSource,style:o,altText:e.altText||""})):e.iconType?ie.createElement(se,{title:e.iconTitle,accessibilityLabel:s,role:r?"button":"presentation",onKeyDown:r?this.handleSpaceKey:null,onPointerDown:this.handleItemIconPointerDown},i):null},l.prototype._getListItemTextStyle=function(){return{marginLeft:"8px",marginRight:"8px",minWidth:"18em",maxWidth:"30em"}},l.prototype._renderOptions=function(t,a){var s=this,e=this.props.options,l=this.props.selectedItemStyle||this.getSelectedItemStyle();return e.filter(function(e){return e.categoryId===t}).map(function(e,t){var n=s.getListItemId(e),r=s._getOptionTestHooks(t),o=t+(a=a||0),i=s.props.value===e.value;return ie.createElement(sr,{key:o,id:n,tabIndex:-1,role:"option",title:e.text,accessibilityLabel:e.text,dataText:e.text,dataValue:e.value,onSelected:s.handleItemSelected,isSelected:i,style:i?l:s.getListItemStyle(),selectedStyle:l,ref:s.saveItemRef,onClick:s.handleItemPointerDown,testhooks:r},s._renderListItem(e))})},l.prototype._getOptionTestHooks=function(e){if(!this.props.testhooks)return null;var t=ai({},this.props.testhooks);for(var n in t)t[n]+="-item-".concat(e);return t},l.prototype._renderCategories=function(){var i=this,e=this.props.categories,a=[];if(e){var s=0;e.map(function(e,t){var n=i._renderOptions(e.id,s),r="".concat(e.id,"_").concat(t),o="".concat(i.getListId(),"_").concat(r);a.push(ie.createElement(se,{key:t,style:{display:"block"},role:"group",labelledByElementId:o},i._renderCategoryHeader(e.name,r,o),n)),s+=n.length})}else a.push(ie.createElement(se,null,this._renderOptions()));return a},l.prototype._renderCategoryHeader=function(e,t,n){var r=this.props,o=r.themeValues,i=r.applyTheme,a=i?null==o?void 0:o.categoryHeaderTextColor:void 0,s=i?null==o?void 0:o.categoryHeaderFontSize:void 0,l=i?null==o?void 0:o.categoryHeaderFontWeight:void 0,u=i?null==o?void 0:o.categoryHeaderLineHeight:void 0;return ie.createElement(se,{key:t,id:n,tabIndex:-1,title:e,accessibilityLabel:e,dataText:e,dataValue:e,style:{flex:"0 1 auto",padding:"8px 0px 8px 0px"},ref:this.saveItemRef},ie.createElement(se,{style:{display:"flex"}},ie.createElement(vr,{role:"presentation",style:{color:a||"#0066FF",fontSize:s||"12px",fontWeight:l||"600",lineHeight:u,marginLeft:"8px",marginRight:"8px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}},e||" ")))},l.prototype.getPageSize=function(){return 15},l.prototype.getFocusOutlineOffset=function(e,t){return e&&t?"-"+(parseInt(e,10)+parseInt(t,10)).toString()+"px":"none"},l.prototype.getListItemStyle=function(){var e=this.props,t=e.themeValues,n=e.applyTheme,r=n?null==t?void 0:t.listItemBackgroundColor:void 0,o=n?null==t?void 0:t.listItemTextColor:void 0,i=n?null==t?void 0:t.listItemHoverBackgroundColor:void 0,a=n?null==t?void 0:t.listItemHoverTextColor:void 0,s=n?null==t?void 0:t.listItemFocusBackgroundColor:void 0,l=n?null==t?void 0:t.listItemFocusTextColor:void 0,u=n?null==t?void 0:t.listItemFontSize:void 0,c=n?null==t?void 0:t.listItemFontWeight:void 0,p=n?null==t?void 0:t.listItemLineHeight:void 0,d=n?(null==t?void 0:t.listItemBorderWidth)+" solid transparent":void 0,f=null==t?void 0:t.listItemBorderColor,h=n?(null==t?void 0:t.listItemBorderWidth)+" solid "+f:void 0,m=n?null==t?void 0:t.flyoutBorderRadius:void 0,y=null==t?void 0:t.listItemOutlineColor,g=n?(null==t?void 0:t.listItemOutlineWidth)+" solid "+y+" !important":void 0;return{flex:"0 1 auto",cursor:"pointer",padding:"6px 0px 6px 0px",fontSize:u,fontWeight:c,lineHeight:p,border:d,backgroundColor:r,color:o,":focus":{backgroundColor:s||"transparent",color:l||Or.COLORS.Grey7,border:h,borderRadius:m,outline:g,outlineOffset:n?this.getFocusOutlineOffset(null==t?void 0:t.listItemBorderWidth,null==t?void 0:t.listItemOutlineWidth)+" !important":void 0},":hover":{backgroundColor:i||"#EDEBE9",color:a||Or.COLORS.Grey7,"@media (forced-colors: active)":{color:"highlightText",backgroundColor:"highlight","forced-color-adjust":"none"}}}},l.prototype.getSelectedItemStyle=function(){var e=this.props,t=e.themeValues,n=e.applyTheme,r=n?null==t?void 0:t.selectedItemBackgroundColor:void 0,o=n?null==t?void 0:t.selectedItemTextColor:void 0,i=n?null==t?void 0:t.selectedItemPressedBackgroundColor:void 0,a=n?null==t?void 0:t.selectedItemPressedTextColor:void 0,s=n?null==t?void 0:t.selectedItemFocusBackgroundColor:void 0,l=n?null==t?void 0:t.selectedItemFocusTextColor:void 0,u=n?null==t?void 0:t.selectedItemHoverBackgroundColor:void 0,c=n?null==t?void 0:t.selectedItemHoverTextColor:void 0,p=null==t?void 0:t.listItemBorderColor,d=n?(null==t?void 0:t.listItemBorderWidth)+" solid "+p:void 0,f=n?null==t?void 0:t.flyoutBorderRadius:void 0,h=null==t?void 0:t.listItemOutlineColor,m=n?(null==t?void 0:t.listItemOutlineWidth)+" solid "+h+" !important":void 0;return ai(ai({},this.getListItemStyle()),{backgroundColor:r||this._getSelectedStateBackGroundColor(),color:o||"black",":active":{backgroundColor:i||this._getSelectedStateBackGroundColor(),color:a||"black"},":focus":{backgroundColor:s||this._getSelectedStateBackGroundColor(),color:l||"black",border:d,borderRadius:f,outline:m,outlineOffset:n?this.getFocusOutlineOffset(null==t?void 0:t.listItemBorderWidth,null==t?void 0:t.listItemOutlineWidth)+" !important":void 0},":hover:focus":{backgroundColor:u||this._getSelectedStateBackGroundColor(),color:c||"black"},"@media (forced-colors: active)":{color:"highlightText",backgroundColor:"highlight","forced-color-adjust":"none"}})},l.prototype._getSelectedStateBackGroundColor=function(){var e=this.props,t=e.themeValues;return(e.applyTheme?null==t?void 0:t.selectedStateBackgroundColor:void 0)||"#E1DFDD"},l.prototype._getHoverStyle=function(){var e=this.props,t=e.themeValues,n=e.applyTheme?null==t?void 0:t.viewHoverBackgroundColor:void 0;return this.props.hoveredStyle||{":hover":{backgroundColor:n||"#EDEBE9"}}},l.prototype.renderOptionsList=function(){var e=this.props.options;if(e){var t=this._renderCategories(),n=this.getPageSize(),r=this.getListId()+"_scrollView",o={maxHeight:n<e.length?2.35*n+"em":void 0,overflowY:"auto",overflowX:"hidden",flex:"1 1 auto",display:"block"},i={width:"100%",listStyleType:"none"},a=void 0;if(~this.selectedIndex){var s=e[this.selectedIndex];a=this.getListItemId(s)}return ie.createElement(nr,{role:"listbox",id:this.getListId(),title:"Select a view.",accessibilityLabel:"Select a view.",tabIndex:-1,style:i,onKeyDown:this.keyboardNavigation},ie.createElement(dr,{id:r,accessibilityLabel:this.isIE?"Expanded list":null,style:o,role:"presentation",scrollToId:a,horizontal:!1},t))}return null},l.prototype.getTextOnlyStyle=function(){var e=this.props.textStyle?this.props.textStyle:{borderWidth:0,flex:"0 1 auto",outline:"none",cursor:"pointer",padding:"0.5em 0.75em"};return ai(ai({},e),{maxWidth:"100%",display:"flex"})},l.prototype.getTextOnlyInnerComponent=function(e){var t=Object.assign({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis"},this.props.overrideTextContainerStyle),n=ai({display:"flex",maxWidth:"100%",paddingLeft:"8px",paddingRight:"8px",borderRadius:"2px"},this._getHoverStyle());return this.state.isExpanded&&Object.assign(n,{backgroundColor:this.props.expandedBackgroundColor||this._getSelectedStateBackGroundColor()}),ie.createElement(se,{style:n},ie.createElement(vr,{style:t,id:e,accessibilityHidden:!this.props.useHeader||null},this.getSelectedOptionText()),this._renderCaretButton())},l.prototype.handleValueChange=function(e){this.selectItem(this.getInternalId()+"_text"),this.props.onChange&&this.props.onChange(e)},l.prototype._renderCaretButton=function(){var e=this.props.caretStyle?ai({},this.props.caretStyle):{paddingLeft:"5px",color:"black",backgroundColor:"transparent"},t=this._getHoverStyle();Object.assign(e,t,{cursor:"pointer"});var n=this.props.caretType&&$r[this.props.caretType]?this.props.caretType:$r.DropdownArrow;return ie.createElement(vr,{id:this.getButtonId(),style:e,accessibilityHidden:!0},ie.createElement(io,{type:n,role:"presentation"}))},l.prototype.renderFlyout=function(e){var t,n;if(void 0===e&&(e="rtl"===document.body.dir),this.props.testhooks)for(var r in n=ai({},this.props.testhooks))n[r]+="-flyout";if(!this.props.readOnly&&this.state.isExpanded){var o=this.renderOptionsList(),i=this.getActiveDescendantId();o&&(t=ie.createElement(Xn,ai({id:this.getFlyoutId(),key:this.getFlyoutId(),focusElementId:i,testhooks:n,focusCallback:this.setFocusToItem,flyoutStyle:this._getFlyoutStyle()},this._getFlyoutRelativeElementAndDirection(e),{positionType:"relative",relativeToElementIdSelector:this.handleRelativeToElementSelector,onOutsideClick:this.handleFlyoutOutsideClick,parentCustomControlId:this.props.parentCustomControlId,parentFlyoutRoot:this.props.parentFlyoutRoot,rootZIndex:this.props.rootZIndex,enableTrackOnScroll:!0,dismissOnScroll:!this.props.keepFlyoutOpenOnScroll}),o))}return t},l.prototype._getFlyoutStyle=function(){var e=this.props,t=e.themeValues,n=e.applyTheme,r=n?null==t?void 0:t.flyoutBackgroundColor:void 0,o=n?null==t?void 0:t.flyoutBoxShadow:void 0,i=n?null==t?void 0:t.flyoutBorderRadius:void 0,a=n?null==t?void 0:t.flyoutBorderColor:void 0;return{borderWidth:(n?null==t?void 0:t.flyoutBorderWidth:void 0)||"1px",borderRadius:i||"2px",boxShadow:o||"0px 0px 1px rgba(0, 0, 0, 0.16), 0px 4px 8px rgba(0, 0, 0, 0.12)",backgroundColor:r||"#FFFFFF",borderColor:a,padding:n?"0px "+(null==t?void 0:t.flyoutBorderRadius):void 0,width:this.props.style&&this.props.style.width?this.props.style.width:void 0,height:this.props.style&&this.props.style.height?this.props.style.height:void 0}},l.prototype._getFlyoutRelativeElementAndDirection=function(e){return{flyoutDirection:e?Nn.downleft:Nn.down,relativeToElementId:this.getInternalId()}},l.prototype.handleFlyoutOutsideClick=function(e){var t=this.props.id,n=document.getElementById(t);n&&n.contains(e.target)&&n.childNodes[0]!==e.target||(e.target.id!==this.getButtonId()&&this.setIsExpanded(!1),this.setFocus(),this.clickedOutside=!0)},l.prototype.render=function(){var e=ai(ai({},this.getElementPropsInternal()),{title:"",semanticTag:this.props.semanticTag||"div"});Object.assign(e.style,{backgroundColor:"transparent",display:"flex",flex:"0 1 auto",width:"100%"},this.props.viewSelectorStyle);var t=this.renderTextOnly(this.focusableControlId,this.props.testhooks,this.props.useHeader);return ie.createElement(se,ai({},e,{ref:this.saveContainerRef}),ie.createElement(se,{style:e.style,id:this.getInternalId()},t,!this.props.readOnly&&this.renderFlyout(this.props.isRTL)))},l.displayName="ViewSelectorControl",l.FCB_OCTOBER2021UPDATE="October2021Update",l}(Or),li=l.connect(H)(si),ui=function(){return(ui=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ci(e){return Object.assign({float:"left",fontSize:"16px",color:"#666666"},e.textStyle)}function pi(e){return Object.assign({width:"100%",height:"100%",textAlign:"center",minHeight:"7.5em",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",backgroundColor:"#ffffff",flex:"1 1 auto"},e.containerStyle)}function di(e){return ui(ui({},{color:"#666666",fontFamily:"Dyn CRM Symbol, Segoe MDL2 Assets",fontSize:"2.5em",paddingBottom:"10px"}),e.iconStyle)}function fi(e){return ie.createElement(se,{style:pi(e),title:e.text},ie.createElement(io,{type:e.icon,style:di(e),accessibilityHidden:e.accessibilityHidden}),ie.createElement(vr,{style:ci(e)},e.text))}var hi=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),mi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return hi(t,e),t.prototype.getElementName=function(){return"table"},t.displayName="Table",t}(y),yi=l.connect(H)(mi),gi=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),vi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return gi(t,e),t.prototype.getElementName=function(){return"tbody"},t.displayName="TableBody",t}(y),bi=l.connect(H)(vi),Ci=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),_i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ci(t,e),t.prototype.getElementName=function(){return"caption"},t.displayName="TableCaption",t}(y),Si=l.connect(H)(_i),Pi=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Pi(t,e),t.prototype.getElementName=function(){return"td"},t.prototype.getElementProps=function(){var e={};return this.props.colSpan&&(e.colSpan=this.props.colSpan),this.props.rowSpan&&(e.rowSpan=this.props.rowSpan),this.props.scope&&(e.scope=this.props.scope),e},t.displayName="TableCell",t}(y),wi=l.connect(H)(Ii),xi=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xi(t,e),t.prototype.getElementName=function(){return"tfoot"},t.displayName="TableFooter",t}(y),ki=l.connect(H)(Ei),Ti=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Di=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ti(t,e),t.prototype.getElementName=function(){return"thead"},t.displayName="TableHeader",t}(y),Fi=l.connect(H)(Di),Oi=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Mi=function(){return(Mi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ai=function(n){function e(e){var t=n.call(this,e)||this;return t._onClickWrapper=t._onClickWrapper.bind(t),t}return Oi(e,n),e.prototype._onClickWrapper=function(e){this.props.onClick&&this.props.onClick(e)},e.prototype.getElementName=function(){return"th"},e.prototype.getElementProps=function(){return Mi(Mi({},this.props),{children:null,onClick:this._onClickWrapper})},e.displayName="TableHeaderCell",e}(y),Ri=l.connect(H)(Ai),Li=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ni=function(){return(Ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Bi=function(n){function e(e){var t=n.call(this,e)||this;return t._onClickWrapper=t._onClickWrapper.bind(t),t}return Li(e,n),e.prototype._onClickWrapper=function(e){this.props.onClick&&this.props.onClick(e)},e.prototype.getElementName=function(){return"tr"},e.prototype.getElementProps=function(){return Ni(Ni({},this.props),{children:null,onClick:this._onClickWrapper})},e.displayName="TableRow",e}(y),Ui=l.connect(H)(Bi),Vi=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Hi=function(n){function e(e){var t=n.call(this,e)||this;return t._onChangeHandler=t._onChangeHandler.bind(t),t}return Vi(e,n),e.prototype.getElementName=function(){return"input"},e.prototype._onChangeHandler=function(e){e.target.checked&&this.props.onChange&&this.props.onChange(this.props.value)},e.prototype.getElementProps=function(){var e={id:this.props.id,key:this.props.id,checked:this.props.checked,name:this.props.name,role:"radio",type:"radio",onChange:this._onChangeHandler};return this.props.disabled&&(e.disabled=!0),this.props.checked&&(e["data-checked"]=!0),this.props.value&&(e.value=this.props.value.Label),e},e.displayName="InputOption",e}(y),ji=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Wi=function(){return(Wi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},zi=function(n){function e(e){var t=n.call(this,e)||this;return t._onChangeHandler=t._onChangeHandler.bind(t),t._uuid=Rn(),t.state={value:e.value},t}return ji(e,n),e.prototype.UNSAFE_componentWillReceiveProps=function(e){e&&!function(e,t){if(!e||!t)return!1;if(J(e.Value)&&J(t.Value))return e.Label===t.Label;return e.Value===t.Value}(this.state.value,e.value)&&this.setState({value:e.value})},e.prototype._uniqueId=function(e,t){return void 0===e&&(e=this.props.id),void 0===t&&(t=this._uuid),"".concat(e,"_").concat(t)},e.prototype._optionId=function(e){return"".concat(this._uniqueId(),"_").concat(e.Value)},e.prototype._getInputOptionProps=function(e,t){var n=e.Value===this.state.value.Value,r={id:t,key:t,value:e,name:this.props.name,checked:n,onChange:this._onChangeHandler,disabled:this.props.disabled};return this.props.style&&(r.style=this.props.style.inputOptionStyle||null),r},e.prototype._getLabelOptionProps=function(e){var t={forElementId:e};return this.props.style&&(t.style=this.props.style.inputOptionLabelStyle||null),t},e.prototype._getViewStyles=function(){var e={};return this.props.style&&(e.style=this.props.style.style||null),e},e.prototype._onChangeHandler=function(e){e&&(this.setState({value:e}),this.props.onChange&&this.props.onChange(e))},e.prototype._getOptionList=function(){var i=this;return this.props.options&&this.props.options.length&&this.props.value?this.props.options.map(function(e){var t=i._optionId(e),n=i._getInputOptionProps(e,t),r=i._getLabelOptionProps(t),o=i._getViewStyles();return ie.createElement(se,Wi({key:Rn()},o),ie.createElement(Hi,Wi({},n)),ie.createElement(ho,Wi({},r),e.Label))}):null},e.prototype.render=function(){return ie.createElement(se,{style:this.props.style.style},this._getOptionList())},e}(y),Gi=l.connect(H)(zi);var Ki=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),qi=function(){return(qi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Qi=function(n){function e(e){var t=n.call(this,e)||this;return t._toggleCollapseState=t._toggleCollapseState.bind(t),t.saveItemRef=t.saveItemRef.bind(t),t._firstRender=!0,t._totalLineHeight=0,t.state={collapsed:!0},t._backgroundCanvas=document.createElement("canvas"),t._areLinesTruncated=!1,t}return Ki(e,n),e.prototype.componentDidMount=function(){!this.props.isFieldLabel&&this._firstRender&&this._textRef&&this.props.truncatedlines&&this.forceUpdate()},e.prototype.componentWillUnmount=function(){this._backgroundCanvas=null},e.prototype._toggleCollapseState=function(){this.props.noExpandable||this.setState({collapsed:!this.state.collapsed})},e.prototype.saveItemRef=function(e){this._textRef=e},e.prototype._calculateLineHeight=function(){if(this._textRef&&this.state.collapsed){var e=I.findDOMNode(this._textRef);if(e){var t=window.getComputedStyle(e);this._firstRender&&(this._originalHeight=parseInt(t.height,10),this._firstRender=!1);var n=0;if(n=this.props.lineHeight?this.props.lineHeight:parseInt(t.lineHeight,10),isNaN(n)){var r=e.cloneNode();r.innerHTML="<br>",e.appendChild(r);var o=r.offsetHeight;r.innerHTML="<br><br>";var i=r.offsetHeight;e.removeChild(r),n=i-o}if(this._areLinesTruncated=this._originalHeight>n*this.props.truncatedlines,!this._areLinesTruncated)return"".concat(this._originalHeight,"px");if(0!==n){var a=n*this.props.truncatedlines;this._totalLineHeight=a}return"".concat(this._totalLineHeight,"px")}}},e.prototype.render=function(){var e=Object.assign(this._getTextStyle(),this.props.flexibleTextStyle),t=qi({display:"flex",flexDirection:"Column",width:"100%"},this.props.flexibleTextContainerStyle);return ie.createElement(se,{style:t},ie.createElement(vr,qi({},this.props,{onClick:this._toggleCollapseState,style:e,ref:this.props.isFieldLabel?null:this.saveItemRef,id:this.props.id,className:this._returnExpandableClassName()}),this.props.children))},e.prototype._calculateHeight=function(){var e=0;if(this.props.isFieldLabel){var t=this._backgroundCanvas.getContext("2d");t.font=this.props.flexibleTextStyle&&this.props.flexibleTextStyle.fontSize&&this.props.flexibleTextStyle.fontFamily?"".concat(this.props.flexibleTextStyle.fontSize," ").concat(this.props.flexibleTextStyle.fontFamily):"14px Segoe UI";var n=t.measureText(this.props.children.props.children).width/144;n>this.props.truncatedlines&&(n=this.props.truncatedlines,this._areLinesTruncated=!0),e=this.props.lineHeight&&this._areLinesTruncated?this.props.lineHeight*n:null}return e},e.prototype._getTextStyle=function(){return this.state.collapsed?1===this.props.truncatedlines?{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",direction:this.props.isRTL?"rtl":"ltr"}:{overflow:"hidden",position:"relative",height:this.props.isFieldLabel?this._calculateHeight():this._calculateLineHeight(),display:"inline-block",textAlign:"justify",":after":this._areLinesTruncated?{background:this.props.maskingColor?this.props.maskingColor:"#F8F7F6"}:"",paddingLeft:this.props.isRTL?"0.75rem":void 0,paddingRight:this.props.isRTL?void 0:"0.75rem"}:{}},e.prototype._returnExpandableClassName=function(){return this._areLinesTruncated?this.props.isRTL?"block-with-text-noexpansion-rtl":"block-with-text-noexpansion":""},e}(y),$i=function(){return($i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Yi="function"==typeof Symbol&&Symbol.for("react.element")||60103,Zi={DisplayName:"",LogicalName:"",Type:"string",IsSecured:!1,RequiredLevel:0,MinValue:-1e11,MaxValue:1e11,ImeMode:0,MaxLength:100,EntityLogicalName:"",Precision:2,Format:"1",LanguageByCode:{},TimeZoneByCode:{},Behavior:0,Targets:[],Options:[{Label:"---",Value:1}],DefaultValue:1,lastUpdatedField:null,lastUpdatedValue:null,rollupStateField:null,rollupStateValue:0,calculatedFieldValid:!1,rollupValid:!1,SourceType:null,recalculate:function(){}},Xi=function(){function f(){}return f.renderVirtualComponent=function(e,t,n,r,o){if(void 0===o&&(o=!0),o&&r.startRenderFunction(),!e)return o&&r.stopRenderFunction(),null;var i=f.generateReactComponent(e,null,"root",t,n,r,null,!1,f.generateReactChildren(ea(e,null,"root"),e.getChildren(),t,n,r,Ji(t,e),!!e.getProperties().onClick));return o&&r.stopRenderFunction(),i},f.generateJSXElement=function(e,t,n,r,o,i,a){if(null==t)return ie.createElement(se,null,"UNKNOWN COMPONENT");var s=t?ze(r,t.id,t.absoluteId):"",l=function(e,t){if(!t||!t.id)return{};if(t.testhooks){var n=Ke(e,t.testhooks.id||t.id),r=$i({},t.testhooks);return r.id=n,r}return{id:Ke(e,t.id)}}(r,t),u=t[ae.LearningPathAttributeName];switch(u&&(l[ae.LearningPathAttributeSuffix]=u),e.toUpperCase()){case"CRMICON":var c=t;return{$$typeof:Yi,type:qr,props:{id:s,testhooks:l,type:c.type,style:c.style,hidden:c.hidden,accessibilityHasPopup:c.accessibilityHasPopup,accessibilityExpanded:c.accessibilityExpanded,accessibilityLabel:c.accessibilityLabel,accessibilityHidden:c.accessibilityHidden,labelledByElementId:c.labelledByElementId,describedByElementId:c.describedByElementId,controlsElementId:c.controlsElementId,ownsElementId:c.ownsElementId,role:c.role,tabIndex:c.tabIndex,onClick:c.onClick,onFocus:c.onFocus,onBlur:c.onBlur,onPointerDown:c.onPointerDown,onPointerUp:c.onPointerUp,onKeyDown:c.onKeyDown,onKeyUp:c.onKeyUp,title:c.title},key:c.key,ref:null,_owner:null};case"ENTITYICON":var p=t;return{$$typeof:Yi,type:Xr,props:{id:s,testhooks:l,type:p.type,style:p.style,hidden:p.hidden,accessibilityHasPopup:p.accessibilityHasPopup,accessibilityExpanded:p.accessibilityExpanded,accessibilityLabel:p.accessibilityLabel,accessibilityHidden:p.accessibilityHidden,labelledByElementId:p.labelledByElementId,describedByElementId:p.describedByElementId,controlsElementId:p.controlsElementId,ownsElementId:p.ownsElementId,role:p.role,tabIndex:p.tabIndex,onClick:p.onClick,onFocus:p.onFocus,onBlur:p.onBlur,onPointerDown:p.onPointerDown,onPointerUp:p.onPointerUp,onKeyDown:p.onKeyDown,onKeyUp:p.onKeyUp,title:p.title},key:p.key,ref:null,_owner:null};case"MICROSOFTICON":var d=t;return{$$typeof:Yi,type:io,props:{id:s,testhooks:l,type:d.type,style:d.style,hidden:d.hidden,accessibilityHasPopup:d.accessibilityHasPopup,accessibilityExpanded:d.accessibilityExpanded,accessibilityLabel:d.accessibilityLabel,accessibilityHidden:d.accessibilityHidden,accessibilityChecked:d.accessibilityChecked,labelledByElementId:d.labelledByElementId,describedByElementId:d.describedByElementId,controlsElementId:d.controlsElementId,ownsElementId:d.ownsElementId,role:d.role,tabIndex:d.tabIndex,onClick:d.onClick,onFocus:d.onFocus,onBlur:d.onBlur,onPointerDown:d.onPointerDown,onPointerUp:d.onPointerUp,onKeyDown:d.onKeyDown,onKeyUp:d.onKeyUp,title:d.title},key:d.key,ref:null,_owner:null};case"BOOLEAN":var f=t;return{$$typeof:Yi,type:Fo,props:{children:n,style:f.style,name:f.name,disabled:f.disabled,value:f.value,id:s,testhooks:l,hidden:f.hidden,accessibilityHasPopup:f.accessibilityHasPopup,accessibilityExpanded:f.accessibilityExpanded,accessibilityLabel:f.accessibilityLabel,accessibilityLive:f.accessibilityLive,accessibilityHidden:f.accessibilityHidden,accessibilityChecked:f.accessibilityChecked,accessibilityRequired:f.accessibilityRequired,labelledByElementId:f.labelledByElementId,describedByElementId:f.describedByElementId,controlsElementId:f.controlsElementId,ownsElementId:f.ownsElementId,role:f.role,tabIndex:f.tabIndex,onValueChange:f.onValueChange,onClick:f.onClick,onFocus:f.onFocus,onBlur:f.onBlur,title:f.title,displayAs:f.displayAs,displayValue:f.displayValue,defaultValue:f.defaultValue,options:f.options,onOptionSetValueChange:f.onOptionSetValueChange},key:f.key,ref:null,_owner:null};case"BUTTON":var h=t;return{$$typeof:Yi,type:On,props:{children:n,testhooks:l,style:h.style,ownsElementId:h.ownsElementId,accessKey:h.accessKey,accessibilityLabel:h.accessibilityLabel,id:s,disabled:h.disabled,hidden:h.hidden,accessibilityDisabled:h.accessibilityDisabled,accessibilityHasPopup:h.accessibilityHasPopup,accessibilityExpanded:h.accessibilityExpanded,accessibilityHidden:h.accessibilityHidden,accessibilityPressed:h.accessibilityPressed,activeDescendantId:h.activeDescendantId,labelledByElementId:h.labelledByElementId,describedByElementId:h.describedByElementId,controlsElementId:h.controlsElementId,isSelected:h.isSelected,role:h.role,tabIndex:h.tabIndex,onClick:h.onClick,onPointerDown:h.onPointerDown,onFocus:h.onFocus,onBlur:h.onBlur,onKeyUp:h.onKeyUp,onKeyDown:h.onKeyDown,title:h.title,className:h.className,refCallback:h.refCallback},key:h.key,ref:null,_owner:null};case"COMBOBOX":var m=t;return{$$typeof:Yi,type:Mr,props:{children:n,id:s,testhooks:l,name:m.name,options:m.options,value:m.value,placeholder:m.placeholder,pageSize:m.pageSize,freeTextMode:m.freeTextMode,defaultValue:m.defaultValue,disabled:m.disabled,readOnly:m.readOnly,onChange:m.onChange,onOptionSelected:m.onOptionSelected,onClick:m.onClick,onBlur:m.onBlur,onFocus:m.onFocus,onMouseEnter:m.onMouseEnter,onMouseLeave:m.onMouseLeave,style:m.style,hideArrow:m.hideArrow,accessibilityLabel:m.accessibilityLabel,accessibilityRequired:m.accessibilityRequired,labelledByElementId:m.labelledByElementId,describedByElementId:m.describedByElementId,createAccessibilityComponent:r.actions.createAccessibilityComponent,createKeyboardShortcut:r.actions.createKeyboardShortcut,title:m.title,parentCustomControlId:r.controlId,parentFlyoutRoot:r.parentDefinedControlProps?r.parentDefinedControlProps.parentFlyoutId:null,rootZIndex:o&&o.isInSeeMoreMode,textInputStyle:m.textInputStyle,textStyle:m.textStyle,hideInternalId:m.hideInternalId,relativeToElementId:m.relativeToElementId,ignoreFreeTextValueChange:m.suppressFreeTextChangeCallback},key:m.key,ref:null,_owner:null};case"CONTAINER":var y=t;return{$$typeof:Yi,type:se,props:{children:n,style:y.style,id:s,testhooks:l,role:y.role,semanticTag:y.semanticTag,accessKey:y.accessKey,forceMeasure:y.forceMeasure,onMeasuring:y.onMeasuring,isRequestedMeasuring:y.isRequestedMeasuring,isRTL:y.isRTL,hidden:y.hidden,accessibilityLevel:y.accessibilityLevel,accessibilityBusy:y.accessibilityBusy,accessibilityHasPopup:y.accessibilityHasPopup,accessibilityExpanded:y.accessibilityExpanded,accessibilityLabel:y.accessibilityLabel,accessibilityHidden:y.accessibilityHidden,accessibilityLive:y.accessibilityLive,accessibilityRelevant:y.accessibilityRelevant,accessibilityAtomic:y.accessibilityAtomic,accessibilityValueMin:y.accessibilityValueMin,accessibilityValueMax:y.accessibilityValueMax,accessibilityValueNow:y.accessibilityValueNow,accessibilityValueText:y.accessibilityValueText,accessibilityRequired:y.accessibilityRequired,accessibilityReadOnly:y.accessibilityReadOnly,accessibilityAriaOrientation:y.accessibilityAriaOrientation,labelledByElementId:y.labelledByElementId,describedByElementId:y.describedByElementId,controlsElementId:y.controlsElementId,ownsElementId:y.ownsElementId,isSelected:y.isSelected,tabIndex:y.tabIndex,onClick:y.onClick,onDoubleClick:y.onDoubleClick,onDrag:y.onDrag,onDragEnd:y.onDragEnd,onDragEnter:y.onDragEnter,onDragExit:y.onDragExit,onDragLeave:y.onDragLeave,onDragOver:y.onDragOver,onDragStart:y.onDragStart,onDrop:y.onDrop,onKeyUp:y.onKeyUp,onKeyDown:y.onKeyDown,onPointerUp:y.onPointerUp,onPointerMove:y.onPointerMove,onPointerDown:y.onPointerDown,onPointerEnter:y.onPointerEnter,onPointerLeave:y.onPointerLeave,onFocus:y.onFocus,onBlur:y.onBlur,title:y.title,isWithinATopMostSeeMore:o.isInTopMostSeeMore,className:y.className,refCallback:y.refCallback},key:y.key,ref:null,_owner:null};case"HYPERLINK":var g=t;return{$$typeof:Yi,type:Lr,props:{children:n,id:s,testhooks:l,style:g.style,download:g.download,href:g.href,target:g.target,hidden:g.hidden,accessibilityHasPopup:g.accessibilityHasPopup,accessibilityExpanded:g.accessibilityExpanded,accessibilityLabel:g.accessibilityLabel,accessibilityHidden:g.accessibilityHidden,labelledByElementId:g.labelledByElementId,describedByElementId:g.describedByElementId,controlsElementId:g.controlsElementId,ownsElementId:g.ownsElementId,role:g.role,tabIndex:g.tabIndex,onClick:g.onClick,onFocus:g.onFocus,onBlur:g.onBlur,onKeyDown:g.onKeyDown,onKeyUp:g.onKeyUp,title:g.title},key:g.key,ref:null,_owner:null};case"IMG":var v=t;return{$$typeof:Yi,type:Ur,props:{id:s,testhooks:l,style:v.style,altText:v.altText,source:v.source,hidden:v.hidden,accessibilityHasPopup:v.accessibilityHasPopup,accessibilityExpanded:v.accessibilityExpanded,accessibilityLabel:v.accessibilityLabel,accessibilityHidden:v.accessibilityHidden,labelledByElementId:v.labelledByElementId,describedByElementId:v.describedByElementId,controlsElementId:v.controlsElementId,ownsElementId:v.ownsElementId,role:v.role,tabIndex:v.tabIndex,onLoad:v.onLoad,onClick:v.onClick,onFocus:v.onFocus,onBlur:v.onBlur,title:v.title},key:v.key,ref:null,_owner:null};case"IFRAME":var b=t,C=r.descriptor.ClassId&&(An("{fd2a7985-3187-444e-908d-6624b21f69c0}",r.descriptor.ClassId.guid)||An("{9fdf5f91-88b1-47f4-ad53-c11efc01a01d}",r.descriptor.ClassId.guid)),_=r.actions.runOnReadyStateComplete&&C?function(){r.actions.runOnReadyStateComplete(r.contextToken,r.id,r.controlId)}:null;return ie.createElement(jr,{id:b.id,name:b.name,testhooks:l,title:b.title,style:b.style,onLoad:b.onLoad,src:b.src,scrolling:b.scrolling,security:b.security,onMessage:b.onMessage,tabIndex:b.tabIndex,accessibilityLabel:b.accessibilityLabel,registerSendMessageHandler:b.registerSendMessageHandler,onReadyStateComplete:_,key:b.src});case"LABEL":var S=t;return{$$typeof:Yi,type:ho,props:{children:n,id:s,style:S.style,role:S.role,forElementId:S.forElementId,hidden:S.hidden,accessibilityHasPopup:S.accessibilityHasPopup,accessibilityExpanded:S.accessibilityExpanded,accessibilityLabel:S.accessibilityLabel,accessibilityHidden:S.accessibilityHidden,accessibilityLive:S.accessibilityLive,accessibilityRelevant:S.accessibilityRelevant,accessibilityAtomic:S.accessibilityAtomic,labelledByElementId:S.labelledByElementId,describedByElementId:S.describedByElementId,controlsElementId:S.controlsElementId,ownsElementId:S.ownsElementId,tabIndex:S.tabIndex,onClick:S.onClick,onFocus:S.onFocus,onKeyUp:S.onKeyUp,onKeyDown:S.onKeyDown,onBlur:S.onBlur,testhooks:l,title:S.title},key:S.key,ref:null,_owner:null};case"LIST":var P=t;return{$$typeof:Yi,type:nr,props:{accessibilityExpanded:P.accessibilityExpanded,accessibilityHasPopup:P.accessibilityHasPopup,accessibilityLabel:P.accessibilityLabel,accessibilityHidden:P.accessibilityHidden,accessibilityDisabled:P.accessibilityDisabled,accessibilityReadOnly:P.accessibilityReadOnly,accessibilityRequired:P.accessibilityRequired,announceAccessibilityNotification:P.announceAccessibilityNotification,children:n,controlsElementId:P.controlsElementId,describedByElementId:P.describedByElementId,hidden:P.hidden,id:s,testhooks:l,labelledByElementId:P.labelledByElementId,notificationType:P.notificationType,onBlur:P.onBlur,onClick:P.onClick,onFocus:P.onFocus,onKeyUp:P.onKeyUp,onKeyDown:P.onKeyDown,ownsElementId:P.ownsElementId,refCallback:P.refCallback,role:P.role,style:P.style,tabIndex:P.tabIndex,title:P.title},key:P.key,ref:null,_owner:null};case"LISTITEM":var I=t;return{$$typeof:Yi,type:sr,props:{accessibilityExpanded:I.accessibilityExpanded,accessibilityHasPopup:I.accessibilityHasPopup,accessibilityLabel:I.accessibilityLabel,accessibilityHidden:I.accessibilityHidden,accessibilityDisabled:I.accessibilityDisabled,accessibilityReadOnly:I.accessibilityReadOnly,accessibilityLevel:I.accessibilityLevel,accessibilityCurrent:I.accessibilityCurrent,accessibilityRequired:I.accessibilityRequired,accessibilitySetSize:I.accessibilitySetSize,children:n,controlsElementId:I.controlsElementId,describedByElementId:I.describedByElementId,hidden:I.hidden,id:s,testhooks:l,labelledByElementId:I.labelledByElementId,onBlur:I.onBlur,onClick:I.onClick,onClickCapture:I.onClickCapture,onFocus:I.onFocus,onPointerOver:I.onPointerOver,onPointerOut:I.onPointerOut,onPointerDown:I.onPointerDown,onPointerMove:I.onPointerMove,onPointerUp:I.onPointerUp,onKeyUp:I.onKeyUp,onKeyDown:I.onKeyDown,ownsElementId:I.ownsElementId,role:I.role,style:I.style,tabIndex:I.tabIndex,isSelected:I.isSelected,title:I.title},key:I.key,ref:null,_owner:null};case"LIVEPERSONACARDHOVERTARGET":var w=t,x=ze(r,w.onKeyDownContainerId);return{$$typeof:Yi,type:co,props:{accessibilityLabel:w.accessibilityLabel,children:n,displayName:w.displayName,emailAddress:w.emailAddress,entityReference:w.entityReference,id:w.id,onKeyDownContainerId:x,personaType:w.personaType,recordId:w.recordId,registerHasLivePersonaCardLoadedCallback:w.registerHasLivePersonaCardLoadedCallback,registerOpenCardCallback:w.registerOpenCardCallback,renderAsPresentational:w.renderAsPresentational,style:w.style,testhooks:l},key:w.key,ref:null,_owner:null};case"POPUP":var E=t,k=ie.createElement(pe,$i({},E,{id:E.id,createAccessibilityComponent:r.actions.createAccessibilityComponent}),n);return E.type===ue.Root?ie.createElement(le,{key:E.key,parentCustomControlId:r.controlId,id:E.name,openPopup:r.actions.openPopup,closePopup:r.actions.closePopup,wrapElement:r.themePortalWrapper},k):k;case"FLYOUT":var T=t,D=ze(r,T.relativeToElementId,T.absoluteRelativeToElementId||t.absoluteId),F=ze(r,T.focusElementId,T.absoluteFocusElementId||t.absoluteId),O=r.portalFlyoutToDialogId?{isPortalToElement:!0,portalContainerId:r.portalFlyoutToDialogId}:{};return{$$typeof:Yi,type:Xn,props:{id:s,parentCustomControlId:r.controlId,groupId:T.groupId,onOutsideClick:T.onOutsideClick,children:n,flyoutStyle:T.flyoutStyle,position:T.position,positionType:T.positionType,flyoutDirection:T.flyoutDirection,relativeToElementId:D,size:T.size,focusElementId:F,focusCallback:function(e){return qe(r,e,!0)},hasDynamicContent:T.hasDynamicContent,parentFlyoutRoot:r.parentDefinedControlProps?r.parentDefinedControlProps.parentFlyoutId:null,rootZIndex:o&&o.isInSeeMoreMode,isPortalToElement:O.isPortalToElement,portalContainerId:O.portalContainerId,role:T.role,accessibilityModal:T.accessibilityModal,keepOpenOnWindowBlur:T.keepOpenOnWindowBlur,disableHorizontalScroll:T.disableHorizontalScroll,disableVerticalScroll:T.disableVerticalScroll,keepWhenRelativeToElementHides:T.keepWhenRelativeToElementHides,hasOnClickAncestor:a,wrapElement:T.wrapElement},key:T.key,ref:null,_owner:null};case"SCROLLCONTAINER":var M=t;return{$$typeof:Yi,type:dr,props:{children:n,style:M.style,id:s,testhooks:l,contentContainerStyle:M.contentContainerStyle,horizontal:M.horizontal,onScroll:M.onScroll,hidden:M.hidden,accessibilityHasPopup:M.accessibilityHasPopup,accessibilityExpanded:M.accessibilityExpanded,accessibilityLabel:M.accessibilityLabel,accessibilityHidden:M.accessibilityHidden,labelledByElementId:M.labelledByElementId,describedByElementId:M.describedByElementId,controlsElementId:M.controlsElementId,ownsElementId:M.ownsElementId,role:M.role,tabIndex:M.tabIndex,onScrollToBottom:M.onScrollToBottom,semanticTag:M.semanticTag,onKeyDown:M.onKeyDown,onClick:M.onClick,onFocus:M.onFocus,onBlur:M.onBlur,title:M.title,isRTL:r.propBagData.clientData.isRTL,isWithinATopMostSeeMore:o.isInTopMostSeeMore,className:M.className},key:M.key,ref:null,_owner:null};case"TABLE":var A=t;return{$$typeof:Yi,type:yi,props:{children:n,id:s,testhooks:l,style:A.style,hidden:A.hidden,accessibilityHasPopup:A.accessibilityHasPopup,accessibilityExpanded:A.accessibilityExpanded,accessibilityLabel:A.accessibilityLabel,accessibilityHidden:A.accessibilityHidden,labelledByElementId:A.labelledByElementId,describedByElementId:A.describedByElementId,controlsElementId:A.controlsElementId,ownsElementId:A.ownsElementId,role:A.role,tabIndex:A.tabIndex,onClick:A.onClick,onFocus:A.onFocus,onBlur:A.onBlur,title:A.title},key:A.key,ref:null,_owner:null};case"TABLEBODY":var R=t;return{$$typeof:Yi,type:bi,props:{children:n,key:R.key,id:s,testhooks:l,style:R.style,hidden:R.hidden,accessibilityHasPopup:R.accessibilityHasPopup,accessibilityExpanded:R.accessibilityExpanded,accessibilityLabel:R.accessibilityLabel,accessibilityHidden:R.accessibilityHidden,labelledByElementId:R.labelledByElementId,describedByElementId:R.describedByElementId,controlsElementId:R.controlsElementId,ownsElementId:R.ownsElementId,role:R.role,tabIndex:R.tabIndex,onClick:R.onClick,onFocus:R.onFocus,onBlur:R.onBlur,title:R.title},key:R.key,ref:null,_owner:null};case"TABLECAPTION":var L=t;return{$$typeof:Yi,type:Si,props:{children:n,id:s,testhooks:l,style:L.style,hidden:L.hidden,accessibilityHasPopup:L.accessibilityHasPopup,accessibilityExpanded:L.accessibilityExpanded,accessibilityLabel:L.accessibilityLabel,accessibilityHidden:L.accessibilityHidden,labelledByElementId:L.labelledByElementId,describedByElementId:L.describedByElementId,controlsElementId:L.controlsElementId,ownsElementId:L.ownsElementId,role:L.role,tabIndex:L.tabIndex,onClick:L.onClick,onFocus:L.onFocus,onBlur:L.onBlur,title:L.title},key:L.key,ref:null,_owner:null};case"TABLECELL":var N=t;return{$$typeof:Yi,type:wi,props:{children:n,id:s,colSpan:N.colSpan,testhooks:l,style:N.style,hidden:N.hidden,accessibilityHasPopup:N.accessibilityHasPopup,accessibilityExpanded:N.accessibilityExpanded,accessibilityLabel:N.accessibilityLabel,accessibilityHidden:N.accessibilityHidden,labelledByElementId:N.labelledByElementId,describedByElementId:N.describedByElementId,controlsElementId:N.controlsElementId,ownsElementId:N.ownsElementId,role:N.role,tabIndex:N.tabIndex,onClick:N.onClick,onFocus:N.onFocus,onBlur:N.onBlur,onKeyDown:N.onKeyDown,title:N.title,rowSpan:N.rowSpan,scope:N.scope},key:N.key,ref:null,_owner:null};case"TABLEFOOTER":var B=t;return{$$typeof:Yi,type:ki,props:{children:n,id:s,testhooks:l,style:B.style,hidden:B.hidden,accessibilityHasPopup:B.accessibilityHasPopup,accessibilityExpanded:B.accessibilityExpanded,accessibilityLabel:B.accessibilityLabel,accessibilityHidden:B.accessibilityHidden,labelledByElementId:B.labelledByElementId,describedByElementId:B.describedByElementId,controlsElementId:B.controlsElementId,ownsElementId:B.ownsElementId,role:B.role,tabIndex:B.tabIndex,onClick:B.onClick,onFocus:B.onFocus,onBlur:B.onBlur,title:B.title},key:B.key,ref:null,_owner:null};case"TABLEHEADER":var U=t;return{$$typeof:Yi,type:Fi,props:{children:n,id:s,testhooks:l,style:U.style,hidden:U.hidden,accessibilityHasPopup:U.accessibilityHasPopup,accessibilityExpanded:U.accessibilityExpanded,accessibilityLabel:U.accessibilityLabel,accessibilityHidden:U.accessibilityHidden,labelledByElementId:U.labelledByElementId,describedByElementId:U.describedByElementId,controlsElementId:U.controlsElementId,ownsElementId:U.ownsElementId,role:U.role,tabIndex:U.tabIndex,onClick:U.onClick,onFocus:U.onFocus,onBlur:U.onBlur,title:U.title},key:U.key,ref:null,_owner:null};case"TABLEHEADERCELL":var V=t;return{$$typeof:Yi,type:Ri,props:{children:n,id:s,testhooks:l,style:V.style,hidden:V.hidden,accessibilityHasPopup:V.accessibilityHasPopup,accessibilityExpanded:V.accessibilityExpanded,accessibilityLabel:V.accessibilityLabel,accessibilitySort:V.accessibilitySort,accessibilityHidden:V.accessibilityHidden,labelledByElementId:V.labelledByElementId,describedByElementId:V.describedByElementId,controlsElementId:V.controlsElementId,ownsElementId:V.ownsElementId,role:V.role,tabIndex:V.tabIndex,onClick:V.onClick,onFocus:V.onFocus,onBlur:V.onBlur,onKeyDown:V.onKeyDown,title:V.title,colSpan:V.colSpan,rowSpan:V.rowSpan,scope:V.scope},key:V.key,ref:null,_owner:null};case"TABLEROW":var H=t;return{$$typeof:Yi,type:Ui,props:{children:n,id:s,testhooks:l,style:H.style,hidden:H.hidden,accessibilityHasPopup:H.accessibilityHasPopup,accessibilityExpanded:H.accessibilityExpanded,accessibilityLabel:H.accessibilityLabel,accessibilityHidden:H.accessibilityHidden,labelledByElementId:H.labelledByElementId,describedByElementId:H.describedByElementId,controlsElementId:H.controlsElementId,ownsElementId:H.ownsElementId,role:H.role,tabIndex:H.tabIndex,onClick:H.onClick,onFocus:H.onFocus,onBlur:H.onBlur,title:H.title},key:H.key,ref:null,_owner:null};case"FILEINPUT":var j=t;return ie.createElement(Ao,{style:j.style,fileSelected:j.fileSelected,fileUnselected:j.fileUnselected,accept:j.accept,id:s,onReaderError:j.onReaderError,multipleFilesSelected:j.multipleFilesSelected,testhooks:l,key:j.key,title:j.title,accessibilityLabel:j.accessibilityLabel,tabIndex:j.tabIndex});case"TEXTINPUT":var W=t;return{$$typeof:Yi,type:Tr,props:{readOnly:W.readOnly,id:s,type:W.type,keyboardType:W.keyboardType,maxLength:W.maxLength,multiline:W.multiline,ownsElementId:W.ownsElementId,onClick:W.onClick,onBlur:W.onBlur,onChange:W.onChange,onChangeText:W.onChangeText,onFocus:W.onFocus,onKeyPress:W.onKeyPress,onKeyDown:W.onKeyDown,onKeyUp:W.onKeyUp,onPointerEnter:W.onPointerEnter,onPointerLeave:W.onPointerLeave,onScroll:W.onScroll,placeholder:W.placeholder,style:W.style,value:W.value,hidden:W.hidden,disabled:W.disabled,accessibilityDisabled:W.accessibilityDisabled,accessibilityHasPopup:W.accessibilityHasPopup,accessibilityExpanded:W.accessibilityExpanded,accessibilityLabel:W.accessibilityLabel,accessibilityLive:W.accessibilityLive,accessibilityHidden:W.accessibilityHidden,accessibilityReadOnly:W.accessibilityReadOnly,accessibilityRequired:W.accessibilityRequired,activeDescendantId:W.activeDescendantId,autoComplete:W.autoComplete,labelledByElementId:W.labelledByElementId,describedByElementId:W.describedByElementId,controlsElementId:W.controlsElementId,role:W.role,tabIndex:W.tabIndex,testhooks:l,refCallback:W.refCallback,rows:W.rows,selectValueOnFocus:W.selectValueOnFocus,title:W.title},key:W.key,ref:null,_owner:null};case"COMMANDBAR":var z=t,G=t.commandManagerId||"".concat(r.id,":").concat(r.controlId),K=ot.getWrapperByCommandManagerId(G);return K||i(G,K=new ot(r)),K.populateCommandManagerProps(z,r),z.width=z.width||1,z.contextToken=r.contextToken,z.rootZIndex=o&&o.isInSeeMoreMode,K.createCommandBar(z);case"OPTION":var q=t;return{$$typeof:Yi,type:go,props:{id:s,value:q.value,disabled:q.disabled,style:q.style,testhooks:l},key:q.key,ref:null,_owner:null};case"SELECT":var Q=t;return{$$typeof:Yi,type:So,props:{id:s,value:Q.value,options:Q.options,style:Q.style,disabled:Q.disabled,tabIndex:Q.tabIndex,hidden:Q.hidden,accessibilityHasPopup:Q.accessibilityHasPopup,accessibilityExpanded:Q.accessibilityExpanded,accessibilityLabel:Q.accessibilityLabel,accessibilityRequired:Q.accessibilityRequired,labelledByElementId:Q.labelledByElementId,describedByElementId:Q.describedByElementId,controlsElementId:Q.controlsElementId,ownsElementId:Q.ownsElementId,testhooks:l,onBlur:Q.onBlur,onClick:Q.onClick,onFocus:Q.onFocus,onChange:Q.onChange,onPointerOver:Q.onPointerOver,onPointerOut:Q.onPointerOut,onPointerEnter:Q.onPointerEnter,onPointerLeave:Q.onPointerLeave,onPointerDown:Q.onPointerDown,onPointerUp:Q.onPointerUp,onKeyDown:Q.onKeyDown,onKeyUp:Q.onKeyUp,multiple:Q.multiple,readOnly:Q.readOnly,title:Q.title},key:Q.key,ref:null,_owner:null};case"ENTITYIMAGE":var $=t;return ie.createElement(Yo,{key:$.key,id:s,testhooks:l,style:$.style,hasPrimaryImageField:$.hasPrimaryImageField,imageSrc:$.imageSrc,alt:$.alt,entityPrimaryField:$.entityPrimaryField,hidden:$.hidden,accessibilityHasPopup:$.accessibilityHasPopup,accessibilityExpanded:$.accessibilityExpanded,accessibilityLabel:$.accessibilityLabel,accessibilityHidden:$.accessibilityHidden,labelledByElementId:$.labelledByElementId,describedByElementId:$.describedByElementId,controlsElementId:$.controlsElementId,ownsElementId:$.ownsElementId,role:$.role,tabIndex:$.tabIndex,onClick:$.onClick,onFocus:$.onFocus,onBlur:$.onBlur,title:$.title,sipUrl:$.sipUrl,presenceIndicatorSize:$.presenceIndicatorSize,entityReference:$.entityReference,entityHealthScore:$.entityHealthScore,iconStyle:$.iconStyle,customEntityIcon:$.customEntityIcon});case"PROGRESSINDICATOR":var Y=t;return ie.createElement(ei,{id:s,style:Y.style,hidden:Y.hidden,accessibilityHasPopup:Y.accessibilityHasPopup,accessibilityExpanded:Y.accessibilityExpanded,accessibilityLabel:Y.accessibilityLabel,accessibilityChecked:Y.accessibilityChecked,accessibilityReadOnly:Y.accessibilityReadOnly,accessibilityHidden:Y.accessibilityHidden,labelledByElementId:Y.labelledByElementId,describedByElementId:Y.describedByElementId,controlsElementId:Y.controlsElementId,ownsElementId:Y.ownsElementId,activeDescendantId:Y.activeDescendantId,role:Y.role,tabIndex:Y.tabIndex,onClick:Y.onClick,onFocus:Y.onFocus,onBlur:Y.onBlur,onPointerOver:Y.onPointerOver,onPointerOut:Y.onPointerOut,onPointerUp:Y.onPointerUp,onPointerDown:Y.onPointerDown,onPointerEnter:Y.onPointerEnter,onPointerLeave:Y.onPointerLeave,onPointerMove:Y.onPointerMove,onPointerCancel:Y.onPointerCancel,onKeyDown:Y.onKeyDown,onKeyUp:Y.onKeyUp,onMouseEnter:Y.onMouseEnter,onMouseLeave:Y.onMouseLeave,testhooks:l,title:Y.title,active:Y.active,progressType:Y.progressType,progress:Y.progress,progressDots:Y.progressDots,className:Y.className,animating:Y.animating,animationDelay:Y.animationDelay});case"RADIO":var Z=t;return ie.createElement(Gi,{id:s,value:Z.value,options:Z.options,style:Z.style,disabled:Z.disabled,tabIndex:Z.tabIndex,hidden:Z.hidden,accessibilityLabel:Z.accessibilityLabel,accessibilityChecked:Z.accessibilityChecked,labelledByElementId:Z.labelledByElementId,describedByElementId:Z.describedByElementId,controlsElementId:Z.controlsElementId,ownsElementId:Z.ownsElementId,testhooks:l,onBlur:Z.onBlur,onClick:Z.onClick,onFocus:Z.onFocus,onChange:Z.onChange,onPointerOver:Z.onPointerOver,onPointerOut:Z.onPointerOut,onPointerEnter:Z.onPointerEnter,onPointerLeave:Z.onPointerLeave,onPointerDown:Z.onPointerDown,onPointerUp:Z.onPointerUp,onKeyDown:Z.onKeyDown,onKeyUp:Z.onKeyUp});case"HORIZONTALSCROLL":var X=t;return{$$typeof:Yi,type:oi,props:{isRTL:r.propBagData.clientData.isRTL,children:n,scrollViewStyle:X.scrollViewStyle,style:X.style,id:s,startChildIndex:X.startChildIndex,arrowWidth:X.arrowWidth,arrowButtonStyle:X.arrowButtonStyle,prevArrowIconType:X.prevArrowIconType,nextArrowIconType:X.nextArrowIconType,onPrevArrowClick:X.onPrevArrowClick,onNextArrowClick:X.onNextArrowClick,onPrevArrowKeyDown:X.onPrevArrowKeyDown,onNextArrowKeyDown:X.onNextArrowKeyDown,testhooks:l,hidden:X.hidden,accessibilityHasPopup:X.accessibilityHasPopup,accessibilityExpanded:X.accessibilityExpanded,accessibilityLabel:X.accessibilityLabel,accessibilityHidden:X.accessibilityHidden,scrollRightAccessibilityLabel:X.scrollRightAccessibilityLabel,scrollLeftAccessibilityLabel:X.scrollLeftAccessibilityLabel,labelledByElementId:X.labelledByElementId,describedByElementId:X.describedByElementId,controlsElementId:X.controlsElementId,ownsElementId:X.ownsElementId,role:X.role,semanticTag:X.semanticTag,tabIndex:X.tabIndex,onClick:X.onClick,onFocus:X.onFocus,onBlur:X.onBlur,title:X.title},key:X.key,ref:null,_owner:null};case"VIEWSELECTORCONTROL":var J=t;return ie.createElement(li,{style:J.style,viewSelectorStyle:J.viewSelectorStyle,textStyle:J.textStyle,id:s,key:J.key,semanticTag:J.semanticTag,testhooks:J.testhooks,value:J.value,title:J.title,categories:J.categories,options:J.options,hoveredStyle:J.hoveredStyle,caretStyle:J.caretStyle,caretType:J.caretType,createAccessibilityComponent:r.actions.createAccessibilityComponent,createKeyboardShortcut:r.actions.createKeyboardShortcut,defaultValue:J.defaultValue,tabIndex:J.tabIndex,onChange:J.onChange,onClick:J.onClick,onKeyUp:J.onKeyUp,onKeyDown:J.onKeyDown,onPointerUp:J.onPointerUp,onPointerMove:J.onPointerMove,onPointerDown:J.onPointerDown,onPointerEnter:J.onPointerEnter,onPointerLeave:J.onPointerLeave,onFocus:J.onFocus,onBlur:J.onBlur,suppressFreeTextChangeCallback:J.suppressFreeTextChangeCallback,parentCustomControlId:r.controlId,rootZIndex:o&&o.isInSeeMoreMode,isRTL:r.propBagData.clientData&&r.propBagData.clientData.isRTL});case"TEXT":var ee=t,te=t;return te.truncatedlines?{$$typeof:Yi,type:Qi,props:{isRTL:null===te.isRTL||void 0===te.isRTL?r.propBagData.clientData.isRTL:te.isRTL,children:n,id:s,style:te.style,flexibleTextContainerStyle:te.flexibleTextContainerStyle,flexibleTextStyle:te.flexibleTextStyle,role:te.role,hidden:te.hidden,accessibilityHasPopup:te.accessibilityHasPopup,accessibilityExpanded:te.accessibilityExpanded,accessibilityLabel:te.accessibilityLabel,accessibilityHidden:te.accessibilityHidden,accessibilityLive:te.accessibilityLive,accessibilityRelevant:te.accessibilityRelevant,accessibilityAtomic:te.accessibilityAtomic,labelledByElementId:te.labelledByElementId,describedByElementId:te.describedByElementId,controlsElementId:te.controlsElementId,ownsElementId:te.ownsElementId,tabIndex:te.tabIndex,onClick:te.onClick,onFocus:te.onFocus,onKeyUp:te.onKeyUp,onKeyDown:te.onKeyDown,onBlur:te.onBlur,testhooks:l,title:te.title,semanticTag:te.semanticTag,truncatedlines:te.truncatedlines,maskingColor:te.maskingColor,noExpandable:te.noExpandable,isFieldLabel:te.isFieldLabel,lineHeight:te.lineHeight},key:te.key,ref:null,_owner:null}:{$$typeof:Yi,type:vr,props:{children:n,id:s,style:ee.style,role:ee.role,hidden:ee.hidden,accessibilityHasPopup:ee.accessibilityHasPopup,accessibilityExpanded:ee.accessibilityExpanded,accessibilityLabel:ee.accessibilityLabel,accessibilityHidden:ee.accessibilityHidden,labelledByElementId:ee.labelledByElementId,describedByElementId:ee.describedByElementId,controlsElementId:ee.controlsElementId,ownsElementId:ee.ownsElementId,tabIndex:ee.tabIndex,onClick:ee.onClick,onFocus:ee.onFocus,onKeyUp:ee.onKeyUp,onKeyDown:ee.onKeyDown,onBlur:ee.onBlur,testhooks:l,title:ee.title,semanticTag:ee.semanticTag},key:ee.key,ref:null,_owner:null};case"PRESENCEINDICATOR":var ne=t,re=ze(r,ne.parentControlId,t.absoluteId);return ie.createElement(Lo,{id:ne.id,key:ne.key,sipUrl:ne.sipUrl,displaySize:ne.displaySize,entityReference:ne.entityReference,style:ne.style,role:ne.role,tabIndex:ne.tabIndex,title:ne.title,parentControlId:re,accessibilityLabel:ne.accessibilityLabel,presenceTarget:ne.presenceTarget});case"PLACEHOLDER":var oe=t;if(null==oe)break;return ie.createElement(fi,{id:oe.id,icon:oe.icon,iconStyle:oe.iconStyle,text:oe.text,textStyle:oe.textStyle,containerStyle:oe.containerStyle,accessibilityHidden:oe.accessibilityHidden});default:return t.___ReactComponentType?(t.id=s,ie.createElement(t.___ReactComponentType,t,n)):ie.createElement(se,null,"UNKNOWN COMPONENT")}},f.generateReactComponent=function(e,t,n,r,o,i,a,s,l){if(!e)return null;var u=null,c=ea(e,t,n),p=c?i.getVirtualComponentByKey(c):null;if(p&&p===e)u=i.getReactElementByKey(c),i.retainElement(c);else{var d=i.getDOMIdIndexByKey(c);f.isComplexComponent(e)?J(e.getComponentId())?u=ie.createElement(se,null,"UNKNOWN COMPONENT"):(u=f.generateComplexControl(e,r,o,a,d),i.setIsCompositing(!0)):("IFRAME"===e.getType()&&i.setIsCompositing(!0),u=f.generateJSXElement(e.getType(),e.getProperties(),l,r,o,i.addCommandWrapper,s)),c&&i.addUpdatedEntry(c,u,e,d)}return u},f.generateComplexControl=function(e,t,n,r,o){var i=this.generateComplexControlProps(e,t,n,r,o),a=i.controlId,s=i.props,l=i.dataSetHostProps;return t.actions.renderNestedCustomControl(a,s,l)},f.generateComplexControlProps=function(e,t,n,r,o){var i,a,s,l=e.getComponentId(),u=e.getProperties(),c={toggleDimensionListener:n.trackResize},p=t.descriptor.Id,d=7===(null===(i=t.contextToken)||void 0===i?void 0:i.contextTokenType),f=d?"".concat(t.controlId,".").concat(l):p+"."+l,h=t.descriptor.UniqueId+"."+l,m=Ge(t),y=u.controlstates,g=t.descriptor.ShowLabel,v=t.descriptor.Label,b=!1;J(y)?(c.height=n.allocatedHeight,c.width=n.allocatedWidth):(c.height=y.hasOwnProperty("height")?y.height:n.allocatedHeight,c.width=y.hasOwnProperty("width")?y.width:n.allocatedWidth,c.hasFocus=!J(y.hasFocus)&&y.hasFocus,c.containerStyleOverrides=y.containerStyleOverrides,b=!J(y.isControlDisabled)&&y.isControlDisabled,g=J(y.showLabel)?g:y.showLabel,v=J(y.label)?v:y.label),c.decorators=u.decorators;var C=[],_=u.childeventlisteners;if(!J(_)){for(var S=function(e){var t=e.eventname,n=C.findIndex(function(e){return e.eventname===t}),r=e.eventhandler;if(-1!==n)C[n].eventhandler.concat(r);else{var o={eventname:t,eventhandler:[r]};C.push(o)}},P=0,I=_;P<I.length;P++){S(I[P])}c.eventListeners=C}c.customEventListeners=u.customEventListeners,c.onLoad=u.onLoad,u.contextOverrides&&(c.propertyBagOverrides=u.contextOverrides);var w=t.systemDefinedProperties;u.systemDefinedPropertiesOverrides&&(w=$i($i({},w),u.systemDefinedPropertiesOverrides));var x={};J(u.parameters)||(x=u.parameters);var E=null,k=null,T=null;"MscrmControls.Containers.FieldSectionItem"===t.configuration.CustomControlId?T=p:t.parentDefinedControlProps&&t.parentDefinedControlProps.parentFieldSectionItem&&(T=t.parentDefinedControlProps.parentFieldSectionItem),c.parentFieldSectionItem=T,c.parentInSeeMoreMode=n.isInSeeMoreMode;var D,F=0!==o?o:"";u.descriptor?(E=u.descriptor,!d&&(f=l)):E={Id:f,Label:v,Name:"",DomId:"".concat(m).concat((null===(s=null===(a=t.descriptor)||void 0===a?void 0:a.ClassId)||void 0===s?void 0:s.guid)?t.descriptor.ClassId.guid:F),ShowLabel:g,Visible:t.descriptor.Visible,ClassId:null,Disabled:b,UniqueId:h,Parameters:t.descriptor&&t.descriptor.Parameters},E.parentFieldSectionItem||(E.parentFieldSectionItem=T),k=u.nestedFormProps?u.nestedFormProps:t.formInfo,function(e){for(var t in e)3===e[t].Usage&&(e[t].Attributes=$i($i({},Zi),e[t].Attributes),e[t].Security=$i({secured:!1,editable:!0,readable:!0},e[t].Security))}((D=t.children&&t.children.hasOwnProperty(l)?t.children[l]:u.configuration?u.configuration:{FormFactor:2,CustomControlId:e.getType().toString(),Name:t.manifest.CustomControlId+"."+f,Parameters:$i({},x),Version:"0.0",ShouldOverrideControlVisible:!1,isDefaultConfig:!0}).Parameters);var O=null;if(D.Parameters)for(var M in D.Parameters){var A=D.Parameters[M];switch(A.Type){case Pe.Grid:var R=A;if(R.SortingInput){var L=R.SortingInput;L.ControlLinked&&L.Value&&(L.Value=p+"."+L.Value)}if(R.FilteringInput){var N=R.FilteringInput;N.ControlLinked&&N.Value&&(N.Value=p+"."+N.Value)}if(R.PagingInput){var B=R.PagingInput;B.ControlLinked&&B.Value&&(B.Value=p+"."+B.Value)}R.DataSetUIOptions&&(O=R.DataSetUIOptions);break;default:var U=A;1===U.Usage&&U.ControlLinked&&!U.AbsoluteLinkAddress&&U.Value&&(D.Parameters[M]=$i($i({},U),{Value:p+"."+U.Value}))}}return t.descriptor.HasContext?c.closestParentWithContext=p:t.parentDefinedControlProps&&t.parentDefinedControlProps.closestParentWithContext&&(c.closestParentWithContext=t.parentDefinedControlProps.closestParentWithContext),c.parentFlyoutId=r,{controlId:f,props:{id:rn.IsAvailable?rn.PCF.rootPageId:t.id,controlId:f,systemDefinedProperties:w,parentDefinedControlProps:c,configuration:D,descriptor:E,formInfo:k,rowSpan:t.rowSpan,themingData:u.themingData,contextString:u.contextString||na(t,k),parentContextToken:t.contextToken,externalCommandManagerId:t.externalCommandManagerId,externalCommandPromise:t.externalCommandPromise,zIndexOverride:t.zIndexOverride},dataSetHostProps:{dataSetUIOptions:O}}},f.generateReactChildren=function(e,t,n,r,o,i,a){if(null!==t){if(Array.isArray(t)){for(var s=[],l=0;l<t.length;l++)s.push(ta(e,"keylessChild"+l,t[l],n,r,o,i,a));return s}return ta(e,"keylessChild",t,n,r,o,i,a)}},f.isComplexComponent=function(e){if(!e)return!1;var t=e.getType(),n=e.getProperties().___ReactComponentType;return!t||!n&&-1===qt.indexOf(t.toUpperCase())},f}();function Ji(e,t){if(e&&e.parentDefinedControlProps&&e.parentDefinedControlProps.parentFlyoutId)return e.parentDefinedControlProps.parentFlyoutId;if("FLYOUT"===t.getType().toUpperCase()){var n=t.getProperties();return Xn.generateFlyoutId(e.controlId,n.groupId)}return null}function ea(e,t,n){return(t?t+"|":"")+(Xi.isComplexComponent(e)?e.getComponentId()||n:e.getProperties().hasOwnProperty("key")?e.getProperties().key:n)}function ta(e,t,n,r,o,i,a,s){if((p=n)&&"object"==typeof p&&"getType"in p){var l=n.getChildren(),u=n,c=a||Ji(r,u);return Xi.generateReactComponent(u,e,t,r,o,i,c,s,null!==l?Xi.generateReactChildren(ea(u,e,t),l,r,o,i,c,s||!!u.getProperties().onClick):null)}var p;return n}function na(e,t){var n=!1,r=!1,o=!1;for(var i in e.configuration.Parameters)e.configuration.Parameters[i].Type===Pe.QuickForm?o=!0:e.configuration.Parameters[i].Type===Pe.MainForm?r=!0:e.configuration.Parameters[i].Type===Pe.Grid&&(n=!0);var a=!e.formInfo!=!t;if(!a&&e.formInfo&&(a=e.formInfo.EntityName!==t.EntityName||e.formInfo.FormId!==t.FormId||e.formInfo.RecordId!==t.RecordId||e.formInfo.RibbonId!==t.RibbonId),a){if(o)return t.ParentFormInfo={EntityName:e.propBagData.modeData.entityTypeName,RecordId:e.propBagData.modeData.entityId,RecordName:e.propBagData.modeData.entityRecordName,ParentFormInfo:e.formInfo?e.formInfo.ParentFormInfo:null},Pe.QuickForm+":"+e.controlId;if(r)return t.ParentFormInfo={EntityName:e.propBagData.modeData.entityTypeName,RecordId:e.propBagData.modeData.entityId,RecordName:e.propBagData.modeData.entityRecordName,ParentFormInfo:e.formInfo?e.formInfo.ParentFormInfo:null},Pe.MainForm+":"+e.controlId;if(n)return Pe.Grid}return"default"}var ra,oa=new(function(){function e(){this._initialized=!1}return e.prototype._logMessage=function(e,t,n){throw"_logMessage is not overrided by actual implementation"},e.prototype.setProps=function(e){!this._initialized&&e&&e.propBagMethods&&e.propBagMethods.utils&&e.propBagMethods.utils.logMessage&&(this._logMessage=e.propBagMethods.utils.logMessage,this._initialized=!0)},e.prototype.log=function(e,t){this._initialized&&this._logMessage(e,t,3)},e.prototype.warn=function(e,t){this._initialized&&this._logMessage(e,t,2)},e.prototype.error=function(e,t){this._initialized&&this._logMessage(e,t,1)},e}()),ia=function(){function e(){this._memoizedMap={},this._newMemoizedMap={},this._isCompositing=!1,this._newIsCompositing=!1,this._midRender=!1,this._memoizedRoot=null,this._DOMIdIndex=0,this._wrapperMap={},this.addCommandWrapper=this.addCommandWrapper.bind(this)}return e.prototype.startRenderFunction=function(){if(this._midRender){var e=new Error("Start render called without start");throw F.Reporting.reportFailure(Ie+".Components",e,"Start Render, midRender ".concat(this._midRender),[{name:"APIName",value:Ie+".Components.CustomControlMemoizationHelper.startRenderFunction"}]),e}this._isCompositing=!1,this._midRender=!0},e.prototype.stopRenderFunction=function(){if(!this._midRender){var e=new Error("Stop render called without start");throw F.Reporting.reportFailure(Ie+".Components",e,"Stop Render, midRender ".concat(this._midRender),[{name:"APIName",value:Ie+".Components.CustomControlMemoizationHelper.stopRenderFunction"}]),e}this._isCompositing=this._newIsCompositing,this._memoizedMap=this._newMemoizedMap,this._newMemoizedMap={},this._midRender=!1},e.prototype.destroy=function(){for(var e in this._wrapperMap)this._wrapperMap[e].unmount();this._wrapperMap=null,this._memoizedMap=null,this._newMemoizedMap=null,this._memoizedRoot=null,this._midRender=!1},e.prototype.getVirtualComponentByKey=function(e){return this._memoizedMap&&this._memoizedMap[e]?this._memoizedMap[e].virtualComponent:null},e.prototype.getDOMIdIndexByKey=function(e){return this._memoizedMap&&this._memoizedMap[e]?this._memoizedMap[e].idIndex:this.getNextIndex()},e.prototype.getReactElementByKey=function(e){return this._memoizedMap&&this._memoizedMap[e]?this._memoizedMap[e].reactElement:null},e.prototype.retainElement=function(e){this._midRender&&this._memoizedMap&&(this._newMemoizedMap[e]=this._memoizedMap[e])},e.prototype.addUpdatedEntry=function(e,t,n,r){this._midRender&&this._newMemoizedMap?this._newMemoizedMap[e]={reactElement:t,virtualComponent:n,idIndex:r}:this._memoizedMap&&(this._memoizedMap[e]={reactElement:t,virtualComponent:n,idIndex:r})},e.prototype.setIsCompositing=function(e){this._newIsCompositing=e},e.prototype.getIsCompositing=function(){return this._isCompositing},e.prototype.setRoot=function(e){this._memoizedRoot=e},e.prototype.getRoot=function(){return this._memoizedRoot},e.prototype.addCommandWrapper=function(e,t){this._wrapperMap[e]=t},e.prototype.getNextIndex=function(){return this._DOMIdIndex++},e}();!function(e){e[e.NotInUse=-1]="NotInUse",e[e.PopFadeOutAndMove=0]="PopFadeOutAndMove",e[e.PopFadeIn=1]="PopFadeIn",e[e.PoppedOut=2]="PoppedOut",e[e.ReturnFadeOutAndMove=3]="ReturnFadeOutAndMove",e[e.ReturnFadeIn=4]="ReturnFadeIn"}(ra||(ra={}));var aa=function(){function e(){}return e.generateOuterClass=function(e,t,n){var r={animationDuration:"1.5s",animationFillMode:"forwards",animationDirection:"normal",animationIterationCount:"1",animationName:"",position:"fixed",display:"initial",height:n.startHeight+"px",width:n.startWidth+"px",overflow:"hidden",backgroundColor:"#FFFFFF",transform:"",left:"",top:"",zIndex:n.zIndex,marginTop:"env(safe-area-inset-top)"},o=n.endHeight/n.startHeight,i=n.endWidth/n.startWidth;switch(t){case ra.PopFadeOutAndMove:r.animationName=e.renderKeyframe(sa,n);break;case ra.PopFadeIn:case ra.PoppedOut:r.left=n.endLeft+"px",r.top=n.endTop+"px",r.transform="scaleX("+i+") scaleY("+o+")";break;case ra.ReturnFadeOutAndMove:r.animationName=e.renderKeyframe(la,n);break;case ra.ReturnFadeIn:case ra.NotInUse:return null}return r},e}();function sa(e){var t,n=e.endHeight/e.startHeight,r=e.endWidth/e.startWidth;return(t={})["0%"]={left:e.startLeft+"px",top:e.startTop+"px",transform:"scaleX(1) scaleY(1)"},t["25%"]={left:e.startLeft+"px",top:e.startTop+"px",transform:"scaleX(1) scaleY(1)"},t["65%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX(1) scaleY(1)"},t["70%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX(1) scaleY("+n+")"},t["75%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX("+r+") scaleY("+n+")"},t["100%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX("+r+") scaleY("+n+")"},t}function la(e){var t,n=e.endHeight/e.startHeight,r=e.endWidth/e.startWidth;return(t={})["100%"]={left:e.startLeft+"px",top:e.startTop+"px",transform:"scaleX(1) scaleY(1)"},t["75%"]={left:e.startLeft+"px",top:e.startTop+"px",transform:"scaleX(1) scaleY(1)"},t["35%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX(1) scaleY(1)"},t["30%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX(1) scaleY("+n+")"},t["25%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX("+r+") scaleY("+n+")"},t["0%"]={left:e.endLeft+"px",top:e.endTop+"px",transform:"scaleX("+r+") scaleY("+n+")"},t}var ua=function(){return(ua=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ca=function(){function e(){}return e.generateInnerClass=function(e,t,n){var r={animationFillMode:"forwards",animationDirection:"normal",animationIterationCount:"1",display:"block",backgroundColor:"#FFFFFF",opacity:"",height:"",width:"",transform:"",marginTop:"",marginLeft:"",marginRight:"",paddingTop:"",animationName:"",animationDuration:"",webkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",position:"",webkitFontSmoothing:"subpixel-antialiased",webkitFilter:"blur(0)"},o=n.startHeight/n.endHeight,i=n.startWidth/n.endWidth,a=-1*(n.endWidthInner-n.startWidth)/2,s=-1*(n.endHeightInner-n.startHeight)/2,l="";s!==Math.floor(s)&&(s=Math.floor(s),l="1px"),a!==Math.floor(a)&&(a=Math.floor(a));var u=ua(ua({},n),{margLeft:a,margTop:s,padTop:l,transX:i,transY:o});switch(t){case ra.PopFadeOutAndMove:r.animationName=e.renderKeyframe(pa,u),r.animationDuration="1.4s";break;case ra.PopFadeIn:r.animationName=e.renderKeyframe(fa,u),r.animationDuration=".5s",r.height=n.endHeightInner+"px",r.width=n.endWidthInner+"px",r.transform="translateZ(0) perspective(1px) scaleX("+i+") scaleY("+o+")",r.marginTop=s+"px",r.paddingTop=l,r.marginLeft=n.isRTL?"0px":a+"px",r.marginRight=n.isRTL?a+"px":"0px",r.position=ha()?"":"fixed";break;case ra.PoppedOut:r.height=n.endHeightInner+"px",r.width=n.endWidthInner+"px",r.transform="translateZ(0) perspective(1px) scaleX("+i+") scaleY("+o+")",r.marginTop=s+"px",r.marginLeft=n.isRTL?"0px":a+"px",r.marginRight=n.isRTL?a+"px":"0px",r.opacity="1",r.position=ha()?"":"fixed";break;case ra.ReturnFadeOutAndMove:r.animationName=e.renderKeyframe(da,u),r.animationDuration="1.4s";break;case ra.ReturnFadeIn:r.animationDuration=".5s",r.width="100%",r.animationName=e.renderKeyframe(fa,u)}return r},e}();function pa(e){var t;return(t={})["0%"]={opacity:1,height:e.startHeight+"px",width:e.startWidth+"px",transform:"translateZ(0) perspective(1px) scaleX(1) scaleY(1)",marginTop:"0px",marginLeft:"0px",marginRight:"0px",paddingTop:"0px"},t["25%"]={opacity:0,height:e.startHeight+"px",width:e.startWidth+"px",transform:"translateZ(0) perspective(1px) scaleX(1) scaleY(1)",marginTop:"0px",marginLeft:"0px",marginRight:"0px",paddingTop:"0px"},t["30%"]={opacity:0,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX(1) scaleY(1)",marginTop:"0px",marginLeft:"0px",marginRight:"0px",paddingTop:"0px"},t["40%"]={opacity:0,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX("+e.transX+") scaleY("+e.transY+")",marginTop:e.margTop+"px",marginLeft:e.isRTL?"0px":e.margLeft+"px",marginRight:e.isRTL?e.margLeft+"px":"0px",paddingTop:e.padTop},t["100%"]={opacity:0,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX("+e.transX+") scaleY("+e.transY+")",marginTop:e.margTop+"px",marginLeft:e.isRTL?"0px":e.margLeft+"px",marginRight:e.isRTL?e.margLeft+"px":"0px",paddingTop:e.padTop},t}function da(e){var t;return(t={})["0%"]={opacity:1,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX("+e.transX+") scaleY("+e.transY+")",marginTop:e.margTop+"px",marginLeft:e.isRTL?"0px":e.margLeft+"px",marginRight:e.isRTL?e.margLeft+"px":"0px",paddingTop:e.padTop},t["25%"]={opacity:0,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX("+e.transX+") scaleY("+e.transY+")",marginTop:e.margTop+"px",marginLeft:e.isRTL?"0px":e.margLeft+"px",marginRight:e.isRTL?e.margLeft+"px":"0px",paddingTop:e.padTop},t["60%"]={opacity:0,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX("+e.transX+") scaleY("+e.transY+")",marginTop:e.margTop+"px",marginLeft:e.isRTL?"0px":e.margLeft+"px",marginRight:e.isRTL?e.margLeft+"px":"0px",paddingTop:e.padTop},t["70%"]={opacity:0,height:e.endHeightInner+"px",width:e.endWidthInner+"px",transform:"translateZ(0) perspective(1px) scaleX(1) scaleY(1)",marginTop:"0px",marginLeft:"0px",marginRight:"0px",paddingTop:"0px"},t["75%"]={opacity:0,height:e.startHeight+"px",width:e.startWidth+"px",transform:"translateZ(0) perspective(1px) scaleX(1) scaleY(1)",marginTop:"0px",marginLeft:"0px",marginRight:"0px",paddingTop:"0px"},t["100%"]={opacity:0,height:e.startHeight+"px",width:e.startWidth+"px",transform:"translateZ(0) perspective(1px) scaleX(1) scaleY(1)",marginTop:"0px",marginLeft:"0px",marginRight:"0px",paddingTop:"0px"},t}function fa(){var e;return(e={})["0%"]={opacity:0},e["100%"]={opacity:1},e}function ha(){return!!window.navigator.userAgent.match("MSIE")||!!window.navigator.userAgent.match("Trident")}var ma=null,ya=null,ga=function(){function i(){}return i.generateFancyShadowInAnimationName=function(e){return ma||(ma=e.renderKeyframe(va,null)),ma},i.generateFancyShadowOutAnimationName=function(e){return ya||(ya=e.renderKeyframe(ba,null)),ya},i.generateShadowClass=function(e,t,n){var r,o={width:"100%",height:"100%",top:"0px",left:"0px",backgroundColor:"#000000",position:"fixed",animationDuration:"2s",animationFillMode:"forwards",animationDirection:"normal",animationIterationCount:"1",zIndex:"".concat(null!==(r=null==n?void 0:n.zIndex)&&void 0!==r?r:"1"),animationName:null,opacity:null};switch(t){case ra.PopFadeOutAndMove:o.animationName=i.generateFancyShadowInAnimationName(e);break;case ra.PopFadeIn:case ra.PoppedOut:o.opacity=".5";break;case ra.ReturnFadeOutAndMove:o.animationName=i.generateFancyShadowOutAnimationName(e);break;case ra.ReturnFadeIn:case ra.NotInUse:return{display:"none"}}return o},i}();function va(){var e;return(e={})["0%"]={opacity:0},e["75%"]={opacity:.5},e["100%"]={opacity:.5},e}function ba(){var e;return(e={})["0%"]={opacity:.5},e["25%"]={opacity:.5},e["100%"]={opacity:0},e}var Ca=function(){function e(){}return e.getCustomControlFancyPopoutStyles=function(e,t,n){return{shadowStyle:ga.generateShadowClass(e,t,n),outerStyle:aa.generateOuterClass(e,t,n),innerStyle:ca.generateInnerClass(e,t,n)}},e}(),_a=function(){},Sa=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Pa=ae.CCF+".CustomControlSeeMoreHelper",Ia=function(){function e(e){this._seeMorePopupInfo=null,this._seeMorePopupStatus=ra.NotInUse,this._seeMorePopupAnimDiv=null,this._seeMoreTimeoutHelper=-1,this._animFadeInReference=this._seeMoreFadeIn.bind(this),this._animEndReference=this._seeMoreEnd.bind(this),this._seeMorefocusModal=this._modalTrapFocus.bind(this),this._parentDomId="",this._environmentMargin=null,this.shouldGivePoppedOutDimensions=this._shouldGivePoppedOutDimensions.bind(this),this._parentDomId="|".concat(e||Rn())}return e.prototype.destroy=function(){this._seeMorePopupStatus!==ra.NotInUse&&j.getInstance().seeMoreClose(),this._seeMorePopupInfo=null,this._seeMorePopupAnimDiv=null,this._animFadeInReference=null,this._animEndReference=null,this._seeMorefocusModal=null},e.prototype.getSeeMorePopupInfo=function(){return this._seeMorePopupInfo},e.prototype.getSeeMorePopupStatus=function(){return this._seeMorePopupStatus},e.prototype._shouldGivePoppedOutDimensions=function(e){var t=this.getSeeMorePopupInfo(),n=this.getSeeMorePopupStatus();return t&&n!==ra.ReturnFadeIn&&(e&&n!==ra.PopFadeOutAndMove||!e&&n!==ra.ReturnFadeOutAndMove)},e.prototype._calculateEnvironmentMargin=function(){if(null===this._environmentMargin){document.body.style.setProperty("--notch-helper-value","env(safe-area-inset-top)");var e=getComputedStyle(document.body).getPropertyValue("--notch-helper-value");this._environmentMargin=parseInt(e,10),Number.isNaN(this._environmentMargin)&&(this._environmentMargin=0)}return this._environmentMargin},e.prototype.seeMorePopup=function(e,t,n,r,o,i,a){void 0===r&&(r=!1),void 0===o&&(o=!1),void 0===i&&(i=1);var s=e.getBoundingClientRect();this._seeMoreCallback=t;var l=!1;a||(a=document.body,l=!0);var u=a.getBoundingClientRect();switch(this._seeMorePopupStatus){case ra.NotInUse:if(!n)return;j.getInstance().seeMoreOpen(),this._seeMorePopupStatus=ra.PopFadeOutAndMove;var c=l?u.width:a.offsetWidth,p=l?u.height:a.offsetHeight,d=l?s.width:e.offsetWidth,f=l?s.height:e.offsetHeight,h=!r||d>2/3*c?c:e.offsetWidth>1/3*c?2/3*c:1/3*c,m=c<769,y=h===c&&!m;h-=y?80:0;var g=p-(m?0:80)-this._calculateEnvironmentMargin(),v=.5*g-.5*f+(m?0:40),b=(y?40:0)+(y?h:c)/2-d/2;this._seeMorePopupInfo={startHeight:f,startWidth:d,startLeft:s.left-u.left,startTop:s.top-u.top,endTop:v,endLeft:b,endWidthInner:h-48,endHeightInner:g-48,endWidth:h,endHeight:g,isRTL:o,zIndex:i},this._seeMoreCallback(!0);break;case ra.PoppedOut:if(n)return;j.getInstance().seeMoreClose(),this._seeMorePopupStatus=ra.ReturnFadeOutAndMove,this._seeMoreCallback(!0)}},e.prototype._getPopupDiv=function(e,t,n){var r;switch(this._seeMorePopupStatus){case ra.PopFadeOutAndMove:case ra.ReturnFadeOutAndMove:return e?wa(n):n.parentElement.parentElement;case ra.ReturnFadeIn:return e?t?wa(wa(n)):n:n.parentElement.parentElement;case ra.PopFadeIn:return e?wa(wa(n)):n.parentElement.parentElement}return null===(r=F.Diagnostics)||void 0===r||r.traceInfo(Pa+"._getPopupDiv","Get pop div success"),n},e.prototype._getCloseElement=function(e){var t=e;if(t){t.id.endsWith("_outer")&&(t=t.firstChild);for(var n=0;n<t.children.length;n++)if(t.children[n].id==="closeButtonContainer".concat(this._parentDomId))return t.children[n].firstChild}return null},e.prototype.checkOnPopupStatus=function(e,t,n){switch(-1!==this._seeMoreTimeoutHelper&&(window.clearTimeout(this._seeMoreTimeoutHelper),this._seeMoreTimeoutHelper=-1),this._seeMorePopupStatus){case ra.PopFadeOutAndMove:case ra.ReturnFadeOutAndMove:this._seeMorePopupAnimDiv=this._getPopupDiv(e,t,n),this._seeMorePopupAnimDiv.addEventListener("animationend",this._animFadeInReference),this._seeMorePopupAnimDiv.addEventListener("webkitAnimationEnd",this._animFadeInReference),this._seeMoreTimeoutHelper=window.setTimeout(this._seeMoreFadeIn.bind(this),2500);break;case ra.ReturnFadeIn:this._seeMorePopupAnimDiv=this._getPopupDiv(e,t,n),this._seeMorePopupAnimDiv.addEventListener("animationend",this._animEndReference),this._seeMorePopupAnimDiv.addEventListener("webkitAnimationEnd",this._animEndReference),this._seeMoreTimeoutHelper=window.setTimeout(this._seeMoreEnd.bind(this),1e3);break;case ra.PopFadeIn:this._seeMorePopupAnimDiv=this._getPopupDiv(e,t,n),this._seeMorePopupAnimDiv.addEventListener("animationend",this._animFadeInReference),this._seeMorePopupAnimDiv.addEventListener("webkitAnimationEnd",this._animFadeInReference),this._seeMorePopupAnimDiv.addEventListener("keydown",this._seeMorefocusModal),this._seeMoreTimeoutHelper=window.setTimeout(this._seeMoreFadeIn.bind(this),1e3)}},e.prototype._modalTrapFocus=function(e){if(("Tab"===e.key||9===e.keyCode||"Escape"===e.key||27===e.keyCode)&&("Escape"!==e.key&&27!==e.keyCode||this._seeMorePopUpCallBack(),"Tab"===e.key||e.shiftKey&&"Tab"===e.key)){for(var t=this._seeMorePopupAnimDiv.querySelectorAll('[tabindex]:not([tabindex="-1"])'),n=this._seeMorePopupAnimDiv.querySelectorAll('div[style*="display:none"] [tabindex]:not([tabindex="-1"])'),r=Sa([],t,!0),o=Sa([],n,!0),i=r.length-1;i>0;i--)o.indexOf(r[i])>-1&&r.splice(i,1);if(!r||0===r.length)return;var a=r[0],s=r[r.length-1];e.shiftKey&&"Tab"===e.key?document.activeElement===a&&(s.focus(),e.preventDefault()):document.activeElement===s&&(a.focus(),e.preventDefault())}},e.prototype._seeMoreFadeIn=function(){-1!==this._seeMoreTimeoutHelper&&(window.clearTimeout(this._seeMoreTimeoutHelper),this._seeMoreTimeoutHelper=-1);switch(this._seeMorePopupStatus){case ra.PopFadeIn:this._seeMorePopupStatus=ra.PoppedOut,this._getCloseElement(this._seeMorePopupAnimDiv).focus(),this._seeMorePopupAnimDiv.removeEventListener("animationend",this._animFadeInReference),this._seeMorePopupAnimDiv.removeEventListener("webkitAnimationEnd",this._animFadeInReference),this._controlTabScope(!0);break;case ra.PopFadeOutAndMove:this._seeMorePopupStatus=ra.PopFadeIn,this._seeMoreTimeoutHelper=window.setTimeout(this._animFadeInReference,1500),this._seeMoreCallback(!1);break;case ra.ReturnFadeOutAndMove:this._seeMorePopupStatus=ra.ReturnFadeIn,this._seeMorePopupAnimDiv.removeEventListener("animationend",this._animFadeInReference),this._seeMorePopupAnimDiv.removeEventListener("webkitAnimationEnd",this._animFadeInReference),this._seeMorePopupAnimDiv.removeEventListener("keydown",this._seeMorefocusModal),this._seeMorePopupAnimDiv=null,this._controlTabScope(!1),this._seeMoreCallback(!1)}},e.prototype._controlTabScope=function(e){var t=this,n=document.getElementById("ApplicationShell");n&&(e?Array.from(n.querySelectorAll('[tabindex = "0"]')).filter(function(e){return!t._seeMorePopupAnimDiv.contains(e)}).concat(Array.from(n.querySelectorAll("button")).filter(function(e){return!t._seeMorePopupAnimDiv.contains(e)})).concat(Array.from(n.querySelectorAll("a")).filter(function(e){return!t._seeMorePopupAnimDiv.contains(e)})).forEach(function(e){e.setAttribute("data-hiddenTabIndex",e.tabIndex.toString()),e.tabIndex=-1}):Array.from(n.querySelectorAll("[data-hiddenTabIndex]")).forEach(function(e){e.tabIndex=e.attributes["data-hiddenTabIndex"],e.removeAttribute("data-hiddenTabIndex")}))},e.prototype._seeMoreEnd=function(){-1!==this._seeMoreTimeoutHelper&&(window.clearTimeout(this._seeMoreTimeoutHelper),this._seeMoreTimeoutHelper=-1),this._seeMorePopupAnimDiv.removeEventListener("animationend",this._animEndReference),this._seeMorePopupAnimDiv.removeEventListener("webkitAnimationEnd",this._animEndReference),this._seeMorePopupAnimDiv=null,this._seeMorePopupStatus=ra.NotInUse,this._seeMorePopupInfo=null;this._seeMoreCallback(!0)},e.prototype.renderSpacer=function(e,t){var n;if(void 0===e&&(e=!0),void 0===t&&(t=!1),e&&!t&&(this._seeMorePopupStatus===ra.NotInUse||this._seeMorePopupStatus===ra.ReturnFadeIn))return null===(n=F.Diagnostics)||void 0===n||n.traceInfo(Pa+".renderSpacer","Render Spacer return null"),null;var r=this._seeMorePopupStatus===ra.PopFadeIn||this._seeMorePopupStatus===ra.PoppedOut||this._seeMorePopupStatus===ra.ReturnFadeOutAndMove?{height:"24px",width:"100%",backgroundColor:"white"}:{display:"none"};return ie.createElement(se,{key:"ccf_spacer",style:r})},e.prototype.renderCloseButton=function(e,t,n,r,o){if(void 0===t&&(t=!0),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===o&&(o=!1),t&&!n&&(this._seeMorePopupStatus===ra.NotInUse||this._seeMorePopupStatus===ra.ReturnFadeIn))return null;var i={fontSize:"16px",color:"#333333",position:"absolute",top:"0px",right:"0px",left:"0px",height:"48px",width:"48px",textAlign:"center",paddingTop:"16px",cursor:"pointer"},a={backgroundColor:"transparent",border:"none",position:"absolute",top:"0px",right:r?"":"-24px",left:r?"-24px":"",height:"48px",width:"48px",textAlign:"center",paddingTop:"16px",cursor:"pointer",boxSizing:"border-box"},s=this._seeMorePopupStatus===ra.PopFadeIn||this._seeMorePopupStatus===ra.PoppedOut||this._seeMorePopupStatus===ra.ReturnFadeOutAndMove,l=s?{height:"48px",width:"100%",top:"-24px",position:"absolute"}:{display:"none"},u=o?ie.createElement(se,{key:"closebuttonIcon",style:i},"╳"):ie.createElement(io,{key:"closeButtonIcon",style:i,type:$r.Close});return this._seeMorePopUpCallBack=e,ie.createElement(se,{key:"closeButtonContainer".concat(this._parentDomId),id:"closeButtonContainer".concat(this._parentDomId),style:l},ie.createElement(On,{key:"closeButton".concat(this._parentDomId),id:"closeButton".concat(this._parentDomId),style:a,tabIndex:s?0:-1,title:"Close Fullscreen Control button",onClick:e,accessibilityLabel:"Close Fullscreen Control button"},u))},e}();function wa(e){for(var t,n,r=null==e?void 0:e.lastChild;r;r=r.previousSibling)if(!(null===(n=(t=r).hasAttribute)||void 0===n?void 0:n.call(t,"data-accessibilitybutton")))return r;return null}var xa,Ea,ka,Ta=function(){function e(e,t,n){this._etn=e,this._id=t||"",this._name=n,Object.freeze(this)}return Object.defineProperty(e.prototype,"entityName",{get:function(){return this._etn},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"entityType",{get:function(){return this._etn},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"logicalName",{get:function(){return this._etn},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"LogicalName",{get:function(){return this._etn},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Id",{get:function(){return this._Id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e.toString=function(e){return"".concat(e.entityName,":").concat(e.id)},e.equals=function(e,t){return!e&&!t||!(!e||!t)&&(e.entityName===t.entityName&&e.id===t.id&&e.name===t.name)},e.EMPTY=new e(""),e}(),Da=function(){return(Da=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Fa=function(){function e(e){if(this._dependencyMapForSchema={},this._propertyValues={},e&&e.manifest&&e.authoringMode)for(var t in this._dependencyMapForSchema=this._getDependencyMapForSchema(e.manifest),this._dependencyMapForSchema)this._propertyValues[t]=null}return e.prototype.handleDependencyUpdate=function(r,e,t){if(!(r&&r.manifest&&r.authoringMode&&e))return Promise.resolve();var n={},o=!1,i=[];for(var a in this._dependencyMapForSchema){var s=this._getRawValue(r,a);(!J(s)&&s.equals?s.equals(this._propertyValues[a]):s===this._propertyValues[a])||(this._propertyValues[a]=s,n[a]=s,o=!0,this._dependencyMapForSchema[a].forEach(function(e){-1===i.indexOf(e)&&i.push(e)}))}if(!o)return Promise.resolve();var l={};for(var a in this._dependencyMapForSchema)l[a]={value:this._propertyValues[a],isAuthoringSource:n[a]||!1};return e(t,l).then(function(e){var t=Da({},e);for(var n in t)-1===i.indexOf(n)&&delete t[n];return Object.keys(t).length>0?r.actions.handleOutputSchemaChange(t):Promise.resolve()})},e.prototype._getRawValue=function(e,t){return e&&e.dynamicData&&e.dynamicData.parameters&&e.dynamicData.parameters[t]&&e.dynamicData.parameters[t].hasOwnProperty("raw")?e.dynamicData.parameters[t].raw:null},e.prototype._getDependencyMapForSchema=function(e){var r={};return e.PropertyDependencies&&e.PropertyDependencies.length>0&&e.PropertyDependencies.forEach(function(e){var t=e.Input,n=e.Output;t&&n&&"schema"===e.RequiredFor&&(r[t]||(r[t]=[]),-1===r[t].indexOf(n)&&r[t].push(n))}),r},e}(),Oa=function(){function e(){this._isSuccessLogged=!1,this._isFailureLogged=!1}return e.prototype.logUsageSuccessEvent=function(e){this._isSuccessLogged||(we.reportUsage(e,"Success"),this._isSuccessLogged=!0)},e.prototype.logUsageFailureEvent=function(e){this._isFailureLogged||(we.reportUsage(e,"Failure"),this._isFailureLogged=!0)},e.prototype.logUsageOutputChanged=function(e){this._isOutputChangedButDestroyedLogged||(we.reportUsage(e,"NotifyOutputChanged was called by a destroyed control"),this._isOutputChangedButDestroyedLogged=!0)},e.prototype.logFailureEvent=function(e,t,n,r,o,i){we.reportEventFailure(e,t,n,r,o,i)},e}();!function(e){e.Dataset="dataset",e.Records="records",e.DatasetRecordId="dataset_recordid",e.Columns="columns",e.SortOrder="sortorder",e.Page="page",e.Filter="filter",e.Commands="commands",e.Linking="linking",e.Grouping="grouping",e.Aggregation="aggregation",e.Refresh="refresh"}(xa||(xa={})),function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure",e[e.Incomplete=2]="Incomplete"}(Ea||(Ea={})),function(e){e[e.Diagnostic=0]="Diagnostic",e[e.Usage=1]="Usage"}(ka||(ka={}));var Ma=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Aa=function(){function e(){}return e.prototype.report=function(e,t,n,r){if(null==F?void 0:F.Reporting)if(t===ka.Usage){if(!F.Reporting.reportEvent)return;!function(e,t){var n=Ra(t),r=function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o.name,a=o.value;t[i]=a}return t}(Na(e,t)),o=[{name:"ControlName",value:n},{name:"EventContext",value:JSON.stringify(r)}];F.Reporting.reportEvent({eventName:"uci_controlframework_usage",eventParameters:o})}(e,r)}else if(t===ka.Diagnostic)if(n===Ea.Success){if(!F.Reporting.reportSuccess)return;!function(e,t){var n=Ra(t),r=Na(e,t);F.Reporting.reportSuccess(n,r)}(e,r)}else if(n===Ea.Failure){if(!F.Reporting.reportFailure)return;!function(e,t){var n=Ra(t),r=(i=t,La(i,"message")),o=Na(e,t);var i;F.Reporting.reportFailure(n,new Error(r),null,o)}(e,r)}},e}();function Ra(e){return La(e,"controlName")||"UnknownPCFControl"}function La(e,t){var n=null==e?void 0:e.findIndex(function(e){return e.name===t});return n>=0?e.splice(n,1)[0].value:""}function Na(e,t){return Ma([{name:"APIName",value:e}],t||[],!0)}var Ba=new(function(){function e(){this._telemetryProvider=new Aa}return e.prototype.initWithProvider=function(e){return(!Ba._telemetryProvider||Ba._telemetryProvider instanceof Aa)&&(Ba._telemetryProvider=e,!0)},e.prototype.reportEventSuccess=function(e,t){var n;null===(n=this._telemetryProvider)||void 0===n||n.report(e,ka.Diagnostic,Ea.Success,t)},e.prototype.reportEventFailure=function(e,t){var n;null===(n=this._telemetryProvider)||void 0===n||n.report(e,ka.Diagnostic,Ea.Failure,t)},e.prototype.reportUsage=function(e,t){var n;null===(n=this._telemetryProvider)||void 0===n||n.report(e,ka.Usage,Ea.Success,t)},e}()),Ua=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Va=function(){function e(e,t,n){this._list=[],this._makeComparer=e,this._onUpdated=function(){return n(t)}}return e.prototype.get=function(){return this._list},e.prototype.add=function(e){this._addInternal(e),this._onUpdated()},e.prototype._addInternal=function(e){this._list.find(this._makeComparer(e))||this._list.push(e)},e.prototype.addRange=function(e){if(e)for(var t=0,n=e;t<n.length;t++){var r=n[t];this._addInternal(r)}},e.prototype.remove=function(e){var t=this._list.findIndex(this._makeComparer(e));-1!==t&&this._list.splice(t,1),this._onUpdated()},e.prototype.clear=function(){this._list=[],this._onUpdated()},e.prototype.as=function(e,t,n,r){var o;return(o={})[e]=this.get.bind(this),o[t]=this.add.bind(this),o[n]=this.remove.bind(this),o[r]=this.clear.bind(this),o},e}(),Ha=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),ja=function(t){function e(e){return t.call(this,Wa,xa.Linking,e)||this}return Ha(e,t),e.prototype.asDataSetLinking=function(){return this.as("getLinkedEntities","addLinkedEntity","removeLinkedEntity","clear")},e}(Va);function Wa(t){return function(e){return t.name===e.name&&t.from===e.from&&t.to===e.to&&t.linkType===e.linkType&&t.alias===e.alias&&t.columns===e.columns}}var za=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ga=function(t){function e(e){return t.call(this,Ka,xa.Grouping,e)||this}return za(e,t),e.prototype.asDataSetGrouping=function(){return this.as("getGroupBys","addGroupBy","removeGroupBy","clear")},e}(Va);function Ka(t){return function(e){return t.alias===e.alias&&t.columnName===e.columnName&&(qa(t)&&t.dateGrouping)===(qa(e)&&e.dateGrouping)}}function qa(e){return!!e.dateGrouping}var Qa=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),$a=function(t){function e(e){return t.call(this,Ya,xa.Aggregation,e)||this}return Qa(e,t),e.prototype.asDataSetAggregation=function(){return this.as("getAggregations","addAggregation","removeAggregation","clear")},e}(Va);function Ya(t){return function(e){return t.alias===e.alias&&t.columnName===e.columnName&&t.aggregationFunction===e.aggregationFunction&&Za(t)===Za(e)}}function Za(e){return"countcolumn"===e.aggregationFunction&&e.distinct}var Xa=function(){function e(e){this._counters={},this._controlName=e}return e.prototype.makeBuilder=function(){return new Ja(this._counters)},e.prototype.reportUsageCounters=function(e){Object.keys(this._counters).length&&(Ba.reportUsage(e,[{name:"controlName",value:this._controlName},{name:"message",value:JSON.stringify(this._counters)}]),this._counters={})},e}(),Ja=function(){function e(e){this._nestedProperties={},this._counters=e}return e.prototype.withProperties=function(e){if(this._obj)for(var t in e){var n=e[t];this._obj[t]=n}else this._obj=e;return this},e.prototype.withNestedProperties=function(e,t){return this._nestedProperties[e]=t,this},e.prototype.withProperty=function(e,t){return this._obj||(this._obj={}),this._obj[e]=t,this},e.prototype.withReceiver=function(e){var t;return null!==(t=this._receiver)&&void 0!==t||(this._receiver=e),this},e.prototype.build=function(){var e=this._buildInternal(this._obj);for(var t in this._nestedProperties)e[t]=this._buildInternal(this._nestedProperties[t],t);return this._obj=null,this._receiver=null,this._nestedProperties={},e},e.prototype._buildInternal=function(e,t){for(var n in e){var r=e[n];if("function"==typeof r){var o=t?"".concat(String(t),".").concat(n):n;e[n]=es(this._receiver,this._counters,o,r)}}return e},e}();function es(t,n,r,o){return function(){try{var e=o.apply(t,arguments);return ts(n,r,"success"),e}catch(e){throw ts(n,r,"failure"),e}}}function ts(e,t,n){var r;(null!==(r=e[t])&&void 0!==r?r:e[t]={failure:0,success:0})[n]++}var ns,rs=function(){return(rs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},os=function(e,a,s,l){return new(s||(s=Promise))(function(n,t){function r(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):(t=e.value,t instanceof s?t:new s(function(e){e(t)})).then(r,o)}i((l=l.apply(e,a||[])).next())})},is=function(n,r){var o,i,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function e(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;s&&(s=0,t[0]&&(l=0)),l;)try{if(o=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,i=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=l.trys,(a=a.length>0&&a[a.length-1])||6!==t[0]&&2!==t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=r.call(n,l)}catch(e){t=[6,e],i=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},as={getCellImageInfo:"hasCellImageInfo"};!function(e){e[e.Available=0]="Available",e[e.Busy=1]="Busy",e[e.Error=2]="Error",e[e.Destroyed=3]="Destroyed"}(ns||(ns={}));var ss=["lookup","customer","owner","regarding","partylist"],ls=function(){function e(){this._cancelled=!1}return e.prototype.isCancelled=function(){return this._cancelled},e.prototype.cancel=function(){this._cancelled=!0},e}(),us=function(){function e(e,t,n){this._updatedProperties=[],this._columns=[],this._records={},this._sortedRecordIds=[],this._error=!1,this._errorMessage="",this._loading=!1,this._updateOnQueryId=-1,this._commandSelectionOnlySelection=[],this._additionalColumns=[],this._lastQueryColumns=[],this._usageCounter=new Xa("ModernDataSet"),this._dataProvider=e,this._configuration=t;var r=this._addUpdatedProperty.bind(this);this._linkingDetails=new ja(r),this._groupingDetails=new Ga(r),this._aggregationDetails=new $a(r),this._configuration.initQuery&&this._setupFromInitQuery(n),t.initializeCommanding&&(this._commandingIntialization=this._initializeCommanding(t)),this._dataProvider?this._moveToState({uniqueId:-1,state:ns.Available}):this._moveToState({uniqueId:-1,state:ns.Error,message:"Data source is not configured",errorCode:37158408})}return e.prototype.getDataSet=function(e){return void 0===e&&(e=!1),this._dataset&&!e||(this._dataset=this._generateDataset()),this._dataset},e.prototype.setControlReRender=function(e){this.requestRerender=e},e.prototype.requestRerender=function(e){},e.prototype.destroy=function(){this._moveToState({uniqueId:-1,state:ns.Destroyed}),this.reportUsageCounters(),this._pagingDetails=null,this._filteringDetails=null,this._linkingDetails=null,this._groupingDetails=null,this._aggregationDetails=null,this._sortingDetails=null,this._configuration=null,this._updatedProperties=null,this._setColumns(null),this._records=null,this._sortedRecordIds=null,this._dataSetCommandManager&&(this._dataSetCommandManager.dispose(),this._dataSetCommandManager=null),this._dataSetRecordCommandManager&&(this._dataSetRecordCommandManager.dispose(),this._dataSetRecordCommandManager=null)},e.prototype.reportUsageCounters=function(){this._isReplaced||this._usageCounter.reportUsageCounters("PCF_dataset_usage")},e.prototype._addControlNameToTelemetry=function(e){return e||(e=[]),e.push({name:"controlName",value:"ModernDataSet"}),e},e.prototype._reportEventSuccess=function(e,t){Ba.reportEventSuccess(e,this._addControlNameToTelemetry(t))},e.prototype._reportEventFailure=function(e,t){Ba.reportEventFailure(e,this._addControlNameToTelemetry(t))},e.prototype._setupFromInitQuery=function(e){var t,n=this._configuration.initQuery,r=n.columns,o=n.sortDetails,i=n.pagingDetails,a=n.filters,s=n.linkingDetails,l=n.grouping,u=n.aggregation;this._setColumns(r),this._sortingDetails=o;var c=i||{},p=c.pageSize,d=c.pageNumber,f=c.firstPageNumber,h=c.lastPageNumber;this._pagingDetails={pageSize:p||25,firstPageNumber:f||d||1,lastPageNumber:h||f||d||1,totalResultCount:-1,hasNextPage:!1,hasPreviousPage:!1},this._filteringDetails={filterExpression:a},this._linkingDetails.addRange(s),this._groupingDetails.addRange(l),this._aggregationDetails.addRange(u),this.getDataSet(),e&&e._state!==ns.Destroyed&&(this._updatedProperties=null!==(t=e._updatedProperties)&&void 0!==t?t:[],this._checkIfColumnsUpdatedAndAddToList(e._dataset.columns),this._checkIfSortingUpdatedAndAddToList(e._getSortingDetails()),this._checkIfFilteringUpdatedAndAddToList(e._filteringDetails.filterExpression),this._checkIfPagingUpdatedAndAddToList(e._pagingDetails),this._usageCounter=e._usageCounter,e._isReplaced=!0)},e.prototype.injectDummyRecord=function(e,t){return!this._records[e]&&(this._records[e]=t,this._sortedRecordIds.push(e),this.getDataSet(!0),!0)},e.prototype.removeDummyRecords=function(e){void 0===e&&(e="DUMMY0");var t=this._sortedRecordIds.indexOf(e);if(!(t<0)){for(var n=0,r=this._sortedRecordIds.splice(t);n<r.length;n++){var o=r[n];delete this._records[o]}this.getDataSet(!0)}},e.prototype._generateDataset=function(){var e,t,n,r,o,i,a,s=this,l=this._linkingDetails.asDataSetLinking();this._configuration.supportsNestedLinkedEntities&&(l=rs(rs({},l),{addLinkedEntity:function(e){var t,n,r,o=null!==(r=null===(n=(t=s._dataProvider).convertLinkEntityExpressionToDataSetLinkedEntityWrapper)||void 0===n?void 0:n.call(t,e))&&void 0!==r?r:e;s._linkingDetails.add(o)}}));var u=this._usageCounter.makeBuilder().withProperties({columns:JSON.parse(JSON.stringify(this._columns)),records:this._generateDataSetRecords(),sortedRecordIds:this._sortedRecordIds,error:this._error,loading:this._loading,errorMessage:this._errorMessage,errorCode:this._errorCode,sorting:this._getSortingDetails(!0),refresh:this.refresh,getSelectedRecordIds:this._getSelectedRecordIds,setSelectedRecordIds:this._setSelectedRecordIds,clearSelectedRecordIds:this._clearSelectedRecordIds,addColumn:this._addColumn,newRecord:this._newRecord,delete:this._delete,getDataSetCapabilities:this._getDataSetCapabilities,getTargetEntityType:this._getTargetEntityType,getTargetEntityDisplayName:this._getTargetEntityDisplayName,getRelatedDataSet:this._getRelatedDataSet,newDataSet:this._newDataSet,cloneDataSet:this._cloneDataSet,saveMultipleRecords:this._saveMultipleRecords,openDatasetItem:this._openDatasetItem,getCommands:this._getCommands,getViewId:function(){var e,t;return null===(t=null===(e=s._dataProvider)||void 0===e?void 0:e.getViewId)||void 0===t?void 0:t.call(e)},getTitle:function(){var e,t;return null===(t=null===(e=s._dataProvider)||void 0===e?void 0:e.getTitle)||void 0===t?void 0:t.call(e)}}).withNestedProperties("paging",{totalResultCount:null===(e=this._pagingDetails)||void 0===e?void 0:e.totalResultCount,firstPageNumber:null===(t=this._pagingDetails)||void 0===t?void 0:t.firstPageNumber,lastPageNumber:null===(n=this._pagingDetails)||void 0===n?void 0:n.lastPageNumber,pageSize:null===(r=this._pagingDetails)||void 0===r?void 0:r.pageSize,hasNextPage:null===(o=this._pagingDetails)||void 0===o?void 0:o.hasNextPage,hasPreviousPage:(null===(i=this._pagingDetails)||void 0===i?void 0:i.firstPageNumber)>1,loadExactPage:this._loadExactPage,loadNextPage:this._loadNextPage,loadPreviousPage:this._loadPreviousPage,setPageSize:this._setPageSize,reset:this._resetPaging,pageNumber:null===(a=this._pagingDetails)||void 0===a?void 0:a.firstPageNumber,loadPageRange:this._loadPageRange,getQueryCancellationToken:this._getQueryCancellationToken}).withNestedProperties("filtering",{setFilter:this._setFilter,getFilter:this._getFilter,clearFilter:this._clearFilter}).withNestedProperties("linking",l).withNestedProperties("grouping",this._groupingDetails.asDataSetGrouping()).withNestedProperties("aggregation",this._aggregationDetails.asDataSetAggregation()).withReceiver(this).build();return this._addDataProviderPrivateApisToDataSet(u),u},e.prototype._setColumns=function(e){var t;this._columns=e;var n=null==e?void 0:e.filter(function(e){var t=e.name,n=e.order;return t&&n>-1}).sort(function(e,t){return e.order-t.order});this._defaultSortingColumnName=null===(t=null==n?void 0:n[0])||void 0===t?void 0:t.name},e.prototype._getSortingDetails=function(e){var t;return(null===(t=this._sortingDetails)||void 0===t?void 0:t.length)?e?JSON.parse(JSON.stringify(this._sortingDetails)):this._sortingDetails:this._defaultSortingColumnName&&!this._configuration.preventDefaultSort?[{name:this._defaultSortingColumnName,sortDirection:0}]:[]},e.prototype._addDataProviderPrivateApisToDataSet=function(e){var t=this._dataProvider,n=e;return(null==t?void 0:t.privateApis)&&(n.privateApis={},Object.keys(t.privateApis).forEach(function(e){n.privateApis[e]=t.privateApis[e]})),n},e.prototype._commandsUpdated=function(){this._addUpdatedProperty(xa.Commands),this._updateDataSet()},e.prototype._initializeCommanding=function(e){var u=e.createCommandManager;return os(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l=this;return is(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),null!=u||(u=rn.Commanding.createCommandManager),u?(t={getEntityName:function(){return l._dataProvider.getEntityName()},getSelectedRecordIds:function(){return l._commandSelectionOnlySelection},getRecords:function(){return l._records},getRecordCount:function(){return l._pagingDetails.totalResultCount},refresh:function(){l.refresh()}},n={type:"HomePageGrid",provider:{getEntityName:function(){return l._dataProvider.getEntityName()},getSelectedRecordIds:function(){return l._getSelectedRecordIds()},getRecords:function(){return l._records},getRecordCount:function(){return l._pagingDetails.totalResultCount},refresh:function(){l.refresh()}},onExternalContextChange:this._commandsUpdated.bind(this)},r={type:"HomePageGrid",provider:t,onExternalContextChange:this._commandsUpdated.bind(this)},[4,Promise.all([u(n),u(r)])]):[2];case 1:return o=e.sent(),i=o[0],a=o[1],this._dataSetCommandManager=i,this._dataSetRecordCommandManager=a,[3,3];case 2:throw s=e.sent(),this._reportEventFailure("PCF_dataset_init_commanding",[{name:"message",value:s.message}]),s;case 3:return[2]}})})},e.prototype._getCommands=function(t,n){var r;return os(this,void 0,void 0,function(){return is(this,function(e){switch(e.label){case 0:if(void 0===this._commandingIntialization)throw new Error("Commanding is not initialized");return[4,this._commandingIntialization];case 1:return e.sent(),t?(this._commandSelectionOnlySelection=t,[2,this._dataSetRecordCommandManager.getCommands(n)]):[2,null===(r=this._dataSetCommandManager)||void 0===r?void 0:r.getCommands(n)]}})})},e.prototype._moveToState=function(e){switch(e.state){case ns.Available:e.uniqueId&&this._updateOnQueryId===e.uniqueId&&(this._loading=!1,this._error=!1,this._errorMessage="",this._errorCode=void 0,this.getDataSet().loading=!1);break;case ns.Busy:this._loading=!0,this._error=!1,this._errorMessage="",this._errorCode=void 0,this.getDataSet().loading=!0;break;case ns.Error:case ns.Destroyed:this._loading=!1,this._error=!0,this._errorMessage=e.message,this._errorCode=e.errorCode,this.getDataSet().error=!0,this.getDataSet().loading=!1,this.getDataSet().errorMessage=e.message,this.getDataSet().errorCode=e.errorCode}this._state=e.state},e.prototype._generateDataSetRecords=function(){var e={},t=this._usageCounter.makeBuilder();for(var n in this._records){var r=this._records[n];e[n]=this._generateDataSetRecordForDataSet(t,r)}return e},e.prototype._generateDataSetRecordForDataSet=function(e,t){return e.withProperties({getRecordId:t.getRecordId,getNamedReference:t.getNamedReference,getValue:t.getValue,getFormattedValue:t.getFormattedValue,getColumnInfo:t.getColumnInfo,setValue:t.setValue,isDirty:t.isDirty,isValid:t.isValid,save:t.save,getChanges:t.getChanges}).withReceiver(t),this._addOptionalRecordAPIs(e,t),e.build()},e.prototype._addOptionalRecordAPIs=function(t,i){var a=this,e=function(e){var r=e,o=as[r];t.withProperty(r,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i[r];return a._throwIfNotSupported(r,n&&!!a._getDataSetCapabilities()[o]),n.apply(i,e)})};for(var n in as)e(n)},e.prototype._runPreRefreshChecks=function(){if(this._ensureDataSetProviderAvailable("refresh"))if(this._state!==ns.Destroyed)this._moveToState({state:ns.Busy}),this._tryUpdateSorting(),this._tryUpdateColumns(),this._clearSelectedRecordIds(),this._updateOnQueryId=Math.random();else{this._reportEventFailure("PCF_dataset_refresh",[{name:"message",value:"Invoking function from a destroyed dataset"}])}},e.prototype._generateRefreshQuery=function(){var s=this,e=this._columns.filter(function(e){return!!e.name});if(this._configuration.supportsNestedLinkedEntities){for(var l=[],t=function(e){var a=function(t){var e,n,r,o;l.push(t.alias);var i=null!==(n=null===(e=null==t?void 0:t.getColumns)||void 0===e?void 0:e.call(t))&&void 0!==n?n:[];null==i||i.forEach(function(e){s._addColumn("".concat(t.alias,".").concat(e),"".concat(t.alias,".").concat(e))}),null===(o=null===(r=t.linking)||void 0===r?void 0:r.getLinkedEntities)||void 0===o||o.call(r).forEach(function(e){return a(e)})};a(e)},n=0,r=this._linkingDetails.get();n<r.length;n++){t(r[n])}e=cs(this._columns,l),this._additionalColumns=cs(this._additionalColumns,l)}return this._additionalColumns.forEach(function(t){e.find(function(e){return e.name===t.name&&e.alias===t.alias})||e.push({name:t.name,displayName:null,dataType:null,alias:t.alias,order:-1,visualSizeFactor:0})}),this._lastQueryColumns=e,{queryId:this._updateOnQueryId,columns:e,sortDetails:this._getSortingDetails(),pagingDetails:this.getPagingQueryDetails(),filters:this._getFilter(),linkingDetails:this._linkingDetails.get(),grouping:this._groupingDetails.get(),aggregation:this._aggregationDetails.get()}},e.prototype.refresh=function(e){var t,n=this;void 0===e&&(e=!0),this._runPreRefreshChecks();var r=this._generateRefreshQuery();null===(t=this._queryCancellationToken)||void 0===t||t.cancel(),this._queryCancellationToken=new ls;try{this._dataProvider.getRecords(r,e,this._queryCancellationToken).then(function(e){n._onGetRecordsSuccess(r.queryId,e,n._state!==ns.Destroyed)}).catch(function(e){n._onGetRecordsFailure(e,r,n._state!==ns.Destroyed)})}catch(e){this._onGetRecordsFailure(e,r,!0)}},e.prototype.refreshWithAwait=function(i){return void 0===i&&(i=!0),os(this,void 0,void 0,function(){var t,n,r,o;return is(this,function(e){switch(e.label){case 0:this._runPreRefreshChecks(),t=this._generateRefreshQuery(),e.label=1;case 1:e.trys.push([1,6,,7]),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,this._dataProvider.getRecords(t,i)];case 3:return n=e.sent(),this._onGetRecordsSuccess(t.queryId,n,this._state!==ns.Destroyed),[2,this._dataset];case 4:return r=e.sent(),this._onGetRecordsFailure(r,t,this._state!==ns.Destroyed),[3,5];case 5:return[3,7];case 6:return o=e.sent(),this._onGetRecordsFailure(o,t,!0),[3,7];case 7:return[2]}})})},e.prototype._onGetRecordsSuccess=function(e,t,n){n&&(this._processQueryResult(t),this._moveToState({uniqueId:t.queryId,state:ns.Available}),this._onDataSetUpdated(e),this._reportEventSuccess("PCF_dataset_refresh"))},e.prototype._onGetRecordsFailure=function(e,t,n){var r=e.message||e.errorMessage||"Unknown error while fetching records";n&&(this._moveToState({uniqueId:t.queryId,state:ns.Error,message:r,errorCode:e.errorCode}),this._onDataSetUpdated(t.queryId));var o=[{name:"message",value:r}];this._reportEventFailure("PCF_dataset_refresh",o)},e.prototype._onDataSetUpdated=function(e){e===this._updateOnQueryId&&(this._queryCancellationToken=void 0,this._updateDataSet())},e.prototype._updateDataSet=function(){var e,t;if(this._dataset=this._generateDataset(),null===(t=null===(e=this._configuration)||void 0===e?void 0:e.events)||void 0===t?void 0:t.dataSetUpdatedCallback){var n=Object.assign([],this._updatedProperties);this._reportEventSuccess("PCF_dataset_updatecallback_called"),this._configuration.events.dataSetUpdatedCallback(this._dataset,n)}this._updatedProperties=[]},e.prototype._processQueryResult=function(e){var t=this;this._addUpdatedProperty(xa.Records),this._records=e.records,this._sortedRecordIds=[];var n=new Map;e.sortedRecordIds.forEach(function(e){n.has(e)||(t._sortedRecordIds.push(e),n.set(e,!0))}),this._pagingDetails.hasNextPage=e.hasNextPage,this._pagingDetails.totalResultCount=e.totalRecordCount,void 0!==e.lastPageIndexLoaded&&(this._pagingDetails.lastPageNumber=e.lastPageIndexLoaded),this._configuration.supportsNestedLinkedEntities?this._tryUpdateColumns(this._lastQueryColumns):this._tryUpdateColumns()},e.prototype._setSelectedRecordIds=function(e){var t,n;this._ensureDataSetProviderAvailable("setSelectedRecordIds")&&this._isNewSelection(e)&&((null===(n=null===(t=this._configuration)||void 0===t?void 0:t.events)||void 0===n?void 0:n.setSelectedRecordIdsCallback)?this._configuration.events.setSelectedRecordIdsCallback(e):this._dataProvider.setSelectedRecordIds(e))},e.prototype._getSelectedRecordIds=function(){var e,t;return this._ensureDataSetProviderAvailable("getSelectedRecordIds")?(null===(t=null===(e=this._configuration)||void 0===e?void 0:e.events)||void 0===t?void 0:t.getSelectedRecordIdsCallback)?this._configuration.events.getSelectedRecordIdsCallback():this._dataProvider.getSelectedRecordIds():[]},e.prototype._clearSelectedRecordIds=function(){this._ensureDataSetProviderAvailable("clearSelectedRecordIds")&&this._isNewSelection()&&this._dataProvider.clearSelectedRecordIds()},e.prototype._isNewSelection=function(e){var t;return void 0===e&&(e=[]),!1===function(e,t){if(e.length===t.length){var n=Ua([],e,!0).sort(),r=Ua([],t,!0).sort();return n.every(function(e,t){return e===r[Number(t)]})}return!1}(null!==(t=this._getSelectedRecordIds())&&void 0!==t?t:[],e)},e.prototype._getTargetEntityType=function(){return this._ensureDataSetProviderAvailable("getTargetEntityType")?this._dataProvider.getEntityName():null},e.prototype._getTargetEntityDisplayName=function(){var e,t;return this._ensureDataSetProviderAvailable("getTargetEntityDisplayName")?null===(t=(e=this._dataProvider).getEntityDisplayName)||void 0===t?void 0:t.call(e):null},e.prototype._loadExactPage=function(e){this._loadPageRange(e,e,!0)},e.prototype._loadPreviousPage=function(e){var t=this._pagingDetails,n=t.firstPageNumber,r=t.lastPageNumber,o=n-1;e?this._loadPageRange(o,o,!0):this._loadPageRange(o,r)},e.prototype._loadNextPage=function(e){var t=this._pagingDetails,n=t.firstPageNumber,r=t.lastPageNumber+1;e?this._loadPageRange(r,r,!0):this._loadPageRange(n,r)},e.prototype._loadPageRange=function(e,t,n){var r;void 0===n&&(n=!1),(isNaN(e)||e<=0)&&(e=this._pagingDetails.firstPageNumber),(isNaN(t)||t<=0)&&(t=this._pagingDetails.lastPageNumber),e>t&&(e=(r=[t,e])[0],t=r[1]),this._pagingDetails.firstPageNumber=e,this._pagingDetails.lastPageNumber=t,this._addUpdatedProperty(xa.Page),this.refresh(n)},e.prototype._setPageSize=function(e){e>0&&(this._pagingDetails.pageSize=e)},e.prototype._setFilter=function(e){this._filteringDetails?this._filteringDetails.filterExpression=e:this._filteringDetails={filterExpression:e},this._addUpdatedProperty(xa.Filter)},e.prototype._getFilter=function(){var e;return null===(e=this._filteringDetails)||void 0===e?void 0:e.filterExpression},e.prototype._clearFilter=function(){this._setFilter(null)},e.prototype._getDataSetCapabilities=function(){return this._ensureDataSetProviderAvailable("getDataSetCapabilities")?this._dataProvider.getCapabilities():{isEditable:!1,isFilterable:!1,isSortable:!1,canPaginate:!1,canCreateNewRecords:!1,hasRecordNavigation:!1,hasCellImageInfo:!1}},e.prototype._saveMultipleRecords=function(t){return os(this,void 0,void 0,function(){return is(this,function(e){return this._throwIfNoDataProvider("saveMultipleRecords"),[2,this._dataProvider.saveMultipleRecords(t)]})})},e.prototype._addColumn=function(t,n){var e,r;void 0===n&&(n=null),this._configuration.supportsNestedLinkedEntities?t&&!this._additionalColumns.find(function(e){return e.alias===n&&e.name===t})&&(n&&(1===(null===(r=(e={name:t,alias:n}).alias)||void 0===r?void 0:r.split(".").length)&&e.name!==e.alias)?this._additionalColumns.push({alias:"".concat(n,".").concat(t),name:"".concat(n,".").concat(t)}):this._additionalColumns.push({alias:n||t,name:t})):t&&!this._additionalColumns.find(function(e){return e.alias===n&&e.name===t})&&this._additionalColumns.push({alias:n||t,name:t})},e.prototype._newRecord=function(){return os(this,void 0,void 0,function(){var t,n=this;return is(this,function(e){return this._throwIfNoDataProvider("newRecord"),t=this._columns.map(function(e){return e.name}),[2,this._dataProvider.newRecord(t).then(function(e){var t=n._generateDataSetRecordForDataSet(n._usageCounter.makeBuilder(),e);return n._reportEventSuccess("PCF_dataset_newrecord_created"),t})]})})},e.prototype._delete=function(n){return os(this,void 0,void 0,function(){var t;return is(this,function(e){switch(e.label){case 0:return this._throwIfNoDataProvider("delete"),[4,this._dataProvider.delete(n)];case 1:return t=e.sent(),this._setSelectedRecordIds(this._getSelectedRecordIds().filter(function(e){return-1===n.indexOf(e)})),[2,t]}})})},e.prototype._getRelatedDataSet=function(n,r,o){return os(this,void 0,void 0,function(){var t;return is(this,function(e){return this._ensureDataSetProviderAvailable("getRelatedDataSet")&&(t=this._columns.find(function(e){return e.name===n&&ss.indexOf(e.dataType)>-1}))?[2,this._dataProvider.getRelatedDataSet(t,r,o).then(function(e){return e})]:[2,null]})})},e.prototype._newDataSet=function(t,n){var r;return os(this,void 0,void 0,function(){return is(this,function(e){return this._throwIfNotSupported("newDataSet",null===(r=this._getDataSetCapabilities().dynamicDataSets)||void 0===r?void 0:r.canCreateDynamicDataSets),[2,this._dataProvider.newDataSet(t,n)]})})},e.prototype._cloneDataSet=function(n,r){var o;return os(this,void 0,void 0,function(){var t;return is(this,function(e){return this._throwIfNotSupported("cloneDataSet",null===(o=this._getDataSetCapabilities().dynamicDataSets)||void 0===o?void 0:o.canCreateDynamicDataSets),t=rs(rs({},this._generateRefreshQuery()),{queryId:Math.random(),viewId:this._dataProvider.getViewId()}),[2,this._newDataSet(n,r?rs(rs({},t),r):t)]})})},e.prototype._openDatasetItem=function(e){this._configuration.events.recordSelectedCallback(e)},e.prototype._ensureDataSetProviderAvailable=function(e){if(!this._dataProvider){var t=[{name:"message",value:"calling ".concat(e," without a data provider")}];return this._reportEventFailure("PCF_dataset_".concat(e),t),!1}return!0},e.prototype._throwIfNoDataProvider=function(e){if(!this._ensureDataSetProviderAvailable(e))throw{errorMessage:"Data source is not configured"}},e.prototype._throwIfNotSupported=function(e,t){if(this._throwIfNoDataProvider(e),!t)throw{errorMessage:"".concat(e," is not supported on this dataset")}},e.prototype.getPagingQueryDetails=function(){var e,t,n;return{pageNumber:this._pagingDetails.firstPageNumber,firstPageNumber:this._pagingDetails.firstPageNumber,lastPageNumber:this._pagingDetails.lastPageNumber,pageSize:this._pagingDetails.pageSize,retrieveTotalRecordCount:(null===(n=null===(t=null===(e=this._configuration)||void 0===e?void 0:e.initQuery)||void 0===t?void 0:t.pagingDetails)||void 0===n?void 0:n.retrieveTotalRecordCount)||!1}},e.prototype.getUpdatedProperties=function(){return this._updatedProperties},e.prototype._resetPaging=function(){this._pagingDetails.firstPageNumber=1,this._pagingDetails.lastPageNumber=1,this._loadExactPage(1)},e.prototype._tryUpdateColumns=function(e){this._configuration.supportsNestedLinkedEntities?this._checkIfColumnsUpdatedAndAddToList(0===(null==e?void 0:e.length)?void 0:e)&&this._setColumns(null!=e?e:this.getDataSet().columns):this._checkIfColumnsUpdatedAndAddToList()&&this._setColumns(this.getDataSet().columns)},e.prototype._checkIfColumnsUpdatedAndAddToList=function(e){return this._checkIfPropertyUpdatedAndAddToList(xa.Columns,this._columns,e||this._dataset.columns)},e.prototype._tryUpdateSorting=function(){this._checkIfSortingUpdatedAndAddToList()&&(this._sortingDetails=this.getDataSet().sorting)},e.prototype._checkIfSortingUpdatedAndAddToList=function(e){return this._checkIfPropertyUpdatedAndAddToList(xa.SortOrder,this._getSortingDetails(),e||this._dataset.sorting)},e.prototype._checkIfFilteringUpdatedAndAddToList=function(e){return this._checkIfPropertyUpdatedAndAddToList(xa.Filter,this._filteringDetails.filterExpression,e)},e.prototype._checkIfPagingUpdatedAndAddToList=function(e){var t=e.firstPageNumber,n=e.lastPageNumber,r=this._pagingDetails,o=r.firstPageNumber,i=r.lastPageNumber;return(o!==t||i!==n)&&(this._addUpdatedProperty(xa.Page),!0)},e.prototype._checkIfPropertyUpdatedAndAddToList=function(e,t,n){return JSON.stringify(t)!==JSON.stringify(n)&&(this._addUpdatedProperty(e),!0)},e.prototype._addUpdatedProperty=function(e){-1===this._updatedProperties.indexOf(e)&&this._updatedProperties.push(e)},e.prototype._getQueryCancellationToken=function(){return this._queryCancellationToken},e}();function cs(e,r){return e.filter(function(e){var t,n=null===(t=e.alias)||void 0===t?void 0:t.split(".");return!((null==n?void 0:n.length)>1)||-1!==r.indexOf(n[0])})}var ps,ds,fs,hs,ms,ys=function(){function e(){}return e.getDataSet=function(e,t){return new us(e,t).getDataSet()},e.createDataSetObjectWrapper=function(e,t,n){var r=new us(e,t,n);return null==n||n.destroy(),r},e}(),gs={"MscrmControls.AATabContent.AATabContent":null,"MscrmControls.CITabContent.CITabContent":null,"MscrmControls.TPTabContent.TPTabContent":null,"MscrmControls.WKWTabContent.WKWTabContent":null,"MscrmControls.OverviewTabContent.OverviewTabContent":null,"MscrmControls.RATabContent.RATabContent":null,"MscrmControls.ADCTabContent.ADCTabContent":null,"MscrmControls.EETabContent.EETabContent":null,"MscrmControls.NATabContent.NATabContent":null,"MscrmControls.UnifiedConfigCustomControl.UnifiedConfigCustomControl":null,"MscrmControls.UnifiedConfigWrapperControl.UnifiedConfigWrapperControl":null,"MscrmControls.PredictiveForecasting.PredictiveForecasting":null,"MscrmControls.AutoCaptureTabContent.AutoCaptureTabContent":null,"MscrmControls.Sales.Insights.LeadScoring.LeadScoringConfigControl":null,"MscrmControls.AcceleratedSales.SalesAccelerationSettingsControl":null,"SalesCadenceControls.CadenceMgmt.CadenceMgmtControl":null,"MscrmControls.Sales.AssistantStudioCustomControl.AssistantStudioCustomControl":null,"MscrmControls.Sales.AssistantStudioParentControl.TabControl":null,"MscrmControls.Sales.RankingTabControl.RankingTabControl":null,"MscrmControls.AppCommon.ContextualEmail.ContextualEmailControl":null};function vs(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}!function(e){e.Boolean="boolean",e.Unknown="unknown",e.Customer="customer",e.Date="date",e.DateTime="datetime",e.Decimal="decimal",e.Double="double",e.Image="image",e.Integer="integer",e.Lookup="lookup",e.ManagedProperty="managedproperty",e.Memo="memo",e.Money="money",e.Owner="owner",e.PartyList="partylist",e.PickList="picklist",e.State="state",e.Status="status",e.String="string",e.UniqueIdentifier="uniqueidentifier",e.CalendarRules="calendarrules",e.Virtual="virtual",e.BigInt="bigint",e.EntityName="entityname",e.EntityImage="entityimage",e.AliasedValue="aliasedvalue",e.Regarding="regarding",e.MultiSelectPickList="multiselectpicklist",e.File="file",e.NavigationProperty="navigationproperty",e.RichText="RichText"}(ps||(ps={})),function(e){e.emailDescriptionFormat="0",e.emailBodyFormat="1",e.richTextFormat="9"}(ds||(ds={})),function(e){e[e.None=0]="None",e[e.UserLocal=1]="UserLocal",e[e.DateOnly=2]="DateOnly",e[e.TimeZoneIndependent=3]="TimeZoneIndependent"}(fs||(fs={})),function(e){e[e.attribute=0]="attribute",e[e.organization=1]="organization",e[e.currency=2]="currency"}(hs||(hs={})),function(e){e.Layout="layout",e.FullScreenOpen="fullscreen_open",e.FullScreenClose="fullscreen_close",e.Parameters="parameters"}(ms||(ms={}));var bs=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};var Cs={name:"default",getRegisteredControl:function(e){for(var t=window,n=[],r=0,o=e.split(".");r<o.length;r++){var i=o[r];if(!(t=t[i]))break;n.push("{".concat(i,": ").concat(0!==Object.keys(t).length?Object.keys(t).toString():"empty","}"))}if(!t||"function"!=typeof t)return 0!==n.length?"Shape of ".concat(e,": ").concat(n.toString()):null;return t}};function _s(){var e,t=window;return(null===(e=null==t?void 0:t.ComponentFramework)||void 0===e?void 0:e.getRegisteredControl)?{name:"pcf",getRegisteredControl:function(e){return t.ComponentFramework.getRegisteredControl(e)}}:null}function Ss(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o];t+="\n".concat(o,": ").concat(i)}return t}var Ps=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),Is=function(){return(Is=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ws=["DocumentsSubGrid.StandardGridControlID","findSlotGridControl_id.FindSlotsGridControlId","entity_control.BusinessClosureGridControlID[RANDOM_GUID]","query_viewer_control.fieldControl.SegmentMembers.QueryViewerDialogHostGrid-[RANDOM_ID]","MembersControl.SegmentMembers.QueryViewerDialogHostGrid-[RANDOM_ID]","RelatedCustomerJourneys.RelatedEntitiesGrid[RANDOM_ID]","RelatedMarketingEmails.RelatedEntitiesGrid[RANDOM_ID]","RelatedSegments.RelatedEntitiesGrid[RANDOM_ID]","msdyncrm_entitydependencygrid_dialog.fieldControl.EntityDependencyGrid[RANDOM_ID]","MscrmControls.Grid.MacroSessionAssociatedGridControl.gridControl - dynResults[RANDOM_GUID]"],xs=ie.createContext({}),Es=function(n){return ie.createElement(l.RendererContext.Consumer,null,function(t){return ie.createElement(L.Consumer,null,function(e){return ie.createElement(xs.Provider,{value:{rendererContext:t,measuringHandlerContext:e}},n.children)})})},ks=function(i){function e(e,t){var r,n,o=i.call(this,e,t)||this;return o._internalStatus=0,o._outputChangedDebouncer=-1,o._manifestRequestedOnce=!1,o._dynamicDataRequestedOnce=!1,o._trackingDimensions=!1,o._subscriber=null,o._latestOutputs=null,o._ignoreSelfUpdates=!1,o._currentlyRendering=!1,o._skipControlUpdate=!1,o._internalState={},o._internalPendingUnsentUpdates=!1,o._outputChangedInternalInProgress=!1,o._updateInternalTracker=[],o._descendantInSeeMore=!1,o._constantHostData=null,o._attributesAffected=[],o._runningStopwatches=[],o._managedRef=(r={ref:o},{destroyRef:function(){return r.ref=null},applyRef:function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.ref&&n.apply(r.ref,e)}},getRef:n=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.ref&&n.apply(void 0,bs([r.ref],e,!1))}},getRefAsync:function(e){return new Promise(n(e))}}),o.state={_status:1},oa.setProps(e),o._updateInternalTracker=o._updateInternalTracker.concat(e.updatedProperties),o._parentId=Ze(e),o._memoHelper=new ia,o._seeMoreHelper=new Ia(e.descriptor?e.descriptor.DomId:null),o._errorData=new _a,o._customControlName=o.props.manifest?o.props.manifest.ConstructorName:o.props.configuration.CustomControlId,o._componentName=Ie+"."+o._customControlName,o._portal=ie.createRef(),o._logger=new Oa,o}return Ps(e,i),Object.defineProperty(e.prototype,"setLogger",{set:function(e){this._logger=e},enumerable:!1,configurable:!0}),e.prototype._setGlobalCommandManagerPromise=function(e){this._globalCommandManagerPromise=e},e.prototype._getGlobalCommandManagerPromise=function(){return this._globalCommandManagerPromise},e.prototype._getPopupService=function(){return this._popupService||(this._popupService=new fe(this)),this._popupService},e.prototype._initializeData=function(){this._internalStatus=1,this._propertyBag=this._createPropertyBag();var e=[],t=this._loadResources();if(t&&e.push(t),this._ensureParameterDynamicDataInitialization(this.props),("MscrmControls.Calendar.CalendarControl"===this.props.manifest.ConstructorName||"MscrmControls.Grid.GridControl"===this.props.manifest.ConstructorName||"MscrmControls.Grid.ReadOnlyGrid"===this.props.manifest.ConstructorName)&&(this._updateTrackResize(!0),(!this.props.parentDefinedControlProps||!this.props.parentDefinedControlProps.toggleDimensionListener)&&this._trackingDimensions)){var n=this._managedRef.getRefAsync;e.push(n(function(e,t){e._resolveWidth=t}))}this.props.actions.setXrmObject&&this._setXrmObject();var r=this._makeScheduleControlUpdate(function(e){5!==e._internalStatus&&(e._internalStatus=2,e._initializeControl())});if(0===e.length)r();else{var o=this._managedRef.getRef;Promise.all(e).then(r,o(function(e,t){e._logger.logFailureEvent(e.props,t||new Error("initialize data failed"),"CustomControlHostRoot._initializeData"),e._onControlLoadedError(),e._setErrorData("".concat("initialize data failed"," for control: ").concat(e.props.manifest.CustomControlId)),e.setState({_status:0})}))}},e.prototype._isVirtual=function(){return!this.props.manifest||this.props.manifest.IsVirtual},e.prototype._seeMoreCallback=function(e){var t=this._isVirtual();this._skipControlUpdate=e?t:!t,this._forceUpdate()},e.prototype._descendantSeeMoreUpdate=function(e){this._descendantInSeeMore=e,this._skipControlUpdate=!0,this._forceUpdate()},e.prototype._getDomIdDivStyleProperties=function(e){var t={width:"100%",maxWidth:this.props.parentDefinedControlProps&&!J(this.props.parentDefinedControlProps.width)&&this.props.parentDefinedControlProps.width>0?this.props.parentDefinedControlProps.width+"px":null,maxHeight:this.props.parentDefinedControlProps&&!J(this.props.parentDefinedControlProps.height)&&this.props.parentDefinedControlProps.height>0?this.props.parentDefinedControlProps.height+"px":null};return e&&!e.Visible&&(t.display="none"),t},e.prototype._createPropertyBag=function(){var e=this._managedRef.applyRef,t={getPopupService:e(Ts._getPopupService),forceUpdate:this._makeScheduleControlUpdate(function(e,t){return e._forceUpdate(t)}),renderVirtualComponent:rn.PCF.forkPCFTree?void 0:e(Ts._renderVirtualComponent),bindDOMElement:e(Ts._bindDOMElement),unbindDOMComponent:e(Ts._unbindDOMComponent),updateComponent:function(){},setGlobalCommandManagerPromise:e(Ts._setGlobalCommandManagerPromise),getGlobalCommandManagerPromise:e(Ts._getGlobalCommandManagerPromise),xrmProxy:F};return new kn(this.props,t)},e.prototype._makeScheduleControlUpdate=function(n){var e=this._managedRef.getRef;return function(t){return Se.scheduleControlUpdate(e(function(e){return n(e,t)}))}},e.prototype._updateSelfUpdateIgnore=function(e){this._ignoreSelfUpdates=e},e.prototype._updateTrackResize=function(e){if(5!==this._internalStatus&&this._trackingDimensions!==e)if(this._trackingDimensions=e,this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.toggleDimensionListener)this.props.parentDefinedControlProps.toggleDimensionListener(this._trackingDimensions);else if(this._trackingDimensions){if(null===this._subscriber){var t=this._managedRef,n=t.getRef,r=t.applyRef;this._subscriber={getComponent:r(Ts._getComponent),onMeasure:r(Ts._updateDimensions),getContext:n(function(e){return e.context})}}M.getInstance().addMeasuringSubscribers(this._subscriber),M.getInstance().scheduleMeasuringUpdate()}else this._subscriber&&M.getInstance().removeMeasuringSubscribers(this._subscriber),this._forceUpdate()},e.prototype._loadManifest=function(){return this.props.manifest||this._manifestRequestedOnce?Promise.resolve(null):this.props.actions.loadManifest?(this._manifestRequestedOnce=!0,(0,this._managedRef.getRefAsync)(function(e,t,n){e.props.actions.loadManifest(e.props.configuration.CustomControlId,e.props.configuration.Name).then(t,n)}).then(function(){return null})):(F.Diagnostics.traceWarning(this._componentName+"._loadManifest","Manifest not found for control with id "+this.props.controlId),Promise.reject("Manifest not found for control with id "+this.props.controlId))},e.prototype._loadResources=function(){return this.props.actions.loadResources(this.props.manifest)},e.prototype._setXrmObject=function(){return this.props.actions.setXrmObject(F)},e.prototype._renderVirtualComponent=function(e){try{return Xi.renderVirtualComponent(e,this.props,this._generateHostData(),this._memoHelper,!1)}catch(e){var t="Error during _renderVirtualComponent, internalStatus: "+this._internalStatus;throw this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot._renderVirtualComponent",t),e}},e.prototype._bindDOMElement=function(e,t){if(5!==this._internalStatus)try{if(rn.PCF.forkPCFTree&&Xi.isComplexComponent(e)){var n=Xi.generateComplexControlProps(e,this.props,this._generateHostData(),null,0),r=n.props,o=n.dataSetHostProps;rn.PCF.renderChildControl(r.controlId,r,t,r.controlId,o)}else{var i=Xi.renderVirtualComponent(e,this.props,this._generateHostData(),this._memoHelper,!1),a=e.getComponentId();if(null==this._childElements&&(this._childElements={}),0===Object.keys(this._childElements).length)for(;t.firstChild;)t.removeChild(t.firstChild);var s=this._managedRef.getRef;this._portal.current.bindDOMElement(i,t,a,s(function(e){e._childElements[a]=t}))}}catch(e){var l="Error during _bindDOMElement, internalStatus: "+this._internalStatus;throw this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot._bindDOMElement",l),e}else F.Diagnostics.traceWarning(this._componentName+".CustomControlHostRoot._bindDOMElement","_bindDOMElement is called after component unmounted")},e.prototype._getForceUpdateViaRef=function(){return(0,this._managedRef.applyRef)(Ts._forceUpdate)},e.prototype._forceUpdate=function(t){if(!this._currentlyRendering){var e=this.props.propBagData.utilsData.scheduleRender;if(e)e((0,this._managedRef.getRef)(function(e){return e.forceUpdate(t)}));else this.forceUpdate(t)}},e.prototype._unbindDOMComponent=function(t){if(null!=this._childElements&&null!=this._childElements[t]){var e=this._managedRef.getRef;this._portal.current.unbindDOMComponent(t,e(function(e){delete e._childElements[t]})),this.props.actions.clearNestedChild(t)}return!0},e.prototype._clearAllDOMComponents=function(){var e=!0;for(var t in this._childElements)e=e&&this._unbindDOMComponent(t);return e},e.prototype._ensureParameterDynamicDataInitialization=function(e){if(!this._dynamicDataRequestedOnce){if(this._dynamicDataRequestedOnce=!0,function(e){if(e&&e.Properties&&e.Properties.DataSetDefinitions){var t=e.Properties.DataSetDefinitions;for(var n in t)if(e.Properties.DataSetDefinitions[n]&&e.Properties.DataSetDefinitions[n].Primary){for(var r=!1,o=0,i=e.Properties.Properties;o<i.length;o++){if(0===i[o].Usage){r=!0;break}}return!r}}return!1}(this.props.manifest)){var t=this.props.controlId;this.props.actions.createXrmGrid(this.props.contextToken,this.props.id,this.props.configuration.Parameters,t,this.props.configuration.CustomControlId)||this._logger.logFailureEvent(this.props,new Error("Error creating the Xrm grid object"),"CustomControlHostRoot.init")}if(!e.dynamicData){return this._logger.logFailureEvent(e,new Error("Ensure parameter dynamic data initialization failed"),"CustomControlHostRoot._ensureParameterDynamicDataInitialization"),this._onControlLoadedError(),this._setErrorData("".concat("Ensure parameter dynamic data initialization failed"," for control: ").concat(e.manifest.CustomControlId)),void this.setState({_status:0})}for(var n in e.dynamicData.parameters){var r=e.dynamicData.parameters[n];if(r&&r.getParameterManifestType){var o=r.getParameterManifestType();this._commandingWrapper||o!==Pe.Grid&&o!==Pe.TimelineWall||(this._commandingWrapper=new ot(e))}if(r&&r.ensureDataInitialization){var i=r;(o=i.getParameterManifestType())===Pe.Grid?(this._commandingWrapper.addDataSetWrapper(i),(null==(a=r)?void 0:a.setCommandingWrapper)&&r.setCommandingWrapper(this._commandingWrapper),i.ensureDataInitialization({retrieveAction:e.actions.retrieveGridData,retrieveViewAction:e.actions.retrieveView,retrieveViewSelectorAction:e.actions.retrieveViewSelector,refreshDataSetParameter:e.actions.refreshDataSetParameter,retrieveLookupMetadataAction:e.actions.retrieveLookupMetadataAction,retrieveDataSetLookupCellParameter:e.actions.retrieveDataSetLookupCellParameter,executeAddOnLoad:e.actions.executeAddOnLoad,updateFieldValue:e.actions.updateFieldValue,saveEmbeddedEntity:e.actions.saveEmbeddedEntity,executeNotifyHandlersThatEventOccurred:e.actions.executeNotifyHandlersThatEventOccurred,addSessionTab:e.actions.addSessionTab,closeSessionTab:e.actions.closeSessionTab,updateSessionTab:e.actions.updateSessionTab,closeAllSessionTabs:e.actions.closeAllSessionTabs,dismissMessage:e.actions.dismissMessage,markActiveTab:e.actions.markActiveTab,initializeReferencePanelControl:e.actions.initializeReferencePanelControl,cleanReferencePanelState:e.actions.cleanReferencePanelState,openDatasetItem:null,retrieveEntityData:e.actions.retrieveEntityData,retrieveForm:e.actions.retrieveForm,retrieveRecordForForm:e.actions.retrieveRecordDataForForm,forceUpdate:this._getForceUpdateViaRef(),updateControlMemoizedDataSet:e.actions.updateControlMemoizedDataSet,loadWebResource:e.actions.loadWebResource,retrieveLookupRecordsBySearchString:e.actions.retrieveLookupRecordsBySearchString,retrieveLookupRecordsByIds:e.actions.retrieveLookupRecordsByIds,updateGridPageNumber:e.actions.updateGridPageNumber,retrievePersonaInfo:e.actions.retrievePersonaInfo,usePresenceStatus:e.actions.usePresenceStatus,useProfilePhoto:e.actions.useProfilePhoto})):o!==Pe.QuickForm&&o!==Pe.MainForm||i.ensureDataInitialization({retrieveAction:e.actions.retrieveGridData,retrieveViewAction:e.actions.retrieveView,retrieveViewSelectorAction:e.actions.retrieveViewSelector,refreshDataSetParameter:e.actions.refreshDataSetParameter,retrieveLookupMetadataAction:e.actions.retrieveLookupMetadataAction,retrieveDataSetLookupCellParameter:e.actions.retrieveDataSetLookupCellParameter,executeAddOnLoad:e.actions.executeAddOnLoad,updateFieldValue:e.actions.updateFieldValue,saveEmbeddedEntity:e.actions.saveEmbeddedEntity,executeNotifyHandlersThatEventOccurred:e.actions.executeNotifyHandlersThatEventOccurred,addSessionTab:e.actions.addSessionTab,closeSessionTab:e.actions.closeSessionTab,updateSessionTab:e.actions.updateSessionTab,closeAllSessionTabs:e.actions.closeAllSessionTabs,dismissMessage:e.actions.dismissMessage,markActiveTab:e.actions.markActiveTab,initializeReferencePanelControl:e.actions.initializeReferencePanelControl,cleanReferencePanelState:e.actions.cleanReferencePanelState,openDatasetItem:null,retrieveEntityData:e.actions.retrieveEntityData,retrieveForm:e.actions.retrieveForm,retrieveRecordForForm:e.actions.retrieveRecordDataForForm,forceUpdate:this._getForceUpdateViaRef(),updateControlMemoizedDataSet:e.actions.updateControlMemoizedDataSet,loadWebResource:e.actions.loadWebResource})}if(r&&r.ensureLookupMetaDataInitialization){if(!(this.props.descriptor.Parameters&&this.props.descriptor.Parameters.delayMetadataInitialization))r.ensureLookupMetaDataInitialization({retrieveLookupMetadataAction:e.actions.retrieveLookupMetadataAction,refreshDataSetParameter:e.actions.refreshDataSetParameter,retrieveViewAction:e.actions.retrieveView})}if(r&&r.ensureTimelinewallCommandsInitialization)(o=r.getParameterManifestType())===Pe.TimelineWall&&r.ensureTimelinewallCommandsInitialization(e);r&&r.setControlReRender&&r.setControlReRender(this._getForceUpdateViaRef())}var a}},e.prototype._initDataSetObjectWrapper=function(){if(this.props.datasetProviders)for(var e in this.props.datasetProviders){var t=this._memoizedDataSetConfigurations[e],n=this._memoizedDataProviders[e];t===this.props.datasetConfiguration[e]&&n===this.props.datasetProviders[e]||(this._datasetObjectWrappers[e]=ys.createDataSetObjectWrapper(this.props.datasetProviders[e],this.props.datasetConfiguration[e]),this._memoizedDataSetConfigurations[e]=this.props.datasetConfiguration[e],this._datasetObjectWrappers[e].setControlReRender(this._getForceUpdateViaRef()))}},e.prototype._schedulePlatformActions=function(){var e,t;if((null===(t=null===(e=this.props.manifest)||void 0===e?void 0:e.Properties)||void 0===t?void 0:t.PlatformAction)&&this.props.manifest.Properties.PlatformAction.find(function(e){return 0===e.ActionType})&&this.props.actions.addOnFullLoad){var n=this._managedRef.applyRef;this.props.actions.addOnFullLoad(n(this._executeAfterPageLoadActionIfNotDestroyed),"CustomControl addOnFullLoad")}},e.prototype._executeAfterPageLoadActionIfNotDestroyed=function(){var e,t,n=null===(t=(e=this._controlInstance).getActions)||void 0===t?void 0:t.call(e);5!==this._internalStatus&&(null==n?void 0:n.afterPageLoad)&&n.afterPageLoad()},e.prototype._measureLifecycleMethod=function(e,t){var n=Se.startLifecycleStopwatch(e,this.props.controlId,this.props.manifest.CustomControlId,this.props.id);this._runningStopwatches.push(n),t(this),n();var r=this._runningStopwatches.indexOf(n);r>-1&&this._runningStopwatches.splice(r,1)},e.prototype._destroyStopwatches=function(e){for(var t=0,n=this._runningStopwatches;t<n.length;t++){(0,n[t])({exception:(null==e?void 0:e.message)||"UnexpectedError"})}this._runningStopwatches=[]},e.prototype._initializeControl=function(){var e,t;if(this._ensureParameterDynamicDataInitialization(this.props),(null===(e=this.props.dynamicData)||void 0===e?void 0:e.dataReady)&&3!==this._internalStatus&&this.props.propBagData.resourcesData.stringsLoaded){var n,r,o;this._internalStatus=3;try{this._measureLifecycleMethod("constructor",function(e){return e._controlInstance=function(e,t,n,r){for(var o={},i=0,a=[t,_s(),Cs];i<a.length;i++){var s=a[i];if(s){var l=s.getRegisteredControl(e);if("function"==typeof l)return Ba.reportEventSuccess("PCF_create_control_instance",[{name:"controlName",value:e},{name:"controlVersion",value:n},{name:"solutionVersion",value:r},{name:"message",value:"Factory used: ".concat(s.name).concat(Object.keys(o).length?"\nOthers checked:".concat(Ss(o)):"")}]),new l;o[s.name]="string"==typeof l?l:"Not found"}}var u="Could not find/invoke ".concat(e,"'s constructor.").concat(Ss(o));throw Ba.reportEventFailure("PCF_create_control_instance",[{name:"controlName",value:e},{name:"controlVersion",value:n},{name:"solutionVersion",value:r},{name:"message",value:u}]),new Error(u)}(e.props.manifest.ConstructorName,e.props.controlFactory,e.props.manifest.Version,e.props.manifest.SolutionVersion)}),n=this._generateBag();var i=this._isVirtual();if(r="Error creating the Xrm form object",o="The first inner catch block",function(e){if(e&&e.Parameters)for(var t in e.Parameters)if(e.Parameters[t]&&e.Parameters[t].Type===Pe.QuickForm)return!0;return!1}(this.props.configuration)||function(e){if(e&&e.Parameters)for(var t in e.Parameters)if(e.Parameters[t]&&e.Parameters[t].Type===Pe.MainForm)return!0;return!1}(this.props.configuration)){var a=tt(this.props),s=a.entityTypeName,l=a.recordId;l||(l=this.props.propBagData.modeData?this.props.propBagData.modeData.entityId:null),l&&!this.props.actions.createXrmForm(this.props.contextToken,this.props.id,s,l)&&this._logger.logFailureEvent(this.props,new Error(r),"CustomControlHostRoot.init")}r=null,o=null,this._shouldHandleDependencyUpdate()&&(this._propertyDependencyManager=new Fa(this.props),this._getOutputSchemaAction=this._controlInstance.getOutputSchema.bind(this._controlInstance),this._propertyDependencyManager.handleDependencyUpdate(this.props,this._getOutputSchemaAction,n));var u=(0,this._managedRef.applyRef)(Ts._onOutputChanged);if(i){this._executeAnyOnLoadEventsWhenNeeded();var c=this.props.personalizationState;(null===(t=this.props.manifest.Children)||void 0===t?void 0:t.length)&&this._memoHelper.setIsCompositing(!0),o="The second inner catch block",this._measureLifecycleMethod("init",function(e){e._controlInstance.init(n,u,c),e._schedulePlatformActions()}),o=null}else{this._executeAnyOnLoadEventsWhenNeeded();var p=this._rootElement;if(!p)return;p.setAttribute("data-id",this.props.controlId+"_container");var d=this.props.personalizationState;o="The third inner catch block",this._measureLifecycleMethod("init",function(e){e._controlInstance.init(n,u,d,p),e._schedulePlatformActions()}),o=null}var f=this._propertyBag.getAccessibilityData();if(f&&f.keyboardShortcuts&&f.keyboardShortcuts.length>0){var h={id:this.props.controlId,keyboardShortcuts:f.keyboardShortcuts};this._accessibilityComponent=this.props.actions.createAccessibilityComponent(h)}else this._accessibilityComponent=null;this._internalStatus=4,i?this.forceUpdate():this._updateControl()}catch(e){o&&this._logger.logFailureEvent(this.props,r?new Error(r):e,"CustomControlHostRoot.init",o),this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.init","The outer catch block"),this._onControlLoadedError(e);var m="Error occured during initialization of control: "+this.props.manifest.CustomControlId+";Message: "+e.message;this._setErrorData(m,e.stack),this.setState({_status:0}),this._destroyStopwatches(e)}}},e.prototype._updateControl=function(){if(this._skipControlUpdate)this._skipControlUpdate=!1;else if(!this._isVirtual()){var e,t=Se.trackWork(this._componentName+".updateControl"),n=void 0,r=void 0;try{var o=this._controlInstance;e=this._generateBag(),this._executeAnyOnLoadEventsWhenNeeded(),this._currentlyRendering=!0,n="instance.updateView failure",r="CustomControlHostRoot.updateView",(void 0===this.props.shouldRender||this.props.shouldRender)&&(this._shouldHandleDependencyUpdate()&&(this._propertyDependencyManager||(this._propertyDependencyManager=new Fa(this.props)),this._propertyDependencyManager.handleDependencyUpdate(this.props,this._getOutputSchemaAction,e)),this._measureLifecycleMethod("updateView",function(){return o.updateView(e)}),this._hasUpdateViewBeenCalled=!0),this._currentlyRendering=!1}catch(e){this._currentlyRendering=!1,this._logger.logFailureEvent(this.props,e,r||"CustomControlHostRoot.init",n||"Probably failed to generateBag",n?void 0:"ControlFramework"),this._destroyStopwatches(e)}t()}},e.prototype._executeAnyOnLoadEventsWhenNeeded=function(){if(this.props.dynamicData&&this.props.dynamicData.parameters)for(var e in this.props.dynamicData.parameters)if(this.props.dynamicData.parameters[e]&&this.props.dynamicData.parameters[e]){var t=this.props.dynamicData.parameters[e],n=t;n&&n.getParameterManifestType&&n.getUpdateFlag&&n.getParameterManifestType()===Pe.Grid&&n.getUpdateFlag()&&this.props.actions.executeAddOnLoad(t,this.props.contextToken)}},e.prototype._disposeControl=function(){var e;try{if(this._clearAllDOMComponents(),e="Custom control failed to destroy",this._internalWorkPromiseResolve&&!this._outputChangedInternalInProgress&&this._onOutputChangedInternal(),this._measureLifecycleMethod("destroy",function(e){return e._controlInstance.destroy()}),Fs("ClearControlInstanceProperties"))for(var t in this._controlInstance)this._controlInstance.hasOwnProperty(t)&&(this._controlInstance[t]=void 0)}catch(t){this._logger.logFailureEvent(this.props,t,"CustomControlHostRoot._disposeControl",e||"Probably failed to clearAllDOMComponents",e?void 0:"ControlFramework"),this._destroyStopwatches(t)}},e.prototype._onControlLoadedError=function(e){void 0===e&&(e=null),this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.onControlLoadedError&&this.props.parentDefinedControlProps.onControlLoadedError(e)},e.prototype._onOutputChanged=function(e){if(void 0===e&&(e=!1),-1===this._outputChangedDebouncer||e||window.clearTimeout(this._outputChangedDebouncer),5!==this._internalStatus)if(!this._internalPendingUnsentUpdates||e){var t=this._managedRef,n=t.applyRef,r=t.getRefAsync,o=n(Ts._onOutputChangedInternal);this.props.actions.registerOngoingWork&&!this._internalWorkPromiseResolve&&this.props.actions.registerOngoingWork(r(function(e,t){e._internalWorkPromiseResolve=t}),e?o:null,this.props.id,this._attributesAffected),e?this._internalPendingUnsentUpdates=!0:this._outputChangedDebouncer=window.setTimeout(o,100)}else this._onOutputChangedInternal();else this._logger.logUsageOutputChanged(this.props)},e.prototype._onOutputChangedInternal=function(){var a,s,l,e,u;this._outputChangedDebouncer=-1,this._outputChangedInternalInProgress=!0;try{if(5!==this._internalStatus){var c;this._measureLifecycleMethod("getOutputs",function(e){return c=e._controlInstance.getOutputs()}),this._latestOutputs=c;var p={},t=function(t){!(u=d.props.manifest.Properties.Properties[t])&&d.props.manifest.Properties.Properties instanceof Array&&(u=d.props.manifest.Properties.Properties.find(function(e){return e.Name===t}));var e=null===(s=null===(a=d.props.dynamicData)||void 0===a?void 0:a.parameters)||void 0===s?void 0:s[t];if(u&&e){var n=d.props.configuration.Parameters[t],r=void 0;r=e.getLatestData?e.getLatestData():e;var o={value:c[t],type:u.Usage,paramType:r.type};if(0===u.Usage&&3===(null==n?void 0:n.Usage)){var i=n;r.type===Pe.LookupSimple||r.type===Pe.LookupCustomer||r.type===Pe.LookupOwner||r.type===Pe.LookupPartyList||r.type===Pe.LookupRegarding?i.Callback(d._convertValueToSdkFormat(o)):i.Callback(c[t])}else if(0===u.Usage||2===u.Usage){if(r.attributes&&r.attributes.LogicalName&&(o.fieldName=r.attributes.LogicalName),r.type!==Pe.LookupSimple&&r.type!==Pe.LookupCustomer&&r.type!==Pe.LookupOwner&&r.type!==Pe.LookupPartyList&&r.type!==Pe.LookupRegarding||(o.value=d._convertValueToSdkFormat(o)),p[t]=o,n&&2===u.Usage)null===(l=(i=n).Callback)||void 0===l||l.call(i,o.value)}}},d=this;for(var n in c)t(n);var r=this.props.formInfo?this.props.formInfo.EntityName:null,o=this.props.formInfo?this.props.formInfo.RecordId:null,i=this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.closestParentWithContext;e=this.props.actions.updateOutputs(this.props.id,r,o,this.props.controlId,i,p,this.props.contextToken)}}catch(a){this._logger.logFailureEvent(this.props,a,"CustomControlHostRoot.updateOutputs","The outer catch block"),this._destroyStopwatches(a)}finally{if(this._outputChangedInternalInProgress=!1,this._internalWorkPromiseResolve){var f=(0,this._managedRef.getRef)(function(e){e._internalWorkPromiseResolve=null,e._internalPendingUnsentUpdates=!1}),h=this._internalWorkPromiseResolve,m=function(){h(!0),f()};e?e.then(m,m):m()}}},e.prototype._convertValueToSdkFormat=function(e){var t=[];if(J(e)||J(e.value))return t;if(Array.isArray(e.value))for(var n=0,r=e.value;n<r.length;n++){var o=r[n];t.push(new Ta(o.entityName||o.entityType,o.id,o.name))}else t.push(new Ta(e.value.entityName||e.value.entityType,e.value.id,e.value.name));return t},e.prototype._getAllocatedHeight=function(){return this._seeMoreHelper.shouldGivePoppedOutDimensions(this._isVirtual())?this._seeMoreHelper.getSeeMorePopupInfo().endHeightInner:this.props.parentDefinedControlProps&&!J(this.props.parentDefinedControlProps.height)?this.props.parentDefinedControlProps.height:J(this._internalState._latestHeight)?-1:this._internalState._latestHeight},e.prototype._getAllocatedWidth=function(){return this._seeMoreHelper.shouldGivePoppedOutDimensions(this._isVirtual())?this._seeMoreHelper.getSeeMorePopupInfo().endWidthInner:this.props.parentDefinedControlProps&&!J(this.props.parentDefinedControlProps.width)?this.props.parentDefinedControlProps.width:J(this._internalState._latestWidth)?-1:this._internalState._latestWidth},e.prototype._usesMeasuredWidth=function(){var e;return!this._seeMoreHelper.shouldGivePoppedOutDimensions(this._isVirtual())&&J(null===(e=this.props.parentDefinedControlProps)||void 0===e?void 0:e.width)&&!J(this._internalState._latestWidth)},e.prototype._generateHostDataForPropertyBag=function(){var e=this._generateHostData();return e.updatedProperties!==this._updateInternalTracker&&(e.updatedProperties=this._updateInternalTracker,this._updateInternalTracker.length>0&&(this._updateInternalTracker=[])),e},e.prototype._generateBag=function(){var e=this._updateInternalTracker.length,t=this._propertyBag.generateBag(this.props,this._generateHostDataForPropertyBag());if(this._datasetObjectWrappers)for(var n in this._datasetObjectWrappers){var r=this._datasetObjectWrappers[n].getDataSet();this._memoizedDataSet[n]!==r&&(this._memoizedDataSetPropertyParameters[n]=Is(Is({},t.parameters[n]),r),this._memoizedDataSet[n]=r),t.parameters[n]=this._memoizedDataSetPropertyParameters[n]}return this._updateInternalTracker.length!==e&&(this._updateInternalTracker=[]),t},e.prototype._seeMorePopup=function(e,t){var n,r,o=!1;switch(t&&("boolean"==typeof t?o=t:(o=!!t.autosize,this._seeMoreData=t)),null===(r=(n=this.props.actions).updateSeeMoreStatus)||void 0===r||r.call(n,this.props.id,e),this._seeMoreHelper.getSeeMorePopupStatus()){case ra.NotInUse:if(!e)return;this._updateInternalTracker.push(ms.FullScreenOpen);break;case ra.PoppedOut:if(e)return;this._updateInternalTracker.push(ms.FullScreenClose)}this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.alertParentInSeeMore&&this.props.parentDefinedControlProps.alertParentInSeeMore(e);var i=this.props.propBagData&&this.props.propBagData.clientData?this.props.propBagData.clientData.isRTL:null,a=this._managedRef.applyRef;this._seeMoreHelper.seeMorePopup(this._getComponent(),a(Ts._seeMoreCallback),e,o,i,this.props.zIndexOverride,this.props.rootBodyElement)},e.prototype._generateHostData=function(){if(!this._constantHostData){var e=this._managedRef.applyRef;this._constantHostData={allocatedHeight:-1,allocatedWidth:-1,trackResize:e(Ts._updateTrackResize),updateFullscreen:e(Ts._seeMorePopup),ignoreUpdates:e(Ts._updateSelfUpdateIgnore),updatedProperties:[],isInSeeMoreMode:!1,isInTopMostSeeMore:!1,updateDescendantSeeMore:e(Ts._descendantSeeMoreUpdate)}}return this._constantHostData.isInSeeMoreMode=this._seeMoreHelper.getSeeMorePopupStatus()!==ra.NotInUse||this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.parentInSeeMoreMode,this._constantHostData.isInTopMostSeeMore=this._constantHostData.isInSeeMoreMode&&!this._descendantInSeeMore,this._trackingDimensions?Is(Is({},this._constantHostData),{allocatedHeight:this._getAllocatedHeight(),allocatedWidth:this._getAllocatedWidth()}):this._constantHostData},e.prototype._getComponent=function(){return this._rootElement?this._rootElement:5===this._internalStatus?null:I.findDOMNode(this)},e.prototype._updateDimensions=function(e){this.props.inactive||this._trackingDimensions&&e!==this._internalState._latestWidth&&(this._internalState=Object.assign(this._internalState,{_latestWidth:e}),this._resolveWidth&&(this._resolveWidth(),this._resolveWidth=null),Fs("SkipUnusedMeasuringUpdates")&&!this._usesMeasuredWidth()||(this._updateInternalTracker.push(ms.Layout),this._forceUpdate()))},e.prototype.componentWillUnmount=function(){var t;try{t=Se.createPerformanceEvent("CustomControlHostRoot.componentWillUnmount",this.props.logLevel).startStopwatch({controlId:this.props.controlId,manifestControlName:this.props.manifest&&this.props.manifest.CustomControlId,parentId:this._parentId,level:2..toString()}),this._commandingWrapper&&this._commandingWrapper.unmount(),4===this._internalStatus&&this._disposeControl(),this._subscriber&&M.getInstance().removeMeasuringSubscribers(this._subscriber),this._memoHelper&&this._memoHelper.destroy(),this._seeMoreHelper&&this._seeMoreHelper.destroy(),this._disposeParameters(),this._managedRef.destroyRef(),this._internalStatus=5,t()}catch(e){throw this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.componentWillUnmount",null,"ControlFramework"),null==t||t({exception:(null==e?void 0:e.message)||"UnexpectedError"}),e}},e.prototype._disposeParameters=function(){var e,t;if(null===(e=this.props.dynamicData)||void 0===e?void 0:e.parameters)for(var n in this.props.dynamicData.parameters){var r=this.props.dynamicData.parameters[n];(null==(t=r)?void 0:t.destroy)&&r.destroy()}},e.prototype.componentDidMount=function(){var e,t,n,r;try{if(r=Se.createPerformanceEvent("CustomControlHostRoot.componentDidMount",this.props.logLevel).startStopwatch({controlId:this.props.controlId,manifestControlName:this.props.manifest&&this.props.manifest.CustomControlId,parentId:this._parentId,level:2..toString()}),this.props.stateToPropsMappingError||this._manifestRetrieveFailed||0===this.state._status){if(0!==this.state._status){var o=new Error("Error while mapping state to props during ComponentDidMount for control: "+this.props.controlId+(this.props.stateToPropsMappingErrorMessage?". Error message:"+this.props.stateToPropsMappingErrorMessage:"."));this._logger.logFailureEvent(this.props,o,"CustomControlHostRoot.componentDidMount"),this._onControlLoadedError(),this._setErrorData("Error while mapping state to props during ComponentDidMount for control: "+this.props.controlId),this.setState({_status:0})}return}this._populateAttributesAffected();var i=this.props.configuration.CustomControlId;if(this._shouldUpdateManifest(i,this.props.controlId,this.props.configuration.Name))return void Ae(i,Oe[i].newControlName(null===(t=null===(e=this.props.propBagData)||void 0===e?void 0:e.clientData)||void 0===t?void 0:t.orgSettingsData,null===(n=this.props.actions)||void 0===n?void 0:n.appSettings));if(!this.props.manifest){if(!this._manifestRequestedOnce){var a=this._managedRef.getRef;this._loadManifest().catch(a(function(e,t){if(Fe.hasOwnProperty(i))return e._manifestRequestedOnce=!1,void Ae(i,Fe[i]);e._onControlLoadedError(t),e._manifestRetrieveFailed=!0,e._logger.logFailureEvent(e.props,t,"CustomControlHostRoot.componentDidMount","Error while retrieving manifest during ComponentDidMount for control:"+e.props.controlId),e._setErrorData("Error while retrieving manifest during ComponentDidMount for control: "+e.props.controlId),e.setState({_status:0})}))}return}switch(this._internalStatus){case 0:this._initializeData();break;case 2:this._initializeControl();break;case 4:this._updateControl()}r()}catch(e){throw this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.componentDidMount",null,"ControlFramework"),null==r||r({exception:(null==e?void 0:e.message)||"UnexpectedError"}),e}},e.prototype._shouldUpdateManifest=function(e,t,n){var r,o,i;if(this._manifestRequestedOnce||this._isKnownExceptionControl(t)||"Dashboard"===this.props.pageType||"MscrmControls.SharepointAssociatedGrid.SharepointControl.entity_control.StandardGridControlID"===n||"MscrmControls.SharepointAssociatedGrid.SharepointControl.DocumentSubGrid.StandardGridControlID"===n)return!1;var a=Oe[e];return!!a&&(!a.enabled||a.enabled(this.props.contextString,null===(o=null===(r=this.props.propBagData)||void 0===r?void 0:r.clientData)||void 0===o?void 0:o.orgSettingsData,null===(i=this.props.actions)||void 0===i?void 0:i.appSettings))},e.prototype._isKnownExceptionControl=function(e){for(var t=0,n=ws;t<n.length;t++){var r=n[t];if(e===r)return!0;if(-1!==r.indexOf("[RANDOM_GUID]"))if(null!==e.match(new RegExp("^".concat(r.split("[RANDOM_GUID]").map(function(e){return vs(e)}).join("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"),"$"))))return!0;if(-1!==r.indexOf("[RANDOM_ID]"))if(null!==e.match(new RegExp("^".concat(r.split("[RANDOM_ID]").map(function(e){return vs(e)}).join("\\d+"),"$"))))return!0}return!1},e.prototype._populateAttributesAffected=function(){for(var e in this.props.configuration.Parameters){var t=this.props.configuration.Parameters[e];t.hasOwnProperty("Usage")&&(0===t.Usage&&this._attributesAffected.push(t.Value))}},e.prototype.UNSAFE_componentWillReceiveProps=function(e){if((e.stateToPropsMappingError||this._manifestRetrieveFailed||0===this.state._status)&&0!==this.state._status){var t=new Error("Error before mapping state to props during componentWillReceiveProps for control: "+e.controlId+(e.stateToPropsMappingErrorMessage?". Error message:"+e.stateToPropsMappingErrorMessage:"."));this._logger.logFailureEvent(e,t,"CustomControlHostRoot.componentWillReceiveProps"),this._onControlLoadedError(),this._setErrorData("Error before mapping state to props during componentWillReceiveProps for control: "+e.controlId),this.setState({_status:0})}this._updateInternalTracker=this._updateInternalTracker.concat(e.updatedProperties)},e.prototype.componentDidUpdate=function(){try{if(this.props.stateToPropsMappingError||this._manifestRetrieveFailed||0===this.state._status)return void(0!==this.state._status&&(this._logger.logFailureEvent(this.props,new Error("Error while mapping state to props during ComponentDidUpdate for control: "+this.props.controlId),"CustomControlHostRoot.componentDidUpdate"),this._setErrorData("Error while mapping state to props during ComponentDidUpdate for control: "+this.props.controlId),this._onControlLoadedError(),this.setState({_status:0})));if(this._seeMoreHelper.getSeeMorePopupStatus()!==ra.NotInUse&&this._seeMoreHelper.checkOnPopupStatus(this._isVirtual(),this._memoHelper.getIsCompositing(),this._getComponent()),!this.props.manifest){if(!this._manifestRequestedOnce){var e=this._managedRef.getRef;this._loadManifest().catch(e(function(e,t){e._logger.logFailureEvent(e.props,t,"CustomControlHostRoot.componentDidUpdate"),e._setErrorData("Error while retrieving manifest during ComponentDidUpdate for control: "+e.props.controlId),e._manifestRetrieveFailed=!0,e._onControlLoadedError(t),e.setState({_status:0})}))}return}switch(this._initDataSetObjectWrapper(),this._internalStatus){case 0:this._initializeData();break;case 2:this._initializeControl();break;case 4:this._updateControl()}this._registerToLearningPath()}catch(e){throw this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.componentDidUpdate",null,"ControlFramework"),e}},e.prototype._registerToLearningPath=function(){if(4===this._internalStatus&&this._propertyBag){var e=this._propertyBag.getLearningPathBag();it.registerToLearningPath(this._getComponent(),e.DOMAttributeName,e.baseControlId)}},e.prototype._shouldComponentUpdateInternal=function(e){var t,n,r,o,i;if(function(e,t){var n,r;if(null===(r=null===(n=null==F?void 0:F.Utils)||void 0===n?void 0:n.isFeatureEnabled)||void 0===r?void 0:r.call(n,"PCF.PreventUnnecessaryRenders")){if(!gs.hasOwnProperty(e))return!0;var o=gs[e];if(t&&o&&function(e,t){for(var n=e.split("."),r=t.split("."),o=0;o<n.length;o++){var i=+(n[o]||0),a=+(r[o]||0);if(i>a)return!0;if(i<a)return!1}return!0}(t,o))return!0}return!1}(null===(t=e.manifest)||void 0===t?void 0:t.ConstructorName,null===(n=e.manifest)||void 0===n?void 0:n.SolutionVersion))return!this._hasUpdateViewBeenCalled||(!(!Os(this.props.descriptor,e.descriptor)&&!Os(this.props.configuration,e.configuration))||(!(!(null===(r=e.dynamicData)||void 0===r?void 0:r.updated)||this._ignoreSelfUpdates&&this._latestOutputs)||((null===(o=this.props.dynamicData)||void 0===o?void 0:o.parameters)!==(null===(i=e.dynamicData)||void 0===i?void 0:i.parameters)||!!(this._commandingWrapper&&function(e,t){if(e&&!t||!e&&t)return!0;if(e!==t&&e&&t){if(e.length!==t.length)return!0;for(var n=0;n<e.length;n++){var r=e[n],o=r.commandManagerId,i=r.ribbonId,a=t[n],s=a.commandManagerId,l=a.ribbonId;if(o!==s||i!==l)return!0}}return!1}(this.props.internalCommandManagerIds,e.internalCommandManagerIds)||!!this.props.globalCommandManagerInitialized!=!!e.globalCommandManagerInitialized))))},e.prototype.shouldComponentUpdate=function(e){var t,n,r;try{if(e.inactive)return this._necessaryRenderSkipped=this._shouldComponentUpdateInternal(e),!1;if(this._necessaryRenderSkipped)return this._necessaryRenderSkipped=!1,!0;var o=this._shouldComponentUpdateInternal(e),i=void 0===o;if(o)return!0;if(i&&(!this._ignoreSelfUpdates||!this._latestOutputs||!(null===(t=e.dynamicData)||void 0===t?void 0:t.updated)))return!0;if(e.updatedProperties)for(var a=0,s=e.updatedProperties;a<s.length;a++){var l=s[a];if(l!==ms.Parameters&&!(null===(n=e.dynamicData)||void 0===n?void 0:n.parameters.hasOwnProperty(l)))return!0}if(e.dynamicData)for(var u in e.dynamicData.parameters)if(e.dynamicData.parameters[u]&&e.dynamicData.parameters[u].hasOwnProperty("raw")&&!(i&&this._ignoreSelfUpdates&&this._latestOutputs&&this._latestOutputs.hasOwnProperty(u)))if(this._latestOutputs&&this._latestOutputs.hasOwnProperty(u)){var c=e.dynamicData.parameters[u].raw;if(!J(c)&&c.equals?!c.equals(this._latestOutputs[u]):c!==this._latestOutputs[u])return!0}else if((null===(r=this.props.dynamicData)||void 0===r?void 0:r.parameters)&&this.props.dynamicData.parameters[u]&&this.props.dynamicData.parameters[u]!==e.dynamicData.parameters[u])return!0;return!1}catch(e){throw this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.shouldComponentUpdate",null,"ControlFramework"),e}},e.prototype._renderMainControlComponent=function(){var e,t,n;try{if(4===this._internalStatus&&this._isVirtual()){if(this._skipControlUpdate)return this._skipControlUpdate=!1,this._currentlyRendering=!1,this._memoHelper.getRoot();var r,o=void 0,i=this._controlInstance;if(this._executeAnyOnLoadEventsWhenNeeded(),e=this._generateBag(),void 0===this.props.shouldRender||this.props.shouldRender)return t="render",this._shouldHandleDependencyUpdate()&&(this._propertyDependencyManager||(this._propertyDependencyManager=new Fa(this.props)),this._propertyDependencyManager.handleDependencyUpdate(this.props,this._getOutputSchemaAction,e)),this._measureLifecycleMethod("updateView",function(){return(r=i.updateView(e))&&!r.IsVirtualComponent&&ie.isValidElement(r)&&(r=e.factory.createElement("CONTAINER",{id:"pcf-container-id",style:{width:"100%"}},r)),r}),this._hasUpdateViewBeenCalled=!0,this._currentlyRendering=!1,t="renderVirtualComponent",n="ControlFramework",o=Xi.renderVirtualComponent(r,this.props,this._generateHostData(),this._memoHelper),this.props.generateStylingWrapperElement&&(o=this.props.generateStylingWrapperElement(o)),this._memoHelper.setRoot(o),o;if(this._memoHelper.getRoot())return o=this._memoHelper.getRoot()}this._currentlyRendering=!1;return this._renderGenericDiv({width:"100%"})}catch(e){if(this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot._renderMainControlComponent",null,t?n:"ControlFramework"),this._destroyStopwatches(e),t)return this._setErrorData("Custom Control with Id: ".concat(this.props.manifest.CustomControlId," failed to ").concat(t,"; Message: ").concat(e.message),e.stack),this._getErrorElement();throw e}},e.prototype.renderShadow=function(e,t){return t=t||{display:"none"},ie.createElement("div",{key:"shadow",id:e?e+"shadow":null,style:t})},e.prototype._getErrorElement=function(){var e=this._managedRef.applyRef,t=this.props.controlId+"_container_error";return ie.createElement("div",{className:"customControl inError","data-id":t},ie.createElement("a",{href:"#",onClick:e(Ts._handleErrorLinkClick)},_r("ERROR_LOADING_CONTROL")))},e.prototype._setErrorData=function(e,t){(e||t)&&(this._errorData.errorMessage=e,this._errorData.errorDetails=t)},e.prototype._shouldHandleDependencyUpdate=function(){return this._controlInstance&&this._controlInstance.getOutputSchema&&this.props.authoringMode},e.prototype.renderWrappedMainElement=function(e,t){var n=t||(this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.containerStyleOverrides?Object.assign(this._getDomIdDivStyleProperties(this.props.descriptor),this.props.parentDefinedControlProps.containerStyleOverrides.allContainers,this.props.parentDefinedControlProps.containerStyleOverrides.primaryInnerContainer):this._getDomIdDivStyleProperties(this.props.descriptor)),r=this._isVirtual(),o=this._memoHelper.getIsCompositing(),i=this._renderCommandingComponent(),a=null===this.props.propBagData?null:this.props.propBagData.clientData.isRTL;this.props.globalCommandManagerInitialized&&this._globalCommandManagerPromise.resolve();var s=this._managedRef.getRef;return ie.createElement(se,{key:"mainControlContainer",id:e,style:n},i,this._accessibilityComponent,this._seeMoreHelper.renderCloseButton(s(function(e){return e._seeMorePopup(!1)}),r,o,a,this.props.useUnicodeIconsInternally),this._seeMoreHelper.renderSpacer(r,o),this._renderMainControlComponent())},e.prototype.renderContainerWithResizePads=function(e,t,n){var r=t||(this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.containerStyleOverrides?Is(Is({width:"100%"},this.props.parentDefinedControlProps.containerStyleOverrides.allContainers),this.props.parentDefinedControlProps.containerStyleOverrides.outerContainer):{width:"100%"}),o=this._seeMoreHelper&&this._seeMoreHelper.getSeeMorePopupStatus()!==ra.NotInUse,i=o?"dialog":null,a=!!o||null,s=this._getRandomOuterContainerId(n),l={key:"seeMoreAccessibility",id:s,rootElementId:s,isModal:a,parentComponent:this,shouldManageFocus:!0,defaultFocusId:s,overrideFocusId:s};return this._activeSeeMoreAccessibilityComponent=o?this._activeSeeMoreAccessibilityComponent||this.props.actions.createAccessibilityComponent(l):null,ie.createElement(se,{key:"mainControlOuterContainer",describedByElementId:o?this._getDescribedBySeeMoreId():null,id:s,style:r,accessibilityModal:a,role:i},this._activeSeeMoreAccessibilityComponent,e)},e.prototype._getDescribedBySeeMoreId=function(){return this._seeMoreData?this._seeMoreData.ariaDescribedByAbsolute?this._seeMoreData.ariaDescribedBy:ze(this.props,this._seeMoreData.ariaDescribedBy):null},e.prototype._getRandomOuterContainerId=function(e){return e+Math.floor(10*Math.random()+1)+"_outer"},e.prototype._renderGenericDiv=function(e){var t="customControl "+(this.props.manifest?this.props.manifest.ConstructorName.replace("."," "):"");this.props.manifest&&this.props.manifest.ConstructorName&&(t=t+" "+this.props.manifest.ConstructorName);var n=this._managedRef.getRef;return ie.createElement("div",{key:"MainContainerElement",className:t,style:e,ref:n(function(e,t){e._rootElement=t})},this._getPopupService().renderPopups())},e.prototype._renderCommandingComponent=function(){if(this.props.internalCommandManagerIds&&this.props.internalCommandManagerIds.length&&this._commandingWrapper){for(var e=[],t=0;t<this.props.internalCommandManagerIds.length;t++){var n=this.props.internalCommandManagerIds[t].commandManagerId,r=this.props.internalCommandManagerIds[t].ribbonId;e.push(this._commandingWrapper.createHiddenCommandManager(n,r))}return e}return null},e.prototype._handleErrorLinkClick=function(e){e.preventDefault();var t={message:this._errorData.errorMessage,details:this._errorData.errorDetails};F.openErrorDialog(t)},e.prototype._renderInternal=function(){try{this._currentlyRendering=!0;var e="";if(this.props.descriptor&&(e=this.props.descriptor.DomId?this.props.descriptor.DomId:""),0===this.state._status)return this._currentlyRendering=!1,this._logger.logUsageFailureEvent(this.props),this._logger.logFailureEvent(this.props,new Error("Error loading control."),"CustomControlHostRoot.render",null,null,this._generateAdditionalEventParams()),this._getErrorElement();if(5===this._internalStatus)return this._currentlyRendering=!1,ie.createElement("div",null);var t=this.props.parentDefinedControlProps&&this.props.parentDefinedControlProps.containerStyleOverrides?Is(Is({width:"100%"},this.props.parentDefinedControlProps.containerStyleOverrides.allContainers),this.props.parentDefinedControlProps.containerStyleOverrides.rootContainer):{width:"100%"};if(4!==this._internalStatus){if(this._isVirtual())return this._renderPlaceholder();this._currentlyRendering=!1;var n=this.renderWrappedMainElement(e,null),r=this.renderContainerWithResizePads(n,null,e),o=this.renderShadow(e,null);return ie.createElement(se,{key:"root",style:t},o,r)}var i={shadowStyle:null,innerStyle:null,outerStyle:null},a=this._seeMoreHelper.getSeeMorePopupStatus(),s=this._seeMoreHelper.getSeeMorePopupInfo();a!==ra.NotInUse&&(i=Ca.getCustomControlFancyPopoutStyles(Ds()?this.context.rendererContext:this.context,a,s),a!==ra.ReturnFadeIn&&(t={height:s.startHeight,width:s.startWidth}));var l=this.renderWrappedMainElement(e,i.innerStyle);if(this._isVirtual()&&!this._memoHelper.getIsCompositing()&&(a===ra.NotInUse||a===ra.ReturnFadeIn))return this._logger.logUsageSuccessEvent(this.props),l;var u=this.renderContainerWithResizePads(l,i.outerStyle,e),c=this.renderShadow(e,i.shadowStyle);return this._logger.logUsageSuccessEvent(this.props),ie.createElement(se,{key:"root",style:t},c,u)}catch(e){return this._currentlyRendering=!1,this._logger.logUsageFailureEvent(this.props),this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.render"),this._getErrorElement()}},e.prototype._renderPlaceholder=function(){var e,t=null===(e=this.props.parentDefinedControlProps)||void 0===e?void 0:e.renderPlaceholder;return(null==t?void 0:t())||null},e.prototype._generateAdditionalEventParams=function(){var e=[];return this._errorData.errorDetails&&e.push({name:"ErrorDetails",value:this._errorData.errorDetails}),this._errorData.errorMessage&&e.push({name:"ErrorMessage",value:this._errorData.errorMessage}),e},e.prototype.componentDidCatch=function(e){this._setErrorData(e.message,e.stack),this.setState({_status:0}),this._logger.logFailureEvent(this.props,e,"CustomControlHostRoot.render")},e.prototype.render=function(){var e=this._managedRef.getRef;return[this._renderInternal(),ie.createElement($n,{key:"portal",ref:this._portal,renderReactSubtree:this.props.actions.renderReactSubtree,onError:e(function(e,t){return e._logger.logFailureEvent(e.props,t,"CustomControlHostRoot._bindDOMElement")})})]},e.displayName="CustomControlHost",e}(ie.Component),Ts=ks.prototype;ks.contextType=Ds()?xs:l.RendererContext;!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Ps(t,e),t.prototype.render=function(){return Ds()?ie.createElement(Es,null,ie.createElement(ks,Is({},this.props))):ie.createElement(ks,Is({},this.props))}}(ie.Component);function Ds(){return Fs("ReactInstancePageCaching")}function Fs(e){var t,n;return null===(n=null===(t=null==F?void 0:F.Utils)||void 0===t?void 0:t.isFeatureEnabled)||void 0===n?void 0:n.call(t,e)}function Os(e,t){if(e===t||!e&&!t)return!1;if(!e||!t)return!0;var n=Object.keys(e);if(n.length!==Object.keys(e).length)return!0;for(var r=0,o=n;r<o.length;r++){var i=o[r];if(e[i]!==t[i])return!0}return!1}var Ms,As={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(Ms||(Ms={}));var Rs,Ls={elevation4:Ms.depth4,elevation8:Ms.depth8,elevation16:Ms.depth16,elevation64:Ms.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Ns={stylesheetKey:"__global__",inShadow:!1,window:void 0,__isShadowConfig__:!0};function Bs(){return void 0===Rs&&(Rs="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),Rs}function Us(){return{rtl:Bs(),shadowConfig:Ns}}Rs=Bs();var Vs,Hs=0,js=1,Ws=2,zs="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),Gs={};try{Gs=window||{}}catch(Il){}var Ks,qs=function(){function r(e,t){var n,r,o,i,a,s;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=x({injectionMode:"undefined"==typeof document?Hs:js,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(i=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(s=null==t?void 0:t.rules)&&void 0!==s?s:this._rules}return r.getInstance=function(e){if(Vs=Gs.__stylesheet__,Gs.__shadow_dom_stylesheet__)return Gs.__shadow_dom_stylesheet__.getInstance(e);if(!Vs||Vs._lastStyleElement&&Vs._lastStyleElement.ownerDocument!==document){var t=(null==Gs?void 0:Gs.FabricConfig)||{},n=new r(t.mergeStyles,t.serializedStylesheet);Vs=n,Gs.__stylesheet__=n}return Vs},r.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},r.prototype.setConfig=function(e){this._config=x(x({},this._config),e)},r.prototype.onReset=function(t){var e=this;return this._onResetCallbacks.push(t),function(){e._onResetCallbacks=e._onResetCallbacks.filter(function(e){return e!==t})}},r.prototype.onInsertRule=function(t){var e=this;return this._onInsertRuleCallbacks.push(t),function(){e._onInsertRuleCallbacks=e._onInsertRuleCallbacks.filter(function(e){return e!==t})}},r.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},r.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},r.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},r.prototype.getClassNameCache=function(){return this._keyToClassName},r.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},r.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},r.prototype.insertRule=function(t,e,n){void 0===n&&(n="__global__");var r=this._config.injectionMode,o=r!==Hs?this._getStyleElement():void 0;if(e&&this._preservedRules.push(t),o)switch(r){case js:this._insertRuleIntoSheet(o.sheet,t);break;case Ws:o.appendChild(document.createTextNode(t))}else this._rules.push(t);this._config.onInsertRule&&this._config.onInsertRule(t),this._onInsertRuleCallbacks.forEach(function(e){return e({key:n,sheet:o?o.sheet:void 0,rule:t})})},r.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},r.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},r.prototype.resetKeys=function(){this._keyToClassName={}},r.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&r.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},r.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},r.prototype._getCacheKey=function(e){return e},r.prototype._getStyleElement=function(){var e=this;this._styleElement||(this._styleElement=this._createStyleElement(),zs||(this._config.window||window).requestAnimationFrame(function(){e._styleElement=void 0}));return this._styleElement},r.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},r}(),Qs={};var $s={"user-select":1};function Ys(e,t){var n=function(){var e;if(!Ks){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();Ks=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return Ks}(),r=e[t];if($s[r]){var o=e[t+1];$s[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var Zs,Xs=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function Js(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=Xs.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var el="left",tl="right",nl=((Zs={})[el]=tl,Zs[tl]=el,Zs),rl={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function ol(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(el)>=0)t[n]=r.replace(el,tl);else if(r.indexOf(tl)>=0)t[n]=r.replace(tl,el);else if(String(o).indexOf(el)>=0)t[n+1]=o.replace(el,tl);else if(String(o).indexOf(tl)>=0)t[n+1]=o.replace(tl,el);else if(nl[r])t[n]=nl[r];else if(rl[o])t[n+1]=rl[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o,0)}}}var il,al,sl,ll,ul;function cl(e,t){if(!t)return"";var n,r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&"displayName"!==a&&void 0!==t[a]&&i.push(a,t[a]);for(var s=0;s<i.length;s+=2)o=void 0,"-"!==(o=(n=i)[r=s]).charAt(0)&&(n[r]=Qs[o]=Qs[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),Js(i,s),ol(e,i,s),Ys(i,s);for(s=1;s<i.length;s+=4)i.splice(s,1,":",i[s],";");return i.join("")}function pl(e){var t=qs.getInstance(),n=cl(Us(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(il||(il={})),function(e){e.Arabic="'".concat(il.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(il.Cyrillic,"'"),e.EastEuropean="'".concat(il.EastEuropean,"'"),e.Greek="'".concat(il.Greek,"'"),e.Hebrew="'".concat(il.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(il.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(il.Vietnamese,"'"),e.WestEuropean="'".concat(il.WestEuropean,"'"),e.Armenian="'".concat(il.Armenian,"'"),e.Georgian="'".concat(il.Georgian,"'")}(al||(al={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(sl||(sl={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(ll||(ll={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(ul||(ul={}));var dl="'Segoe UI', '".concat(il.WestEuropean,"'"),fl={ar:al.Arabic,bg:al.Cyrillic,cs:al.EastEuropean,el:al.Greek,et:al.EastEuropean,he:al.Hebrew,hi:al.Hindi,hr:al.EastEuropean,hu:al.EastEuropean,ja:al.Japanese,kk:al.EastEuropean,ko:al.Korean,lt:al.EastEuropean,lv:al.EastEuropean,pl:al.EastEuropean,ru:al.Cyrillic,sk:al.EastEuropean,"sr-latn":al.EastEuropean,th:al.Thai,tr:al.EastEuropean,uk:al.Cyrillic,vi:al.Vietnamese,"zh-hans":al.ChineseSimplified,"zh-hant":al.ChineseTraditional,hy:al.Armenian,ka:al.Georgian};function hl(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function ml(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}function yl(e){if(ml()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var gl,vl=void 0;try{vl=window}catch(e){}function bl(e){if(ml()&&void 0!==vl){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:vl}}function Cl(e){if(void 0===e&&(e="sessionStorage"),void 0===gl){var t=yl(),n="localStorage"===e?function(e){var t=null;try{var n=bl();t=n?n.localStorage.getItem(e):null}catch(e){}return t}("language"):"sessionStorage"===e?function(e){var t=null;try{var n=bl();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}("language"):void 0;n&&(gl=n),void 0===gl&&t&&(gl=t.documentElement.getAttribute("lang")),void 0===gl&&(gl="en")}return gl}var _l,Sl,Pl,Il,wl,xl,El=(_l=Cl(),Sl=function(e){for(var t in fl)if(fl.hasOwnProperty(t)&&e&&0===t.indexOf(e))return fl[t];return dl}(_l),Pl="".concat(Sl,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:hl(sl.mini,ll.regular,Pl),xSmall:hl(sl.xSmall,ll.regular,Pl),small:hl(sl.small,ll.regular,Pl),smallPlus:hl(sl.smallPlus,ll.regular,Pl),medium:hl(sl.medium,ll.regular,Pl),mediumPlus:hl(sl.mediumPlus,ll.regular,Pl),large:hl(sl.large,ll.regular,Pl),xLarge:hl(sl.xLarge,ll.semibold,Pl),xLargePlus:hl(sl.xLargePlus,ll.semibold,Pl),xxLarge:hl(sl.xxLarge,ll.semibold,Pl),xxLargePlus:hl(sl.xxLargePlus,ll.semibold,Pl),superLarge:hl(sl.superLarge,ll.semibold,Pl),mega:hl(sl.mega,ll.semibold,Pl)});function kl(e,t,n,r){pl({fontFamily:e="'".concat(e,"'"),src:(void 0!==r?"local('".concat(r,"'),"):"")+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function Tl(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);kl(t,i+"-light",ll.light,o&&o+" Light"),kl(t,i+"-semilight",ll.semilight,o&&o+" SemiLight"),kl(t,i+"-regular",ll.regular,o),kl(t,i+"-semibold",ll.semibold,o&&o+" SemiBold"),kl(t,i+"-bold",ll.bold,o&&o+" Bold")}function Dl(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];Fl(e||{},i)}return e}function Fl(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!=typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-1;e[r]=i?o:Fl(e[r]||{},o,n)}}return n.pop(),e}function Ol(e,t,n,r,o){return void 0===o&&(o=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(Ml(e,t,x({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),o)}function Ml(e,t,n,r,o){void 0===o&&(o=!1);var i={},a=e||{},s=a.white,l=a.black,u=a.themePrimary,c=a.themeDark,p=a.themeDarker,d=a.themeDarkAlt,f=a.themeLighter,h=a.neutralLight,m=a.neutralLighter,y=a.neutralDark,g=a.neutralQuaternary,v=a.neutralQuaternaryAlt,b=a.neutralPrimary,C=a.neutralSecondary,_=a.neutralSecondaryAlt,S=a.neutralTertiary,P=a.neutralTertiaryAlt,I=a.neutralLighterAlt,w=a.accent;return s&&(i.bodyBackground=s,i.bodyFrameBackground=s,i.accentButtonText=s,i.buttonBackground=s,i.primaryButtonText=s,i.primaryButtonTextHovered=s,i.primaryButtonTextPressed=s,i.inputBackground=s,i.inputForegroundChecked=s,i.listBackground=s,i.menuBackground=s,i.cardStandoutBackground=s),l&&(i.bodyTextChecked=l,i.buttonTextCheckedHovered=l),u&&(i.link=u,i.primaryButtonBackground=u,i.inputBackgroundChecked=u,i.inputIcon=u,i.inputFocusBorderAlt=u,i.menuIcon=u,i.menuHeader=u,i.accentButtonBackground=u),c&&(i.primaryButtonBackgroundPressed=c,i.inputBackgroundCheckedHovered=c,i.inputIconHovered=c),p&&(i.linkHovered=p),d&&(i.primaryButtonBackgroundHovered=d),f&&(i.inputPlaceholderBackgroundChecked=f),h&&(i.bodyBackgroundChecked=h,i.bodyFrameDivider=h,i.bodyDivider=h,i.variantBorder=h,i.buttonBackgroundCheckedHovered=h,i.buttonBackgroundPressed=h,i.listItemBackgroundChecked=h,i.listHeaderBackgroundPressed=h,i.menuItemBackgroundPressed=h,i.menuItemBackgroundChecked=h),m&&(i.bodyBackgroundHovered=m,i.buttonBackgroundHovered=m,i.buttonBackgroundDisabled=m,i.buttonBorderDisabled=m,i.primaryButtonBackgroundDisabled=m,i.disabledBackground=m,i.listItemBackgroundHovered=m,i.listHeaderBackgroundHovered=m,i.menuItemBackgroundHovered=m),g&&(i.primaryButtonTextDisabled=g,i.disabledSubtext=g),v&&(i.listItemBackgroundCheckedHovered=v),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),b&&(i.bodyText=b,i.actionLink=b,i.buttonText=b,i.inputBorderHovered=b,i.inputText=b,i.listText=b,i.menuItemText=b),I&&(i.bodyStandoutBackground=I,i.defaultStateBackground=I),y&&(i.actionLinkHovered=y,i.buttonTextHovered=y,i.buttonTextChecked=y,i.buttonTextPressed=y,i.inputTextHovered=y,i.menuItemTextHovered=y),C&&(i.bodySubtext=C,i.focusBorder=C,i.inputBorder=C,i.smallInputBorder=C,i.inputPlaceholderText=C),_&&(i.buttonBorder=_),P&&(i.disabledBodySubtext=P,i.disabledBorder=P,i.buttonBackgroundChecked=P,i.menuDivider=P),w&&(i.accentButtonBackground=w),(null==t?void 0:t.elevation4)&&(i.cardShadow=t.elevation4),!r&&(null==t?void 0:t.elevation8)?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),i=x(x({},i),n)}!function(e){if(e){var t="".concat(e,"/fonts");Tl(t,il.Thai,"leelawadeeui-thai","leelawadeeui"),Tl(t,il.Arabic,"segoeui-arabic"),Tl(t,il.Cyrillic,"segoeui-cyrillic"),Tl(t,il.EastEuropean,"segoeui-easteuropean"),Tl(t,il.Greek,"segoeui-greek"),Tl(t,il.Hebrew,"segoeui-hebrew"),Tl(t,il.Vietnamese,"segoeui-vietnamese"),Tl(t,il.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Tl(t,al.Selawik,"selawik","selawik"),Tl(t,il.Armenian,"segoeui-armenian"),Tl(t,il.Georgian,"segoeui-georgian"),kl("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),ll.light),kl("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),ll.semibold)}}((xl=null===(Il=bl())||void 0===Il?void 0:Il.FabricConfig,null!==(wl=null==xl?void 0:xl.fontBaseUrl)&&void 0!==wl?wl:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"));var Al={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function Rl(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return function(e,t){var n,r,o;void 0===t&&(t={});var i=Dl({},e,t,{semanticColors:Ml(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a<s.length;a++){var l=s[a];i.fonts[l]=Dl(i.fonts[l],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[l])}return i}({palette:As,effects:Ls,fonts:El,spacing:Al,isInverted:n,disableGlobalClassNames:!1,semanticColors:Ol(As,Ls,void 0,n,t),rtl:void 0},e)}var Ll=0,Nl=function(){function e(){}return e.getValue=function(e,t){var n=Bl();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=Bl(),r=n.__callbacks__,o=n[e];if(t!==o){n[e]=t;var i={oldValue:o,value:t,key:e};for(var a in r)r.hasOwnProperty(a)&&r[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=Ul();t||(t=e.__id__=String(Ll++)),n[t]=e},e.removeChangeListener=function(e){delete Ul()[e.__id__]},e}();function Bl(){var e,t=bl()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function Ul(){return Bl().__callbacks__}var Vl={settings:{},scopedSettings:{},inCustomizerContext:!1},Hl=Nl.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),jl=[],Wl=function(){function n(){}return n.reset=function(){Hl.settings={},Hl.scopedSettings={}},n.applySettings=function(e){Hl.settings=x(x({},Hl.settings),e),n._raiseChange()},n.applyScopedSettings=function(e,t){Hl.scopedSettings[e]=x(x({},Hl.scopedSettings[e]),t),n._raiseChange()},n.getSettings=function(e,t,n){void 0===n&&(n=Vl);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&Hl.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var l=s[a];r[l]=o[l]||n.settings[l]||i[l]||Hl.settings[l]}return r},n.applyBatchedUpdates=function(e,t){n._suppressUpdates=!0;try{e()}catch(e){}n._suppressUpdates=!1,t||n._raiseChange()},n.observe=function(e){jl.push(e)},n.unobserve=function(t){jl=jl.filter(function(e){return e!==t})},n._raiseChange=function(){n._suppressUpdates||jl.forEach(function(e){return e()})},n}(),zl=ie.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function Gl(e,t){return void 0===e&&(e={}),(ql(t)?t:function(t){return function(e){return t?x(x({},e),t):e}}(t))(e)}function Kl(e,t){return void 0===e&&(e={}),(ql(t)?t:function(r){void 0===r&&(r={});return function(e){var t=x({},e);for(var n in r)r.hasOwnProperty(n)&&(t[n]=x(x({},e[n]),r[n]));return t}}(t))(e)}function ql(e){return"function"==typeof e}var Ql=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._onCustomizationChange=function(){return e.forceUpdate()},e}return i(e,t),e.prototype.componentDidMount=function(){Wl.observe(this._onCustomizationChange)},e.prototype.componentWillUnmount=function(){Wl.unobserve(this._onCustomizationChange)},e.prototype.render=function(){var n=this,r=this.props.contextTransform;return ie.createElement(zl.Consumer,null,function(e){var t=function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Gl(r.settings,e.settings),scopedSettings:Kl(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(n.props,e);return r&&(t=r(t)),ie.createElement(zl.Provider,{value:t},n.props.children)})},e}(ie.Component),$l=function(){return($l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Yl={link:"#8D308D",linkHovered:"#501b50"},Zl={white:"#fff",neutralLighterAlt:"#FAF9F8",neutralLighter:"#F3F2F1",neutralLight:"#EDEBE9",neutralQuaternaryAlt:"#E1DFDD",neutralQuaternary:"#D2D0CE",neutralTertiaryAlt:"#C8C6C4",neutralTertiary:"#BEBBB8",neutralSecondary:"#A19F9D",neutralPrimaryAlt:"#8A8886",neutralDark:"#605E5C",neutralPrimary:"#323130",black:"#000"},Xl={palette:$l({themePrimary:"#0078d4",themeLighterAlt:"#f3f9fd",themeLighter:"#d0e7f8",themeLight:"#a9d3f2",themeTertiary:"#5ca9e5",themeSecondary:"#1a86d9",themeDarkAlt:"#006cbe",themeDark:"#005ba1",themeDarker:"#004377"},{white:"#fff",neutralLighterAlt:"#f8f8f8",neutralLighter:"#f4f4f4",neutralLight:"#eaeaea",neutralQuaternaryAlt:"#dadada",neutralQuaternary:"#d0d0d0",neutralTertiaryAlt:"#c8c8c8",neutralTertiary:"#bab8b7",neutralSecondary:"#a3a2a0",neutralPrimaryAlt:"#8d8b8a",neutralDark:"#605e5d",neutralPrimary:"#323130",black:"#000"}),semanticColors:$l({},Yl)},Jl=($l($l({},Yl),{errorBackground:"#fde7e9",blockingBackground:"#fed9cc",warningBackground:"#fff4ce",successBackground:"#dff6dd"}),$l({themePrimary:"#742774",themeSecondary:"#8d308d",themeTertiary:"#d98fd9",themeLighterAlt:"#faf2fa",themeLighter:"#f6e4f6",themeLight:"#edcaed",themeDarkAlt:"#672367",themeDark:"#501b50",themeDarker:"#3f153f",neutralTertiaryAlt:"#666",neutralTertiary:"#666"},Zl),$l({},Yl),$l($l({themePrimary:"#f2c811",themeSecondary:"#f4cf2c",themeTertiary:"#f7de6d",themeLighterAlt:"#fefdf5",themeLighter:"#fdf6d7",themeLight:"#fbeeb5",themeDarkAlt:"#dab50f",themeDark:"#a98c0c",themeDarker:"#7a6816"},Zl),{neutralTertiaryAlt:"#666",neutralTertiary:"#666"}),$l({},Yl),$l($l({themePrimary:"#0066ff",themeSecondary:"#1975ff",themeTertiary:"#94bfff",themeLight:"#cce0ff",themeLighter:"#e6f0ff",themeLighterAlt:"#f2f7ff",themeDarker:"#00388c",themeDark:"#0047b3",themeDarkAlt:"#005ce6"},Zl),{neutralTertiaryAlt:"#666",neutralTertiary:"#666"}),$l({},Yl),$l($l({themePrimary:"#0b556a",themeSecondary:"#0f677b",themeTertiary:"#14848f",themeLight:"#73e3df",themeLighter:"#cff6f9",themeLighterAlt:"#f1fbfe",themeDarker:"#062d37",themeDark:"#073845",themeDarkAlt:"#0a4a5c"},Zl),{neutralTertiaryAlt:"#666",neutralTertiary:"#666"}),$l({},Yl),$l($l({themePrimary:"#2266e3",themeSecondary:"#1f6cf9",themeTertiary:"#9cbeff",themeLight:"#ccdeff",themeLighter:"#e7efff",themeLighterAlt:"#f0f5ff",themeDarker:"#053385",themeDark:"#0742ab",themeDarkAlt:"#0b53ce"},Zl),{neutralTertiaryAlt:"#666",neutralTertiary:"#666"}),$l({},Yl),$l($l({themePrimary:"#0066ff",themeLighterAlt:"#f2f7ff",themeLighter:"#e6f0ff",themeLight:"#cce0ff",themeTertiary:"#94bfff",themeSecondary:"#1975ff",themeDarkAlt:"#005ce6"},Zl),{themeDark:"#0047b3",themeDarker:"#00388c"}),$l({},Yl),{}); /*! * Copyright (C) Microsoft Corporation. All rights reserved. */function eu(e){console&&console.warn&&console.warn(e)}var tu=Nl.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),nu=qs.getInstance();nu&&nu.onReset&&nu.onReset(function(){for(var e in tu)tu.hasOwnProperty(e)&&tu[e].subset&&(tu[e].subset.className=void 0)});var ru=function(e){return e.toLowerCase()};function ou(e,t){var n=x(x({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var o in t=t?x(x({},tu.__options),t):tu.__options,r)if(r.hasOwnProperty(o)){var i=r[o],a=ru(o);tu[a]?lu(o):tu[a]={code:i,subset:n}}}function iu(e,t){tu.__remapped[ru(e)]=ru(t)}var au=[],su=void 0;function lu(e){var t=tu.__options;t.disableWarnings||(au.push(e),void 0===su&&(su=setTimeout(function(){eu("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+au.slice(0,10).join(", ")+(au.length>10?" (+ ".concat(au.length-10," more)"):"")),su=void 0,au=[]},2e3)))}var uu=n(4);Object(uu.a)("@fluentui/style-utilities","8.11.6");var cu,pu=n(9),du={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(cu||(cu={}));var fu,hu,mu,yu,gu,vu={elevation4:cu.depth4,elevation8:cu.depth8,elevation16:cu.depth16,elevation64:cu.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(fu||(fu={})),function(e){e.Arabic="'".concat(fu.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(fu.Cyrillic,"'"),e.EastEuropean="'".concat(fu.EastEuropean,"'"),e.Greek="'".concat(fu.Greek,"'"),e.Hebrew="'".concat(fu.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(fu.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(fu.Vietnamese,"'"),e.WestEuropean="'".concat(fu.WestEuropean,"'"),e.Armenian="'".concat(fu.Armenian,"'"),e.Georgian="'".concat(fu.Georgian,"'")}(hu||(hu={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(mu||(mu={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(yu||(yu={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(gu||(gu={}));var bu="'Segoe UI', '".concat(fu.WestEuropean,"'"),Cu={ar:hu.Arabic,bg:hu.Cyrillic,cs:hu.EastEuropean,el:hu.Greek,et:hu.EastEuropean,he:hu.Hebrew,hi:hu.Hindi,hr:hu.EastEuropean,hu:hu.EastEuropean,ja:hu.Japanese,kk:hu.EastEuropean,ko:hu.Korean,lt:hu.EastEuropean,lv:hu.EastEuropean,pl:hu.EastEuropean,ru:hu.Cyrillic,sk:hu.EastEuropean,"sr-latn":hu.EastEuropean,th:hu.Thai,tr:hu.EastEuropean,uk:hu.Cyrillic,vi:hu.Vietnamese,"zh-hans":hu.ChineseSimplified,"zh-hant":hu.ChineseTraditional,hy:hu.Armenian,ka:hu.Georgian};function _u(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var Su=function(e){var t=function(e){for(var t in Cu)if(Cu.hasOwnProperty(t)&&e&&0===t.indexOf(e))return Cu[t];return bu}(e),n="".concat(t,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif");return{tiny:_u(mu.mini,yu.regular,n),xSmall:_u(mu.xSmall,yu.regular,n),small:_u(mu.small,yu.regular,n),smallPlus:_u(mu.smallPlus,yu.regular,n),medium:_u(mu.medium,yu.regular,n),mediumPlus:_u(mu.mediumPlus,yu.regular,n),large:_u(mu.large,yu.regular,n),xLarge:_u(mu.xLarge,yu.semibold,n),xLargePlus:_u(mu.xLargePlus,yu.semibold,n),xxLarge:_u(mu.xxLarge,yu.semibold,n),xxLargePlus:_u(mu.xxLargePlus,yu.semibold,n),superLarge:_u(mu.superLarge,yu.semibold,n),mega:_u(mu.mega,yu.semibold,n)}}(Cl());function Pu(e,t,n,r){pl({fontFamily:e="'".concat(e,"'"),src:(void 0!==r?"local('".concat(r,"'),"):"")+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function Iu(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);Pu(t,i+"-light",yu.light,o&&o+" Light"),Pu(t,i+"-semilight",yu.semilight,o&&o+" SemiLight"),Pu(t,i+"-regular",yu.regular,o),Pu(t,i+"-semibold",yu.semibold,o&&o+" SemiBold"),Pu(t,i+"-bold",yu.bold,o&&o+" Bold")}function wu(e,t,n,r,o){return void 0===o&&(o=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(xu(e,t,x({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),o)}function xu(e,t,n,r,o){void 0===o&&(o=!1);var i={},a=e||{},s=a.white,l=a.black,u=a.themePrimary,c=a.themeDark,p=a.themeDarker,d=a.themeDarkAlt,f=a.themeLighter,h=a.neutralLight,m=a.neutralLighter,y=a.neutralDark,g=a.neutralQuaternary,v=a.neutralQuaternaryAlt,b=a.neutralPrimary,C=a.neutralSecondary,_=a.neutralSecondaryAlt,S=a.neutralTertiary,P=a.neutralTertiaryAlt,I=a.neutralLighterAlt,w=a.accent;return s&&(i.bodyBackground=s,i.bodyFrameBackground=s,i.accentButtonText=s,i.buttonBackground=s,i.primaryButtonText=s,i.primaryButtonTextHovered=s,i.primaryButtonTextPressed=s,i.inputBackground=s,i.inputForegroundChecked=s,i.listBackground=s,i.menuBackground=s,i.cardStandoutBackground=s),l&&(i.bodyTextChecked=l,i.buttonTextCheckedHovered=l),u&&(i.link=u,i.primaryButtonBackground=u,i.inputBackgroundChecked=u,i.inputIcon=u,i.inputFocusBorderAlt=u,i.menuIcon=u,i.menuHeader=u,i.accentButtonBackground=u),c&&(i.primaryButtonBackgroundPressed=c,i.inputBackgroundCheckedHovered=c,i.inputIconHovered=c),p&&(i.linkHovered=p),d&&(i.primaryButtonBackgroundHovered=d),f&&(i.inputPlaceholderBackgroundChecked=f),h&&(i.bodyBackgroundChecked=h,i.bodyFrameDivider=h,i.bodyDivider=h,i.variantBorder=h,i.buttonBackgroundCheckedHovered=h,i.buttonBackgroundPressed=h,i.listItemBackgroundChecked=h,i.listHeaderBackgroundPressed=h,i.menuItemBackgroundPressed=h,i.menuItemBackgroundChecked=h),m&&(i.bodyBackgroundHovered=m,i.buttonBackgroundHovered=m,i.buttonBackgroundDisabled=m,i.buttonBorderDisabled=m,i.primaryButtonBackgroundDisabled=m,i.disabledBackground=m,i.listItemBackgroundHovered=m,i.listHeaderBackgroundHovered=m,i.menuItemBackgroundHovered=m),g&&(i.primaryButtonTextDisabled=g,i.disabledSubtext=g),v&&(i.listItemBackgroundCheckedHovered=v),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),b&&(i.bodyText=b,i.actionLink=b,i.buttonText=b,i.inputBorderHovered=b,i.inputText=b,i.listText=b,i.menuItemText=b),I&&(i.bodyStandoutBackground=I,i.defaultStateBackground=I),y&&(i.actionLinkHovered=y,i.buttonTextHovered=y,i.buttonTextChecked=y,i.buttonTextPressed=y,i.inputTextHovered=y,i.menuItemTextHovered=y),C&&(i.bodySubtext=C,i.focusBorder=C,i.inputBorder=C,i.smallInputBorder=C,i.inputPlaceholderText=C),_&&(i.buttonBorder=_),P&&(i.disabledBodySubtext=P,i.disabledBorder=P,i.buttonBackgroundChecked=P,i.menuDivider=P),w&&(i.accentButtonBackground=w),(null==t?void 0:t.elevation4)&&(i.cardShadow=t.elevation4),!r&&(null==t?void 0:t.elevation8)?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),i=x(x({},i),n)}!function(e){if(e){var t="".concat(e,"/fonts");Iu(t,fu.Thai,"leelawadeeui-thai","leelawadeeui"),Iu(t,fu.Arabic,"segoeui-arabic"),Iu(t,fu.Cyrillic,"segoeui-cyrillic"),Iu(t,fu.EastEuropean,"segoeui-easteuropean"),Iu(t,fu.Greek,"segoeui-greek"),Iu(t,fu.Hebrew,"segoeui-hebrew"),Iu(t,fu.Vietnamese,"segoeui-vietnamese"),Iu(t,fu.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Iu(t,hu.Selawik,"selawik","selawik"),Iu(t,fu.Armenian,"segoeui-armenian"),Iu(t,fu.Georgian,"segoeui-georgian"),Pu("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),yu.light),Pu("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),yu.semibold)}}(function(){var e,t,n=null===(e=bl())||void 0===e?void 0:e.FabricConfig;return null!==(t=null==n?void 0:n.fontBaseUrl)&&void 0!==t?t:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"}());var Eu={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function ku(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return function(e,t){var n,r,o;void 0===t&&(t={});var i=Dl({},e,t,{semanticColors:xu(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a<s.length;a++){var l=s[a];i.fonts[l]=Dl(i.fonts[l],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[l])}return i}({palette:du,effects:vu,fonts:Su,spacing:Eu,isInverted:n,disableGlobalClassNames:!1,semanticColors:wu(du,vu,void 0,n,t),rtl:void 0},e)}var Tu=ku({}),Du=[];function Fu(){var e,t,n,r=bl();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1);Tu=ku(e,t),Object(pu.a)(x(x(x(x({},Tu.palette),Tu.semanticColors),Tu.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(Tu))),Wl.applySettings(((n={}).theme=Tu,n)),Du.forEach(function(e){try{e(Tu)}catch(e){}})}(r.FabricConfig.legacyTheme):Wl.getSettings(["theme"]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(Tu=ku(r.FabricConfig.theme)),Wl.applySettings(((e={}).theme=Tu,e)))}function Ou(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"îœ",ChevronUp:"",Edit:"îœ",Add:"îœ",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"îœ",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"î",ChevronLeft:"î«",ChevronRight:"î¬",Calendar:"",Megaphone:"",Undo:"îž§",Flag:"îŸ",Page:"",Pinned:"î¡€",View:"î¢",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"î§",List:"",CircleRing:"",Heart:"î‘",HeartFill:"î’",Tiles:"î²¥",Embed:"",Glimmer:"î³´",Ascending:"î·€",Descending:"î·",SortUp:"",SortDown:"",SyncToPC:"î¹®",LargeGrid:"",SkypeCheck:"î¾€",SkypeClock:"î¾",SkypeMinus:"",ClearFilter:"î¾",Flow:"î¾",StatusCircleCheckmark:"",MoreVertical:""}},t)}function Mu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"îŒ",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"îŒ",ProductList:"",UnpublishContent:"",DependencyAdd:"î„",DependencyRemove:"î…",EntitlementPolicy:"î†",EntitlementRedemption:"î‡",SchoolDataSyncLogo:"îŒ",PinSolid12:"î’",PinSolidOff12:"î“",AddLink:"îž",SharepointAppIcon16:"î¥",DataflowsLink:"î¦",TimePicker:"î§",UserWarning:"î¨",ComplianceAudit:"î©",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"îœ",Zoom:"",ZoomOut:"",Microphone:"îœ ",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"î€",Print:"î‰",Up:"îŠ",Down:"î‹",OEM:"îŒ",Save:"îŽ",ReturnKey:"î‘",Cloud:"î“",Flashlight:"î”",CommandPrompt:"î–",Sad:"î—",RealEstate:"î˜",SIPMove:"î™",EraseTool:"îœ",GripperTool:"îž",Dialpad:"îŸ",PageLeft:"î ",PageRight:"î¡",MultiSelect:"î¢",KeyboardClassic:"î¥",Play:"î¨",Pause:"î©",InkingTool:"î",Emoji2:"î®",GripperBarHorizontal:"î¯",System:"î°",Personalize:"î±",SearchAndApps:"î³",Globe:"î´",EaseOfAccess:"î¶",ContactInfo:"î¹",Unpin:"îº",Contact:"î»",Memo:"î¼",IncomingCall:"î¾"}},t)}function Au(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"î¿",WindowsLogo:"îž‚",Error:"",GripperBarVertical:"îž„",Unlock:"îž…",Slideshow:"",Trim:"",AutoEnhanceOn:"îž",AutoEnhanceOff:"",Color:"îž",SaveAs:"îž’",Light:"îž“",Filters:"îž•",AspectRatio:"îž™",Contrast:"îž¡",Redo:"",Crop:"",PhotoCollection:"",Album:"îž«",Rotate:"îž",PanoIndicator:"îž°",Translate:"îž²",RedEye:"îž³",ViewOriginal:"îž´",ThumbnailView:"îž¶",Package:"",Telemarketer:"îž¹",Warning:"",Financial:"îž»",Education:"îž¾",ShoppingCart:"îž¿",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"î €",StreetsideSplitMinimize:"î ‚",Car:"î „",Bus:"î †",EatDrink:"î ‡",SeeDo:"î ˆ",LocationCircle:"î Ž",Home:"î ",SwitcherStartEnd:"î ",ParkingLocation:"î ‘",IncidentTriangle:"î ”",Touch:"î •",MapDirections:"î –",CaretHollow:"î —",CaretSolid:"î ˜",History:"î œ",Location:"î ",MapLayers:"î ž",SearchNearby:"î ",Work:"î ¡",Recent:"î £",Hotel:"î ¤",Bank:"î ¥",LocationDot:"î §",Dictionary:"î ",ChromeBack:"î °",FolderOpen:"î ¸",PinnedFill:"î¡‚",RevToggleKey:"î¡…",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"î¢ ",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"î¢",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function Ru(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"î£",MoveToFolder:"",Dislike:"î£ ",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"î£",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"î¤",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"î¤",Repair:"î¤",Accounts:"î¤",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"î¤",Timer:"",FullCircleMask:"",LocationFill:"î¤ ",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"î¤",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"î¥",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"î¥ ",FrontCamera:"",ChevronUpSmall:"î¥"}},t)}function Lu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"î¦",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"î§€",PartlyCloudyNight:"î§",ClearNight:"î§‚",RainShowersDay:"",Rain:"î§„",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"î§Š",Fog:"î§‹",Squalls:"î§Œ",Duststorm:"î§",Unknown:"î§Ž",Precipitation:"î§",Ribbon:"î§‘",AreaChart:"î§’",Assign:"î§“",FlowChart:"î§”",CheckList:"î§•",Diagnostic:"î§™",Generate:"î§š",LineChart:"",Equalizer:"î§©",BarChartHorizontal:"î§«",BarChartVertical:"",Freezing:"",FunnelChart:"î§±",Processing:"î§µ",Quantity:"",ReportDocument:"î§¹",StackColumnChart:"î§¼",SnowShowerDay:"î§½",HailDay:"",WorkFlow:"î¨",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"î¨",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"î©€",BookmarksMirrored:"î©",BulletedListMirrored:"î©‚",CaretHollowMirrored:"î©…",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"î©",GoMirrored:"î©"}},t)}function Nu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"î©‘",ImportMirrored:"î©’",ImportAllMirrored:"î©“",ListMirrored:"î©•",MailForwardMirrored:"î©–",MailReplyMirrored:"î©—",MailReplyAllMirrored:"",MiniContractMirrored:"î©™",MiniExpandMirrored:"",OpenPaneMirrored:"î©›",ParkingLocationMirrored:"",SendMirrored:"î©£",ShowResultsMirrored:"î©¥",ThumbnailViewMirrored:"î©§",Media:"î©©",Devices3:"",Focus:"",VideoLightOff:"î©´",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"îª",PDF:"îª",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"îª",Wines:"",Articles:"î«",Cycling:"",DietPlanNotebook:"",Pill:"î«‹",ExerciseTracker:"",HandsFree:"î«",Medical:"î«”",Running:"",Weights:"î«›",Trackers:"",AddNotes:"î«£",AllCurrency:"",BarChart4:"î«§",CirclePlus:"î«®",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"î¬",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"î¬ ",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"î¬",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"î",Drop:"î‚",HistoricalWeather:"îƒ",SkiResorts:"î…",Snowflake:"î†",BusSolid:"î‡",FerrySolid:"îˆ",AirplaneSolid:"îŒ",TrainSolid:"î",Ticket:"î”",WifiWarning4:"î£",Devices4:"î¦",AzureLogo:"îª",BingLogo:"î«",MSNLogo:"î¬",OutlookLogoInverse:"î",OfficeLogo:"î®",SkypeLogo:"î¯",Door:"îµ",EditMirrored:"î¾",GiftCard:"",DoubleBookmark:"î®",StatusErrorFull:"î®"}},t)}function Bu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"î®",Rewind:"",Photo2:"",OpenSource:"",Movers:"î¯",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"î¯",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"î°„",NetworkTower:"î°…",CityNext:"î°†",CityNext2:"î°‡",Section:"î°Œ",OneNoteLogoInverse:"î°",ToggleFilled:"î°‘",ToggleBorder:"î°’",SliderThumb:"î°“",ToggleThumb:"î°”",Documentation:"î°—",Badge:"î°›",Giftbox:"î°Ÿ",VisualStudioLogo:"î°¢",HomeGroup:"î°¦",ExcelLogoInverse:"î°¨",WordLogoInverse:"î°©",PowerPointLogoInverse:"î°ª",Cafe:"î°²",SpeedHigh:"",Commitments:"î±",ThisPC:"",MusicNote:"î±",MicOff:"î±”",PlaybackRate1x:"î±—",EdgeLogo:"î± ",CompletedSolid:"",AlbumRemove:"î±¢",MessageFill:"î±°",TabletSelected:"î±´",MobileSelected:"î±µ",LaptopSelected:"î±¶",TVMonitorSelected:"î±·",DeveloperTools:"",Shapes:"î±¼",InsertTextBox:"î±½",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"î²",CloudUpload:"",ScrollUpDown:"î²",DateTime:"î²’",Event:"î²£",Cake:"",Org:"",PartyLeader:"î²§",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"î²",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"î³",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"î³",PageHeader:"î³®",ChatInviteFriend:"î³¾",Brush:"",Shirt:"î´€",Crown:"î´",Diamond:"î´‚",ScaleUp:"î´‰",QRCode:"î´”",Feedback:"î´•",SharepointLogoInverse:"î´˜",YammerLogo:"î´™",Hide:"î´š",Uneditable:"î´",ReturnToSession:"î´¤",OpenFolderHorizontal:"î´¥",CalendarMirrored:"î´¨"}},t)}function Uu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"î´©",OutOfOffice:"î´´",Trophy:"î´¿",ReopenPages:"îµ",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"îµ",AdminLLogoInverse32:"îµ®",AdminMLogoInverse32:"",AdminOLogoInverse32:"îµ°",AdminPLogoInverse32:"îµ±",AdminSLogoInverse32:"îµ²",AdminYLogoInverse32:"îµ³",DelveLogoInverse:"îµ¶",ExchangeLogoInverse:"",LyncLogo:"îµ¹",OfficeVideoLogoInverse:"",SocialListeningLogo:"îµ¼",VisioLogoInverse:"îµ½",Balloons:"îµ¾",Cat:"",MailAlert:"î¶€",MailCheck:"î¶",MailLowImportance:"î¶‚",MailPause:"",MailRepeat:"î¶„",SecurityGroup:"î¶…",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"î¶Š",EventInfo:"î¶‹",ForwardEvent:"î¶Œ",WipePhone:"î¶",AddOnlineMeeting:"î¶Ž",JoinOnlineMeeting:"î¶",RemoveLink:"î¶",PeopleBlock:"î¶‘",PeopleRepeat:"î¶’",PeopleAlert:"î¶“",PeoplePause:"î¶”",TransferCall:"î¶•",AddPhone:"î¶–",UnknownCall:"î¶—",NoteReply:"",NoteForward:"î¶™",NotePinned:"î¶š",RemoveOccurrence:"î¶›",Timeline:"î¶œ",EditNote:"î¶",CircleHalfFull:"î¶ž",Room:"î¶Ÿ",Unsubscribe:"î¶ ",Subscribe:"î¶¡",HardDrive:"î¶¢",RecurringTask:"î¶²",TaskManager:"î¶·",TaskManagerMirrored:"",Combine:"î¶»",Split:"î¶¼",DoubleChevronUp:"î¶½",DoubleChevronLeft:"î¶¾",DoubleChevronRight:"î¶¿",TextBox:"î·‚",TextField:"î·ƒ",NumberField:"î·„",Dropdown:"î·…",PenWorkspace:"î·†",BookingsLogo:"î·‡",ClassNotebookLogoInverse:"î·ˆ",DelveAnalyticsLogo:"î·Š",DocsLogoInverse:"î·‹",Dynamics365Logo:"î·Œ",DynamicSMBLogo:"î·",OfficeAssistantLogo:"î·Ž",OfficeStoreLogo:"î·",OneNoteEduLogoInverse:"î·",PlannerLogo:"î·‘",PowerApps:"î·’",Suitcase:"î·“",ProjectLogoInverse:"î·”",CaretLeft8:"î·•",CaretRight8:"î·–",CaretUp8:"î·—",CaretDown8:"î·˜",CaretLeftSolid8:"î·™",CaretRightSolid8:"î·š",CaretUpSolid8:"î·›",CaretDownSolid8:"î·œ",ClearFormatting:"î·",Superscript:"î·ž",Subscript:"î·Ÿ",Strikethrough:"î· ",Export:"î·¡",ExportMirrored:"î·¢"}},t)}function Vu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"î·¿",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"î¸",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"î¹¢",GroupedDescending:"",GroupedAscending:"î¹§",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"î¹°",WifiEthernet:"î¹·",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"îº",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"î»",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"î»",TriangleSolidLeft12:"",TriangleSolidRight12:"î»",TriangleUp12:"î»",TriangleDown12:"",TriangleLeft12:"î»’",TriangleRight12:"",ArrowUpRight8:"î»”",ArrowDownRight8:"",DocumentSet:"î»–",GoToDashboard:"î»",DelveAnalytics:"î»®",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"î»°",CompanyDirectory:"î¼",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"î¼²",ProfileSearch:"î¼µ",Header2:"î¼¶",Header3:"î¼·",Header4:"",RingerSolid:"",Eyedropper:"î¼¼",MarketDown:"",CalendarWorkWeek:"",SidePanel:"î½’",GlobeFavorite:"",CaretTopLeftSolid8:"î½”",CaretTopRightSolid8:"",ViewAll2:"î½–",DocumentReply:"î½—",PlayerSettings:"",ReceiptForward:"î½™",ReceiptReply:"",ReceiptCheck:"î½›",Fax:"",RecurringEvent:"î½",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"î½ ",EditMail:"",Lifesaver:"î½¢",LifesaverLock:"î½£",InboxCheck:"",FolderSearch:"î½¥"}},t)}function Hu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"î½§",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"î½",PublicContactCard:"î½®",PublicEmail:"",PublicFolder:"î½°",WordDocument:"î½±",PowerPointDocument:"î½²",ExcelDocument:"î½³",GroupedList:"î½´",ClassroomLogo:"î½µ",Sections:"î½¶",EditPhoto:"î½·",Starburst:"",ShareiOS:"î½¹",AirTickets:"",PencilReply:"î½»",Tiles2:"î½¼",SkypeCircleCheck:"î½½",SkypeCircleClock:"î½¾",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"î¾…",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"î¾",TimeEntry:"",CRMProcesses:"î¾±",PageEdit:"î¾¶",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"î¿’",EditContact:"î¿“",ConnectContacts:"î¿”",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"î¿ ",DeactivateOrders:"î¿¡",ProductCatalog:"",ScatterChart:"î¿«",AccountActivity:"î¿´",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"ï€",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"ï–",Compare:"ï—",EventDate:"ï™",ArrowUpRight:"ï©",CaretRight:"ï«",SetAction:"ï±",ChatBot:"ï‚‹",CaretSolidLeft:"ï‚",CaretSolidDown:"",CaretSolidRight:"ï‚",CaretSolidUp:"ï‚",PowerAppsLogo:"ï‚‘",PowerApps2Logo:"ï‚’",SearchIssue:"",SearchIssueMirrored:"ï‚›",FabricAssetLibrary:"",FabricDataConnectionLibrary:"ï‚",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"ï‚ ",FabricReportLibrary:"ï‚¡",FabricReportLibraryMirrored:"ï‚¢",FabricPublicFolder:"ï‚£",FabricFolderSearch:"",FabricMovetoFolder:"ï‚¥",FabricUnsyncFolder:"",FabricSyncFolder:"ï‚§",FabricOpenFolderHorizontal:"",FabricFolder:"ï‚©",FabricFolderFill:"",FabricNewFolder:"ï‚«",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function ju(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"ïƒ",BufferTimeAfter:"ïƒ",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"ï„€",PageCheckedin:"ï„„",PageList:"",ReadOutLoud:"ï„’",CaretBottomLeftSolid8:"ï„¡",CaretBottomRightSolid8:"ï„¢",FolderHorizontal:"ï„«",MicrosoftStaffhubLogo:"ï„°",GiftboxOpen:"",StatusCircleOuter:"ï„¶",StatusCircleInner:"ï„·",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"ï„»",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"ï„¿",StatusCircleBlock:"ï…€",StatusCircleBlock2:"ï…",StatusCircleQuestionMark:"ï…‚",StatusCircleSync:"ï…ƒ",Toll:"ï… ",ExploreContentSingle:"ï…¤",CollapseContent:"ï…¥",CollapseContentSingle:"ï…¦",InfoSolid:"ï…§",GroupList:"ï…¨",ProgressRingDots:"ï…ª",CaloriesAdd:"ï…²",BranchFork:"ï…³",MuteChat:"ï…º",AddHome:"ï…»",AddWork:"ï…¼",MobileReport:"",ScaleVolume:"",HardDriveGroup:"ï†",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"ï‡ ",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"ï‡",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"ïˆ",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"ï‰",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function Wu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"ï‰",StackedLineChart:"",BuildQueue:"ï‰",BuildQueueNew:"ï‰",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"ïŠ",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"ïŠ",Blur:"",Build:"ïŠ",ProcessMetaTask:"ïŠ",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"ïŠ",Redeploy:"",ServerEnviroment:"",VisioDiagram:"ïŠ ",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"ïŠ",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"ï‹€",FieldEmpty:"ï‹",FieldFilled:"ï‹‚",FieldChanged:"",FieldNotChanged:"ï‹„",RingerOff:"ï‹…",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"ï‹‹",RepoSolid:"",FolderQuery:"ï‹",FolderList:"",FolderListMirrored:"ï‹",LocationOutline:"ï‹",POISolid:"ï‹‘",CalculatorNotEqualTo:"ï‹’",BoxSubtractSolid:"ï‹“"}},t)}function zu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"ï‹”",BoxMultiplySolid:"ï‹•",BoxPlaySolid:"ï‹–",BoxCheckmarkSolid:"ï‹—",CirclePauseSolid:"",CirclePause:"ï‹™",MSNVideosSolid:"",CircleStopSolid:"ï‹›",CircleStop:"",NavigateBack:"ï‹",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"ï‹ ",UnknownSolid:"ï‹¡",UnknownMirroredSolid:"ï‹¢",CircleAddition:"ï‹£",CircleAdditionSolid:"",FilePDB:"ï‹¥",FileTemplate:"",FileSQL:"ï‹§",FileJAVA:"",FileASPX:"ï‹©",FileCSS:"",FileSass:"ï‹«",FileLess:"",FileHTML:"ï‹",JavaScriptLanguage:"ï‹®",CSharpLanguage:"",CSharp:"ï‹°",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"ï‹´",FSharpLanguage:"",FSharp:"ï‹¶",TypeScriptLanguage:"ï‹·",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"ï‹»",FullWidth:"",FullWidthEdit:"ï‹¿",Plug:"",PlugSolid:"ïŒ",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"ïŒ",FileCode:"",FileComment:"ïŒ",BusinessHoursSign:"ïŒ",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"ï€",GiftBoxSolid:"ï",ShoppingCartSolid:"ï‚",MailSolid:"ïƒ",ChatSolid:"ï„",RibbonSolid:"ï…"}},t)}function Gu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"ï†",FinancialMirroredSolid:"ï‡",HeadsetSolid:"ïˆ",PermissionsSolid:"ï‰",ParkingSolid:"ïŠ",ParkingMirroredSolid:"ï‹",DiamondSolid:"ïŒ",AsteriskSolid:"ï",OfflineStorageSolid:"ïŽ",BankSolid:"ï",DecisionSolid:"ï",Parachute:"ï‘",ParachuteSolid:"ï’",FiltersSolid:"ï“",ColorSolid:"ï”",ReviewSolid:"ï•",ReviewRequestSolid:"ï–",ReviewRequestMirroredSolid:"ï—",ReviewResponseSolid:"ï˜",FeedbackRequestSolid:"ï™",FeedbackRequestMirroredSolid:"ïš",FeedbackResponseSolid:"ï›",WorkItemBar:"ïœ",WorkItemBarSolid:"ï",Separator:"ïž",NavigateExternalInline:"ïŸ",PlanView:"ï ",TimelineMatrixView:"ï¡",EngineeringGroup:"ï¢",ProjectCollection:"ï£",CaretBottomRightCenter8:"ï¤",CaretBottomLeftCenter8:"ï¥",CaretTopRightCenter8:"ï¦",CaretTopLeftCenter8:"ï§",DonutChart:"ï¨",ChevronUnfold10:"ï©",ChevronFold10:"ïª",DoubleChevronDown8:"ï«",DoubleChevronUp8:"ï¬",DoubleChevronLeft8:"ï",DoubleChevronRight8:"ï®",ChevronDownEnd6:"ï¯",ChevronUpEnd6:"ï°",ChevronLeftEnd6:"ï±",ChevronRightEnd6:"ï²",ContextMenu:"ï¼",AzureAPIManagement:"ï¿",AzureServiceEndpoint:"",VSTSLogo:"ïŽ",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"ïŽ",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"ïŽ",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"ïŽ ",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"ïŽ",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"ï€",CRMCustomerInsightsApp:"ïˆ",EditCreate:"ï‰",PlayReverseResume:"ï¤",PlayReverse:"ï¥",SearchData:"ï±",UnSetColor:"ï¹",DeclineCall:"ï…"}},t)}function Ku(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"ï‡",TeamsLogo16:"ïŠ",TeamsLogoFill16:"ï‹",Spacer:"ï",SkypeLogo16:"ïŽ",SkypeForBusinessLogo16:"ï",SkypeForBusinessLogoFill16:"ï",FilterSolid:"ï’",MailUndelivered:"ï•",MailTentative:"ï–",MailTentativeMirrored:"ï—",MailReminder:"ï˜",ReceiptUndelivered:"ï™",ReceiptTentative:"ïš",ReceiptTentativeMirrored:"ï›",Inbox:"ïœ",IRMReply:"ï",IRMReplyMirrored:"ïž",IRMForward:"ïŸ",IRMForwardMirrored:"ï ",VoicemailIRM:"ï¡",EventAccepted:"ï¢",EventTentative:"ï£",EventTentativeMirrored:"ï¤",EventDeclined:"ï¥",IDBadge:"ï§",BackgroundColor:"ï«",OfficeFormsLogoInverse16:"ï³",OfficeFormsLogo:"ï´",OfficeFormsLogoFill:"ïµ",OfficeFormsLogo16:"ï¶",OfficeFormsLogoFill16:"ï·",OfficeFormsLogoInverse24:"ïº",OfficeFormsLogo24:"ï»",OfficeFormsLogoFill24:"ï¼",PageLock:"ï¿",NotExecuted:"ï‘€",NotImpactedSolid:"ï‘",FieldReadOnly:"ï‘‚",FieldRequired:"",BacklogBoard:"ï‘„",ExternalBuild:"ï‘…",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"ï‘",ProjectLogo32:"",ProjectLogoFill32:"ï‘¿",ProjectLogo16:"ï’€",ProjectLogoFill16:"ï’",SwayLogo32:"ï’‚",SwayLogoFill32:"ï’ƒ",SwayLogo16:"ï’„",SwayLogoFill16:"ï’…",ClassNotebookLogo32:"ï’†",ClassNotebookLogoFill32:"ï’‡",ClassNotebookLogo16:"ï’ˆ",ClassNotebookLogoFill16:"ï’‰",ClassNotebookLogoInverse32:"ï’Š",ClassNotebookLogoInverse16:"ï’‹",StaffNotebookLogo32:"ï’Œ",StaffNotebookLogoFill32:"ï’",StaffNotebookLogo16:"ï’Ž",StaffNotebookLogoFill16:"ï’",StaffNotebookLogoInverted32:"ï’",StaffNotebookLogoInverted16:"ï’‘",KaizalaLogo:"ï’’",TaskLogo:"ï’“",ProtectionCenterLogo32:"ï’”",GallatinLogo:"ï’–",Globe2:"ï’š",Guitar:"ï’›",Breakfast:"ï’œ",Brunch:"ï’",BeerMug:"ï’ž",Vacation:"ï’Ÿ",Teeth:"ï’ ",Taxi:"ï’¡",Chopsticks:"ï’¢",SyncOccurence:"ï’£",UnsyncOccurence:"ï’¤",GIF:"ï’©",PrimaryCalendar:"ï’®",SearchCalendar:"ï’¯",VideoOff:"ï’°",MicrosoftFlowLogo:"ï’±",BusinessCenterLogo:"ï’²",ToDoLogoBottom:"ï’³",ToDoLogoTop:"ï’´",EditSolid12:"ï’µ",EditSolidMirrored12:"ï’¶",UneditableSolid12:"ï’·",UneditableSolidMirrored12:"ï’¸",UneditableMirrored:"ï’¹",AdminALogo32:"ï’º",AdminALogoFill32:"ï’»",ToDoLogoInverse:"ï’¼"}},t)}function qu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"ï’½",WaffleOffice365:"ï“ ",ImageSearch:"",NewsSearch:"ï“©",VideoSearch:"",R:"ï“«",FontColorA:"",FontColorSwatch:"ï“",LightWeight:"ï“®",NormalWeight:"",SemiboldWeight:"ï“°",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"ï“´",AlignHorizontalRight:"",AlignVerticalTop:"ï“¶",AlignVerticalCenter:"ï“·",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"ï“»",Line:"",Octagon:"",Hexagon:"",Pentagon:"ï“¿",RightTriangle:"",HalfCircle:"ï”",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"ï”…",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"ï”",WindowEdit:"",HintText:"ï”",MediaAdd:"ï”",AnchorLock:"",AutoHeight:"ï”’",ChartSeries:"",ChartXAngle:"ï””",ChartYAngle:"",Combobox:"ï”–",LineSpacing:"ï”—",Padding:"",PaddingTop:"ï”™",PaddingBottom:"",PaddingLeft:"ï”›",PaddingRight:"",NavigationFlipper:"ï”",AlignJustify:"",TextOverflow:"",VisualsFolder:"ï” ",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"ï”§",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"ï”",MapPinSolid:"ï”®",WebPublish:"",PieSingleSolid:"ï”°",BlockedSolid:"ï”±",DrillDown:"",DrillDownSolid:"",DrillExpand:"ï”´",DrillShow:"",SpecialEvent:"ï”¶",OneDriveFolder16:"ï”»",FunctionalManagerDashboard:"ï•‚",BIDashboard:"",CodeEdit:"ï•„",RenewalCurrent:"ï•…",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"ï•‹",Flower:"",WaitlistConfirm:"ï•",WaitlistConfirmMirrored:"ï•‘",LaptopSecure:"ï•’",DragObject:"ï•“",EntryView:"ï•”",EntryDecline:"ï••",ContactCardSettings:"ï•–",ContactCardSettingsMirrored:"ï•—"}},t)}function Qu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"ï•™",HardDriveLock:"",HardDriveUnlock:"ï•›",AccountManagement:"",ReportWarning:"ï•©",TransitionPop:"ï–²",TransitionPush:"ï–³",TransitionEffect:"ï–´",LookupEntities:"ï–µ",ExploreData:"ï–¶",AddBookmark:"ï–·",SearchBookmark:"ï–¸",DrillThrough:"ï–¹",MasterDatabase:"ï–º",CertifiedDatabase:"ï–»",MaximumValue:"ï–¼",MinimumValue:"ï–½",VisualStudioIDELogo32:"ï—",PasteAsText:"ï—•",PasteAsCode:"ï—–",BrowserTab:"ï——",BrowserTabScreenshot:"ï—˜",DesktopScreenshot:"ï—™",FileYML:"ï—š",ClipboardSolid:"ï—œ",FabricUserFolder:"ï—¥",FabricNetworkFolder:"ï—¦",BullseyeTarget:"ï—°",AnalyticsView:"ï—±",Video360Generic:"",Untag:"",Leave:"",Trending12:"ï˜",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"ï™",DeleteColumns:"",DeleteRows:"ï™",DeleteRowsMirrored:"ï™",DeleteTable:"",AccountBrowser:"ï™’",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"ï™®",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"ï™´",PinnedSolid:"ï™¶",InsertSignatureLine:"ï™·",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"ïš™",DictionaryRemove:"ïšš",UserRemove:"ïš›",UserEvent:"ïšœ",Encryption:"ïš",PasswordField:"",OpenInNewTab:"ïš«",Hide3:"",VerifiedBrandSolid:"ïš",MarkAsProtected:"ïš®",AuthenticatorApp:"ïš±",WebTemplate:"ïš²",DefenderTVM:"ïš³",MedalSolid:"ïš¹",D365TalentLearn:"ïš»",D365TalentInsight:"ïš¼",D365TalentHRCore:"ïš½",BacklogList:"ïš¿",ButtonControl:"",TableGroup:"ï›™",MountainClimbing:"ï››",TagUnknown:"",TagUnknownMirror:"ï› ",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"ï›",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:"ïœ"}},t)}function $u(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"ïœ",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"ï‡",SkypeArrow:"ïˆ",SyncStatus:"ï‘",SyncStatusSolid:"ï’",ProjectDocument:"ï™",ToDoLogoOutline:"ï›",VisioOnlineLogoFill32:"ïŸ",VisioOnlineLogo32:"ï ",VisioOnlineLogoCloud32:"ï¡",VisioDiagramSync:"ï¢",Event12:"ï£",EventDateMissed12:"ï¤",UserOptional:"ï§",ResponsesMenu:"ï¨",DoubleDownArrow:"ï©",DistributeDown:"ïª",BookmarkReport:"ï«",FilterSettings:"ï¬",GripperDotsVertical:"ï²",MailAttached:"ï´",AddIn:"ïµ",LinkedDatabase:"ï¹",TableLink:"ïº",PromotedDatabase:"ï½",BarChartVerticalFilter:"ï¾",BarChartVerticalFilterSolid:"ï¿",MicOff2:"ïž",MicrosoftTranslatorLogo:"ïž‚",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"ïž",PowerBILogo16:"ïž",PowerBILogoBackplate16:"ïž‘",BulletedListText:"ïž’",BulletedListBullet:"ïž“",BulletedListTextMirrored:"ïž”",BulletedListBulletMirrored:"ïž•",NumberedListText:"ïž–",NumberedListNumber:"ïž—",NumberedListTextMirrored:"",NumberedListNumberMirrored:"ïž™",RemoveLinkChain:"ïžš",RemoveLinkX:"ïž›",FabricTextHighlight:"ïžœ",ClearFormattingA:"ïž",ClearFormattingEraser:"ïžž",Photo2Fill:"",IncreaseIndentText:"ïž ",IncreaseIndentArrow:"ïž¡",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"ïž§",CheckListText:"",CheckListCheck:"ïž©",CheckListTextMirrored:"",CheckListCheckMirrored:"ïž«",NumberSymbol:"",Coupon:"ïž¼",VerifiedBrand:"ïž½",ReleaseGate:"ïž¾",ReleaseGateCheck:"ïž¿",ReleaseGateError:"",M365InvoicingLogo:"ïŸ",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"ïŸ",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"ïŸ ",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"ï ƒ",CommentActive:"ï „",ColumnVerticalSectionEdit:"ï †",WavingHand:"ï ‡",ShakeDevice:"ï Š",SmartGlassRemote:"ï ‹",Rotate90Clockwise:"ï ",Rotate90CounterClockwise:"ï Ž",CampaignTemplate:"ï ‘",ChartTemplate:"ï ’",PageListFilter:"ï “",SecondaryNav:"ï ”",ColumnVerticalSection:"ï ž",SkypeCircleSlash:"ï ¥",SkypeSlash:"ï ¦"}},t)}function Yu(e,t){void 0===e&&(e=""),ou({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"ï ¨",DuplicateRow:"ï ª",RemoveFromTrash:"ï «",MailOptions:"ï ¬",Childof:"ï ",Footer:"ï ®",Header:"ï ¯",BarChartVerticalFill:"ï °",StackedColumnChart2Fill:"ï ±",PlainText:"ï ´",AccessibiltyChecker:"ï µ",DatabaseSync:"ï¡‚",ReservationOrders:"ï¡…",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"ï¡‹",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"ï¡’",MicrosoftTranslatorLogoBlue:"ï¡“",InternalInvestigation:"ï¡”",AddReaction:"ï¡",ContactHeart:"ï¡¢",VisuallyImpaired:"",EventToDoLogo:"ï¡©",Variable2:"ï¡",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"ï¡¶",Uneditable2Mirrored:"ï¡·",BarChartVerticalEdit:"ï¢",GlobalNavButtonActive:"",PollResults:"ï¢ ",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"îŠ",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}Fu(),Fu();var Zu=function(){iu("trash","delete"),iu("onedrive","onedrivelogo"),iu("alertsolid12","eventdatemissed12"),iu("sixpointstar","6pointstar"),iu("twelvepointstar","12pointstar"),iu("toggleon","toggleleft"),iu("toggleoff","toggleright")};Object(uu.a)("@fluentui/font-icons-mdl2","8.5.57");var Xu="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001","/assets/icons/"),Ju=bl();var ec=function(){return(ec=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},tc={},nc={},rc=!1,oc=function(e,t){ou(e?{icons:ec(ec({},tc),e)}:{icons:tc},t?ec(ec({},nc),t):nc),rc||(rc=!0,function(t,n){var e,r;void 0===t&&(t=(null===(e=null==Ju?void 0:Ju.FabricConfig)||void 0===e?void 0:e.iconBaseUrl)||(null===(r=null==Ju?void 0:Ju.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||Xu),[Ou,Mu,Au,Ru,Lu,Nu,Bu,Uu,Vu,Hu,ju,Wu,zu,Gu,Ku,qu,Qu,$u,Yu].forEach(function(e){return e(t,n)}),Zu()}())},ic=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),ac=function(){return(ac=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},sc=function(o){function e(e){var l=o.call(this,e)||this;l.render=function(){var e=l.props,t=e.children,n=e.theme,r=e.themeOverrides,o=e.scopedSettings,i=Dl(n,r),a=Dl(Jl,o),s={settings:{theme:Rl(i)},scopedSettings:a};return ie.createElement(Ql,ac({},s),t)};var t=l.props,n=t.iconSubset,r=t.iconOptions;return oc(n,r),l}return ic(e,o),e.defaultProps={theme:Xl,themeOverrides:{}},e}(ie.Component),lc=function(){var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),uc=function(){return(uc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},cc=!1,pc=null,dc=null,fc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lc(t,e),t.prototype._initializeFela=function(){cc||(pc||(pc=a.createRenderer()),dc||((dc=document.createElement("style")).id="stylesheet",document.head.appendChild(dc)),s.render(pc),cc=!0)},t.prototype._generateFabricStylingWrapper=function(e){return this.props.stylingTheme&&window.FluentUIReact&&sc?ie.createElement(sc,{theme:this.props.stylingTheme.theme,scopedSettings:this.props.stylingTheme.scopedSettings},e):e},t.prototype._forceUpdate=function(e){this.forceUpdate(e)},t.prototype.componentDidMount=function(){this.props.setReRenderCallBack(this._forceUpdate.bind(this))},t.prototype.render=function(){var e,t;return cc||this._initializeFela(),ie.createElement(l.RendererProvider,{renderer:pc,rehydrate:!(null===(t=null===(e=null==F?void 0:F.Utils)||void 0===e?void 0:e.isFeatureEnabled)||void 0===t?void 0:t.call(e,"DisableFelaServerHydration"))},ie.createElement(ks,uc({generateStylingWrapperElement:this.props.stylingTheme?this._generateFabricStylingWrapper.bind(this):null},this.props.givenHostProps)))},t}(ie.Component);window.CustomControls={},window.CustomControls.CustomControlHostRoot=ks,window.CustomControls.CustomControlWebClientWrapper=fc,window.CustomControls.MeasuringHandler=M.getInstance();var hc=function(){return(hc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},mc={DisplayName:"",LogicalName:"",Type:"string",IsSecured:!1,RequiredLevel:0,MinValue:-1e11,MaxValue:1e11,ImeMode:0,MaxLength:100,EntityLogicalName:"",Precision:2,Format:"1",LanguageByCode:{},TimeZoneByCode:{},Behavior:0,Targets:[],Options:null,DefaultValue:1,lastUpdatedField:null,lastUpdatedValue:null,rollupStateField:null,rollupStateValue:0,calculatedFieldValid:!1,rollupValid:!1,SourceType:null,recalculate:function(){}};function yc(e,t){var n={};switch(e){case Pe.SingleLineText:n={Format:"Text"};break;case Pe.SingleLineTextArea:n={Format:"TextArea"};break;case Pe.SingleLineEmail:n={Format:"Email"};break;case Pe.Multiple:n={Format:"2",Type:"memo",MaxLength:2e3};break;case Pe.SingleLinePhone:n={Format:"Phone"};break;case Pe.SingleLineTickerSymbol:n={Format:"TickerSymbol",MaxLength:10};break;case Pe.SingleLineURL:n={Format:"Url"};break;case Pe.TwoOptions:n={DefaultValue:!1,Type:"boolean",Options:[{Label:"No",Value:0},{Label:"Yes",Value:1}]};break;case Pe.Decimal:n={Type:"decimal",MaxValue:1e11,MinValue:-1e11};break;case Pe.FP:n={Type:"double",MaxValue:1e9,MinValue:0};break;case Pe.Currency:n={Type:"money",MaxValue:922337203685477,MinValue:-922337203685477};break;case Pe.WholeNone:n={Type:"integer",MaxValue:2147483647,MinValue:-2147483648,Precision:0,Format:"0"};break;case Pe.DateAndTimeDateAndTime:n={Behavior:3,Format:"datetime",Type:"datetime"};break;case Pe.DateAndTimeDateOnly:n={Behavior:2,Format:"date",Type:"datetime"}}return hc(hc(hc({},mc),n),t)}function gc(e){return"boolean"==typeof e?null:{error:!0,errorMessage:_r("VALIDATION_FAILED_BOOL")}}function vc(e){return e instanceof Date?null:{error:!0,errorMessage:_r("VALIDATION_FAILED_DATE")}}function bc(e){return"number"==typeof e&&!isNaN(Number(e))?null:{error:!0,errorMessage:_r("VALIDATION_FAILED_NUM")}}function Cc(e){var t=!bc(e),n=isFinite(e)&&Math.floor(e)===e;return t&&n?null:{error:!0,errorMessage:_r(t?"VALIDATION_FAILED_INT":"VALIDATION_FAILED_NUM")}}var _c=/^[^@\s\\"<>)(\[\]+:;,.-]+(([.+-][^@\s\\"<>)(\[\]+:;,.-]+)+?|)@([^@\s\\"<>)(\[\]+:;,.-]+(([.+-][^@\s\\"<>)(\[\]+:;,.-]+)+?|)([.][^0-9@\s\\"<>)(\[\]+:;,.-]+)+?|(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))$/,Sc=/["\\"]/;function Pc(e){return _c.test(e)||function(e){if("string"!=typeof e)return!1;var t=e.indexOf('"'),n=e.indexOf('"@',1);if(0===t&&n>1){var r=e.substring(1,n),o=e.replace('"'+r+'"',"abc");if(!Sc.test(r)&&_c.test(o))return!0}return!1}(e)?null:{error:!0,errorMessage:_r("VALIDATION_FAILED_EMAIL")}}function Ic(e,t){return e>=t.MinValue&&e<=t.MaxValue?null:{error:!0,errorMessage:_r("VALIDATION_FAILED_RANGE").replace("{0}",t.MinValue.toString()).replace("{1}",t.MaxValue.toString())}}function wc(e,t,n,r){if(void 0===r&&(r=!1),null==e||""===e)return null;var o=function(e){switch(e){case Pe.Decimal:case Pe.FP:case Pe.Currency:return bc;case Pe.WholeNone:return Cc;case Pe.TwoOptions:return gc;case Pe.DateAndTimeDateAndTime:case Pe.DateAndTimeDateOnly:return vc;case Pe.SingleLineEmail:return Pc}return null}(t),i=o?o(e):null;if(i)return i;if(r)for(var a=function(e){switch(e){case Pe.Decimal:case Pe.FP:case Pe.Currency:case Pe.WholeNone:return[Ic]}return[]}(t),s=yc(t,n),l=0;l<a.length;l++)if(i=a[l](e,s))return i;return null} /*! * Copyright (C) Microsoft Corporation. All rights reserved. */function xc(e,t){return new Date(t,e+1,0).getDate()}var Ec,kc=function(){function s(){}return s.getDSTAdjustmentMinutes=function(e,t){return s.getDSTAdjustment(e,t)},s.convertDateTimeFromUtcToUserDisplay=function(e,t,n){if(!e)return e;var r=6e4*t;r+=s.getDSTAdjustment(e,n);var o=6e4*e.getTimezoneOffset();return new Date(e.getTime()+r+o)},s.getDSTAdjustment=function(e,t){if(!t)return 0;var n,r=new Date(e.getTime());r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0);for(var o=0;o<t.length;o++){var i=t[o].dateStart,a=t[o].dateEnd;if(r>=i&&r<=a){n=t[o];break}}return n?s.getLocalAdjustmentFromDate(n,e):0},s.getLocalAdjustmentFromDate=function(e,t){var n=t.getFullYear(),r=s.getConstraintByYear(e.daylightStart,n),o=s.getConstraintByYear(e.daylightEnd,n);if(o<r){if(t>r||t<o)return e.delta}else if(t>r&&t<o)return e.delta;return 0},s.getConstraintByYear=function(e,t){if(e.isFixedDateRule)return new Date(t,e.month,e.day,e.timeOfDay.getHours(),e.timeOfDay.getMinutes(),e.timeOfDay.getSeconds());var n,r=7*e.week-6,o=new Date(t,e.month,1).getDay();return(n=o>e.dayOfWeek?r+(7-o+e.dayOfWeek):r+(e.dayOfWeek-o))>xc(e.month,t)&&(n-=7),new Date(t,e.month,n,e.timeOfDay.getHours(),e.timeOfDay.getMinutes(),e.timeOfDay.getSeconds())},s.convertStringToDate=function(e){var t=Date.parse(e);return isNaN(t)?void 0:new Date(t)},s.convertDateTimeFromUserDisplayToTimezoneIndependent=function(e){if(!e)return e;var t=6e4*e.getTimezoneOffset();return new Date(e.getTime()-t)},s.getWeekOfYear=function(e,t){if(t<0||t>6)throw new Error("Argument 'firstDayOfWeek' is out of range");return s.getWeekOfYearFullDays(e,t,7)},s.getWeekOfYearFullDays=function(e,t,n){var r=function(e){for(var t=0,n=0;n<e.getMonth();n++)t+=xc(n,e.getFullYear());return t+=e.getDate()}(e)-1,o=e.getDay()-r%7,i=(t-o+14)%7;0!==i&&i>=n&&(i-=7);var a=r-i;a<0&&(0!==(i=(t-(o-=(r=function(e){return e%4==0&&e%100!=0||e%400==0}(e.getFullYear()-1)?366:365)%7)+14)%7)&&i>=n&&(i-=7),a=r-i);return Math.floor(a/7+1)},s.getDatePart=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())},s}(),Tc=function(){function e(){this.stateMap=new Map}return e.getHelper=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.getState=function(e){var t=this.stateMap.get(e);return t?Object.assign({},t):null},e.prototype.setState=function(e,t){var n=this.stateMap.get(e);n=Object.assign(null!=n?n:{},t),this.stateMap.set(e,n)},e}(),Dc=function(){function e(e){e&&(this.CanBeBasic=e.CanBeBasic,this.CanBeDeep=e.CanBeDeep,this.CanBeGlobal=e.CanBeGlobal,this.CanBeLocal=e.CanBeLocal,this.CanBeEntityReference=e.CanBeEntityReference,this.CanBeParentEntityReference=e.CanBeParentEntityReference,this.Name=e.Name,this.PrivilegeId=e.PrivilegeId,this.PrivilegeType=this.GetPrivilegeType(e.privilegeType))}return e.prototype.GetPrivilegeType=function(e){switch(e){case"Create":return 1;case"Read":return 2;case"Write":return 3;case"Delete":return 4;case"Assign":return 5;case"Share":return 6;case"Append":return 7;case"AppendTo":return 8;case"None":default:return 0}},e}(),Fc=function(){function e(e){this.Attributes=e}return e.prototype.get=function(n){if(null==n)return this.Attributes;if("string"!=typeof n){if("number"==typeof n)return this.Attributes[n];if("function"==typeof n){var r=new Array;return this.Attributes.forEach(function(e,t){n(e)&&r.push(e)}),r}return null}return this.Attributes.forEach(function(e,t){if(e.LogicalName==n)return e}),this.Attributes},e.prototype.getByIndex=function(e){return this.get(e)},e.prototype.forEach=function(n){"function"==typeof n&&this.Attributes.forEach(function(e,t){n(e,t)})},e.prototype.getLength=function(){var e;return null===(e=this.Attributes)||void 0===e?void 0:e.length},e}(),Oc=function(e){var t,n,r,o,i,a,s,l,u,c,p,d,f,h,m,y;if(e){this.ActivityTypeMask=e.ActivityTypeMask,this.AutoRouteToOwnerQueue=e.AutoRouteToOwnerQueue,this.CanEnableSyncToExternalSearchIndex=null===(t=e.CanEnableSyncToExternalSearchIndex)||void 0===t?void 0:t.Value,this.CanTriggerWorkflow=e.CanTriggerWorkflow,this.Description=(null===(n=e.Description)||void 0===n?void 0:n.LocalizedLabels)?null===(o=null===(r=e.Description)||void 0===r?void 0:r.LocalizedLabels[0])||void 0===o?void 0:o.Label:"",this.DisplayCollectionName=(null===(i=e.DisplayCollectionName)||void 0===i?void 0:i.LocalizedLabels)?null===(s=null===(a=e.DisplayCollectionName)||void 0===a?void 0:a.LocalizedLabels[0])||void 0===s?void 0:s.Label:"",this.DisplayName=(null===(l=e.DisplayName)||void 0===l?void 0:l.LocalizedLabels)?null===(c=null===(u=e.DisplayName)||void 0===u?void 0:u.LocalizedLabels[0])||void 0===c?void 0:c.Label:"",this.EnforceStateTransitions=e.EnforceStateTransitions,this.EntityColor=e.EntityColor,this.EntitySetName=e.EntitySetName,this.IsActivity=e.IsActivity,this.IsActivityParty=e.IsActivityParty,this.IsBusinessProcessEnabled=e.IsBusinessProcessEnabled,this.IsChildEntity=e.IsBusinessProcessEnabled,this.IsConnectionsEnabled=null===(p=e.IsConnectionsEnabled)||void 0===p?void 0:p.Value,this.IsCustomEntity=e.IsCustomEntity,this.IsCustomizable=null===(d=e.IsCustomizable)||void 0===d?void 0:d.Value,this.IsDocumentManagementEnabled=e.IsDocumentManagementEnabled,this.IsDocumentRecommendationsEnabled=e.IsDocumentRecommendationsEnabled,this.IsDuplicateDetectionEnabled=null===(f=e.IsDuplicateDetectionEnabled)||void 0===f?void 0:f.Value,this.IsEnabledForCharts=e.IsEnabledForCharts,this.IsImportable=e.IsImportable,this.IsInteractionCentricEnabled=e.IsInteractionCentricEnabled,this.IsKnowledgeManagementEnabled=e.IsKnowledgeManagementEnabled,this.IsMailMergeEnabled=null===(h=e.IsMailMergeEnabled)||void 0===h?void 0:h.Value,this.IsManaged=e.IsManaged,this.IsOneNoteIntegrationEnabled=e.IsOneNoteIntegrationEnabled,this.IsOptimisticConcurrencyEnabled=e.IsOptimisticConcurrencyEnabled,this.IsQuickCreateEnabled=e.IsQuickCreateEnabled,this.IsReadOnlyInMobileClient=null===(m=e.IsReadOnlyInMobileClient)||void 0===m?void 0:m.Value,this.IsStateModelAware=e.IsStateModelAware,this.IsValidForAdvancedFind=e.IsValidForAdvancedFind,this.IsVisibleInMobileClient=null===(y=e.IsVisibleInMobileClient)||void 0===y?void 0:y.Value,this.LogicalCollectionName=e.LogicalCollectionName,this.LogicalName=e.LogicalName,this.ObjectTypeCode=e.ObjectTypeCode,this.PrimaryIdAttribute=e.PrimaryIdAttribute,this.PrimaryImageAttribute=e.PrimaryImageAttribute,this.PrimaryNameAttribute=e.PrimaryNameAttribute,this.Privileges=new Array;var g=this;e.Privileges.forEach(function(e){g.Privileges.push(new Dc(e))}),this.Attributes=new Fc(e.Attributes)}},Mc=function(){function f(){}return f.createDefaultProps=function(e,t,n,r){var o,i,a,s,l,u,c,p,d=f._getDefaultThemingData();return{configuration:e,manifest:r.manifest,authoringMode:r.authoringMode,descriptor:t,dynamicData:n,actions:f.createDefaultActions(r),personalizationState:r.personalizationState,children:null,contextString:"default",contextToken:{contextTokenType:1,entityTypeName:"account"},controlId:r.name,formInfo:null,id:r.uniqueId,logLevel:2,pageType:"EditForm",popupStack:[],rowSpan:1,stateToPropsMappingError:!1,themingData:{defaultThemingData:d,getEntityColor:function(e){return"blue"}},updatedProperties:[],systemDefinedProperties:{},parentDefinedControlProps:{height:r.containerProperties.Height||0===r.containerProperties.Height?r.containerProperties.Height:-1,width:r.containerProperties.Width||0===r.containerProperties.Width?r.containerProperties.Width:-1,alertParentInSeeMore:function(e){e?r.overrideStyle({zIndex:9998}):r.overrideStyle(null)}},personalizationConfiguration:{},zIndexOverride:9999,useUnicodeIconsInternally:!0,rootBodyElement:document.getElementById("publishedCanvas"),propBagMethods:{utils:{setState:r.setState,logMessage:function(e,t,n){1==n?window.clientLogWrapper.traceError(t,"PCF",e):2==n&&window.clientLogWrapper.traceWarning(t,"PCF",e)}},navigation:{openEditForm:function(){r.reportUnimplementedError("openEditForm: Method not implemented.")},openGridPage:function(){r.reportUnimplementedError("openGridPage: Method not implemented.")},openCreateForm:function(){r.reportUnimplementedError("openCreateForm: Method not implemented.")},openSearch:function(){r.reportUnimplementedError("openSearch: Method not implemented.")},openPowerBIFullScreenPage:function(){r.reportUnimplementedError("openPowerBIFullScreenPage: Method not implemented.")},openDashboard:function(){r.reportUnimplementedError("openDashboard: Method not implemented.")},openUrl:function(){r.reportUnimplementedError("openUrl: Method not implemented.")},openUrlWithProtocol:function(){r.reportUnimplementedError("openUrlWithProtocol: Method not implemented.")},openPhoneNumber:function(){r.reportUnimplementedError("openPhoneNumber: Method not implemented.")},openMaps:function(){r.reportUnimplementedError("openMaps: Method not implemented.")},openMap:function(){r.reportUnimplementedError("openMap: Method not implemented.")}},device:{isGetBarcodeValueOperationAvailable:r.pcfApi.isGetBarcodeValueOperationAvailable,isTakePictureOperationAvailable:function(){return null},isCaptureVideoOperationAvailable:function(){return r.reportUnimplementedError("isCaptureVideoOperationAvailable: Method not implemented."),null},isCaptureAudioOperationAvailable:function(){return r.reportUnimplementedError("isCaptureAudioOperationAvailable: Method not implemented."),null},isOpenARViewerAvailable:r.pcfApi.isOpenARViewerAvailable,isGetMessageReceiverAvailable:r.pcfApi.isGetMessageReceiverAvailable},mode:{setNotification:function(){return r.reportUnimplementedError("setNotification: Method not implemented."),null},clearNotification:function(){return r.reportUnimplementedError("clearNotification: Method not implemented."),null}}},propBagData:{accessibilityData:{assignedTabIndex:r.calculatedTabIndex||0===r.calculatedTabIndex?r.calculatedTabIndex:-1,assignedTooltip:r.containerProperties&&r.containerProperties.Tooltip},utilsData:{encoder:{CrmHtmlEncode:function(){return r.reportUnimplementedError("CrmHtmlEncode: Method not implemented."),null},CrmUrlEncode:function(){return r.reportUnimplementedError("CrmUrlEncode: Method not implemented."),null}},dateTimeUtils:kc,hasEntityPrivilege:function(){return r.reportUnimplementedError("hasEntityPrivilege: Method not implemented."),null}},themingData:{defaultThemingData:d,getEntityColor:function(e){return r.reportUnimplementedError("getEntityColor: Method not implemented."),null}},formattingData:f._processFormattingData(r.formattingInfo),clientData:{orgSettingsData:{isRTL:f.isRTL(r.formattingInfo.formatInfoCultureName),fiscalYearStartDate:new Date("2017-01-01T18:59:00.000Z"),fiscalPeriodFormat:1,fiscalPeriodType:2002,fiscalYearFormatYear:1,fiscalYearFormatPrefix:1,fiscalYearFormatSuffix:3,fiscalYearDisplayCode:1,fiscalPeriodConnector:"s",showWeekNumber:!1,boundDashboardDefaultCardExpanded:!1,organizationId:"{E534EEBD-1E20-4C07-894A-99CD76927368}",isActionCardEnabled:!1,isEmailMonitoringAllowed:!1,allowUnresolvedPartiesOnEmailSend:!1},languageCode:f.getLCID(r.formattingInfo),isRTL:f.isRTL(r.formattingInfo.formatInfoCultureName),showWeekNumber:!1,locale:r.formattingInfo.formatInfoCultureName,userAgent:{isWin:!0,isAndroid:!1,isAndroidModern:!1,isIos:!1,isBrowserIE:!1,isBrowserChrome:!0,isBrowserFirefox:!1},usePathBasedUrls:!1,organizationUniqueName:"OneFarm",disableScroll:r.pcfApi.getDisableScroll(),formFactor:2},pageData:{appId:"047efa7c-0976-e711-8104-000d3aa167ac",isPageReadOnly:!1},resourcesData:{strings:r.locStrings,stringsLoaded:r.isControlLoaded},modeData:{entityTypeName:null===(s=null===(a=null===(i=null===(o=$("#"+r.controlContext.UniqueId))||void 0===o?void 0:o.closest(".entity-form"))||void 0===i?void 0:i.children("input[type='hidden'][id$='EntityName']"))||void 0===a?void 0:a.val())||void 0===s?void 0:s.toString(),entityId:null===(p=null===(c=null===(u=null===(l=$("#"+r.controlContext.UniqueId))||void 0===l?void 0:l.closest(".entity-form"))||void 0===u?void 0:u.children("input[type='hidden'][id$='EntityID']"))||void 0===c?void 0:c.val())||void 0===p?void 0:p.toString(),entityRecordName:"",isOffline:!1,isRead:r.isread,isAuthoringMode:r.authoringMode}}}},f.createDefaultActions=function(t){return{clearNestedChild:function(e){return!1},createAccessibilityComponent:function(e){return null},createCommandManagerUXComponent:function(){return function(e){return null}},createKeyboardShortcut:function(e,t,n,r,o,i){return null},createXrmForm:function(e,t,n,r){return!1},createXrmGrid:function(e,t,n,r){return!0},registerNewControl:function(e,t,n,r){return!1},executeAddOnLoad:function(e,t){return null},executeNotifyHandlersThatEventOccurred:function(e){return null},getRecordSetQueryKey:function(e){return null},addSessionTab:function(e){return null},closeSessionTab:function(e){return null},updateSessionTab:function(e){return null},closeAllSessionTabs:function(){return null},dismissMessage:function(){return null},initializeReferencePanelControl:function(e){return null},cleanReferencePanelState:function(){return null},markActiveTab:function(e,t){return null},getResource:function(e){return t.reportUnimplementedError("getResource: Method not implemented."),Promise.reject()},initializeCommandManager:function(e,t,n,r){return null},loadManifest:function(e,t){return null},loadResources:function(e){return null},loadResourceStrings:function(e){return null},triggerOfflineMetadataSync:function(){return null},retrieveFormWithAttributes:function(e,t,n){return null},refreshDataSetParameter:function(e,t){return null},retrieveDataSetLookupCellParameter:function(e,t,n){return null},renderNestedCustomControl:function(e,t,n){return null},renderReactSubtree:function(e,t){},retrieveGridData:function(e){return null},retrieveLookupData:function(e){return null},retrieveLookupMetadataAction:function(e){return null},addPendingCommandManagerId:function(e,t,n,r){return null},retrieveRecordCommand:function(e,t,n,r,o,i,a,s,l){return null},retrieveRecordDataForForm:function(e,t,n,r,o){return null},retrieveForm:function(e,t){return null},retrieveEntityData:function(e){return null},retrieveChartDrilldownAttributes:function(e){return null},retrieveView:function(e,t,n,r){return null},retrieveViewSelector:function(e,t){return null},save:function(e,t){return null},saveEmbeddedEntity:function(e,t,n,r,o){return null},setFieldControlPersonalization:function(e,t){return null},setGridControlPersonalization:function(e,t){return null},setDashboardControlPersonalization:function(e,t){return null},setGenericControlPersonalization:function(e,t,n){return null},setGlobalControlPersonalization:function(e,t){return Tc.getHelper().setState(e,t)},setPowerBISignedInState:function(e,t){return null},setValue:function(e,t,n){return null},setXrmObject:function(e){},updateFieldValue:function(e,t,n,r,o,i){return null},updateOutputs:function(e,t,n,r,o,i,a){return null},openPopup:function(e){return null},closePopup:function(e){return null},updateControlMemoizedDataSet:function(e,t,n){},executeRollupRequest:function(e,t){return null},isPresenceEnabledEntity:function(e){return null},getPresenceMappedField:function(e){return null},handleOutputSchemaChange:function(e){return null},getConnectorsApi:function(e){return null},fireManifestEvent:function(e){return null}}},f.isRTL=function(e){return"1037"===e||"1025"===e},f.getLCID=function(e){var t=1033;return e.languagesByCode&&Object.keys(e.languagesByCode).length>0&&(t=parseInt(Object.keys(e.languagesByCode)[0],10)),t},f._processFormattingData=function(e){return e.numberFormat=f._ensureLowercaseKeys(e.numberFormat),e.dateTimeFormat.Calendar=f._ensureLowercaseKeys(e.dateTimeFormat.Calendar),e.dateTimeFormat=f._ensureLowercaseKeys(e.dateTimeFormat),e},f._ensureLowercaseKeys=function(e){for(var t in e){var n=void 0;switch(t){case"AMDesignator":n="amDesignator";break;case"PMDesignator":n="pmDesignator";break;case"NaNSymbol":n="nanSymbol";break;default:n=t.charAt(0).toLowerCase()+t.slice(1)}e.hasOwnProperty(n)||(e[n]=e[t])}return e},f.InitializeXrm=function(e,t,n,r,o){var i=this,a=O;a.setReporting(this.getReporting()),n&&a.setIntelligenceApi(n),a.setDiagnostics({traceError:function(e,t){i.getReporting().reportFailure(e,new Error(t))},traceWarning:function(e,t){return null},traceInfo:function(e,t){return null},traceDebug:function(e,t){return null},isInMonitorSession:function(){return!1}}),a.setNavigationContext({openErrorDialog:function(n){return new Promise(function(e,t){try{e(n)}catch(e){t(n)}})},openAlertDialog:function(e){return r("openAlertDialog: Method not implemented."),Promise.reject()},openConfirmDialog:function(e){return r("openConfirmDialog: Method not implemented."),Promise.reject()},openDialog:function(e){return r("openDialog: Method not implemented."),Promise.reject()},openFile:function(e){return r("openFile: Method not implemented."),Promise.reject()},openForm:function(e){return r("openForm: Method not implemented."),Promise.reject()},openTaskFlow:function(e){return r("openTaskFlow: Method not implemented."),Promise.reject()},openUrl:function(e){r("openUrl: Method not implemented.")},openWebResource:function(e){r("openWebResource: Method not implemented.")},navigateTo:function(e){return r("navigateTo: Method not implemented."),Promise.reject()}}),a.setClient({getFormFactor:e.getFormFactor,getClient:e.getClient,getClientState:function(){return null},isNetworkAvailable:function(){throw new Error("Function not implemented.")}}),a.setDeviceContext({isGetBarcodeValueAvailable:function(){return!1},captureImage:e.captureImage,getBarcodeValue:e.getBarcodeValue,getCurrentPosition:e.getCurrentPosition,captureAudio:function(){return r("captureAudio: Method not implemented."),Promise.reject()},captureVideo:function(){return r("captureVideo: Method not implemented."),Promise.reject()},pickFile:e.pickFile,isOpenARViewerAvailable:function(){return!1},openARViewer:e.openARViewer,getMessageReceiver:e.getMessageReceiver,isGetMessageReceiverAvailable:e.isGetMessageReceiverAvailable}),a.setUserSettings({getTimeZoneOffsetMinutes:function(e){return null},userId:null,userName:null,languageId:f.getLCID(t),securityRoles:[],isHighContrastEnabled:!1,isRTL:f.isRTL(t.formatInfoCultureName),pagingLimit:null,formatInfoCultureName:t.formatInfoCultureName}),a.setOrgSettings({languageId:f.getLCID(t),uniqueName:null,isAutoSaveEnabled:!1,attributes:{}});var s={retrieveRecord:function(n,e,t){if(null!=n&&""!=n&&null!=t&&null!=e){t=t.startsWith("?")?t:"?"+t;var r=f.safeAjax(n,{type:"GET",url:"/_api/"+n+"("+e+")"+t,contentType:"application/json"},function(e){if(e){var t={data:e,entityType:n,values:e.value};return r.resolve(t)}return r.reject()});return r.promise()}},retrieveMultipleRecords:function(e,t,n){if(null!=e&&""!=e){t=t.startsWith("?")?t:"?"+t;var r=f.safeAjax(e,{type:"GET",url:"/_api/"+e+t,contentType:"application/json"},function(e){if(e){var t={entities:e.value,nextLink:e.nextLink};return r.resolve(t)}return r.reject()});return r.promise()}},updateRecord:function(n,e,t){if(null!=n&&""!=n&&null!=e&&null!=t){var r=f.safeAjax(n,{type:"PATCH",url:"/_api/"+n+"("+e+")",contentType:"application/json",data:JSON.stringify(t)},function(e){if(e){var t={id:e.getResponseHeader("entityId"),entityType:n};return r.resolve(t)}return r.reject()});return r.promise()}},createRecord:function(n,e){if(null!=n&&""!=n&&null!=e){var r=f.safeAjax(n,{type:"POST",url:"/_api/"+n,contentType:"application/json",data:JSON.stringify(e)},function(e){if(e){var t={id:e.getResponseHeader("entityId"),entityType:n};return r.resolve(t)}return r.reject()});return r.promise()}},deleteRecord:function(n,e){if(null!=n&&""!=n&&null!=e){var r=f.safeAjax(n,{type:"DELETE",url:"/_api/"+n+"("+e+")",contentType:"application/json"},function(e){if(e){var t={id:e.getResponseHeader("entityId"),entityType:n};return r.resolve(t)}return r.reject()});return r.promise()}},execute:function(){return r("execute: Method not implemented."),Promise.reject()},executeMultiple:function(){return r("executeMultiple: Method not implemented."),Promise.reject()}};a.setWebApi({online:s,offline:s}),a.setPage({getClientUrl:function(){return window.location.origin}}),a.setExternalContext({getAvailableExternalContexts:function(){return r("getAvailableExternalContexts: Method not implemented."),null},getExternalContextProperty:function(){return r("getExternalContextProperty: Method not implemented."),Promise.reject()},invokeExternalContextAction:function(){return r("invokeExternalContextAction: Method not implemented."),Promise.reject()},removeExternalContextPropertyListener:function(){r("removeExternalContextPropertyListener: Method not implemented.")}}),a.setUtils({beginSecureSessionForResource:function(){return r("beginSecureSessionForResource: Method not implemented."),Promise.reject()},getEntityMetadata:function(e,t){if(null!=e&&""!=e){var n="";t&&t.length>0&&t.length<25&&(n="$filter=",t.forEach(function(e){n=n.endsWith("=")?n+"LogicalName eq '"+e+"'":n+" or LogicalName eq '"+e+"'"}));var r="/_api/EntityDefinitions(LogicalName='"+e+"')?$expand=Attributes";""!=n&&(r=r+"("+n+")");var o=f.safeAjax(e,{type:"GET",url:r,contentType:"application/json"},function(e){return e?o.resolve(new Oc(e)):o.reject()});return o.promise()}return Promise.reject()},getEntitiesMetadata:function(){return r("getEntitiesMetadata: Method not implemented."),Promise.reject()},getResourceString:function(){return r("getResourceString: Method not implemented."),null},isFeatureEnabled:function(e){return-1!==f.DEFAULT_FCBS_RTE.indexOf(e)},lookupObjects:function(){return r("lookupObjects: Method not implemented."),Promise.reject()},getEntityName:function(){return r("getEntityName: Method not implemented."),null},getFormId:function(){return r("getFormId: Method not implemented."),Promise.reject()},canOpenUrl:function(){return r("canOpenUrl: Method not implemented."),Promise.reject()},getUserSettings:function(){return r("getUserSettings: Method not implemented."),Promise.reject()}}),a.setApplicationUI({clearGlobalNotification:function(){return r("clearGlobalNotification: Method not implemented."),Promise.reject()},clearGlobalNotifications:function(){return r("clearGlobalNotifications: Method not implemented."),Promise.reject()},addGlobalNotification:function(){return r("addGlobalNotification: Method not implemented."),Promise.reject()}})},f.safeAjax=function(t,r,o){var n=$.Deferred();return globalThis.shell.getTokenDeferred().done(function(e){r.headers?(r.headers.__RequestVerificationToken=e,r.headers["PCF-Entity-Logical-Name"]=t):$.extend(r,{headers:{__RequestVerificationToken:e,"PCF-Entity-Logical-Name":t}}),$.ajax(r).done(function(e,t,n){"GET"==r.type?o(e):o(n)}).fail(function(){return n.reject()})}).fail(function(){return n.rejectWith(this,arguments)}),n},f.getReporting=function(){return{reportSuccess:function(){},reportFailure:function(e,t,n){var r="Error: ".concat(t.message).concat(n?". Suggested mitigation: "+n:"");window.clientLogWrapper.traceError(r,"PCF",e)},reportEvent:function(){}}},f._getDefaultThemingData=function(){return{defaultthemingcolor:"#3B79B7",mainthemecolor:"#3B79B7",accentthemecolor:"#DB3923",navbarshelfcolor:{Fill:"#FFFFFF",Text:"#000000"},headercolor:"#F26151",globallinkcolor:"#1160B7",selectedlinkeffect:"#F26158",selectedlinkeffectcolor:"#F26158",hoverlinkeffectcolor:"#E7EFF7",processcontrolcolor:"#41A053",defaultentitycolor:"#3B79B7",defaultcustomentitycolor:"#3B79B7",controlshadecolor:"#3B79B7",controlbordercolor:"#3B79B7",textboxfonticonsize:"1em",textboxfontweight:400,textboxcontentfontweight:600,textboxfontsize:"1em",textboxerrorfontsize:"0.9em",textboxspacing:"0.25em",textboxnotificationiconcontainerheight:"calc(100% - 0.5em)",textboxcontainerspacing:"0.75em",textboxrightmargin:"2em",textboxlineheight:"1.5em",textboxlinethickness:"1px",textboxhorizontalpadding:"0.5em",textboxverticalpadding:"0.5em",lookuptagpadding:"6px",lookuptagmargin:"-5px",textboxmaxlength:200,normalfontfamily:"'SegoeUI', 'Segoe UI'",normalfontcolor:"#F26197",normalfontsize:"13px",solidborderstyle:"solid",noneborderstyle:"none",colors:{whitebackground:"#FFFFFF",defaulttheming:"#3B79B7",navbarshelf:{Fill:"#FFFFFF",Text:"#000000"},header:"#F26151",globallink:"#1160B7",selectedlinkeffect:"#F26158",selectedlinkeffectcolor:"#F26158",hoverlinkeffect:"#E7EFF7",processcontrol:"#41A053",defaultentity:"#666666",defaultcustomentity:"#00CCA3",controlshade:"#FFFFFF",controlborder:"#BDC3C7",control:{text:"#000000",fill:"#FFFFFF",stroke:"#BDC3C7"},navbar:{navbar1:{text:"#FFFFFF",fill:"#000000"},navbar2:{text:"#000000",fill:"#696969"}},pageheader:{text:"#000000",fill:"#E0E0E0"},pagepanel:{text:"#000000",fill:"#000000"},defaultsurface:{text:"#000000",fill:"#FFFFFF"},customentity:{text:"#000000",fill:"#00CCA3"},entity:{text:"#000000",fill:"#666666"},title:{text:"#1160B7",fill:{Color:"#FFFFFF",Opacity:0}},status:{neutral:"#FFFFFF",error:"#000000",warning:"#000000",success:"#000000",info:"#FFFFFF"},statuscolor:{alert1:{text:"#FFFFFF",fill:"#ea0600"},alert2:{text:"#000000",fill:"#ff0c00"},priority1:{text:"#FFFFFF",fill:"#b22912"},priority2:{text:"#000000",fill:"#ff5b45"},priority3:{text:"#000000",fill:"#f2c624"},positive1:{text:"#FFFFFF",fill:"#358717"},positive2:{text:"#000000",fill:"#47c21d"},info1:{text:"#FFFFFF",fill:"#3b79b7"},neutral1:{text:"#FFFFFF",fill:"#666666"}},accent:{accent1:{text:"#000000",fill:"#DB3923"},accent2:{text:"#000000",fill:"#ea8a7d"}},maintheme:{maincolor1:{fill:"#3B79B7",text:"#000000"},maincolor2:{fill:"#c0d4e8",text:"#000000"}},base:{white:"#FFFFFF",black:"#000000",red:"#ffa2a2",orange:"#ffd5d2",yellow:"#fae8a7",green:"#bdf2a7",blue:"#a8d0ff",purple:"#e9bbff"},basecolor:{red:{red1:"#ffa2a2",red2:"#ff0c00",red3:"#ea0600",red4:"#bf0900",red5:"#800600"},orange:{orange1:"#ffd5d2",orange2:"#ff9685",orange3:"#ff5b45",orange4:"#b22912",orange5:"#80281a"},blue:{blue1:"#a8d0ff",blue2:"#6aa6ff",blue3:"#3b79b7",blue4:"#315fa2",blue5:"#25477a"},green:{green1:"#bdf2a7",green2:"#70bc57",green3:"#47c21d",green4:"#358717",green5:"#1c6512"},teal:{teal1:"#99ebed",teal2:"#00ced3",teal3:"#00b7c3",teal4:"#008992",teal5:"#005c62"},yellow:{yellow1:"#fae8a7",yellow2:"#f7cf52",yellow3:"#f2c624",yellow4:"#bf991f",yellow5:"#725a0d"},clay:{clay1:"#f4c0b9",clay2:"#e2614f",clay3:"#db3923",clay4:"#a42b1a",clay5:"#6e1d12"},pink:{pink1:"#ffddf2",pink2:"#ffc7ea",pink3:"#ffa8da",pink4:"#b26491",pink5:"#652f4e"},violet:{violet1:"#e6bdee",violet2:"#b860c1",violet3:"#a638b2",violet4:"#6a1e7a",violet5:"#47104c"},purple:{purple1:"#e9bbff",purple2:"#a350c4",purple3:"#8c2ab5",purple4:"#691b88",purple5:"#46125b"},grey:{grey1:"#efefef",grey2:"#e2e2e2",grey3:"#d8d8d8",grey4:"#b3b3b3",grey5:"#666666",grey6:"#444444",grey7:"#333333"},white:"#FFFFFF",black:"#000000",transparent:{Color:"#FFFFFF",Opacity:0}},links:{default:"#1160B7",visited:"#F8FAFC",disabled:"#666666"},linkcolor:{normal:{text:"#1160B7",fill:{Color:"#FFFFFF",Opacity:0}},hover:{text:"#E7EFF7",fill:{Color:"#FFFFFF",Opacity:0}},visited:{text:"#F8FAFC",fill:{Color:"#FFFFFF",Opacity:0}},pressed:{text:"#25477a",fill:{Color:"#FFFFFF",Opacity:0}},disabled:{text:"#666666",fill:"#666666"}},grays:{gray01:"#efefef",gray02:"#e2e2e2",gray03:"#d8d8d8",gray04:"#b3b3b3",gray05:"#666666",gray06:"#444444",gray07:"#333333"}},textbox:{fonticonsize:"1em",fontweight:400,contentfontweight:"600",fontsize:"1em",errorfontsize:"0.9em",spacing:"0.25em",notificationiconcontainerheight:"calc(100% - 0.5em)",containerspacing:"0.75em",rightmargin:"2em",lineheight:"1.5em",linethickness:"1px",horizontalpadding:"0.5em",verticalpadding:"0.5em",maxlength:200,labelcolor:"#444444",contentcolor:"#000000",linecolor:"#DDDDDD",hoverboxcolor:"#0072C6",backgroundcolor:"#F2F8FF",errorbackgroundcolor:"#FFF5F5",redcolor:"#EA0600",bluecolor:"#0000FF",restmodecolor:"#FFFFFF"},spacings:{xshorizontal:"0.5em",shorizontal:"0.5em",bhorizontal:"1em",mhorizontal:"2em",lhorizontal:"2.5em",xlhorizontal:"3.5em",xxlhorizontal:"4.5em",xsvertical:"0.5em",svertical:"0.5em",bvertical:"1em",mvertical:"2em",lvertical:"2.5em",xlvertical:"3.5em",xxlvertical:"4.5em"},fontfamilies:{semilight:"'SegoeUI-Light', 'Segoe UI Semilight', 'Segoe UI Regular', 'Segoe UI'",semibold:"'SegoeUI-Semibold', 'Segoe UI Semibold', 'Segoe UI Regular', 'Segoe UI'",regular:"'Segoe UI Regular', 'Segoe UI'",bold:"'SegoeUI-Bold', 'Segoe UI Bold', 'Segoe UI'"},fontsizes:{xsfontsize:"0.750rem",sfontsize:"0.875rem",bfontsize:"1rem",mfontsize:"1rem",lfontsize:"1.25rem",xlfontsize:"1.5rem",font225:"2.25rem",font200:"2.00rem",font175:"1.75rem",font150:"1.50rem",font125:"1.25rem",font115:"1.15rem",font100:"1.00rem",font085:"0.85rem",font075:"0.75rem",font1143:"1.143rem"},breakpoints:{dimensionxs:320,dimensions:480,dimensionm:768,dimensionl:1024,dimensionxl:1024},measures:{measure025:"0.25rem",measure050:"0.5rem",measure075:"0.75rem",measure100:"1.00rem",measure125:"1.25rem",measure150:"1.50rem",measure175:"1.75rem",measure200:"2.00rem",measure225:"2.25rem",measure250:"2.50rem",measure300:"3.00rem",measure350:"3.50rem",measure400:"4.00rem",measure450:"4.50rem",measure500:"5.00rem",measure550:"5.50rem",measure600:"6.00rem"},lookup:{tagpadding:"6px",tagmargin:"-5px",tagbackgroundcolor:"#ECF4FA"},borders:{border01:"1px solid #efefef",border02:"1px solid #d8d8d8",border03:"1px dashed black",border04:"1px solid #666666",border05:"1px dashed #000000"},shadows:{shadow01:"0px 2px 4px 0px rgba(0, 0, 0, 0.5);"},buttons:{button01primary:{borderColor:"transparent",backgroundColor:"#3b79b7",height:"2.50rem",minWidth:"6.00rem",cursor:"pointer",justifyContent:"center",alignItems:"center",paddingLeft:"1.00rem",paddingRight:"1.00rem",":focus":{outline:"1px dashed black"},":hover":{backgroundColor:"#25477a"},":active":{backgroundColor:"#25477a",outline:"1px solid #25477a",border:"1px solid white",":disabled":{outline:0,border:"1px solid transparent"}},":disabled":{backgroundColor:"#666666",cursor:"not-allowed","> span":{color:"#efefef"}}},button01secondary:{border:"1px solid #3b79b7",backgroundColor:"#FFFFFF",height:"2.50rem",minWidth:"6.00rem",cursor:"pointer",justifyContent:"center",alignItems:"center",paddingLeft:"1.00rem",paddingRight:"1.00rem",":focus":{outline:"1px dashed black"},":hover":{backgroundColor:"#25477a",borderColor:"transparent","> span":{color:"#FFFFFF"},":disabled":{"> span":{color:"#efefef"}}},":active":{backgroundColor:"#25477a",outline:"1px solid #25477a",border:"1px solid white",borderColor:"transparent","> span":{color:"#FFFFFF"},":disabled":{outline:0,border:"1px solid transparent"}},":disabled":{backgroundColor:"#666666",cursor:"not-allowed",borderColor:"transparent","> span":{color:"#efefef"}}},buttonprimarytext:{fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#FFFFFF",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},buttonsecondarytext:{fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#3b79b7",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},actioniconbutton01:{height:"2.50rem",width:"2.50rem",borderStyle:"none",backgroundColor:"transparent",justifyContent:"center",alignItems:"center",cursor:"pointer","> span":{fontSize:"1.00rem",color:"#333333"},":focus":{outline:"1px dashed black"},":hover":{backgroundColor:"#efefef"},":disabled":{cursor:"not-allowed","> span":{color:"#b3b3b3"}}},button02primary:{borderColor:"transparent",backgroundColor:"#3b79b7",height:"1.50rem",minWidth:"4.00rem",cursor:"pointer",justifyContent:"center",alignItems:"center",paddingLeft:"0.5rem",paddingRight:"0.5rem",":focus":{outline:"1px dashed black"},":hover":{backgroundColor:"#25477a"},":active":{backgroundColor:"#25477a",outline:"1px solid #25477a",border:"1px solid white",":disabled":{outline:0,border:"1px solid transparent"}},":disabled":{backgroundColor:"#666666",cursor:"not-allowed","> span":{color:"#efefef"}}},button02secondary:{border:"1px solid #3b79b7",backgroundColor:"#FFFFFF",height:"1.50rem",minWidth:"4.00rem",cursor:"pointer",justifyContent:"center",alignItems:"center",paddingLeft:"0.5rem",paddingRight:"0.5rem",":focus":{outline:"1px dashed black"},":hover":{backgroundColor:"#25477a",borderColor:"transparent","> span":{color:"#FFFFFF"},":disabled":{"> span":{color:"#efefef"}}},":active":{backgroundColor:"#25477a",outline:"1px solid #25477a",border:"1px solid white",borderColor:"transparent","> span":{color:"#FFFFFF"},":disabled":{outline:0,border:"1px solid transparent"}},":disabled":{backgroundColor:"#666666",cursor:"not-allowed",borderColor:"transparent","> span":{color:"#efefef"}}}},links:{TouchTarget:{height:"2.00rem",fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#3b79b7"},Reset:{height:"2.00rem",fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#3b79b7"},Focus:{height:"2.00rem",fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#3b79b7",border:"1px dashed black"},Hover:{height:"2.00rem",fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#3b79b7",cursor:"pointer",textDecoration:"underline"},Pressed:{height:"2.00rem",fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#25477a",cursor:"pointer",textDecoration:"underline"},Visited:{height:"2.00rem",fontSize:"1.00rem",fontFamily:"'Segoe UI Regular', 'Segoe UI'",color:"#25477a"}}}},f.DEFAULT_FCBS_RTE=["CKEditorUpdateEnabled"],f}(); /*! * Copyright (C) Microsoft Corporation. All rights reserved. */function Ac(e){return"number"!=typeof e||isNaN(e)||e===1/0||e===-1/0||Math.floor(e)!==e?Ec.NotANumber:null}function Rc(e){return"number"!=typeof e||isNaN(e)||e===1/0||e===-1/0?Ec.NotANumber:null}function Lc(e,t){var n;switch(null===(n=null==t?void 0:t.AttributeTypeName)||void 0===n?void 0:n.Value){case"DoubleType":case"DecimalType":case"DoubleType":case"IntegerType":case"MoneyType":return function(e){return"number"==typeof e?e:"string"==typeof e&&""!==e&&e.indexOf(" ")<0?Number(e):null}(e);default:return e}}!function(e){e[e.RequiredValueNotProvided=0]="RequiredValueNotProvided",e[e.MaxLengthExceeded=1]="MaxLengthExceeded",e[e.EmailAddressInvalid=2]="EmailAddressInvalid",e[e.NotAnInteger=3]="NotAnInteger",e[e.LessThanMinValue=4]="LessThanMinValue",e[e.GreaterThanMaxValue=5]="GreaterThanMaxValue",e[e.InvalidDate=6]="InvalidDate",e[e.NotANumber=7]="NotANumber",e[e.InvalidTypeForField=8]="InvalidTypeForField"}(Ec||(Ec={}));var Nc,Bc,Uc=function(r){var t,n,o,i=function(e){var t,n={dataType:null===(t=null==e?void 0:e.AttributeTypeName)||void 0===t?void 0:t.Value,required:1==(null==e?void 0:e.RequiredLevel)};return n.maxValue=null==e?void 0:e.MaxValue,n.minValue=null==e?void 0:e.MinValue,n.maxLength=null==e?void 0:e.MaxLength,n}(r),a=[];switch("IntegerType"==i.dataType&&a.push(Ac),i.dataType){case"IntegerType":a.push(Ac);break;case"DoubleType":case"DecimalType":case"DoubleType":case"MoneyType":a.push(Rc)}return(i.maxValue||i.minValue)&&a.push((t=i.minValue,n=i.maxValue,function(e){return void 0!==t&&e<t?Ec.LessThanMinValue:void 0!==n&&e>n?Ec.GreaterThanMaxValue:null})),i.maxLength&&a.push((o=i.maxLength,function(e){return e&&e.length>o?Ec.MaxLengthExceeded:null})),function(e){var t={validationError:null,validationErrorString:null};if(""===e||null===e)i.required?t.validationError=Ec.RequiredValueNotProvided:t.parsedValue=e;else{var n=Lc(e,r);null===n?t.validationError=Ec.InvalidTypeForField:(t.parsedValue=n,t.validationError=function(o){return function(e){for(var t=0,n=o;t<n.length;t++){var r=(0,n[t])(e);if(null!==r)return r}return null}}(a)(n))}return t}};function Vc(e,n,r){var o=-1;return $.each(e,function(e,t){if(-1!=t[n].toString().toLowerCase().indexOf(r.toString().toLowerCase()))return o=e,!1}),o}function Hc(e){return decodeURIComponent(atob(e).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function jc(e){var t,n,r=null===(t=null==e?void 0:e.AttributeTypeName)||void 0===t?void 0:t.Value;if(void 0===r)return"";switch(r){case"BooleanType":return Nc.TwoOptions;case"MoneyType":return Nc.Currency;case"DateTimeType":return 0==e.Format||"DateOnly"==e.Format?Nc.DateAndTimeDateOnly:Nc.DateAndTime;case"HyperlinkType":return Nc.SingleLineUrl;case"DoubleType":case"DecimalType":return Nc.Decimal;case"IntegerType":return Nc.Integer;case"StateType":case"StatusType":case"PicklistType":return Nc.OptionSet;case"MultiSelectPicklistType":return Nc.MultiSelectOptionSet;case"LookupType":return Nc.LookupType;case"CustomerType":return Nc.CustomerType;case"OwnerType":return Nc.OwnerType;case"PartyListType":return Nc.PartyListType;case"StringType":switch(null===(n=e.FormatName)||void 0===n?void 0:n.Value.toLowerCase()){case"email":return Nc.SingleLineEmail;case"textarea":return Nc.SingleLineTextArea;case"url":return Nc.SingleLineUrl;case"tickersymbol":return Nc.SingleLineTickerSymbol;case"phone":return Nc.SingleLinePhone;default:return Nc.SingleLineText}return Nc.SingleLineText;case"ImageType":case"UniqueidentifierType":case"MemoType":default:return Nc.SingleLineText}}function Wc(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)e=e.replace("{".concat(r,"}"),t[r]);return e}!function(e){e.TwoOptions="TwoOptions",e.OptionSet="OptionSet",e.MultiSelectOptionSet="multiselectpicklist",e.Integer="Whole.None",e.Decimal="Decimal",e.Currency="Currency",e.DateAndTimeDateOnly="DateAndTime.DateOnly",e.DateAndTime="DateAndTime.DateAndTime",e.DateOnly="DateAndTime.DateOnly",e.SingleLineUrl="SingleLine.URL",e.SingleLineText="SingleLine.Text",e.SingleLineEmail="SingleLine.Email",e.SingleLineTextArea="SingleLine.TextArea",e.SingleLineTickerSymbol="SingleLine.Ticker",e.SingleLinePhone="SingleLine.Phone",e.Image="Image",e.File="File",e.LookupSimple="Lookup.Simple",e.LookupType="lookup",e.CustomerType="customer",e.OwnerType="owner",e.RegardingType="regarding",e.PartyListType="partylist",e.Object="Object",e.Empty=""}(Nc||(Nc={})),function(e){e[e.Unknown=0]="Unknown",e[e.Desktop=1]="Desktop"}(Bc||(Bc={}));n(22);var zc=function(){function e(e,t,n,r,o,i){this.record=e,this.columns=t,this.updatedAttributes=[],this.isNewRecord=i,this.invalidColumns={},this.dataSetMetadata=n,this.serviceUrlForUpdate=r,this.datasetProperties=o,this.isRecordDirty=!1}return e.prototype.isColumnInvalid=function(e){return void 0!==this.invalidColumns[e]},e.prototype.getRecordId=function(){return this.record.Id},e.prototype.getNamedReference=function(){return{etn:this.dataSetMetadata.primaryEntityMetadata.entityPluralName,id:Object({guid:this.getRecordId()}),name:this.record.EntityName}},e.prototype.getValue=function(t){var e,n,r;if(null==t)return null;if(this.datasetProperties&&this.datasetProperties[t]&&(t=this.datasetProperties[t]),this.isColumnInvalid(t))return this.invalidColumns[t].value;var o=this.record.Attributes.find(function(e){return e.Name.toLowerCase()==t.toLowerCase()});if(!o)return null;var i=this.getAttributeMetadata(t);switch(null===(e=null==i?void 0:i.AttributeTypeName)||void 0===e?void 0:e.Value){case"UniqueidentifierType":case"MemoType":case"StringType":case"HyperlinkType":return o.Value;case"DecimalType":case"DoubleType":case"IntegerType":case"BooleanType":return o.Value;case"MoneyType":return o.Value.Value;case"StateType":case"StatusType":case"PicklistType":return null===(r=null===(n=o.Value)||void 0===n?void 0:n.Value)||void 0===r?void 0:r.toString();case"DateTimeType":if(null===o.Value||void 0===o.Value||""==o.Value)return null;var a=window.moment;if(a){var s,l=$(".entity-grid"),u=dateFormatConverter.convert(l.closest("[data-dateformat]").data("dateformat")||"M/d/yyyy",dateFormatConverter.dotNet,dateFormatConverter.momentJs),c=dateFormatConverter.convert(l.closest("[data-timeformat]").data("timeformat")||"h:mm tt",dateFormatConverter.dotNet,dateFormatConverter.momentJs),p=dateFormatConverter.convert(l.closest("[data-datetimeformat]").data("datetimeformat")||u+" "+c,dateFormatConverter.dotNet,dateFormatConverter.momentJs),d=o.DateTimeBehavior.Value;return"DateOnly"==o.DateTimeFormat?("YYYY-MM-DD",s=u):"TimeZoneIndependent"==d?("YYYY-MM-DDTHH:mm:ss",s=p):("YYYY-MM-DDTHH:mm:ssZ",s=p),("TimeZoneIndependent"==d||"DateOnly"==d?a.utc(o.Value):a(o.Value)).format(s)}return o.DisplayValue;case"LookupType":case"CustomerType":case"OwnerType":case"PartyListType":return"Microsoft.Xrm.Sdk.EntityReference"==o.Type&&o.Value?{etn:o.Value.LogicalName,id:Object({guid:o.Value.Id}),name:o.Value.Name}:null;case"MultiSelectPicklistType":return o.Value.map(function(e){return e.Value});case"ImageType":case"FileType":default:return o.Value}},e.prototype.getFormattedValue=function(t){var e;if("col-action"==t)return'<script>alert("hello")<\/script>;';var r=this.getValue(t),n=this.record.Attributes.find(function(e){return e.Name.toLowerCase()==t.toLowerCase()});if(null==r)return"";var o=this.getAttributeMetadata(t);switch(null===(e=null==o?void 0:o.AttributeTypeName)||void 0===e?void 0:e.Value){case"DateTimeType":return null==r?void 0:r.toString();case"LookupType":case"CustomerType":case"OwnerType":case"PartyListType":return"Microsoft.Xrm.Sdk.EntityReference"==n.Type?r.name:null;case"StateType":case"StatusType":case"PicklistType":var i=o.Options.find(function(e,t,n){return e.Value==r});return null==i?void 0:i.Label.UserLocalizedLabel.Label;case"MultiSelectPicklistType":return null==r?void 0:r.map(function(r){var e=o.Options.find(function(e,t,n){return e.Value==r});return null==e?void 0:e.Label.UserLocalizedLabel.Label}).join("; ")}return"string"==typeof r?r:JSON.stringify(r)},e.prototype.getColumnInfo=function(e){var t,n,r,o,i,a=this.getAttributeMetadata(e);return null==a?null:(i=this.dataSetMetadata.primaryEntityMetadata.metadata[e]?{error:!1,type:jc(a),errorMessage:null,security:{editable:a.IsEditable&&"StateType"!=(null===(t=a.AttributeTypeName)||void 0===t?void 0:t.Value)&&"LookupType"!=(null===(n=a.AttributeTypeName)||void 0===n?void 0:n.Value)&&"CustomerType"!=(null===(r=a.AttributeTypeName)||void 0===r?void 0:r.Value)&&"OwnerType"!=(null===(o=a.AttributeTypeName)||void 0===o?void 0:o.Value),readable:a.IsReadable,secured:a.IsSecured}}:{error:!1,type:jc(a),errorMessage:null,security:{editable:!1,readable:a.IsReadable,secured:a.IsSecured}},Promise.resolve(i))},e.prototype.isDirty=function(){return this.isRecordDirty},e.prototype.setValue=function(t,e){var n,r=null,o=this.getAttributeMetadata(t);if(o){var i=Uc(o)(e);r=this.getvalidatorResult(i,o,t,e)}var a=this.record.Attributes.find(function(e){return e.Name.toLowerCase()==t.toLowerCase()});if(r.isValid){switch(void 0!==this.invalidColumns[t]&&delete this.invalidColumns[t],a||(a={Name:t,AttributeMetadata:o},this.record.Attributes.push(a)),null===(n=null==o?void 0:o.AttributeTypeName)||void 0===n?void 0:n.Value){case"MoneyType":a.Value?a.Value.Value=Number.parseFloat(r.validatedValue.toString()):a.Value={Value:Number.parseFloat(r.validatedValue.toString())};break;case"StateType":case"StatusType":case"PicklistType":o.Options&&(a.Value=o.Options.find(function(e){return e.Value===Number.parseInt(r.validatedValue)}));break;case"DateTimeType":a.Value=r.validatedValue;break;case"MultiSelectPicklistType":var s=[];if(o.Options)for(var l in r.validatedValue){var u=o.Options.find(function(e){return e.Value===r.validatedValue[l]});u&&s.push(u)}a.Value=s;break;default:a.Value=r.validatedValue}var c=this.updatedAttributes.find(function(e){return e.Name===a.Name});return c?c.Value=JSON.stringify(a.Value):this.updatedAttributes.push({Name:a.Name,Value:JSON.stringify(a.Value)}),this.isRecordDirty=!0,Promise.resolve()}this.invalidColumns[t]={message:r.errorMessage,value:e};var p={name:r.errorTitle,message:r.errorMessage,errorMessage:r.errorMessage};return Promise.reject(p)},e.prototype.isValid=function(){return 0===Object.keys(this.invalidColumns).length},e.prototype.save=function(){return p(this,void 0,void 0,function(){var t,n,r,o;return d(this,function(e){return this.isValid()?(n=this,this.isRecordDirty&&this.record&&(r={Id:this.record.Id,EntityName:this.record.EntityName,Attributes:this.updatedAttributes},o=JSON.stringify(r),globalThis.shell.ajaxSafePost({type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",url:n.serviceUrlForUpdate,data:o,global:!1}).then(function(e){n.isNewRecord&&(n.record.Id=e.Id,n.isNewRecord=!1),n.updatedAttributes=[],n.isRecordDirty=!1},function(e){return console.warn("Save of Dataset record failed."),Promise.reject(n.record)})),[2,this]):(t={name:"InvalidValueError",message:"Cannot save because columns contain invalid value"},[2,Promise.reject(t)])})})},e.prototype.getRecord=function(){return this.record},e.prototype.getChanges=function(){var t={};return this.updatedAttributes.forEach(function(e){t[e.Name]=e.Value}),t},e.prototype.getCellImageInfo=function(e,t){return console.warn("Api not yet implemented. No-op"),Promise.resolve(null)},e.prototype.getAttributeMetadata=function(e){var t,n=this.dataSetMetadata.primaryEntityMetadata.metadata[e];if(!n){var r=e.split(".");if(2==r.length)for(var o=null===(t=this.dataSetMetadata.primaryEntityMetadata)||void 0===t?void 0:t.relatedEntityNames,i=0;i<o.length;i++){o[i];if(n=this.dataSetMetadata.relatedEntityMetadata[o[i]].metadata[r[1]])break}}return n},e.prototype.getvalidatorResult=function(e,t,n,r){var o,i={validatedValue:r,errorMessage:"",isValid:!0,errorTitle:""};if(null===e.validationError)return i;switch(i.isValid=!1,e.validationError){case 0:i.errorTitle="RequiredValueNotProvided",i.errorMessage=Wc(globalThis.ResourceManager.Required_Field_Error,n);break;case 1:i.errorTitle="MaxLengthExceeded",i.errorMessage=Wc(globalThis.ResourceManager.MaxLength_Validation_Error,n,null==t?void 0:t.MaxLength.toString());break;case 2:i.errorTitle="EmailAddressInvalid",i.errorMessage=Wc(globalThis.ResourceManager.Invalid_Email_Address_Error,n);break;case 3:i.errorTitle="NotAnInteger",i.errorMessage=Wc(globalThis.ResourceManager.Invalid_Integer_Value_Error,n);break;case 4:i.errorTitle="LessThanMinValue",i.errorMessage=Wc(globalThis.ResourceManager.Invalid_Range_Error,n,null==t?void 0:t.MinValue.toString(),null==t?void 0:t.MaxValue.toString());break;case 5:i.errorTitle="GreaterThanMaxValue",i.errorMessage=Wc(globalThis.ResourceManager.Invalid_Range_Error,n,null==t?void 0:t.MinValue.toString(),null==t?void 0:t.MaxValue.toString());break;case 6:i.errorTitle="InvalidDate",i.errorMessage=Wc(globalThis.ResourceManager.Invalid_Range_Error,n);break;case 7:i.errorTitle="NotANumber";var a=globalThis.ResourceManager.Invalid_Integer_Value_Error;switch(null===(o=null==t?void 0:t.AttributeTypeName)||void 0===o?void 0:o.Value){case"DecimalType":a=globalThis.ResourceManager.Invalid_Decimal_Value_Error;break;case"DoubleType":case"MoneyType":a=globalThis.ResourceManager.Invalid_Floating_Point_Value_Error}i.errorMessage=Wc(a,n);break;case 8:i.errorTitle="InvalidTypeForField",i.errorMessage=Wc(globalThis.ResourceManager.Invalid_Error,n)}return i.errorTitle=e.validationError?Ec[e.validationError]:"",i.validatedValue=e.parsedValue,i},e.prototype.getActionsColumnHtml=function(){var e=$("<td></td>").attr("addAriaLabel","true"),t=$("<div class='dropdown action'></div>");return $("<button class='btn btn-default btn-xs aria-exp'><span class='fa fa-chevron-circle-down' aria-hidden='true'></span></button>").attr("data-toggle","dropdown").attr("aria-expanded","false").attr("aria-label",globalThis.ResourceManager.ActionLink_Aria_Label).appendTo(t),$("<ul class='dropdown-menu' role='menu'></ul>").css("position","fixed").appendTo(t),t.on("show.bs.dropdown",function(){$(this).find(".aria-exp").attr("aria-expanded","true");var e=$(this).get(0).getBoundingClientRect(),t=$(this).find(".dropdown-menu:first"),n=$(window).width();if("rtl"==$("html").attr("dir")){var r=document.documentElement.clientWidth+document.documentElement.offsetLeft,o=r-e.left-e.width;t.css("left","auto").css("top",e.top+$(this).outerHeight());var i=o+t.outerWidth()<=r;t.css("left","auto").css("top",e.top+$(this).outerHeight()),i?t.css("right",o):t.css("right",o+e.width-t.outerWidth())}else{(i=e.left+t.outerWidth()<=n)?t.css("left",e.left).css("top",e.top+$(this).outerHeight()):t.css("left",e.left+e.width-t.outerWidth()).css("top",e.top+$(this).outerHeight())}}).on("keydown",function(e){e.keyCode?e.keyCode:e.which}),t.on("hide.bs.dropdown",function(){$(this).find(".aria-exp").attr("aria-expanded","false")}),e},e}(); /** * @license Copyright (c) Microsoft Corporation. All rights reserved. */function Gc(e){return null==e}function Kc(e){return Gc(e)?e:("string"!=typeof e&&(e=e.toString()),qc(e,$c))}function qc(e,t){return e=(e=(e=t(e=(e=e.replace(new RegExp("([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])","g"),function(e){return"CRMEntityReferenceOpen"+(1024*(e.charCodeAt(0)-55296)+(1023&e.charCodeAt(1))+65536).toString(16)+"CRMEntityReferenceClose"})).replace(new RegExp("[\\uD800-\\uDFFF]","g"),"�"))).replace(/CRMEntityReferenceOpen/g,"&#x")).replace(/CRMEntityReferenceClose/g,";")}function Qc(e){var t,n="",r="",o=0;if(null===e)return null;if(""===e)return"";for(var i=0;i<e.length;i++)r+=(t=e.charCodeAt(i))>96&&t<123||t>64&&t<91||32===t||t>47&&t<58||46===t||44===t||45===t||95===t?String.fromCharCode(t):"&#"+t+";",500==++o&&(n+=r,r="",o=0);return r.length&&(n+=r),n}function $c(e){return Qc(e)}var Yc=function(){function e(e,t,n){var r,o;if(this.controlContext=null,this.activeLayoutIndex=-1,this.pcfGridInfo=null,this.dataSetMetadata=null,this.datasetName=e,this.controlContext=t,this.pcfGridInfo=$(t.mainElement.closest("."+this.controlContext.GridDataControlId)),this.pcfGridInfo&&0!=this.pcfGridInfo.length||(this.pcfGridInfo=$(t.mainElement.parentElement).find(".entity-grid")),this.pcfGridInfo&&this.pcfGridInfo.length>0){this.serviceUrlForGet=this.pcfGridInfo.data("get-url"),this.serviceUrlForUpdate=this.pcfGridInfo.data("update-url"),this.datasetPropertyDictionary=this.pcfGridInfo.data("dataset-properties");var i=this.pcfGridInfo.data("view-layouts");this.layouts=JSON.parse(Hc(i)),this.filterRelationshipName=this.pcfGridInfo.data("filter-relationship-name"),this.filterEntityName=this.pcfGridInfo.data("filter-entity-name"),this.filterAttributeName=this.pcfGridInfo.data("filter-attribute-name"),this.entityId=null===(o=null===(r=this.pcfGridInfo.closest(".entity-form").children("input[type='hidden'][id$='EntityID']"))||void 0===r?void 0:r.val())||void 0===o?void 0:o.toString(),this.selectedRecordIds=[],this.UpdateActiveLayoutIndex(),this.entityName=this.layouts[this.activeLayoutIndex].Configuration.EntityName}}return e.prototype.getPrimaryID=function(){return null},e.prototype.updateQueryableDataSource=function(e,t,n,r){return null},e.prototype.getEntityName=function(){return this.entityName},e.prototype.reset=function(){this.selectedRecordIds=[]},e.prototype.getRecords=function(l,u){return p(this,void 0,void 0,function(){var i,n,r,o,a,t,s;return d(this,function(e){return i=$.Deferred(),this.UpdateActiveLayoutIndex(),n=this.layouts[this.activeLayoutIndex],this.serviceUrlForGet&&""!=this.serviceUrlForGet&&n.Base64SecureConfiguration?(r=[],o=[],a=this,$.each(n.Columns,function(e,t){"col-action"!=t.LogicalName&&(t.Metadata?t.Metadata.EntityLogicalName==n.Configuration.EntityName?r.push(t.LogicalName):-1==o.indexOf(t.Metadata.EntityLogicalName)&&o.push(t.Metadata.EntityLogicalName):r.push(t.LogicalName))}),u||(l.pagingDetails.pageNumber=l.pagingDetails.lastPageNumber),t={base64SecureConfiguration:n.Base64SecureConfiguration,sortExpression:this.getSortExpression(l),search:this.getSearchExpression(),page:l.pagingDetails.pageNumber,pageSize:l.pagingDetails.pageSize||-1,pcfFilter:this.getFilterFecthXml(l),timezoneOffset:(new Date).getTimezoneOffset(),entityName:this.entityName,entityId:this.entityId},s=JSON.stringify(t),Promise.all([this.getMetadata(r,o),globalThis.shell.ajaxSafePost({type:"POST",dataType:"json",contentType:"application/json; charset=utf-8",url:this.serviceUrlForGet,data:s,global:!1})]).then(function(e){var t;a.dataSetMetadata=e[0];var n=$(a.controlContext.mainElement.closest("."+a.controlContext.GridDataControlId)),r=null==n?void 0:n.children(".view-access-denied");if(void 0!==e[1].AccessDenied&&!1!==e[1].AccessDenied&&e[1].AccessDenied)return null==r||r.fadeIn().prop("aria-hidden",!1),void(!a.controlContext.fieldLevelControl&&/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)&&(null===(t=$("#"+a.controlContext.UniqueId))||void 0===t||t.hide()));null==r||r.hide().prop("aria-hidden",!0);var o=a.convertDataRecordToDataSetEntityRecordAsync(l,e[1]);return a.selectedRecordIds=[],i.resolve(o)}),[2,i.promise()]):[2,i.resolve({records:{},hasNextPage:!1,sortedRecordIds:[]})]})})},e.prototype.getMetadata=function(l,u){var c;return p(this,void 0,void 0,function(){var r,o,t,n,i,a,s;return d(this,function(e){switch(e.label){case 0:return null!=this.dataSetMetadata?[2,this.dataSetMetadata]:this.layouts?[4,O.Utils.getEntityMetadata(this.entityName,l)]:[3,6];case 1:r=e.sent(),o=[],null===(c=null==r?void 0:r.Attributes)||void 0===c||c.forEach(function(e){e.Targets&&$.each(e.Targets,function(e,t){var n;-1==t.toLowerCase().indexOf(null===(n=r.LogicalName)||void 0===n?void 0:n.toLowerCase())&&-1==o.indexOf(t)&&o.push(t)})}),u&&u.length>0&&u.forEach(function(e){-1==o.indexOf(e)&&o.push(e)}),t={},n=0,e.label=2;case 2:return n<(null==o?void 0:o.length)?[4,O.Utils.getEntityMetadata(o[n])]:[3,5];case 3:i=e.sent(),t[o[n]]=this.convertToDataSetEntityMetadata(i,[]),e.label=4;case 4:return n++,[3,2];case 5:return a=this.convertToDataSetEntityMetadata(r,o),s=this.layouts[this.activeLayoutIndex],$.each(s.Columns,function(e,t){var n,r,o,i;(null===(r=null===(n=t.Metadata)||void 0===n?void 0:n.OptionSet)||void 0===r?void 0:r.Options)&&a.metadata[t.LogicalName]&&(a.metadata[t.LogicalName].Options=null===(i=null===(o=t.Metadata)||void 0===o?void 0:o.OptionSet)||void 0===i?void 0:i.Options)}),this.dataSetMetadata={primaryEntityMetadata:a,relatedEntityMetadata:t},[2,this.dataSetMetadata];case 6:return[2]}})})},e.prototype.newRecord=function(){return p(this,void 0,void 0,function(){return d(this,function(e){return[2,null]})})},e.prototype.delete=function(e){return p(this,void 0,void 0,function(){return d(this,function(e){return[2]})})},e.prototype.getCapabilities=function(){return{canCreateNewRecords:!0,canPaginate:!0,isEditable:!0,isFilterable:!0,isSortable:!0,hasRecordNavigation:!1}},e.prototype.setSelectedRecordIds=function(e){this.arraysEqualIgnoringOrder(this.selectedRecordIds,e)||(this.selectedRecordIds=e)},e.prototype.getSelectedRecordIds=function(){return this.selectedRecordIds||[]},e.prototype.clearSelectedRecordIds=function(){this.setSelectedRecordIds([])},e.prototype.getRelatedDataSet=function(e,t,n){throw new Error("Method not implemented.")},e.prototype.destroy=function(){},e.prototype.getCachedRecordById=function(e){return null},e.prototype.saveMultipleRecords=function(e){throw new Error("Method not implemented.")},e.prototype.getViewId=function(){var e;return this.UpdateActiveLayoutIndex(),null===(e=this.layouts[this.activeLayoutIndex])||void 0===e?void 0:e.Configuration.ViewId},e.prototype.getTitle=function(){var e;return this.UpdateActiveLayoutIndex(),null===(e=this.layouts[this.activeLayoutIndex])||void 0===e?void 0:e.ViewName},e.prototype.convertStringToRequiredLevel=function(e){switch(e){case"Unknown":return-1;case"None":return 0;case"SystemRequired":case"ApplicationRequired":return 1;case"Recommended":return 3;default:return-1}},e.prototype.UpdateActiveLayoutIndex=function(){var e,t=null===(e=this.pcfGridInfo)||void 0===e?void 0:e.data("selected-view");this.activeLayoutIndex=0,void 0!==t&&!1!==t&&null!=t&&""!=t&&(this.activeLayoutIndex=Vc(this.layouts,"Id",t),-1==this.activeLayoutIndex&&(this.activeLayoutIndex=0))},e.prototype.getSortExpression=function(e){var t=e.sortDetails,r="";return t&&t.length>0&&$.each(t,function(e,t){if(-1!=t.sortDirection){var n=t.name+" "+(1==t.sortDirection?"DESC":"ASC");r+=""==r?n:", "+n}}),r},e.prototype.getSearchExpression=function(){var e,t,n=null===(t=null===(e=$(this.controlContext.mainElement.closest("."+this.controlContext.GridDataControlId)))||void 0===e?void 0:e.children(".view-toolbar"))||void 0===t?void 0:t.find(".entitylist-search input.query"),r=null==n?void 0:n.val();return void 0===r&&(r=null),r},e.prototype.getFilterFecthXml=function(e){var t=e.filters,n="";return t&&(n=Xe(t,Kc)),n},e.prototype.convertDataRecordToDataSetEntityRecordAsync=function(e,t){r=null===(n=null==e?void 0:e.pagingDetails)||void 0===n?void 0:n.firstPageNumber;for(var n,r,o,i,a,s,l,u,c,p,d,f,h=(null!==(i=null===(o=null==e?void 0:e.pagingDetails)||void 0===o?void 0:o.lastPageNumber)&&void 0!==i?i:1)*(null!==(s=null===(a=null==e?void 0:e.pagingDetails)||void 0===a?void 0:a.pageSize)&&void 0!==s?s:500),m=null==t?void 0:t.ItemCount,y=m>=h,g={},v=[],b=this.layouts[this.activeLayoutIndex],C=0;C<(null===(l=null==t?void 0:t.Records)||void 0===l?void 0:l.length);C++){var _=t.Records[C];v.push(_.Id),g[_.Id]=new zc(_,b.Columns,this.dataSetMetadata,this.serviceUrlForUpdate,this.datasetPropertyDictionary?this.datasetPropertyDictionary[this.datasetName]:null)}return(null===(u=null==t?void 0:t.Records)||void 0===u?void 0:u.length)>3&&(null===(d=null===(p=null===(c=$(this.controlContext.mainElement.closest("."+this.controlContext.GridDataControlId)))||void 0===c?void 0:c.find("#"+this.controlContext.UniqueId))||void 0===p?void 0:p.first())||void 0===d||d.css("min-height","360px")),{queryId:null==e?void 0:e.queryId,records:g,hasNextPage:y,sortedRecordIds:v,totalRecordCount:(null===(f=null==e?void 0:e.pagingDetails)||void 0===f?void 0:f.retrieveTotalRecordCount)?m:null}},e.prototype.arraysEqualIgnoringOrder=function(e,t){if(e.length===t.length){var n=b([],e,!0).sort(),r=b([],t,!0).sort();return n.every(function(e,t){return e===r[Number(t)]})}return!1},e.prototype.convertToDataSetEntityMetadata=function(e,t){var n=this;if(e){var r={};e.Privileges.forEach(function(e){r[e.PrivilegeId]={ExtensionData:null,CanBeBasic:e.CanBeBasic,CanBeDeep:e.CanBeDeep,CanBeGlobal:e.CanBeGlobal,CanBeLocal:e.CanBeLocal,CanBeEntityReference:e.CanBeEntityReference,CanBeParentEntityReference:e.CanBeParentEntityReference,Name:e.Name,PrivilegeId:e.PrivilegeId,PrivilegeType:e.PrivilegeType}});var o={},i=[];return e.Attributes.forEach(function(e){i.push(e.LogicalName),o[e.LogicalName]={DisplayName:e.DisplayName,LogicalName:e.LogicalName,RequiredLevel:n.convertStringToRequiredLevel(e.RequiredLevel.Value),IsSecured:e.IsSecured,IsReadable:e.IsValidForRead,IsEditable:e.IsValidForUpdate,SourceType:e.SourceType,Description:e.Description,Type:e.AttributeType,AttributeTypeName:e.AttributeTypeName,MaxLength:e.MaxLength,MaxValue:e.MaxValue,MinValue:e.MinValue,Format:e.Format}}),{displayName:e.DisplayName,logicalName:e.LogicalName,primaryNameAttribute:e.PrimaryNameAttribute,primaryImageAttribute:e.PrimaryImageAttribute,primaryIdAttribute:e.PrimaryIdAttribute,privilegesByType:r,description:e.Description,entityPluralName:e.EntitySetName,metadata:o,attributeNames:i,relatedEntityNames:t}}return null},e}();function Zc(e){return function(e){return null==e}(e)||Xc(e)}function Xc(e){return null!==e&&e instanceof Object&&!Array.isArray(e)&&"function"!=typeof e}var Jc=function(r){function g(e){var t=r.call(this,e)||this;t._propertyParameters={},t._attributeOverrideMemory={},t._ignoredDataSetProperties=[],t._memoizedPropertySetColumns={},t._memoizedColumns={},t._portalsDataProviders={},t._rerenderTaskId=-1,t._datasetUpdatedProperties={},t._dataSetObjectWrappers={},t._dataSetObjectWrappersToReplace={},t._memoizedDataSetConfigs={},t._dataSetsNeedingRefresh={timeoutId:-1,keys:[]},t._updatedProperties=[],t._savedPagingDetail={},t._dataSetApi=t.props.pcfDatasetApi,t._updateOutputs=t._updateOutputs.bind(t);var n=t.props.getCachedDatasetInfo();return t._portalsDataProviders=n?n.cachedDataProviders:{},t._memoizedDataSetConfigs=n?n.memoizedDataSetConfigs:{},t._dataSetObjectWrappers=n?n.dataSetObjectWrappers:{},t._memoizedColumns=n?n.memoizedColumns:{},t}return i(g,r),g.prototype._setReRenderCallback=function(e){},g.prototype._createDescriptor=function(){return{Id:this.props.name,Name:this.props.name,Label:this.props.label,DomId:this.props.name,ShowLabel:!0,Visible:this.props.visible,Disabled:this.props.disabled,Parameters:[]}},g.prototype._extractPropertyParameters=function(){var e=this.props.manifest.Properties.Properties;for(var t in e){var n=e[t],r=this.props.propertyTypes[t],o=r?r.type.replace("_","."):"String",i={};if(0===n.Usage){var a={DisplayName:t,LogicalName:this.props.controlContext.ControlId,LanguageByCode:this.props.formattingInfo.languagesByCode};null!==n.DefaultValue&&void 0!==n.DefaultValue&&(a.DefaultValue=n.DefaultValue),o.toLowerCase()==g.ManifestTypes.OptionSet.toLowerCase()&&(a.DefaultValue=this.props.auxProperties[t+"_DefaultValue"]),i=yc(o,a)}this._propertyParameters[t]={usage:n.Usage,type:o,isPrimary:!!r&&r.isPrimary,defaultAttributes:i}}},g.prototype._createControlConfiguration=function(){var e={},t=this.props.manifest.Properties.Properties;for(var n in t){var r=t[n];e[n]={Usage:r.Usage,Static:!0,Type:this._propertyParameters[n].type.replace("_","."),Value:this.props.controlProperties[n],Primary:this._propertyParameters[n].isPrimary}}this._configuration={CustomControlId:this.props.name,Name:this.props.name,FormFactor:2,Version:null,Parameters:e,ShouldOverrideControlVisible:!1}},g.prototype._generateOptionSetData=function(e,r){var t=[];if(!e)return[];for(var n=0;n<e.length;n++){var o=e[n],i=o.Label.LocalizedLabels.find(function(e,t,n){return e.LanguageCode===r});t.push({Label:i?i.Label:o.Label.UserLocalizedLabel.Label,Value:o.Value,Color:o.Color})}return t},g.prototype._generateDynamicData=function(){var e={updated:!0,dataReady:!0,parameters:{}},t=this.props.manifest.Properties.Properties;for(var n in this._configuration.Parameters)if(this._ignoredDataSetProperties.indexOf(n)<0){var r=this.props.controlProperties[n],o=this._propertyParameters[n].type,i=Mc.getLCID(this.props.formattingInfo),a=this._propertyParameters[n].defaultAttributes,s=0===this._configuration.Parameters[n].Usage,l={};if(s&&(o.toLowerCase()===Pe.OptionSet.toLowerCase()||"multiselectoptionset"===o.toLowerCase())){var u=this.props.auxProperties[n+"_Options"];u?(this._attributeOverrideMemory.Options||(this._attributeOverrideMemory.Options=a.Options),a.Options=this._generateOptionSetData(u,i)):this._attributeOverrideMemory.Options?(a.Options=this._attributeOverrideMemory.Options,this._attributeOverrideMemory.Options=null):a.Options||(a.Options=[]),l.rawOptions=u}l.complexType=this.props.propertyTypes[n].complexType;var c=this.props.convertRawValue(o,r,a,l),p=wc(c,this._propertyParameters[n].type,this._propertyParameters[n].defaultAttributes,!1);(t[n].Required||void 0!==c)&&(e.parameters[n]={raw:c,formatted:s?this.props.formatValue(o,c,this._propertyParameters[n].defaultAttributes):null,attributes:this._propertyParameters[n].defaultAttributes,type:o,error:!!p&&p.error,errorMessage:p?p.errorMessage:null,notifications:null,security:s?{secured:!1,editable:!0,readable:!0}:{}})}return e.parameters.deviceSizeMode={raw:0,formatted:"0",attributes:{DisplayName:"deviceSizeMode",LogicalName:"deviceSizeMode",Type:"Whole.None",IsSecured:!1,RequiredLevel:0,MinValue:0,MaxValue:100,ImeMode:0,MaxLength:100,EntityLogicalName:"",Precision:2,Format:"1",LanguageByCode:this.props.formattingInfo.languagesByCode,TimeZoneByCode:null,Behavior:0,Targets:[],Options:[],DefaultValue:0,lastUpdatedField:null,lastUpdatedValue:null,rollupStateField:null,rollupStateValue:0,calculatedFieldValid:!1,rollupValid:!1,SourceType:null,recalculate:function(){}},type:"Whole.None",error:!1,errorMessage:null,notifications:null,security:{secured:!1,editable:!0,readable:!0}},e},g.prototype._updateOutputs=function(e,t,n,r,o,i,a){i=this._adjustOutputs(i),this.props.handlePropertyChangeAsync(i)},g.prototype._adjustOutputs=function(n){var e=function(){var r=n[a].value;if(null==r)return"continue";switch((i._propertyParameters[a]?i._propertyParameters[a].type:null).toLowerCase()){case Pe.OptionSet.toLowerCase():var e=i.props.auxProperties[a+"_Options"];n[a].value=e?e.find(function(e,t,n){return e.Value===r}):null;break;case"multiselectoptionset":var t=i.props.auxProperties[a+"_Options"];for(var o in r)n[a].value[o]=t?t.find(function(e,t,n){return e.Value===r[o]}):null}},i=this;for(var a in n)e();return n},g.prototype.flushDataSetUpdatedProperties=function(){var r=[],e=function(t){var e=o._datasetUpdatedProperties[t];if(e.length){var n=o.props.manifest.Properties.DataSetDefinitions[t].Primary;n||(e=e.map(function(e){return"".concat(t,"_").concat(e)})),r.push.apply(r,b([n?"dataset":"".concat(t,"_dataset")],e,!1))}},o=this;for(var t in this._datasetUpdatedProperties)e(t);return this._datasetUpdatedProperties={},r},g.prototype.shouldComponentUpdate=function(t){var e,n,r,o=this;this._updatedProperties=[],["Width","Height"].some(function(e){return t.containerProperties[e]!==o.props.containerProperties[e]})&&this._updatedProperties.push("layout");var i=Object.keys(null!==(r=null===(n=this.props.manifest.Properties)||void 0===n?void 0:n.DataSetDefinitions)&&void 0!==r?r:{});return Object.keys(this.props.controlProperties).forEach(function(e){return-1===i.indexOf(e)&&-1===o._ignoredDataSetProperties.indexOf(e)&&o.props.controlProperties[e]!==t.controlProperties[e]&&!function(e,t){if(!Zc(e)||!Zc(t))return!1;if(e===t)return!0;if(!Xc(e)||!Xc(t))return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o={},i=0,a=n;i<a.length;i++){o[u=a[i]]=!0}for(var s=0,l=r;s<l.length;s++){var u;if(!o[u=l[s]]||e[u]!==t[u])return!1}return!0}(o.props.controlProperties[e],t.controlProperties[e])&&o._updatedProperties.push(e)}),this._updatedProperties.length&&this._updatedProperties.push("parameters"),(e=this._updatedProperties).push.apply(e,this.flushDataSetUpdatedProperties()),!0},g.prototype.componentWillMount=function(){if(this._extractPropertyParameters(),this._createControlConfiguration(),this.props.prepControlDynamicTType(this.props.manifest),this.props.manifest.Properties&&this.props.manifest.Properties.DataSetDefinitions)for(var e in this.props.manifest.Properties.DataSetDefinitions){var t=this.props.manifest.Properties.DataSetDefinitions[e].Primary;this._ignoredDataSetProperties.push(this._dataSetApi.getItemPropertyKey(e,t)),this._ignoredDataSetProperties.push(this._dataSetApi.getSelectedPropertyKey(e,t))}this.props.onComponentWillMount()},g.prototype.componentWillUnmount=function(){},g.prototype.setValue=function(e,t){if(JSON.stringify(this.props.controlProperties[e])!=JSON.stringify(t)){this.props.controlProperties[e]=t;var n=this._generateDynamicData(),r=this.customControlWebClientWrapper.props.givenHostProps.dynamicData.parameters[e],o=n.parameters[e];r.raw=o.raw,r.formatted=o.formatted,this.customControlWebClientWrapper.forceUpdate()}},g.prototype.render=function(){var e,t,n,r,o,i,a=this;g._xrmInit||(Mc.InitializeXrm(this.props.pcfApi,this.props.formattingInfo,this.props.intelligenceApi,this.props.reportUnimplementedError,this.props.authoringMode),g._xrmInit=!0);var s=this._createDescriptor(),l=this._generateDynamicData(),u={givenHostProps:Mc.createDefaultProps(this._configuration,s,l,this.props),setReRenderCallBack:this._setReRenderCallback};if(this._updatedProperties=[],u.givenHostProps.actions.updateOutputs=this._updateOutputs,u.givenHostProps.actions.handleOutputSchemaChange=this.props.handleOutputSchemaChange,this.props.manifest.Properties&&this.props.manifest.Properties.DataSetDefinitions&&Object.keys(this.props.manifest.Properties.DataSetDefinitions).length>0){var c=this._createDataSetProps(u.givenHostProps),p=!!(null===(n=null===(t=this.props.manifest.Properties)||void 0===t?void 0:t.FeatureUsage)||void 0===n?void 0:n.some(function(e){return"Commanding"===e.Name}));for(var d in this._portalsDataProviders=this._getPortalsDataProviders(),c){var f=c[d];f.initializeCommanding=p;var h=!1;if(f.initQuery!==(null===(r=this._memoizedDataSetConfigs[d])||void 0===r?void 0:r.initQuery)||!this._dataSetObjectWrappers[d]){var m=null===(o=f.initQuery)||void 0===o?void 0:o.pagingDetails;m&&(m.firstPageNumber&&(m.firstPageNumber=1),m.lastPageNumber&&(m.lastPageNumber=1)),this._dataSetObjectWrappers[d]=ys.createDataSetObjectWrapper(this._portalsDataProviders[d],f,this._dataSetObjectWrappersToReplace[d]||this._dataSetObjectWrappers[d]),delete this._dataSetObjectWrappersToReplace[d],this._refreshDataSet(d),h=!0,this._memoizedDataSetConfigs[d]=f}var y=null===(i=this._dataSetObjectWrappers[d])||void 0===i?void 0:i.getDataSet();y.getCellImageInfo=function(){return Promise.resolve(null)},y.loading=h,u.givenHostProps.dynamicData.parameters[d]=y}this.props.updateCachedDatasetInfo({memoizedDataSetConfigs:this._memoizedDataSetConfigs,dataSetObjectWrappers:this._dataSetObjectWrappers,memoizedColumns:this._memoizedColumns,cachedDataProviders:this._portalsDataProviders}),(e=u.givenHostProps.updatedProperties).push.apply(e,this.flushDataSetUpdatedProperties())}return ie.createElement(fc,x(x({},u),{ref:function(e){return a.customControlWebClientWrapper=e}}))},g.prototype._requestRerender=function(){var e=this;this._rerenderTaskId>0&&window.clearTimeout(this._rerenderTaskId),this._rerenderTaskId=window.setTimeout(function(){e.forceUpdate(),e._rerenderTaskId=-1},0)},g.prototype._refreshDataSet=function(o){var i=this,e=this._dataSetsNeedingRefresh,t=e.timeoutId,n=e.keys;t>0&&window.clearTimeout(t),-1===n.indexOf(o)&&n.push(o),this._dataSetsNeedingRefresh.timeoutId=window.setTimeout(function(){var e;if(i._portalsDataProviders[o])for(var t=0,n=i._dataSetsNeedingRefresh.keys;t<n.length;t++){var r=n[t];null===(e=i._dataSetObjectWrappers[r])||void 0===e||e.refresh(),i._dataSetObjectWrappers[r]._updatedProperties.push("Items")}i._dataSetsNeedingRefresh.keys=[],i._dataSetsNeedingRefresh.timeoutId=-1},10)},g.prototype._getPortalsDataProviders=function(){for(var e in this.props.manifest.Properties.DataSetDefinitions){var t=this.props.manifest.Properties.DataSetDefinitions[e].Primary,n=this._dataSetApi.getItemPropertyKey(e,t),r=this._dataSetApi.getDefaultSelectedItemsPropertyKey(e,t),o=this.props.pcfApi.getPropertyValueByName(r),i=this._dataSetApi.getSelectedItemsPropertyKey(e,t),a=this.props.pcfApi.getPropertyValueByName(i),s=this.props.pcfApi.getPropertyValueByName(n);if(s){var l=b(b([],this._memoizedPropertySetColumns[e]||[],!0),this._memoizedColumns[e]||[],!0);this._portalsDataProviders[e]||(this._portalsDataProviders[e]=new Yc(e,this.props.controlContext,this._setSelectedRecordIds.bind(this,e))),this._portalsDataProviders[e].updateQueryableDataSource(s,l,a,o)}else this._portalsDataProviders[e]&&this._portalsDataProviders[e].destroy(),this._portalsDataProviders[e]=new Yc(e,this.props.controlContext,this._setSelectedRecordIds.bind(this,e))}return this._portalsDataProviders},g.prototype._setSelectedRecordIds=function(e,t){var n,r=this._dataSetObjectWrappers[e];r&&r.removeDummyRecords("".concat("INJECT","0"));var o=this.props.manifest.Properties.DataSetDefinitions[e].Primary,i=this._dataSetApi.getSelectedItemsPropertyKey(e,o),a=this._dataSetApi.getSelectedPropertyKey(e,o);if(t){for(var s=[],l=0;l<t.length;l++){var u=null===(n=this._portalsDataProviders[e])||void 0===n?void 0:n.getCachedRecordById(t[l]);u&&s.push(u.getRecord()),r&&!r.getDataSet().records.hasOwnProperty(e)&&r.injectDummyRecord(t[l],u)}this._dataSetApi.setSelectedItems(i,s),this._dataSetApi.setSelected(a,s.length>0?s[t.length-1]:null)}},g.prototype._createDataSetProps=function(m){var y=this,g={},e=function(t){var e=v.props.manifest.Properties.DataSetDefinitions[t].Primary?v._dataSetApi.getColumns(t):[],n=v._dataSetApi.openDataSetItemAction,r=v.props.manifest.Properties.DataSetDefinitions[t].Columns,o=v._memoizedPropertySetColumns[t],i=!1,a=!1;if(m.parentDefinedControlProps.width=v._dataSetApi.getTotalColumnWidth(),(e||[]).forEach(function(e){y._dataSetApi.subscribeToColumnOrderUpdate(t,e.name,y._requestRerender.bind(y))}),!v._memoizedColumns[t]&&(0!==e.length||v._memoizedColumns[t]&&0!==v._memoizedColumns[t].length)&&(v._memoizedColumns[t]=e,a=!0),!o)for(var s in v._memoizedPropertySetColumns[t]=[],r){var l=r[s].Name,u=v.props.pcfApi.getPropertyValueByName(l)||null,c=l,p="SingleLine.Text",d=!1;(f=v._dataSetApi.getFieldInfo(u))&&(p=f.pcfType,c=f.displayName,d=!0),v._memoizedPropertySetColumns[t].push({displayName:c,name:d?u:null,dataType:p,alias:l,order:-1,visualSizeFactor:1})}for(var s in o){if(l=o[s].alias){var f;u=v.props.pcfApi.getPropertyValueByName(l)||null;if(o[s].name!==u)i=!0,o[s]=x(x({},o[s]),{name:u}),(f=v._dataSetApi.getFieldInfo(u))&&(o[s].dataType=f.pcfType,o[s].displayName=f.displayName)}}i&&(v._memoizedPropertySetColumns[t]=o?b([],o,!0):[],o=v._memoizedPropertySetColumns[t]),v._memoizedPropertySetColumns[t]&&0===v._memoizedPropertySetColumns[t].length&&(v._memoizedPropertySetColumns[t]=null),o=v._memoizedPropertySetColumns[t],!v._memoizedDataSetConfigs[t]||i||a?g[t]=v._createModernDataSetInitQuery(t,b(b([],o||[],!0),e,!0),n):g[t]=v._memoizedDataSetConfigs[t],g[t].events={dataSetUpdatedCallback:v._createDataSetUpdatedCallback(t),recordSelectedCallback:v._createRecordSelectedCallback(t,n)};var h=v._dataSetObjectWrappers[t];g[t].initQuery.pagingDetails=(null==h?void 0:h.getPagingQueryDetails())||v._savedPagingDetail[t]||g[t].initQuery.pagingDetails},v=this;for(var t in this.props.manifest.Properties.DataSetDefinitions)e(t);return g},g.prototype._createModernDataSetInitQuery=function(e,t,n){return{events:null,initQuery:{columns:t,filters:void 0,sortDetails:void 0,pagingDetails:{retrieveTotalRecordCount:!0,pageSize:this._dataSetApi.getPageSize(),pageNumber:void 0},linkingDetails:void 0}}},g.prototype._createDataSetUpdatedCallback=function(r){var o=this;return function(e,t){var n;(null==t?void 0:t.length)>0&&(o._datasetUpdatedProperties[r]?(n=o._datasetUpdatedProperties[r]).push.apply(n,t):o._datasetUpdatedProperties[r]=b([],t,!0)),o._requestRerender()}},g.prototype._createRecordSelectedCallback=function(t,n){var r=this;return function(e){r._openDataSetItem(t,e,n)}},g.prototype._openDataSetItem=function(e,t,n){var r,o=null===(r=this._dataSetObjectWrappers[e])||void 0===r?void 0:r.getDataSet();null==o||o.setSelectedRecordIds([t]),window.removeEventListener("message",this._dataSetApi.subscribeToWindowEventMessage(this._dataSetObjectWrappers[e])),window.addEventListener("message",this._dataSetApi.subscribeToWindowEventMessage(this._dataSetObjectWrappers[e])),n(t)},g._xrmInit=!1,g.ManifestTypes=Pe,g}(ie.Component),ep=function(){function e(e){this.dafaultCultureInfo=e}return e.prototype.ParseDateFromString=function(e,t,n,r){return n?Lt.ParseDateFromString(e,t,n):null==e||""==e?null:new Date(window.moment(e))},e.prototype.formatUserDateTimeToUTC=function(e,t){var n=this.adjustDateTimeValue(e,t);return Lt.formatShortDateValue(n,this.dafaultCultureInfo)},e.prototype.formatUTCDateTimeToUserDate=function(e,t){return new Date(e)},e.prototype.formatIntegerValue=function(e,t){return Lt.formatIntegerValue(e,t)},e.prototype.formatCurrencyValue=function(e,t,n,r){return Lt.formatCurrencyValue(e,t,n,r)},e.prototype.parseFormatted=function(e,t,n,r,o){var i,a,s;switch(null===(i=null==t?void 0:t.controlAttributes)||void 0===i?void 0:i.Type){case"money":return this.parseCurrency(e,n);case"double":case"decimal":case"float":case"integer":return null==e?void 0:e.toString();case"datetime":case"dateandtime":case"date":case"dateonly":return this.ParseDateFromString(e,t.controlAttributes.Type,n,t);case"string":return null==e?null:e;case"boolean":return this.parseBooleanFieldValue(e,null===(a=null==t?void 0:t.controlAttributes)||void 0===a?void 0:a.OptionSet);case"multiselectpicklist":return this.parseMultiSelectOptionSetFieldValue(e,null===(s=null==t?void 0:t.controlAttributes)||void 0===s?void 0:s.OptionSet);default:return null}},e.prototype.formatShortDateValue=function(e,t,n,r,o){var i=this.adjustDateTimeValue(e,n,r,o);return Lt.formatShortDateValue(i,t)},e.prototype.formatLongDateValue=function(e,t,n,r,o){var i=this.adjustDateTimeValue(e,n,r,o);return Lt.formatLongDateValue(i,t)},e.prototype.formatSortableDateValue=function(e,t,n){var r=this.adjustDateTimeValue(e,n);return Lt.formatSortableDateValue(r)},e.prototype.formatSortableDateTimeValue=function(e,t,n,r,o){var i=this.adjustDateTimeValue(e,n,r,o);return Lt.formatSortableDateTimeValue(i)},e.prototype.formatShortDateTimeValue=function(e,t,n,r,o){var i=this.adjustDateTimeValue(e,n,r,o);return Lt.formatShortDateTimeValue(i,t)},e.prototype.formatDateLongAbbreviated=function(e,t,n,r,o){var i=this.adjustDateTimeValue(e,n,r,o);return Lt.formatDateLongAbbreviated(i,t)},e.prototype.formatDateYearMonthValue=function(e,t,n,r,o){var i=this.adjustDateTimeValue(e,n,r,o);return Lt.formatDateYearMonthValue(i,t)},e.prototype.formatDecimalValue=function(e,t,n){return Lt.formatDecimalValue(e,t,n)},e.prototype.formatLanguageValue=function(e,t){return Lt.formatLanguageValue(e,t)},e.prototype.formatUserInput=function(e,t){switch(null==t?void 0:t.Type){case"money":return this.formatCurrencyValue(e,this.dafaultCultureInfo);case"double":case"decimal":case"float":case"integer":return null==e?void 0:e.toString();case"datetime":case"dateandtime":return null==e||""==e?null:this.formatShortDateTimeValue(this.parseDateFromInput(e,t),this.dafaultCultureInfo);case"date":case"dateonly":return null==e||""==e?null:this.formatShortDateValue(this.parseDateFromInput(e,t),this.dafaultCultureInfo);case"string":return null==e?null:e;case"boolean":case"picklist":return this.formatOptionSetFieldValue(e,null==t?void 0:t.OptionSet);case"multiselectpicklist":return this.formatMultiSelectOptionSetFieldValue(e,null==t?void 0:t.OptionSet);case"lookup":return e.name;default:return null}},e.prototype.parseDateFromInput=function(e,t){return this.ParseDateFromString(e,t.Type,null,null)},e.prototype.adjustDateTimeValue=function(e,t,n,r){return 1===t?kc.convertDateTimeFromUtcToUserDisplay(e,n,r):2===t||3===t?kc.convertDateTimeFromUserDisplayToTimezoneIndependent(e):e},e.prototype.parseBooleanFieldValue=function(t,e){if(null==t)return null;if("string"==typeof t){var n=e.filter(function(e){return e.Label===t});if(1===n.length)return 1===n[0].Value}else{if("number"==typeof t)return 1===t;if("boolean"==typeof t)return t}return null},e.prototype.parseMultiSelectOptionSetFieldValue=function(e,t){if(!e||!(null==t?void 0:t.length))return[];var n=e.split("; ");if(!(null==n?void 0:n.length))return[];var r={};return t.forEach(function(e){return r[e.Label]=e.Value}),n.map(function(e){return r[e]})},e.prototype.parseCurrency=function(e,t){if(null==e||""===e.trim())return null;var n=(t=t||this.dafaultCultureInfo).numberFormat.CurrencySymbol,r=t.numberFormat.CurrencyGroupSeparator,o=t.numberFormat.CurrencyDecimalSeparator;if(null==(e=e.split(n).join(""))||""===e.trim())return null;var i=e.lastIndexOf(o),a="";return-1!==i&&(a=e.slice(i),e=e.slice(0,-a.length)),e=e.split(r).join(""),e=(e+=a).split(o).join("."),Number(this.normalizeNegativeFormatInNumberString(e))},e.prototype.normalizeNegativeFormatInNumberString=function(e){var t=e.includes("-")||e.includes("(")&&e.includes(")");return e=e.replace(/\(|\)|\-/g,"").trim(),t&&(e="-"+e),e},e.prototype.formatOptionSetFieldValue=function(e,t){if(t){var n;if("number"!=typeof e){if(n=parseInt(e,10),isNaN(n))return}else n=e;var r=t.filter(function(e){return null!==e.Value&&void 0!==e.Value&&e.Value===n});return r.length>0?r[0].Label:null}},e.prototype.formatMultiSelectOptionSetFieldValue=function(n,r){if(r&&n&&0!==n.length){var o=[],e=function(t){var e=r.filter(function(e){return null!==e.Value&&void 0!==e.Value&&e.Value===n[t]});e&&e.length>0&&o.push(e[0].Label)};for(var t in n)e(t);return o.length>0?o.join("; "):void 0}},e.prototype.parseFormattedValue=function(e,t){return e},e}(),tp=function(){function t(e,t,n,r){this.r=0,this.g=0,this.b=0,this.a=0,void 0===r||(this.r=e,this.g=t,this.b=n,this.a=r)}return t.create=function(e){return null===e?new t(0,0,0,1):new t(e>>16&255,e>>8&255,255&e,(e>>24&255)/255)},t.prototype.toCss=function(){return"rgba("+this.r.toString()+", "+this.g.toString()+", "+this.b.toString()+", "+this.a.toString()+")"},t}(),np=function(){function e(e){var t;if(this.disposed=!1,this.columns=[],this.activeLayoutIndex=-1,this.controlContext=null,this.pcfGridInfo=null,this.controlContext=e,this.pcfGridInfo=$(e.mainElement.closest("."+this.controlContext.GridDataControlId)),this.pcfGridInfo&&0!=this.pcfGridInfo.length||(this.pcfGridInfo=$(e.mainElement.parentElement).find(".entity-grid")),this.pcfGridInfo&&this.pcfGridInfo.length>0){var n=null===(t=this.pcfGridInfo)||void 0===t?void 0:t.data("view-layouts");this.layouts=JSON.parse(Hc(n))}}return e.prototype.getColumns=function(e,t){if(this.layouts){var i=[];this.UpdateActiveLayoutIndex();var n=this.layouts[this.activeLayoutIndex],a=1;if(null!=n.Columns||0!=n.Columns.length){var s=this;$.each(n.Columns,function(e,t){if("col-action"!=t.LogicalName){var n=t.LogicalName,r=t.Name,o=t.Metadata;o&&s.updateColumnMetadataForPCF(o),i.push({name:n,displayName:r,order:a++,dataType:jc(o),alias:n,visualSizeFactor:1,attributes:o})}});var r=i.sort(function(e,t){return e.order-t.order});return this.columns=r,this.columns}}return this.columns},e.prototype.setSelected=function(e,t,n){},e.prototype.setSelectedItems=function(e,t,n){},e.prototype.getSelectedItems=function(e,t){var n,r;return this.disposed?null:null!==(r=null===(n=null==e?void 0:e.modelProperties[t])||void 0===n?void 0:n.getValue())&&void 0!==r?r:[]},e.prototype.generateQueryOptions=function(e,t,n,r){return null},e.prototype.getItemPropertyKey=function(e,t,n){return this.getPrefixedPropertyKey(e,t,"Items",n)},e.prototype.getPrefixedPropertyKey=function(e,t,n,r){var o="".concat(t,"_").concat(n);return r&&!this.hasProperty(e,n)&&this.hasProperty(e,o)?o:r?n:o},e.prototype.getTotalColumnWidth=function(e){var t;return null===(t=this.pcfGridInfo)||void 0===t?void 0:t.width()},e.prototype.getFieldInfo=function(i){if(this.layouts){var e=this.layouts[this.activeLayoutIndex];try{$.each(e.Columns,function(e,t){var n=t.LogicalName,r=t.Name,o=jc(t.Metadata);if(n===i||r===i)return{displayName:r,pcfType:o}})}catch(i){}}return null},e.prototype.hasProperty=function(e,t){var n;return!this.disposed&&void 0!==(null===(n=null==e?void 0:e.modelProperties)||void 0===n?void 0:n[t])},e.prototype.getSelectedPropertyKey=function(e,t,n){return null},e.prototype.getSelectedItemsPropertyKey=function(e,t,n){return null},e.prototype.getDefaultSelectedItemsPropertyKey=function(e,t,n){return this.getPrefixedPropertyKey(e,t,"DefaultSelectedItems",n)},e.prototype.refresh=function(e,t){return p(this,void 0,void 0,function(){return d(this,function(e){return[2,null]})})},e.prototype.loadNextPage=function(e,t,n,r){return p(this,void 0,void 0,function(){return d(this,function(e){return[2,null]})})},e.prototype.subscribeToColumnOrderUpdate=function(e,t,n){},e.prototype.resetControl=function(e){},e.prototype.updateColumnMetadataForPCF=function(e){var t,n,r,o,i,a,s;e.EntityLogicalName==this.layouts[this.activeLayoutIndex].Configuration.EntityName?e.IsEditable=e.IsValidForUpdate:e.IsEditable=!1,e.IsReadable=e.IsValidForRead;var l=null===(t=null==e?void 0:e.AttributeTypeName)||void 0===t?void 0:t.Value;if(void 0!==l)switch(l){case"LookupType":case"CustomerType":case"OwnerType":case"PartyListType":e.IsEditable=!1;break;case"BooleanType":var u=[];return(null===(n=e.OptionSet)||void 0===n?void 0:n.FalseOption)&&u.push({Label:e.OptionSet.FalseOption.Label.UserLocalizedLabel.Label,Value:e.OptionSet.FalseOption.Value,Color:e.OptionSet.FalseOption.Color}),(null===(r=e.OptionSet)||void 0===r?void 0:r.TrueOption)&&u.push({Label:e.OptionSet.TrueOption.Label.UserLocalizedLabel.Label,Value:e.OptionSet.TrueOption.Value,Color:e.OptionSet.TrueOption.Color}),void(e.Options=u);case"DateTimeType":return void(e.Behavior=fs[null===(o=e.DateTimeBehavior)||void 0===o?void 0:o.Value]);case"PicklistType":case"MultiSelectPicklistType":case"StatusType":case"StateType":var c=[];if(null===(i=e.OptionSet)||void 0===i?void 0:i.Options)for(var p=0;p<(null===(a=e.OptionSet)||void 0===a?void 0:a.Options.length);p++){var d=null===(s=e.OptionSet)||void 0===s?void 0:s.Options[p];c.push({Label:d.Label.UserLocalizedLabel.Label,Value:d.Value,Color:d.Color})}return e.Options=c,void("StateType"!=l&&"StatusType"!=l||(e.IsEditable=!1))}},e.prototype.UpdateActiveLayoutIndex=function(){var e,t=null===(e=this.pcfGridInfo)||void 0===e?void 0:e.data("selected-view");this.activeLayoutIndex=0,void 0!==t&&!1!==t&&null!=t&&""!=t&&(this.activeLayoutIndex=Vc(this.layouts,"Id",t),-1==this.activeLayoutIndex&&(this.activeLayoutIndex=0))},e.prototype.openDataSetItemAction=function(e){var t,n;this.UpdateActiveLayoutIndex();var r=this.layouts[this.activeLayoutIndex],o=this.pcfGridInfo.children(".modal-form-details"),i=o.find("iframe"),a=i.data("page"),s=null===(n=null===(t=r.Configuration.DetailsActionLink)||void 0===t?void 0:t.EntityForm)||void 0===n?void 0:n.Id;if(s){var l=window.getUrlWithRelatedReference(this.pcfGridInfo,a+"?id="+e+"&entityformid="+s+"&languagecode="+r.Configuration.LanguageCode);i.attr("src",l),i.on("load",function(){o.find(".form-loading").hide(),o.find("iframe").contents().find("#EntityFormControl").show()}),o.find(".form-loading").show(),o.find("iframe").contents().find("#EntityFormControl").hide(),o.on("show.bs.modal",function(){o.attr("aria-hidden","false")});var u=this;o.on("shown.bs.modal",function(){var e=u.pcfGridInfo.find("button:visible:first");setTimeout(function(){"SECTION"==document.activeElement.nodeName&&e.trigger("focus")},4e3)}),o.modal(),o.off("hidden.bs.modal.entitygrid").on("hidden.bs.modal.entitygrid",function(){o.attr("aria-hidden","true")})}},e.prototype.getPageSize=function(){if(this.layouts)return this.UpdateActiveLayoutIndex(),this.layouts[this.activeLayoutIndex].Configuration.PageSize},e.prototype.getGridActionsEnabled=function(){var e;return null===(e=this.pcfGridInfo)||void 0===e?void 0:e.data("enable-actions")},e.prototype.subscribeToWindowEventMessage=function(n){return function(e){var t=null;t=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),e.origin==t&&"Success"==e.data&&(this.pcfGridInfo.children(".modal-form").modal("hide"),n.refresh())}.bind(this)},e.prototype.createPublicInterface=function(e){return{getColumns:this.getColumns.bind(this,e),setSelected:this.setSelected.bind(this,e),setSelectedItems:this.setSelectedItems.bind(this,e),getSelectedItems:this.getSelectedItems.bind(this,e),generateQueryOption:this.generateQueryOptions,getItemPropertyKey:this.getItemPropertyKey.bind(this,e),getSelectedPropertyKey:this.getSelectedPropertyKey.bind(this,e),getSelectedItemsPropertyKey:this.getSelectedItemsPropertyKey.bind(this,e),getDefaultSelectedItemsPropertyKey:this.getDefaultSelectedItemsPropertyKey.bind(this,e),schemaTypeToPcfType:jc,refresh:this.refresh,loadNextPage:this.loadNextPage,subscribeToColumnOrderUpdate:this.subscribeToColumnOrderUpdate.bind(this),resetControl:this.resetControl.bind(this,e),getPrefixedPropertyKey:this.getPrefixedPropertyKey.bind(this,e),getTotalColumnWidth:this.getTotalColumnWidth.bind(this,e),getFieldInfo:this.getFieldInfo.bind(this),openDataSetItemAction:this.openDataSetItemAction.bind(this),getPageSize:this.getPageSize.bind(this),getGridActionsEnabled:this.getGridActionsEnabled.bind(this),subscribeToWindowEventMessage:this.subscribeToWindowEventMessage.bind(this)}},e.prototype.dispose=function(){this.disposed=!0},e}(); /** * Loads global polyfills so they are included by webpack * and initialize window level variables. * @license Copyright (c) Microsoft Corporation. All rights reserved. */window.React=ie,window.Reactv16=window.React,window.ReactDOM=I,window.__React=ie,window.__ReactDOM=I,window.requirejs=function(e,t){if(1===e.length){if("react"===e[0])return void t(ie);if("react-dom"===e[0])return void t(I)}throw new Error("requirejs is not supported")};var rp=function(){function e(){this._maxFileSize=1e7,this._success=1,this._emptyInput=2,this._canceled=3}return e.prototype.pickFile=function(e){var t,n,r=this,o=null!==(t=null==e?void 0:e.allowMultipleFiles)&&void 0!==t&&t,i=(null==e?void 0:e.maximumAllowedFileSize)&&e.maximumAllowedFileSize>0?e.maximumAllowedFileSize:this._maxFileSize,a=null!==(n=null==e?void 0:e.accept)&&void 0!==n?n:"*";return this._pickFileAsync(o,i,a).then(function(e){return document.body.removeChild(r._fileInput),Promise.resolve(e)},function(e){return document.body.removeChild(r._fileInput),Promise.reject(e)})},e.prototype._pickFileAsync=function(e,t,r){var o=this;return new Promise(function(l,n){o._fileInput=document.createElement("input"),o._fileInput.type="file",o._fileInput.id="filepickerid",o._fileInput.style.display="none",o._fileInput.multiple=e,o._fileInput.accept=r,o._fileInput.onchange=function(e){var s=e.target.files;o._checkFileSizeAsync(s,t).then(function(){for(var i=[],a=0,e=function(r){var o=new FileReader;o.onload=function(){var e=o.result,t=e.substring(e.indexOf(",")+1),n={fileName:s[r].name,mimeType:s[r].type,fileContent:t,fileSize:Math.ceil(.75*t.length)};i.push(n),++a===s.length&&l(i)},o.onerror=function(){n({errorMessage:globalThis.ResourceManager.Try_again})},o.readAsDataURL(s[r])},t=0;t<s.length;t++)e(t)}).catch(function(e){n(e)})},document.body.appendChild(o._fileInput),o._fileInput.click()})},e.prototype._checkFileSizeAsync=function(e,t){for(var n=0;n<e.length;n++){if(e[n].size>t)return Promise.reject({errorMessage:globalThis.ResourceManager.MaxFileSize_Error_Message,param:t});if(0===e[n].size)return Promise.reject({errorMessage:globalThis.ResourceManager.Attachments_NullSize})}return Promise.resolve(!0)},e}(),op=window;function ip(e,t,n){var r=e.getAttribute("pcf-controlcontext");if(0!=r.length){var o,i="input[id$="+(o=op.portal.IsRequestedFromMaker()?JSON.parse(atob(r)):JSON.parse(r)).PcfControlHiddenValueId+"]";$(i).on("change",function(){t.setValue(o)}),o.mainElement=e,o.fieldLevelControl=n,t.initControlContext(o);for(var a=document.getElementById(o.UniqueId).getElementsByTagName("button"),s=0;s<a.length;s++)a[s].setAttribute("type","button");return o}}op.loadAllPcfControlsOnPage=function(){var u=!1,c=0,p="",d=!1;if($('span[id^="PcfControlConfig_"]').each(function(e,t){var n=new sp,r=ip(t,n,!0);if(c++,p+=r.ControlName+", ","MscrmControls.MultiSelectPicklist.UpdMSPicklistControl"==r.ControlName){u=!0;for(var o=document.getElementsByClassName("msos-selecteditems-container"),i=document.querySelectorAll(".msos-input-container>input"),a=null,s=0;s<i.length;s++)i[s].addEventListener("focus",function(e){var t;(null==e?void 0:e.relatedTarget)&&"msos-selecteditems-container"!==(null===(t=null==e?void 0:e.relatedTarget)||void 0===t?void 0:t.className)&&(a=null==e?void 0:e.relatedTarget)});for(var l=0;l<o.length;l++)o[l].setAttribute("tabindex","0"),o[l].addEventListener("focus",function(e){var t,n,r="msos-selecteditems msos-current-selection-normal"===(null===(t=null==e?void 0:e.relatedTarget)||void 0===t?void 0:t.className),o=null===(n=e.target)||void 0===n?void 0:n.parentElement,i=o.querySelector("input");o&&i&&!r&&i.focus(),o&&i&&r&&a&&(a.focus(),o.setAttribute("class","msos-container"))})}"MscrmControls.RichTextEditor.RichTextEditorControl"==r.ControlName&&n.setupRteImageIntercepts(r),"MscrmControls.RichTextEditorV2.RichTextEditorControlV2"!=r.ControlName||d||(n.setupRteV2ImageIntercepts(r),d=!0)}),c>0&&op.clientLogWrapper.traceInfo(c+" controls loaded: "+p,"PcfControlProxy","","loadAllPcfControlsOnPage"),u){for(var e=document.getElementsByClassName("msos-container"),t=0;t<e.length;t++)e[t].classList.contains("msos-focused")&&e[t].classList.remove("msos-focused");var n=document.getElementsByClassName("msos-checkbox");for(t=0;t<n.length;t++)n[t].addEventListener("keypress",function(e){13==e.keyCode||13==e.which||"Enter"==e.code||e.key})}},op.loadPcfGridControl=function(e){ip(e,new sp,!1)};var ap=[Jc.ManifestTypes.OptionSet,Jc.ManifestTypes.Object],sp=function(){function t(){}return t.prototype.initControlContext=function(t){var e,n=t.mainElement;this.datasetApi=new np(t);var r={};this.configJson=this.parseControl(t,n);var o=this.getDynamicResourceById("ManifestTemplate"),i=this.getDynamicResourceById("FormattingData"),a=this.getDynamicResourceById("ManifestPropertyTypes"),s=this.getDynamicResourceById("LocalizedStrings");this.controlContextInstance=t,s&&(r=s.LocStrings),i.timeZoneUtcOffsetMinutes=-(new Date).getTimezoneOffset(),i.formatter=new ep(new Rt(i.formatInfoCultureName,i.numberFormat,i.dateTimeFormat));var l={},u=[],c=[],p=[],d=[],f=t.ControlProperties.value_DisplayName;a.Properties.forEach(function(e){e.IsIncluded?u.push("properties.".concat(e.Name)):(l[e.Name]={type:e.Type,isPrimary:e.IsPrimary,complexType:e.ComplexType},ap.indexOf(e.Type)>=0?p.push("properties.".concat(e.Name)):c.push("properties.".concat(e.Name)),e.Type.toLowerCase()!=Jc.ManifestTypes.OptionSet.toLowerCase()&&"multiselectoptionset"!=e.Type.toLowerCase()||(d.push("properties.".concat(e.Name).concat("_Options")),d.push("properties.".concat(e.Name).concat("_DefaultValue"))))}),t.PropertyTypes=l;var h=this.handlePropertyChangeAsync.bind(this,t),m=this.handleOutputSchemaChangeAsync.bind(this,t,o),y=this.onComponentWillMount.bind(this,t),g=this.formatValue.bind(this,t),v=this.throwUnimplementedError.bind(this),b=o.CustomControlId.split("."),C=b.length>0?b[b.length-1]:o.CustomControlId,_=this.convertRawValue.bind(this,t),S={getFormFactor:this.getFormFactor.bind(this),getClient:this.getClient.bind(this),getDisableScroll:this.getDisableScroll.bind(this),captureImage:this.captureImage.bind(this),pickFile:this.pickFile.bind(this),getBarcodeValue:this.getBarcodeValue.bind(this),isGetBarcodeValueOperationAvailable:this.isGetBarcodeValueOperationAvailable.bind(this),isOpenARViewerAvailable:this.isOpenARViewerAvailable.bind(this),openARViewer:this.openARViewer.bind(this),getCurrentPosition:this.getCurrentPosition.bind(this),getPropertyValueByName:this.getPropertyValueByName.bind(this,t),getMessageReceiver:this.getMessageReceiver.bind(this),isGetMessageReceiverAvailable:this.isGetMessageReceiverAvailable.bind(this)};t.modelProperties={},t.propertyStore={},this.initializeProperties(this.configJson,t);var P=!!o&&this.isDataSetControl(o)?null===(e=this.datasetApi)||void 0===e?void 0:e.createPublicInterface(t):null;t.reactProps={uniqueId:t.UniqueId,disabled:t.IsDisabled,isread:"MscrmControls.MultiSelectPicklist.UpdMSPicklistControl"!=t.ControlName&&t.IsDisabled,visible:!0,label:f||t.ControlName,name:C,manifest:o,authoringMode:!1,formattingInfo:i,propertyTypes:l,locStrings:r,containerProperties:this.mapMultipleProperties(t,u,[]),controlProperties:this.mapMultipleProperties(t,c,p),auxProperties:this.mapMultipleProperties(t,[],d),handlePropertyChangeAsync:h,handleOutputSchemaChange:m,onComponentWillMount:y,prepControlDynamicTType:function(){},formatValue:g,pcfApi:S,pcfDatasetApi:P,intelligenceApi:null,convertRawValue:_,personalizationState:function(){return t.state?t.state:Tc.getHelper().getState(t.reactProps.manifest.CustomControlId)},setState:function(e){return t.state=e,!0},reportUnimplementedError:v,nameMapProperty:null,isControlLoaded:!0,overrideStyle:null,calculatedTabIndex:0,getCachedDatasetInfo:function(){return t.cachedDatasetInfo},updateCachedDatasetInfo:function(e){t.cachedDatasetInfo=Object.assign({},t.cachedDatasetInfo,e)},controlContext:t},t.extractFromParentProps=["overrideStyle"],this.wrapperInstance=function(e){var t;return e.fieldLevelControl||I.unmountComponentAtNode(document.getElementById(e.UniqueId)),I.render(ie.createElement(Jc,x({ref:function(e){return t=e}},e.reactProps)),document.getElementById(e.UniqueId)),t}(t)},t.prototype.setValue=function(e){this.wrapperInstance.setValue(e.PcfDynamicProperyName,JSON.parse(document.getElementById(e.PcfControlHiddenValueId).value))},t.prototype.setupRteV2ImageIntercepts=function(e){var t=this,s=window.fetch;window.fetch=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];return p(t,void 0,void 0,function(){var t,r,o,i,n;return d(this,function(e){switch(e.label){case 0:return t=!1,r=a[0],o=a[1],i=$.Deferred(),r.includes("api/data/v9.0")?(r=r.replace("api/data/v9.0","_api"),t=!0):r.includes("api/data/v9.1")&&(r=r.replace("api/data/v9.1","_api"),t=!0),t?(globalThis.shell.getTokenDeferred().done(function(n){return p(this,void 0,void 0,function(){var t;return d(this,function(e){switch(e.label){case 0:return o.headers.__RequestVerificationToken=n,[4,s(r,o)];case 1:return t=e.sent(),i.resolve(t),[2]}})})}),[3,3]):[3,1];case 1:return[4,s(r,o)];case 2:n=e.sent(),i.resolve(n),e.label=3;case 3:return[2,i.promise()]}})})}},t.prototype.setupRteImageIntercepts=function(e){var o=this,a=window.setInterval(function(){var e,t=document.getElementById(o.controlContextInstance.UniqueId).getElementsByClassName("fullPageContentEditorFrame")[0];if(t&&(null!==(e=t)&&"IFRAME"===e.tagName)){var n=t.contentWindow||t.contentDocument,i=n.XMLHttpRequest.prototype.open,r=n.XMLHttpRequest.prototype.send;n.XMLHttpRequest.prototype.open=function(e,t,n,r,o){t.includes("api/data/v9.0")?t=t.replace("api/data/v9.0","_api"):t.includes("api/data/v9.1")&&(t=t.replace("api/data/v9.1","_api")),i.call(this,e,t,n,r,o)},n.XMLHttpRequest.prototype.send=function(t){var n=this,e=window.setInterval(function(){globalThis.shell.getTokenDeferred().done(function(e){n.setRequestHeader("__RequestVerificationToken",e),r.call(n,t)}),window.clearInterval(e)},50)},window.clearInterval(a)}},1e3)},t.prototype.getModelPropertyValue=function(e,t){var n,r;return null!==(r=null===(n=e.propertyStore[t])||void 0===n?void 0:n.lastValue)&&void 0!==r?r:null},t.prototype.setModelPropertyValue=function(e,t,n,r,o,i,a){r=!!r,o=!!o,i=!!i,n!=this.tryGetModelPropertyValue(e,t)&&(e.propertyStore[t]={ruleValue:n,lastValue:n},e.modelProperties[t].propertyValue=n)},t.prototype.resetModelPropertyValue=function(e,t){var n=e.propertyStore[t];this.setModelPropertyValue(e,t,n.ruleValue)},t.prototype.tryGetModelPropertyValue=function(e,t){return e.propertyStore&&e.propertyStore[t]?e.propertyStore[t]:null},t.prototype.parseControl=function(e,t){var n,r=t.getAttribute("data-pcf-control");if(0!=r.length)return(n=op.portal.IsRequestedFromMaker()?JSON.parse(atob(r)):JSON.parse(r)).Resources.forEach(function(e){3===e.Type&&(e.Path=JSON.parse(e.Path))}),n},t.prototype.initializeProperties=function(e,t){var n=this;e.IncludedProperties.forEach(function(e){n.initProperty(e,t)}),e.Properties.forEach(function(e){n.initProperty(e,t)}),t.initialized=!0},t.prototype.initProperty=function(e,t){t.modelProperties[e.Name]={getValue:this.getModelPropertyValue.bind(this,t,e.Name),setValue:this.setModelPropertyValue.bind(this,t,e.Name),resetValue:this.resetModelPropertyValue.bind(this,t,e.Name),controlProperty:e,propertyValue:e.DefaultValue},t.propertyStore[e.Name]={lastValue:e.DefaultValue,ruleValue:e.DefaultValue}},t.prototype.getDynamicResourceById=function(t){var e=this.configJson.Resources.filter(function(e){return 3===e.Type&&e.Path.Id===t});return e&&1===e.length?e[0].Path.Data:null},t.prototype.handlePropertyChangeAsync=function(n,r){var o=this;Object.keys(r).forEach(function(e){var t;n.ControlProperties[e]=r[e].value,e==n.PcfDynamicProperyName&&(null==r[e].value||"multiselectoptionset"==(null===(t=n.PropertyTypes.value)||void 0===t?void 0:t.type.toLowerCase())&&0==r[e].value.length?document.getElementById(n.PcfControlHiddenValueId).value=null:document.getElementById(n.PcfControlHiddenValueId).value=JSON.stringify(r[e].value),o.setValue(n))})},t.prototype.handleOutputSchemaChangeAsync=function(e,t,n){Object.keys(n).forEach(function(e){n[e].value})},t.prototype.onComponentWillMount=function(e){var t=e.PropertyTypes;Object.keys(t).forEach(function(e){})},t.prototype.formatValue=function(e,t,r,n){if(null==r)return null;var o;switch(t){case"OptionSet":if(n&&n.Options){var i=n.Options.find(function(e,t,n){return r===e.Value});if(i)return i.Label}return r;case"MultiSelectOptionSet":var a="";return n&&n.Options&&r&&r.forEach(function(r){var e=n.Options.find(function(e,t,n){return r===e.Value});a+=e.Label+";"}),a;case"TwoOptions":case"Boolean":return n.Options.filter(function(e){return!!e.Value==!!r})[0].Label;case"Currency":return r;case"DateAndTime.DateAndTime":return(o=new Date(r)).toLocaleDateString()+" "+o.toLocaleTimeString();case"DateAndTime.DateOnly":return(o=new Date(r)).toLocaleDateString();case"Image":return"";case"File":return(null==r?void 0:r.fileName)||"";case"Whole.Duration":default:return r.toString()}},t.prototype.throwUnimplementedError=function(e){var t=new Error(e);throw t.name="PCFNonImplementedError",t},t.prototype.isDataSetControl=function(e){return!!(e&&e.Properties&&e.Properties.DataSetDefinitions)&&Object.keys(e.Properties.DataSetDefinitions).length>0},t.prototype.convertRawValue=function(e,t,r,n,o){if(-1!=t.toLowerCase().indexOf("dateandtime"))return null==r?r:new Date(r);if(t.toLowerCase()===Jc.ManifestTypes.SingleLineText.toLowerCase()&&o.complexType&&("color"===o.complexType.toLowerCase()||"fillcolor"===o.complexType.toLowerCase()||"fontcolor"===o.complexType.toLowerCase()))return r?tp.create(r).toCss():null;if(t.toLowerCase()===Jc.ManifestTypes.Image.toLowerCase()||t.toLowerCase()===Jc.ManifestTypes.File.toLowerCase())return r;if(t.toLowerCase()==Jc.ManifestTypes.OptionSet.toLowerCase()){if(o.rawOptions&&n.Options){var i=r?o.rawOptions.find(function(e,t,n){return e.Value===r.Value}):null,a=i&&i.Value;if(null!=a){var s=n.Options.find(function(e,t,n){return a===e.Value});if(s)return s.Value}}return null}if("multiselectoptionset"==t.toLowerCase()){if(o.rawOptions&&n.Options&&r){var l=new Array;return r.forEach(function(r){var e=o.rawOptions.find(function(e,t,n){return e.Value===r.Value});l.push(e.Value)}),l}return null}return t.toLowerCase()==Jc.ManifestTypes.Decimal.toLowerCase()||t.toLowerCase()==Jc.ManifestTypes.WholeNone.toLowerCase()||t.toLowerCase()==Jc.ManifestTypes.FP.toLowerCase()||t.toLowerCase()==Jc.ManifestTypes.Currency.toLowerCase()?Number(r):null==r?null:r},t.prototype.mapMultipleProperties=function(r,e,t){var o={},i={};return e.forEach(function(e){for(var t=e.split("."),n=0;n<t.length;n++)null!=r.ControlProperties[t[n]]&&(o[t[n]]=r.ControlProperties[t[n]])}),t.forEach(function(e){for(var t=e.split("."),n=0;n<t.length;n++)null!=r.ControlProperties[t[n]]&&(i[t[n]]=r.ControlProperties[t[n]])}),Object.assign({},o,i)},t.prototype.getFormFactor=function(){return Bc.Desktop},t.prototype.getClient=function(){return"Web"},t.prototype.getDisableScroll=function(){return!1},t.prototype.captureImage=function(e){this.throwUnimplementedError("captureImage: Method not implemented.")},t.prototype.pickFile=function(e){return t.getMediaService().pickFile(e)},t.prototype.getBarcodeValue=function(){this.throwUnimplementedError("getBarcodeValue: Method not implemented.")},t.prototype.isGetBarcodeValueOperationAvailable=function(){return!1},t.prototype.isOpenARViewerAvailable=function(){return!1},t.prototype.getCurrentPosition=function(){this.throwUnimplementedError("getCurrentPosition: Method not implemented.")},t.prototype.openARViewer=function(e){this.throwUnimplementedError("openARViewer: Method not implemented.")},t.prototype.getMessageReceiver=function(e,t){this.throwUnimplementedError("openARViewer: Method not implemented.")},t.prototype.isGetMessageReceiverAvailable=function(){return!1},t.getMediaService=function(){return t._mediaService||(t._mediaService=new rp),t._mediaService},t.prototype.getPropertyValueByName=function(e,t){var n=e.modelProperties;return e.initialized&&n[t]?n[t].getValue():e.behaviors&&e.behaviors[t]?e.behaviors[t]:null},t._mediaService=null,t}()}]);