UNPKG

scanbot-web-sdk

Version:

Scanbot Web Document and Barcode Scanner SDK

2 lines 1.03 MB
/*! For license information please see ScanbotSDK.ui2.min.js.LICENSE.txt */ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=143)}([function(e,t,n){"use strict";n.r(t),n.d(t,"Component",(function(){return s.a})),n.d(t,"Fragment",(function(){return s.b})),n.d(t,"createContext",(function(){return s.d})),n.d(t,"createElement",(function(){return s.e})),n.d(t,"createRef",(function(){return s.f})),n.d(t,"useCallback",(function(){return O})),n.d(t,"useContext",(function(){return D})),n.d(t,"useDebugValue",(function(){return T})),n.d(t,"useEffect",(function(){return A})),n.d(t,"useErrorBoundary",(function(){return k})),n.d(t,"useId",(function(){return B})),n.d(t,"useImperativeHandle",(function(){return x})),n.d(t,"useLayoutEffect",(function(){return S})),n.d(t,"useMemo",(function(){return E})),n.d(t,"useReducer",(function(){return C})),n.d(t,"useRef",(function(){return w})),n.d(t,"useState",(function(){return y})),n.d(t,"Children",(function(){return G})),n.d(t,"PureComponent",(function(){return V})),n.d(t,"StrictMode",(function(){return Pe})),n.d(t,"Suspense",(function(){return q})),n.d(t,"SuspenseList",(function(){return ee})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return Se})),n.d(t,"cloneElement",(function(){return De})),n.d(t,"createFactory",(function(){return xe})),n.d(t,"createPortal",(function(){return oe})),n.d(t,"default",(function(){return Ve})),n.d(t,"findDOMNode",(function(){return ke})),n.d(t,"flushSync",(function(){return Ie})),n.d(t,"forwardRef",(function(){return U})),n.d(t,"hydrate",(function(){return me})),n.d(t,"isElement",(function(){return Me})),n.d(t,"isFragment",(function(){return Oe})),n.d(t,"isValidElement",(function(){return Ee})),n.d(t,"lazy",(function(){return J})),n.d(t,"memo",(function(){return W})),n.d(t,"render",(function(){return de})),n.d(t,"startTransition",(function(){return Le})),n.d(t,"unmountComponentAtNode",(function(){return Te})),n.d(t,"unstable_batchedUpdates",(function(){return Be})),n.d(t,"useDeferredValue",(function(){return Re})),n.d(t,"useInsertionEffect",(function(){return je})),n.d(t,"useSyncExternalStore",(function(){return Ne})),n.d(t,"useTransition",(function(){return _e})),n.d(t,"version",(function(){return we}));var i,o,r,a,s=n(13),c=0,l=[],u=[],d=s.h,m=d.__b,p=d.__r,h=d.diffed,f=d.__c,g=d.unmount,v=d.__;function b(e,t){d.__h&&d.__h(o,e,c||t),c=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function y(e){return c=1,C(M,e)}function C(e,t,n){var r=b(i++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):M(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=o,!o.u)){var a=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!s||s.call(this,e,t,n);var o=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}})),!(!o&&r.__c.props===e)&&(!s||s.call(this,e,t,n))};o.u=!0;var s=o.shouldComponentUpdate,c=o.componentWillUpdate;o.componentWillUpdate=function(e,t,n){if(this.__e){var i=s;s=void 0,a(e,t,n),s=i}c&&c.call(this,e,t,n)},o.shouldComponentUpdate=a}return r.__N||r.__}function A(e,t){var n=b(i++,3);!d.__s&&j(n.__H,t)&&(n.__=e,n.i=t,o.__H.__h.push(n))}function S(e,t){var n=b(i++,4);!d.__s&&j(n.__H,t)&&(n.__=e,n.i=t,o.__h.push(n))}function w(e){return c=5,E((function(){return{current:e}}),[])}function x(e,t,n){c=6,S((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function E(e,t){var n=b(i++,7);return j(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function O(e,t){return c=8,E((function(){return e}),t)}function D(e){var t=o.context[e.__c],n=b(i++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function T(e,t){d.useDebugValue&&d.useDebugValue(t?t(e):e)}function k(e){var t=b(i++,10),n=y();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e,i){t.__&&t.__(e,i),n[1](e)}),[n[0],function(){n[1](void 0)}]}function B(){var e=b(i++,11);if(!e.__){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function I(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(R),e.__H.__h.forEach(_),e.__H.__h=[]}catch(t){e.__H.__h=[],d.__e(t,e.__v)}}d.__b=function(e){o=null,m&&m(e)},d.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),v&&v(e,t)},d.__r=function(e){p&&p(e),i=0;var t=(o=e.__c).__H;t&&(r===o?(t.__h=[],o.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0}))):(t.__h.forEach(R),t.__h.forEach(_),t.__h=[],i=0)),r=o},d.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&a===d.requestAnimationFrame||((a=d.requestAnimationFrame)||L)(I)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u}))),r=o=null},d.__c=function(e,t){t.some((function(e){try{e.__h.forEach(R),e.__h=e.__h.filter((function(e){return!e.__||_(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],d.__e(n,e.__v)}})),f&&f(e,t)},d.unmount=function(e){g&&g(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{R(e)}catch(e){t=e}})),n.__H=void 0,t&&d.__e(t,n.__v))};var P="function"==typeof requestAnimationFrame;function L(e){var t,n=function(){clearTimeout(i),P&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);P&&(t=requestAnimationFrame(n))}function R(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function _(e){var t=o;e.__c=e.__(),o=t}function j(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function M(e,t){return"function"==typeof t?t(e):t}function N(e,t){for(var n in t)e[n]=t[n];return e}function F(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function V(e,t){this.props=e,this.context=t}function W(e,t){function n(e){var n=this.props.ref,i=n==e.ref;return!i&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!i:F(this.props,e)}function i(t){return this.shouldComponentUpdate=n,Object(s.e)(e,t)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(V.prototype=new s.a).isPureReactComponent=!0,V.prototype.shouldComponentUpdate=function(e,t){return F(this.props,e)||F(this.state,t)};var z=s.h.__b;s.h.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),z&&z(e)};var H="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function U(e){function t(t){var n=N({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=H,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Z=function(e,t){return null==e?null:Object(s.j)(Object(s.j)(e).map(t))},G={map:Z,forEach:Z,count:function(e){return e?Object(s.j)(e).length:0},only:function(e){var t=Object(s.j)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:s.j},$=s.h.__e;s.h.__e=function(e,t,n,i){if(e.then)for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);$(e,t,n,i)};var Y=s.h.unmount;function X(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=N({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return X(e,t,n)}))),e}function Q(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Q(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function q(){this.__u=0,this.t=null,this.__b=null}function K(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function J(e){var t,n,i;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){i=e})),i)throw i;if(!n)throw t;return Object(s.e)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function ee(){this.u=null,this.o=null}s.h.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Y&&Y(e)},(q.prototype=new s.a).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var o=K(i.__v),r=!1,a=function(){r||(r=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--i.__u){if(i.state.__a){var e=i.state.__a;i.__v.__k[0]=Q(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__a:i.__b=null});t=i.t.pop();)t.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},q.prototype.componentWillUnmount=function(){this.t=[]},q.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=X(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&Object(s.e)(s.b,null,e.fallback);return o&&(o.__u&=-33),[Object(s.e)(s.b,null,t.__a?null:e.children),o]};var te=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ne(e){return this.getChildContext=function(){return e.context},e.children}function ie(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(s.i)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(s.i)(Object(s.e)(ne,{context:t.context},e.__v),t.l)}function oe(e,t){var n=Object(s.e)(ie,{__v:e,i:t});return n.containerInfo=t,n}(ee.prototype=new s.a).__a=function(e){var t=this,n=K(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),te(t,e,i)):o()};n?n(r):r()}},ee.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(s.j)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ee.prototype.componentDidUpdate=ee.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){te(e,n,t)}))};var re="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ae=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,se=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ce=/[A-Z0-9]/g,le="undefined"!=typeof document,ue=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function de(e,t,n){return null==t.__k&&(t.textContent=""),Object(s.i)(e,t),"function"==typeof n&&n(),e?e.__c:null}function me(e,t,n){return Object(s.g)(e,t),"function"==typeof n&&n(),e?e.__c:null}s.a.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(s.a.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var pe=s.h.event;function he(){}function fe(){return this.cancelBubble}function ge(){return this.defaultPrevented}s.h.event=function(e){return pe&&(e=pe(e)),e.persist=he,e.isPropagationStopped=fe,e.isDefaultPrevented=ge,e.nativeEvent=e};var ve,be={enumerable:!1,configurable:!0,get:function(){return this.class}},ye=s.h.vnode;s.h.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,i={};for(var o in t){var r=t[o];if(!("value"===o&&"defaultValue"in t&&null==r||le&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===r?r="":"translate"===a&&"no"===r?r=!1:"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||ue(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":se.test(o)?o=a:-1===n.indexOf("-")&&ae.test(o)?o=o.replace(ce,"-$&").toLowerCase():null===r&&(r=void 0):a=o="oninput","oninput"===a&&i[o=a]&&(o="oninputCapture"),i[o]=r}}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=Object(s.j)(t.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==n&&null!=i.defaultValue&&(i.value=Object(s.j)(t.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",be)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(e),e.$$typeof=re,ye&&ye(e)};var Ce=s.h.__r;s.h.__r=function(e){Ce&&Ce(e),ve=e.__c};var Ae=s.h.diffed;s.h.diffed=function(e){Ae&&Ae(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),ve=null};var Se={ReactCurrentDispatcher:{current:{readContext:function(e){return ve.__n[e.__c].props.value}}}},we="17.0.2";function xe(e){return s.e.bind(null,e)}function Ee(e){return!!e&&e.$$typeof===re}function Oe(e){return Ee(e)&&e.type===s.b}function De(e){return Ee(e)?s.c.apply(null,arguments):e}function Te(e){return!!e.__k&&(Object(s.i)(null,e),!0)}function ke(e){return e&&(e.base||1===e.nodeType&&e)||null}var Be=function(e,t){return e(t)},Ie=function(e,t){return e(t)},Pe=s.b;function Le(e){e()}function Re(e){return e}function _e(){return[!1,Le]}var je=S,Me=Ee;function Ne(e,t){var n=t(),i=y({h:{__:n,v:t}}),o=i[0].h,r=i[1];return S((function(){o.__=n,o.v=t,Fe(o)&&r({h:o})}),[e,n,t]),A((function(){return Fe(o)&&r({h:o}),e((function(){Fe(o)&&r({h:o})}))}),[e]),n}function Fe(e){var t,n,i=e.v,o=e.__;try{var r=i();return!((t=o)===(n=r)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var Ve={useState:y,useId:B,useReducer:C,useEffect:A,useLayoutEffect:S,useInsertionEffect:je,useTransition:_e,useDeferredValue:Re,useSyncExternalStore:Ne,startTransition:Le,useRef:w,useImperativeHandle:x,useMemo:E,useCallback:O,useContext:D,useDebugValue:T,version:"17.0.2",Children:G,render:de,hydrate:me,unmountComponentAtNode:Te,createPortal:oe,createElement:s.e,createContext:s.d,createFactory:xe,cloneElement:De,createRef:s.f,Fragment:s.b,isValidElement:Ee,isElement:Me,isFragment:Oe,findDOMNode:ke,Component:s.a,PureComponent:V,memo:W,forwardRef:U,flushSync:Ie,unstable_batchedUpdates:Be,StrictMode:Pe,Suspense:q,SuspenseList:ee,lazy:J,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Se}},function(e,t,n){"use strict";n.d(t,"i",(function(){return o})),n.d(t,"o",(function(){return r})),n.d(t,"h",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"j",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"c",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"n",(function(){return v})),n.d(t,"m",(function(){return b})),n.d(t,"q",(function(){return y})),n.d(t,"p",(function(){return C}));var i=n(7);class o extends i.a{constructor(e={}){super(),this.sbColorPrimary="#C8193C",this.sbColorPrimaryDisabled="#F5F5F5",this.sbColorNegative="#FF3737",this.sbColorPositive="#4EFFB4",this.sbColorWarning="#FFCE5C",this.sbColorSecondary="#FFEDEE",this.sbColorSecondaryDisabled="#F5F5F5",this.sbColorOnPrimary="#FFFFFF",this.sbColorOnSecondary="#C8193C",this.sbColorSurface="#FFFFFF",this.sbColorOutline="#EFEFEF",this.sbColorOnSurfaceVariant="#707070",this.sbColorOnSurface="#000000",this.sbColorSurfaceLow="#00000026",this.sbColorSurfaceHigh="#0000007A",this.sbColorModalOverlay="#000000A3",void 0!==e.sbColorPrimary&&(this.sbColorPrimary=e.sbColorPrimary),void 0!==e.sbColorPrimaryDisabled&&(this.sbColorPrimaryDisabled=e.sbColorPrimaryDisabled),void 0!==e.sbColorNegative&&(this.sbColorNegative=e.sbColorNegative),void 0!==e.sbColorPositive&&(this.sbColorPositive=e.sbColorPositive),void 0!==e.sbColorWarning&&(this.sbColorWarning=e.sbColorWarning),void 0!==e.sbColorSecondary&&(this.sbColorSecondary=e.sbColorSecondary),void 0!==e.sbColorSecondaryDisabled&&(this.sbColorSecondaryDisabled=e.sbColorSecondaryDisabled),void 0!==e.sbColorOnPrimary&&(this.sbColorOnPrimary=e.sbColorOnPrimary),void 0!==e.sbColorOnSecondary&&(this.sbColorOnSecondary=e.sbColorOnSecondary),void 0!==e.sbColorSurface&&(this.sbColorSurface=e.sbColorSurface),void 0!==e.sbColorOutline&&(this.sbColorOutline=e.sbColorOutline),void 0!==e.sbColorOnSurfaceVariant&&(this.sbColorOnSurfaceVariant=e.sbColorOnSurfaceVariant),void 0!==e.sbColorOnSurface&&(this.sbColorOnSurface=e.sbColorOnSurface),void 0!==e.sbColorSurfaceLow&&(this.sbColorSurfaceLow=e.sbColorSurfaceLow),void 0!==e.sbColorSurfaceHigh&&(this.sbColorSurfaceHigh=e.sbColorSurfaceHigh),void 0!==e.sbColorModalOverlay&&(this.sbColorModalOverlay=e.sbColorModalOverlay)}}class r extends i.a{constructor(e={}){super(),this.visible=!0,this.text="",this.color="#FFFFFF",this.useShadow=!1,void 0!==e.visible&&(this.visible=e.visible),void 0!==e.text&&(this.text=e.text),void 0!==e.color&&(this.color=e.color),void 0!==e.useShadow&&(this.useShadow=e.useShadow)}}class a extends i.a{constructor(e={}){super(),this.visible=!0,this.color="#FFFFFF",void 0!==e.visible&&(this.visible=e.visible),void 0!==e.color&&(this.color=e.color)}}class s extends i.a{constructor(e={}){super(),this.visible=!0,this.color="#FFFFFF",this.accessibilityDescription="",void 0!==e.visible&&(this.visible=e.visible),void 0!==e.color&&(this.color=e.color),void 0!==e.accessibilityDescription&&(this.accessibilityDescription=e.accessibilityDescription)}}class c extends i.a{constructor(e={}){super(),this.strokeColor="#FFFFFFFF",this.fillColor="#FFFFFF30",this.strokeWidth=2,this.cornerRadius=0,void 0!==e.strokeColor&&(this.strokeColor=e.strokeColor),void 0!==e.fillColor&&(this.fillColor=e.fillColor),void 0!==e.strokeWidth&&(this.strokeWidth=e.strokeWidth),void 0!==e.cornerRadius&&(this.cornerRadius=e.cornerRadius)}}class l extends i.a{constructor(e={}){super(),this.strokeColor="#FFFFFFFF",this.fillColor="#FFFFFF30",this.strokeWidth=2,void 0!==e.strokeColor&&(this.strokeColor=e.strokeColor),void 0!==e.fillColor&&(this.fillColor=e.fillColor),void 0!==e.strokeWidth&&(this.strokeWidth=e.strokeWidth)}}class u extends i.a{constructor(e={}){super(),this.iconVisible=!0,this.color="#FFFFFF",this.useShadow=!1,void 0!==e.iconVisible&&(this.iconVisible=e.iconVisible),void 0!==e.color&&(this.color=e.color),void 0!==e.useShadow&&(this.useShadow=e.useShadow)}}class d extends i.a{constructor(e={}){super(),this.visible=!0,this.background=new l({}),this.foregroundColor="?sbColorOnSurface",void 0!==e.visible&&(this.visible=e.visible),void 0!==e.background&&(this.background=new l(e.background)),void 0!==e.foregroundColor&&(this.foregroundColor=e.foregroundColor)}}class m extends i.a{constructor(e={}){super(),this.visible=!0,this.accessibilityDescription="",this.backgroundColor="#0000007A",this.foregroundColor="#FFFFFF",this.activeBackgroundColor="#FFCE5C",this.activeForegroundColor="#1C1B1F",void 0!==e.visible&&(this.visible=e.visible),void 0!==e.accessibilityDescription&&(this.accessibilityDescription=e.accessibilityDescription),void 0!==e.backgroundColor&&(this.backgroundColor=e.backgroundColor),void 0!==e.foregroundColor&&(this.foregroundColor=e.foregroundColor),void 0!==e.activeBackgroundColor&&(this.activeBackgroundColor=e.activeBackgroundColor),void 0!==e.activeForegroundColor&&(this.activeForegroundColor=e.activeForegroundColor)}}class p extends i.a{constructor(e={}){super(),this.badgeBackgroundColor="#FFFFFF",this.badgeForegroundColor="#C8193C",this.visible=!0,this.backgroundColor="#0000007A",this.foregroundColor="#FFFFFF",this.activeBackgroundColor="#FFCE5C",this.activeForegroundColor="#1C1B1F",void 0!==e.badgeBackgroundColor&&(this.badgeBackgroundColor=e.badgeBackgroundColor),void 0!==e.badgeForegroundColor&&(this.badgeForegroundColor=e.badgeForegroundColor),void 0!==e.visible&&(this.visible=e.visible),void 0!==e.backgroundColor&&(this.backgroundColor=e.backgroundColor),void 0!==e.foregroundColor&&(this.foregroundColor=e.foregroundColor),void 0!==e.activeBackgroundColor&&(this.activeBackgroundColor=e.activeBackgroundColor),void 0!==e.activeForegroundColor&&(this.activeForegroundColor=e.activeForegroundColor)}}class h extends i.a{constructor(e={}){super(),this.visible=!0,this.text="",this.accessibilityDescription="",this.background=new l({}),this.foreground=new u({}),void 0!==e.visible&&(this.visible=e.visible),void 0!==e.text&&(this.text=e.text),void 0!==e.accessibilityDescription&&(this.accessibilityDescription=e.accessibilityDescription),void 0!==e.background&&(this.background=new l(e.background)),void 0!==e.foreground&&(this.foreground=new u(e.foreground))}}class f extends i.a{constructor(e={}){super(),this.title=new r({}),this.accessibilityDescription="",this.icon=new a({}),void 0!==e.title&&(this.title=new r(e.title)),void 0!==e.accessibilityDescription&&(this.accessibilityDescription=e.accessibilityDescription),void 0!==e.icon&&(this.icon=new a(e.icon))}}class g extends i.a{constructor(e={}){super(),this.visible=!0,this.title=new r({}),this.accessibilityDescription="",this.background=new l({}),this.icon=new a({}),void 0!==e.visible&&(this.visible=e.visible),void 0!==e.title&&(this.title=new r(e.title)),void 0!==e.accessibilityDescription&&(this.accessibilityDescription=e.accessibilityDescription),void 0!==e.background&&(this.background=new l(e.background)),void 0!==e.icon&&(this.icon=new a(e.icon))}}const v=["MODERN_BEEP","CLASSIC_BEEP"];class b extends i.a{constructor(e={}){super(),this.successBeepEnabled=!0,this.soundType="MODERN_BEEP",void 0!==e.successBeepEnabled&&(this.successBeepEnabled=e.successBeepEnabled),void 0!==e.soundType&&(this.soundType=e.soundType)}}class y extends i.a{constructor(e={}){super(),this.enabled=!1,void 0!==e.enabled&&(this.enabled=e.enabled)}}class C extends i.a{constructor(e={}){super(),this.autoCancelTimeout=0,this.initialScanDelay=0,void 0!==e.autoCancelTimeout&&(this.autoCancelTimeout=e.autoCancelTimeout),void 0!==e.initialScanDelay&&(this.initialScanDelay=e.initialScanDelay)}}},function(e,t,n){"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(this,arguments)}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return c}));var i=function(e,t){return i=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])},i(e,t)};function o(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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}Object.create;function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}Object.create},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return u}));var i=n(0),o=n(35),r=n(38);const a=Object(i.createContext)(null);function s(e){return{getColorValue:t=>l(t,e)}}class c{static setPalette(e){this.palette=e}static setLocalization(e){this.localization=e}static getColorValue(e){return l(e,this.palette)}static getPolygonColorValues(e,t){return new o.PolygonStyle({fillColor:t?c.getColorValue(e.fillColor):"transparent",strokeColor:t?c.getColorValue(e.strokeColor):"transparent",strokeWidth:e.strokeWidth,cornerRadius:e.cornerRadius})}static getLocalizedText(e,t=[]){return u(e,t,this.localization)}}function l(e,t){if(e){if(e.startsWith("?")){if(!t)throw new Error("Palette is not set");const n=e.slice(1);if(n in t)return t[n];r.a.debugWarn(`Color ${n} not found in palette`)}return e}r.a.debugWarn("Color is missing")}function u(e,t=[],n){if(e.startsWith("?")){if(!n)throw new Error("Localization is not set");const t=e.slice(1);t in n?e=n[t]:r.a.debugWarn(`Text localization key ${t} was not found in the localization table`)}for(let n of t)e=e.replace("%d",n);return e}c.palette=null,c.localization=null},function(e,t,n){n(0),e.exports=n(144)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{_marker(){}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{}},function(e,t,n){"use strict";function i(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(58);class o{constructor(e,t){this.x=e,this.y=t}static toPolygon(e,t){return[o.scaleDownTo(e[0],t),o.scaleDownTo(e[1],t),o.scaleDownTo(e[2],t),o.scaleDownTo(e[3],t)]}static scaleToPoint(e,t,n,i){return new o(i*(e.x-t),i*(e.y-n))}static scaleListToHtmlElement(e,t,n){return e.map((e=>o.scaleToHtmlElement(e,t,n)))}static scaleToHtmlElement(e,t,n){return new o(e.x*(n.clientWidth/t.width),e.y*(n.clientHeight/t.height))}static scaleUpTo(e,t){return new o(e.x*t.width,e.y*t.height)}static scaleDownTo(e,t){return new o(e.x/t.width,e.y/t.height)}static fromHtmlElement(e){return new o(e.offsetLeft,e.offsetTop)}static withScale(e,t,n){return new o(e/n,t/n)}static fromCoordinates(e,t,n,i){if(!e||!t)return new o(0,0);const r=new o(e,t);return i=null!=i?i:1,1===(n=n?n%4:0)?o.withScale(r.y,-r.x,i):2===n?o.withScale(-r.x,-r.y,i):3===n?o.withScale(-r.y,r.x,i):o.withScale(r.x,r.y,i)}static centerOf(e){const t=e.reduce(((e,t)=>e+t.x),0)/e.length,n=e.reduce(((e,t)=>e+t.y),0)/e.length;return new o(t,n)}static smallerSizeOfQuad(e){const t=Math.max(...e.map((e=>e.x)))-Math.min(...e.map((e=>e.x))),n=Math.max(...e.map((e=>e.y)))-Math.min(...e.map((e=>e.y)));return Math.min(t,n)}static empty(){return new o(0,0)}static centerX(e){if(e)return(o.highestX(e)+o.lowestX(e))/2}static highestX(e){if(e)return Math.max(...e.map((e=>e.x)))}static lowestX(e){if(e)return Math.min(...e.map((e=>e.x)))}static lowestY(e){if(e)return Math.min(...e.map((e=>e.y)))}static highestY(e){if(e)return Math.max(...e.map((e=>e.y)))}static width(e){if(e)return o.highestX(e)-o.lowestX(e)}static left(e){if(e)return e.reduce(((e,t)=>e.x<t.x?e:t))}static right(e){if(e)return e.reduce(((e,t)=>e.x>t.x?e:t))}static toSvgString(e){if(void 0!==e)return e.map((e=>`${e.x.toFixed(2)},${e.y.toFixed(2)}`)).join(" ")}static toSvgPathStringWithRoundedCorners(e,t=0){if(void 0===e)return;function n(e,t,n){const i=Math.atan2(e.y-t.y,e.x-t.x);return{x:e.x-n*Math.cos(i),y:e.y-n*Math.sin(i)}}let i="";const r=n(e[0],e[1],o.distance(e[0],e[1])/2);i+=`M ${r.x} ${r.y}`;for(let r=0;r<e.length;r++){const a=e[r],s=e[(r+1)%e.length],c=e[(r+2)%e.length],l=n(s,c,o.distance(s,c)/2),u=Math.abs(Math.atan2(s.y-a.y,s.x-a.x)-Math.atan2(s.y-c.y,s.x-c.x)),d=u>Math.PI?2*Math.PI-u:u,m=Math.min(Math.sqrt(Math.pow(s.x-a.x,2)+Math.pow(s.y-a.y,2)),Math.sqrt(Math.pow(s.x-c.x,2)+Math.pow(s.y-c.y,2))),p=Math.min(t,m*Math.tan(d/2)/2),h=Math.abs(p/Math.tan(d/2)),f=(s.x-a.x)*(s.y-c.y)-(s.x-c.x)*(s.y-a.y)<0?1:0,g=n(s,a,h),v=n(s,c,h);i+=` L${g.x} ${g.y}`,i+=` A${p} ${p} 0 0 ${f} ${v.x} ${v.y}`,i+=` L${l.x} ${l.y}`}return i+" Z"}static distance(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}static subtract(e,t){return new o(e.x-t.x,e.y-t.y)}static add(e,t){return new o(e.x+t.x,e.y+t.y)}static multiply(e,t){return new o(e.x*t,e.y*t)}static cross(e,t){return e.x*t.y-e.y*t.x}static clamp(e,t){return new o(Object(i.a)(e.x,0,t.width),Object(i.a)(e.y,0,t.height))}}},function(e,t,n){"use strict";function i(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=i(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}t.a=function(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=i(e))&&(o&&(o+=" "),o+=t);return o}},function(e,t,n){"use strict";n.d(t,"b",(function(){return C}));var i=n(2),o=n(8),r=n(57),a=n(134),s=n(158),c=n(105);const l=["ownerState"],u=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const p=Object(s.a)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function f({defaultTheme:e,theme:t,themeId:n}){return i=t,0===Object.keys(i).length?e:t[n]||t;var i}function g(e){return e?(t,n)=>n[e]:null}function v(e,t){let{ownerState:n}=t,r=Object(o.a)(t,l);const a="function"==typeof e?e(Object(i.a)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,Object(i.a)({ownerState:n},r))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=Object(o.a)(a,u);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(Object(i.a)({ownerState:n},r)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(Object(i.a)({ownerState:n},r)):e.style))})),t}return a}var b=n(63),y=n(46);const C=e=>m(e)&&"classes"!==e,A=function(e={}){const{themeId:t,defaultTheme:n=p,rootShouldForwardProp:s=m,slotShouldForwardProp:l=m}=e,u=e=>Object(c.a)(Object(i.a)({},e,{theme:f(Object(i.a)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{Object(r.b)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:b,skipVariantsResolver:y,skipSx:C,overridesResolver:A=g(h(b))}=c,S=Object(o.a)(c,d),w=void 0!==y?y:b&&"Root"!==b&&"root"!==b||!1,x=C||!1;let E=m;"Root"===b||"root"===b?E=s:b?E=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(E=void 0);const O=Object(r.a)(e,Object(i.a)({shouldForwardProp:E,label:undefined},S)),D=e=>"function"==typeof e&&e.__emotion_real!==e||Object(a.b)(e)?o=>v(e,Object(i.a)({},o,{theme:f({theme:o.theme,defaultTheme:n,themeId:t})})):e,T=(o,...r)=>{let a=D(o);const s=r?r.map(D):[];p&&A&&s.push((e=>{const o=f(Object(i.a)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[p]||!o.components[p].styleOverrides)return null;const r=o.components[p].styleOverrides,a={};return Object.entries(r).forEach((([t,n])=>{a[t]=v(n,Object(i.a)({},e,{theme:o}))})),A(e,a)})),p&&!w&&s.push((e=>{var o;const r=f(Object(i.a)({},e,{defaultTheme:n,themeId:t}));return v({variants:null==r||null==(o=r.components)||null==(o=o[p])?void 0:o.variants},Object(i.a)({},e,{theme:r}))})),x||s.push(u);const c=s.length-r.length;if(Array.isArray(o)&&c>0){const e=new Array(c).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const l=O(a,...s);return e.muiName&&(l.muiName=e.muiName),l};return O.withConfig&&(T.withConfig=O.withConfig),T}}({themeId:y.a,defaultTheme:b.a,rootShouldForwardProp:C});t.a=A},function(e,t,n){"use strict";var i=n(96);t.a=i.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return U})),n.d(t,"d",(function(){return Z})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return H})),n.d(t,"h",(function(){return o})),n.d(t,"i",(function(){return z})),n.d(t,"j",(function(){return B}));var i,o,r,a,s,c,l,u,d={},m=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function f(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var o,r,a,s={};for(a in t)"key"==a?o=t[a]:"ref"==a?r=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return b(e,s,o,r,null)}function b(e,t,n,i,a){var s={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++r:a,__i:-1,__u:0};return null==a&&null!=o.vnode&&o.vnode(s),s}function y(){return{current:null}}function C(e){return e.children}function A(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?S(e):null}function w(e,t,n){var i,r=e.__v,a=r.__e,s=e.__P;if(s)return(i=f({},r)).__v=r.__v+1,o.vnode&&o.vnode(i),j(s,i,r,e.__n,void 0!==s.ownerSVGElement,32&r.__u?[a]:null,t,null==a?S(r):a,!!(32&r.__u),n),i.__v=r.__v,i.__.__k[i.__i]=i,i.__d=void 0,i.__e!=a&&x(i),i}function x(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return x(e)}}function E(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!O.__r++||s!==o.debounceRendering)&&((s=o.debounceRendering)||c)(O)}function O(){var e,t,n,i=[],r=[];for(a.sort(l);e=a.shift();)e.__d&&(n=a.length,t=w(e,i,r)||t,0===n||a.length>n?(M(i,t,r),r.length=i.length=0,t=void 0,a.sort(l)):t&&o.__c&&o.__c(t,m));t&&M(i,t,r),O.__r=0}function D(e,t,n,i,o,r,a,s,c,l,u){var p,h,f,g,v,b=i&&i.__k||m,y=t.length;for(n.__d=c,T(n,t,b),c=n.__d,p=0;p<y;p++)null!=(f=n.__k[p])&&"boolean"!=typeof f&&"function"!=typeof f&&(h=-1===f.__i?d:b[f.__i]||d,f.__i=p,j(e,f,h,o,r,a,s,c,l,u),g=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&F(h.ref,null,f),u.push(f.ref,f.__c||g,f)),null==v&&null!=g&&(v=g),65536&f.__u||h.__k===f.__k?c=k(f,c,e):"function"==typeof f.type&&void 0!==f.__d?c=f.__d:g&&(c=g.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=c,n.__e=v}function T(e,t,n){var i,o,r,a,s,c=t.length,l=n.length,u=l,d=0;for(e.__k=[],i=0;i<c;i++)null!=(o=e.__k[i]=null==(o=t[i])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?b(null,o,null,null,o):h(o)?b(C,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?b(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=I(o,n,a=i+d,u),o.__i=s,r=null,-1!==s&&(u--,(r=n[s])&&(r.__u|=131072)),null==r||null===r.__v?(-1==s&&d--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?d++:s>a?u>c-a?d+=s-a:d--:d=s<a&&s==a-1?s-a:0,s!==i+d&&(o.__u|=65536))):(r=n[i])&&null==r.key&&r.__e&&0==(131072&r.__u)&&(r.__e==e.__d&&(e.__d=S(r)),V(r,r,!1),n[i]=null,u--);if(u)for(i=0;i<l;i++)null!=(r=n[i])&&0==(131072&r.__u)&&(r.__e==e.__d&&(e.__d=S(r)),V(r,r))}function k(e,t,n){var i,o;if("function"==typeof e.type){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=k(i[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function B(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){B(e,t)})):t.push(e)),t}function I(e,t,n,i){var o=e.key,r=e.type,a=n-1,s=n+1,c=t[n];if(null===c||c&&o==c.key&&r===c.type)return n;if(i>(null!=c&&0==(131072&c.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((c=t[a])&&0==(131072&c.__u)&&o==c.key&&r===c.type)return a;a--}if(s<t.length){if((c=t[s])&&0==(131072&c.__u)&&o==c.key&&r===c.type)return s;s++}}return-1}function P(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function L(e,t,n,i,o){var r;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||P(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||P(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i?n.u=i.u:(n.u=Date.now(),e.addEventListener(t,r?_:R,r)):e.removeEventListener(t,r?_:R,r);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function R(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(o.event?o.event(e):e)}}function _(e){if(this.l)return this.l[e.type+!0](o.event?o.event(e):e)}function j(e,t,n,i,r,a,s,c,l,u){var d,m,p,g,v,b,y,S,w,x,E,O,T,k,B,I=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),a=[c=t.__e=n.__e]),(d=o.__b)&&d(t);e:if("function"==typeof I)try{if(S=t.props,w=(d=I.contextType)&&i[d.__c],x=d?w?w.props.value:d.__:i,n.__c?y=(m=t.__c=n.__c).__=m.__E:("prototype"in I&&I.prototype.render?t.__c=m=new I(S,x):(t.__c=m=new A(S,x),m.constructor=I,m.render=W),w&&w.sub(m),m.props=S,m.state||(m.state={}),m.context=x,m.__n=i,p=m.__d=!0,m.__h=[],m._sb=[]),null==m.__s&&(m.__s=m.state),null!=I.getDerivedStateFromProps&&(m.__s==m.state&&(m.__s=f({},m.__s)),f(m.__s,I.getDerivedStateFromProps(S,m.__s))),g=m.props,v=m.state,m.__v=t,p)null==I.getDerivedStateFromProps&&null!=m.componentWillMount&&m.componentWillMount(),null!=m.componentDidMount&&m.__h.push(m.componentDidMount);else{if(null==I.getDerivedStateFromProps&&S!==g&&null!=m.componentWillReceiveProps&&m.componentWillReceiveProps(S,x),!m.__e&&(null!=m.shouldComponentUpdate&&!1===m.shouldComponentUpdate(S,m.__s,x)||t.__v===n.__v)){for(t.__v!==n.__v&&(m.props=S,m.state=m.__s,m.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<m._sb.length;E++)m.__h.push(m._sb[E]);m._sb=[],m.__h.length&&s.push(m);break e}null!=m.componentWillUpdate&&m.componentWillUpdate(S,m.__s,x),null!=m.componentDidUpdate&&m.__h.push((function(){m.componentDidUpdate(g,v,b)}))}if(m.context=x,m.props=S,m.__P=e,m.__e=!1,O=o.__r,T=0,"prototype"in I&&I.prototype.render){for(m.state=m.__s,m.__d=!1,O&&O(t),d=m.render(m.props,m.state,m.context),k=0;k<m._sb.length;k++)m.__h.push(m._sb[k]);m._sb=[]}else do{m.__d=!1,O&&O(t),d=m.render(m.props,m.state,m.context),m.state=m.__s}while(m.__d&&++T<25);m.state=m.__s,null!=m.getChildContext&&(i=f(f({},i),m.getChildContext())),p||null==m.getSnapshotBeforeUpdate||(b=m.getSnapshotBeforeUpdate(g,v)),D(e,h(B=null!=d&&d.type===C&&null==d.key?d.props.children:d)?B:[B],t,n,i,r,a,s,c,l,u),m.base=t.__e,t.__u&=-161,m.__h.length&&s.push(m),y&&(m.__E=m.__=null)}catch(e){t.__v=null,l||null!=a?(t.__e=c,t.__u|=l?160:32,a[a.indexOf(c)]=null):(t.__e=n.__e,t.__k=n.__k),o.__e(e,t,n)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=N(n.__e,t,n,i,r,a,s,l,u);(d=o.diffed)&&d(t)}function M(e,t,n){for(var i=0;i<n.length;i++)F(n[i],n[++i],n[++i]);o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function N(e,t,n,o,r,a,s,c,l){var u,m,p,f,v,b,y,C=n.props,A=t.props,w=t.type;if("svg"===w&&(r=!0),null!=a)for(u=0;u<a.length;u++)if((v=a[u])&&"setAttribute"in v==!!w&&(w?v.localName===w:3===v.nodeType)){e=v,a[u]=null;break}if(null==e){if(null===w)return document.createTextNode(A);e=r?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,A.is&&A),a=null,c=!1}if(null===w)C===A||c&&e.data===A||(e.data=A);else{if(a=a&&i.call(e.childNodes),C=n.props||d,!c&&null!=a)for(C={},u=0;u<e.attributes.length;u++)C[(v=e.attributes[u]).name]=v.value;for(u in C)v=C[u],"children"==u||("dangerouslySetInnerHTML"==u?p=v:"key"===u||u in A||L(e,u,null,v,r));for(u in A)v=A[u],"children"==u?f=v:"dangerouslySetInnerHTML"==u?m=v:"value"==u?b=v:"checked"==u?y=v:"key"===u||c&&"function"!=typeof v||C[u]===v||L(e,u,v,C[u],r);if(m)c||p&&(m.__html===p.__html||m.__html===e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(p&&(e.innerHTML=""),D(e,h(f)?f:[f],t,n,o,r&&"foreignObject"!==w,a,s,a?a[0]:n.__k&&S(n,0),c,l),null!=a)for(u=a.length;u--;)null!=a[u]&&g(a[u]);c||(u="value",void 0!==b&&(b!==e[u]||"progress"===w&&!b||"option"===w&&b!==C[u])&&L(e,u,b,C[u],!1),u="checked",void 0!==y&&y!==e[u]&&L(e,u,y,C[u],!1))}return e}function F(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function V(e,t,n){var i,r;if(o.unmount&&o.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||F(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){o.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(r=0;r<i.length;r++)i[r]&&V(i[r],t,n||"function"!=typeof e.type);n||null==e.__e||g(e.__e),e.__=e.__e=e.__d=void 0}function W(e,t,n){return this.constructor(e,n)}function z(e,t,n){var r,a,s,c;o.__&&o.__(e,t),a=(r="function"==typeof n)?null:n&&n.__k||t.__k,s=[],c=[],j(t,e=(!r&&n||t).__k=v(C,null,[e]),a||d,d,void 0!==t.ownerSVGElement,!r&&n?[n]:a?null:t.firstChild?i.call(t.childNodes):null,s,!r&&n?n:a?a.__e:t.firstChild,r,c),e.__d=void 0,M(s,e,c)}function H(e,t){z(e,t,H)}function U(e,t,n){var o,r,a,s,c=f({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?o=t[a]:"ref"==a?r=t[a]:c[a]=void 0===t[a]&&void 0!==s?s[a]:t[a];return arguments.length>2&&(c.children=arguments.length>3?i.call(arguments,2):n),b(e.type,c,o||e.key,r||e.ref,null)}function Z(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,i;return this.getChildContext||(n=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}i=m.slice,o={__e:function(e,t,n,i){for(var o,r,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,i||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},r=0,A.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},A.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},A.prototype.render=C,a=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,u=0},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var i=n(0),o=n(4);function r(e){return{color:o.b.getColorValue(e.color),textShadow:e.useShadow?"1px 1px 2px":""}}function a(e){return e.config.visible?i.default.createElement("span",{ref:e.innerRef,style:Object.assign(Object.assign({},e.style),r(e.config))},o.b.getLocalizedText(e.config.text,e.replacementArgs)):null}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(152),o=n(63),r=n(46);function a({props:e,name:t}){return Object(i.a)({props:e,name:t,defaultTheme:o.a,themeId:r.a})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return y}));var i=n(34),o=n(23),r=n(51);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,n]=e.split(""),i=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>i+e)):[i+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],m=[...u,...d];function p(e,t,n,i){var r;const a=null!=(r=Object(o.b)(e,t,!1))?r:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function f(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,i)=>(e[i]=f(t,n),e)),{})}(l(n),o),a=e[n];return Object(i.b)(e,a,r)}function v(e,t){const n=h(e.theme);return Object.keys(e).map((i=>g(e,t,i,n))).reduce(r.a,{})}function b(e){return v(e,u)}function y(e){return v(e,d)}function C(e){return v(e,m)}b.propTypes={},b.filterProps=u,y.propTypes={},y.filterProps=d,C.propTypes={},C.filterProps=m},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(9);class o{constructor(e,t){this.width=e,this.height=t}isPortrait(){return this.height>this.width}ratio(e){return e?this.height/this.width:this.width/this.height}ratioDiff(e,t){return this.ratio(t)/e.ratio(t)}static isEmpty(e){return!e||(0===e.width||0===e.height)}static toPolygon(e){return[new i.a(0,0),new i.a(e.width,0),new i.a(e.width,e.height),new i.a(0,e.height)]}static fromHtmlElement(e){return e?new o(e.clientWidth,e.clientHeight):new o(0,0)}static fromJson(e){return new o(e.width,e.height)}static subtractFrom(e,t){return new o(e.width-t,e.height-t)}static empty(){return new o(0,0)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a}));var i=n(96),o=n(34);function r(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,i=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||i:r(e,n)||i,t&&(o=t(o,i,e)),o}t.a=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:c}=e,l=e=>{if(null==e[t])return null;const l=e[t],u=r(e.theme,s)||{};return Object(o.b)(e,l,(e=>{let o=a(u,c,e);return e===o&&"string"==typeof e&&(o=a(u,c,`${t}${"default"===e?"":Object(i.a)(e)}`,e)),!1===n?o:{[n]:o}}))};return l.propTypes={},l.filterProps=[t],l}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.createSvgIcon}});var i=n(102)},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return d}));var i=n(1),o=n(7);class r extends o.a{constructor(e={}){super(),this.visible=!0,this.deselected=new i.j({strokeColor:"?sbColorSurface",fillColor:"#00000000",strokeWidth:2,cornerRadius:2}),this.selected=new i.j({strokeColor:"?sbColorPositive",fillColor:"#00000000",strokeWidth:2,cornerRadius:2}),void 0!==e.visible&&(this.visible=e.visible),void 0!==e.deselected&&(this.deselected=new i.j(e.deselected)),void 0!==e.selected&&(this.selected=new i.j(e.selected))}}const a=["DISABLED","STACKED","BELOW","ABOVE"];class s extends o.a{constructor(e={}){super(),this.imageVisible=!0,this.titleSelected=new i.o({text:"BARCODE_TITLE",color:"?sbColorOnSurface"}),this.subtitleSelected=new i.o({text:"BARCODE_SUBTITLE",color:"?sbColorOnSurface