gilbarbara / react-joyride

Create guided tours in your apps
https://react-joyride.com/
MIT License
6.89k stars 529 forks source link

Bug when triggering joyride steps #864

Closed the-mgi closed 1 year ago

the-mgi commented 1 year ago

🐛 Bug Report

Whenever joyride steps is triggered, throwing an error only in production code

To Reproduce

import variables from '../../styles/variables.module.scss';

joyride steps

  const joyRideSteps: Step[] = [
    {
      content:
        "This is where you'll keep your full education history to fulfill your requirements",
      target: '#continuingEducation',
      title: `${userConfig.ceLanguageTagShort} Records`,
      floaterProps: {
        autoOpen: true
      },
      placement: 'bottom',
    },
    {
      content: (
        <span>
          Do you have a record to add now? <br /> Click the + button above
        </span>
      ),
      target: '#recordNewCe',
      title: 'Record your education',
      floaterProps: {
        autoOpen: true
      },
      placement: 'bottom'
    }
  ];

styles

const joyrideStyleProps: Step['styles'] = {
  options: {
    backgroundColor: '#101828',
    arrowColor: '#101828',
    textColor: '#FFF'
  },
  tooltipTitle: {
    textAlign: 'left'
  },
  tooltipContent: {
    textAlign: 'left',
    paddingLeft: 0,
    paddingBottom: 0,
    paddingTop: '10px',
    fontFamily: variables.publicSans,
    fontWeight: 400,
    fontSize: '16px',
    lineHeight: '1.5rem'
  },
  tooltip: {
    padding: '20px',
    borderRadius: '8px'
  },
  buttonNext: {
    backgroundColor: variables.primaryColor,
    borderRadius: '5px',
    padding: '10px'
  }
};

joyride elemet

<Joyride
        callback={joyrideCallback}
        styles={joyrideStyleProps}
        disableCloseOnEsc
        showProgress
        debug={true}
        spotlightClicks
        run={runJoyrideSteps}
        steps={joyRideSteps}
      />
    </div>

error image

Expected behavior

joyride steps successfully triggered

Run npx envinfo --system --binaries --npmPackages react-joyride

Paste the results here:

  System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
    Memory: 5.13 GB / 23.10 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.8.0 - ~/.nvm/versions/node/v18.8.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.18.0 - ~/.nvm/versions/node/v18.8.0/bin/npm
  npmPackages:
    react-joyride: ^2.5.3 => 2.5.3

this is where from the bug is triggering

*
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */ function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}},18552:function(e,t,r){var n=r(10852)(r(55639),"DataView");e.exports=n},1989:function(e,t,r){var n=r(51789),i=r(80401),o=r(57667),a=r(21327),s=r(81866);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},38407:function(e,t,r){var n=r(27040),i=r(14125),o=r(82117),a=r(67518),s=r(54705);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},57071:function(e,t,r){var n=r(10852)(r(55639),"Map");e.exports=n},83369:function(e,t,r){var n=r(24785),i=r(11285),o=r(96e3),a=r(49916),s=r(95265);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},53818:function(e,t,r){var n=r(10852)(r(55639),"Promise");e.exports=n},58525:function(e,t,r){var n=r(10852)(r(55639),"Set");e.exports=n},88668:function(e,t,r){var n=r(83369),i=r(90619),o=r(72385);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},46384:function(e,t,r){var n=r(38407),i=r(37465),o=r(63779),a=r(67599),s=r(44758),l=r(34309);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},62705:function(e,t,r){var n=r(55639).Symbol;e.exports=n},11149:function(e,t,r){var n=r(55639).Uint8Array;e.exports=n},70577:function(e,t,r){var n=r(10852)(r(55639),"WeakMap");e.exports=n},34963:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},14636:function(e,t,r){var n=r(22545),i=r(35694),o=r(1469),a=r(44144),s=r(65776),l=r(36719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),c=!r&&i(e),d=!r&&!c&&a(e),p=!r&&!c&&!d&&l(e),f=r||c||d||p,h=f?n(e.length,String):[],m=h.length;for(var v in e)(t||u.call(e,v))&&!(f&&("length"==v||d&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m)))&&h.push(v);return h}},29932:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},62488:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},62663:function(e){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},82908:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},18470:function(e,t,r){var n=r(77813);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return -1}},89465:function(e,t,r){var n=r(38777);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},28483:function(e,t,r){var n=r(25063)();e.exports=n},47816:function(e,t,r){var n=r(28483),i=r(3674);e.exports=function(e,t){return e&&n(e,t,i)}},97786:function(e,t,r){var n=r(71811),i=r(40327);e.exports=function(e,t){t=n(t,e);for(var r=0,o=t.length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},68866:function(e,t,r){var n=r(62488),i=r(1469);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},44239:function(e,t,r){var n=r(62705),i=r(89607),o=r(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},78565:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,r){var n=r(44239),i=r(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},90939:function(e,t,r){var n=r(2492),i=r(37005);e.exports=function e(t,r,o,a,s){return t===r||(null!=t&&null!=r&&(i(t)||i(r))?n(t,r,o,a,e,s):t!=t&&r!=r)}},2492:function(e,t,r){var n=r(46384),i=r(67114),o=r(18351),a=r(16096),s=r(64160),l=r(1469),u=r(44144),c=r(36719),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,v,g){var y=l(e),b=l(t),x=y?p:s(e),w=b?p:s(t);x=x==d?f:x,w=w==d?f:w;var S=x==f,E=w==f,k=x==w;if(k&&u(e)){if(!u(t))return!1;y=!0,S=!1}if(k&&!S)return g||(g=new n),y||c(e)?i(e,t,r,m,v,g):o(e,t,x,r,m,v,g);if(!(1&r)){var C=S&&h.call(e,"__wrapped__"),O=E&&h.call(t,"__wrapped__");if(C||O){var P=C?e.value():e,_=O?t.value():t;return g||(g=new n),v(P,_,r,m,g)}}return!!k&&(g||(g=new n),a(e,t,r,m,v,g))}},2958:function(e,t,r){var n=r(46384),i=r(90939);e.exports=function(e,t,r,o){var a=r.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=r[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=r[a])[0],d=e[c],p=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var f=new n;if(o)var h=o(d,p,c,e,t,f);if(!(void 0===h?i(p,d,3,o,f):h))return!1}}return!0}},28458:function(e,t,r){var n=r(23560),i=r(15346),o=r(13218),a=r(80346),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(a(e))}},38749:function(e,t,r){var n=r(44239),i=r(41780),o=r(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},67206:function(e,t,r){var n=r(91573),i=r(16432),o=r(6557),a=r(1469),s=r(39601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},280:function(e,t,r){var n=r(25726),i=r(86916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},91573:function(e,t,r){var n=r(2958),i=r(1499),o=r(42634);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},16432:function(e,t,r){var n=r(90939),i=r(27361),o=r(79095),a=r(15403),s=r(89162),l=r(42634),u=r(40327);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,r){var n=r(97786);e.exports=function(e){return function(t){return n(t,e)}}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},14259:function(e){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},22545:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},80531:function(e,t,r){var n=r(62705),i=r(29932),o=r(1469),a=r(33448),s=1/0,l=n?n.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-s?"-0":r}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,r){var n=r(1469),i=r(15403),o=r(55514),a=r(79833);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},40180:function(e,t,r){var n=r(14259);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},14429:function(e,t,r){var n=r(55639)["__core-js_shared__"];e.exports=n},25063:function(e){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}},98805:function(e,t,r){var n=r(40180),i=r(62689),o=r(83140),a=r(79833);e.exports=function(e){return function(t){var r=i(t=a(t))?o(t):void 0,s=r?r[0]:t.charAt(0),l=r?n(r,1).join(""):t.slice(1);return s[e]()+l}}},35393:function(e,t,r){var n=r(62663),i=r(53816),o=r(58748),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},69389:function(e,t,r){var n=r(18674)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=n},38777:function(e,t,r){var n=r(10852),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},67114:function(e,t,r){var n=r(88668),i=r(82908),o=r(74757);e.exports=function(e,t,r,a,s,l){var u=1&r,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++h<c;){var g=e[h],y=t[h];if(a)var b=u?a(y,g,h,t,e,l):a(g,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!i(t,function(e,t){if(!o(v,t)&&(g===e||s(g,e,r,a,l)))return v.push(t)})){m=!1;break}}else if(!(g===y||s(g,y,r,a,l))){m=!1;break}}return l.delete(e),l.delete(t),m}},18351:function(e,t,r){var n=r(62705),i=r(11149),o=r(77813),a=r(67114),s=r(68776),l=r(21814),u=n?n.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,d,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&n;if(f||(f=l),e.size!=t.size&&!h)break;var m=p.get(e);if(m)return m==t;n|=2,p.set(e,t);var v=a(f(e),f(t),n,u,d,p);return p.delete(e),v;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},16096:function(e,t,r){var n=r(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var l=1&r,u=n(e),c=u.length;if(c!=n(t).length&&!l)return!1;for(var d=c;d--;){var p=u[d];if(!(l?p in t:i.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=l;++d<c;){var g=e[p=u[d]],y=t[p];if(o)var b=l?o(y,g,p,t,e,s):o(g,y,p,e,t,s);if(!(void 0===b?g===y||a(g,y,r,o,s):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var x=e.constructor,w=t.constructor;x!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(m=!1)}return s.delete(e),s.delete(t),m}},31957:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},58234:function(e,t,r){var n=r(68866),i=r(99551),o=r(3674);e.exports=function(e){return n(e,o,i)}},45050:function(e,t,r){var n=r(37019);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},1499:function(e,t,r){var n=r(89162),i=r(3674);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},10852:function(e,t,r){var n=r(28458),i=r(47801);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},89607:function(e,t,r){var n=r(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(i){}var l=a.call(e);return n&&(t?e[s]=r:delete e[s]),l}},99551:function(e,t,r){var n=r(34963),i=r(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return o.call(e,t)})}:i;e.exports=s},64160:function(e,t,r){var n=r(18552),i=r(57071),o=r(53818),a=r(58525),s=r(70577),l=r(44239),u=r(80346),c="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=u(n),v=u(i),g=u(o),y=u(a),b=u(s),x=l;(n&&x(new n(new ArrayBuffer(1)))!=h||i&&x(new i)!=c||o&&x(o.resolve())!=d||a&&x(new a)!=p||s&&x(new s)!=f)&&(x=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case m:return h;case v:return c;case g:return d;case y:return p;case b:return f}return t}),e.exports=x},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,r){var n=r(71811),i=r(35694),o=r(1469),a=r(65776),s=r(41780),l=r(40327);e.exports=function(e,t,r){t=n(t,e);for(var u=-1,c=t.length,d=!1;++u<c;){var p=l(t[u]);if(!(d=null!=e&&r(e,p)))break;e=e[p]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(p,c)&&(o(e)||i(e))}},62689:function(e){var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},51789:function(e,t,r){var n=r(94536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,r){var n=r(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},21327:function(e,t,r){var n=r(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},81866:function(e,t,r){var n=r(94536);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},15403:function(e,t,r){var n=r(1469),i=r(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,r){var n,i=r(14429),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor,n="function"==typeof r&&r.prototype||t;return e===n}},89162:function(e,t,r){var n=r(13218);e.exports=function(e){return e==e&&!n(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,r){var n=r(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},82117:function(e,t,r){var n=r(18470);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},67518:function(e,t,r){var n=r(18470);e.exports=function(e){return n(this.__data__,e)>-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},24785:function(e,t,r){var n=r(1989),i=r(38407),o=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},42634:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},24523:function(e,t,r){var n=r(88306);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},86916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},31167:function(e,t,r){e=r.nmd(e);var n=r(31957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},55639:function(e,t,r){var n=r(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},37465:function(e,t,r){var n=r(38407);e.exports=function(){this.__data__=new n,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,r){var n=r(38407),i=r(57071),o=r(83369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},83140:function(e,t,r){var n=r(44286),i=r(62689),o=r(676);e.exports=function(e){return i(e)?o(e):n(e)}},55514:function(e,t,r){var n=r(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=a},40327:function(e,t,r){var n=r(33448),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(r){}try{return e+""}catch(n){}}return""}},676:function(e){var t="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+r+"|"+n+")?",l="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",c=RegExp(n+"(?="+n+")|(?:"+[i+r+"?",r,o,a,"["+t+"]"].join("|")+")"+(l+s+u),"g");e.exports=function(e){return e.match(c)||[]}},2757:function(e){var t="\ud800-\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['’]",s="["+o+"]",l="["+n+"]",u="[^"+t+o+"\\d+"+r+n+i+"]",c="(?:\ud83c[\udde6-\uddff]){2}",d="[\ud800-\udbff][\udc00-\udfff]",p="["+i+"]",f="(?:"+l+"|"+u+")",h="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",m="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",g="[\\ufe0e\\ufe0f]?",y="(?:\\u200d(?:"+["[^"+t+"]",c,d].join("|")+")"+g+v+")*",b="(?:"+["["+r+"]",c,d].join("|")+")"+(g+v+y),x=RegExp([p+"?"+l+"+"+h+"(?="+[s,p,"$"].join("|")+")","(?:"+p+"|"+u+")+"+m+"(?="+[s,p+f,"$"].join("|")+")",p+"?"+f+"+"+h,p+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},68929:function(e,t,r){var n=r(48403),i=r(35393)(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)});e.exports=i},48403:function(e,t,r){var n=r(79833),i=r(11700);e.exports=function(e){return i(n(e).toLowerCase())}},53816:function(e,t,r){var n=r(69389),i=r(79833),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},27361:function(e,t,r){var n=r(97786);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},18721:function(e,t,r){var n=r(78565),i=r(222);e.exports=function(e,t){return null!=e&&i(e,t,n)}},79095:function(e,t,r){var n=r(13),i=r(222);e.exports=function(e,t){return null!=e&&i(e,t,n)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,r){var n=r(9454),i=r(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,r){var n=r(23560),i=r(41780);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},44144:function(e,t,r){e=r.nmd(e);var n=r(55639),i=r(95062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},23560:function(e,t,r){var n=r(44239),i=r(13218);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,r){var n=r(44239),i=r(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},36719:function(e,t,r){var n=r(38749),i=r(7518),o=r(31167),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},3674:function(e,t,r){var n=r(14636),i=r(280),o=r(98612);e.exports=function(e){return o(e)?n(e):i(e)}},67523:function(e,t,r){var n=r(89465),i=r(47816),o=r(67206);e.exports=function(e,t){var r={};return t=o(t,3),i(e,function(e,i,o){n(r,t(e,i,o),e)}),r}},66604:function(e,t,r){var n=r(89465),i=r(47816),o=r(67206);e.exports=function(e,t){var r={};return t=o(t,3),i(e,function(e,i,o){n(r,i,t(e,i,o))}),r}},88306:function(e,t,r){var n=r(83369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},39601:function(e,t,r){var n=r(40371),i=r(79152),o=r(15403),a=r(40327);e.exports=function(e){return o(e)?n(a(e)):i(e)}},11865:function(e,t,r){var n=r(35393)(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});e.exports=n},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},79833:function(e,t,r){var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},11700:function(e,t,r){var n=r(98805)("toUpperCase");e.exports=n},58748:function(e,t,r){var n=r(49029),i=r(93157),o=r(79833),a=r(2757);e.exports=function(e,t,r){return(e=o(e),void 0===(t=r?void 0:t))?i(e)?a(e):n(e):e.match(t)||[]}},11987:function(e,t,r){!function(){var t={477:function(e){"use strict";e.exports=r(97334)}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o={};!function(){var e,t=o,r=(e=i(477))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function a(e){"string"==typeof e&&(e=y(e));var t,i,o,a,s,l,u,c,d,p=(i=(t=e).auth,o=t.hostname,a=t.protocol||"",s=t.pathname||"",l=t.hash||"",u=t.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",t.host?c=i+t.host:o&&(c=i+(~o.indexOf(":")?"["+o+"]":o),t.port&&(c+=":"+t.port)),u&&"object"==typeof u&&(u=r.encode(u)),d=t.search||u&&"?"+u||"",a&&":"!==a.substr(-1)&&(a+=":"),t.slashes||(!a||n.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),{protocol:a,host:c,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:l});return""+p.protocol+p.host+p.pathname+p.search+p.hash}var s="http://",l=s+"w.w",u=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,c=/https?|ftp|gopher|file/;function d(e,t){var r="string"==typeof e?y(e):e;e="object"==typeof e?a(e):e;var n=y(t),i="";r.protocol&&!r.slashes&&(i=r.protocol,e=e.replace(r.protocol,""),i+="/"===t[0]||"/"===e[0]?"/":""),i&&n.protocol&&(i="",n.slashes||(i=n.protocol,t=t.replace(n.protocol,"")));var o=e.match(u);o&&!n.protocol&&(e=e.substr((i=o[1]+(o[2]||"")).length),/^\/\/[^/]/.test(t)&&(i=i.slice(0,-1)));var d=new URL(e,l+"/"),p=new URL(t,d).toString().replace(l,""),f=n.protocol||r.protocol;return f+=r.slashes||n.slashes?"//":"",!i&&f?p=p.replace(s,f):i&&(p=p.replace(s,"")),c.test(p)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==p.slice(-1)||(p=p.slice(0,-1)),i&&(p=i+("/"===p[0]?p.substr(1):p)),p}function p(){}p.prototype.parse=y,p.prototype.format=a,p.prototype.resolve=d,p.prototype.resolveObject=d;var f=/^https?|ftp|gopher|file/,h=/^(.*?)([#?].*)/,m=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,v=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function y(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),e&&"object"==typeof e&&e instanceof p)return e;var i=(e=e.trim()).match(h);e=i?i[1].replace(/\\/g,"/")+i[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var o=!/(^javascript)/.test(e)&&e.match(m),s=v.test(e),u="";o&&(f.test(o[1])||(u=o[1].toLowerCase(),e=""+o[2]+o[3]),o[2]||(s=!1,f.test(o[1])?(u=o[1],e=""+o[3]):e="//"+o[3]),3!==o[2].length&&1!==o[2].length||(u=o[1],e="/"+o[3]));var c,d=(i?i[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),y=d&&d[1],b=new p,x="",w="";try{c=new URL(e)}catch(E){x=E,u||n||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{c=new URL(e,l)}catch(S){return b.protocol=u,b.href=u,b}}b.slashes=s&&!w,b.host="w.w"===c.host?"":c.host,b.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),b.protocol=x?u||null:c.protocol,b.search=c.search.replace(/\\/g,"%5C"),b.hash=c.hash.replace(/\\/g,"%5C");var k=e.split("#");!b.search&&~k[0].indexOf("?")&&(b.search="?"),b.hash||""!==k[1]||(b.hash="#"),b.query=t?r.decode(c.search.substr(1)):b.search.substr(1),b.pathname=w+(o?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(r){return t}}):c.pathname),"about:"===b.protocol&&"blank"===b.pathname&&(b.protocol="",b.pathname=""),x&&"/"!==e[0]&&(b.pathname=b.pathname.substr(1)),u&&!f.test(u)&&"/"!==e.slice(-1)&&"/"===b.pathname&&(b.pathname=""),b.path=b.pathname+b.search,b.auth=[c.username,c.password].map(decodeURIComponent).filter(Boolean).join(":"),b.port=c.port,y&&!b.host.endsWith(y)&&(b.host+=y,b.port=y.slice(1)),b.href=w?""+b.pathname+b.search+b.hash:a(b);var C=/^(file)/.test(b.href)?["host","hostname"]:[];return Object.keys(b).forEach(function(e){~C.indexOf(e)||(b[e]=b[e]||null)}),b}t.parse=y,t.format=a,t.resolve=d,t.resolveObject=function(e,t){return y(d(e,t))},t.Url=p}(),e.exports=o}()},97334:function(e){!function(){"use strict";var t,r={815:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var c,d,p,f,h=e[u].replace(a,"%20"),m=h.indexOf(n);(m>=0?(c=h.substr(0,m),d=h.substr(m+1)):(c=h,d=""),p=decodeURIComponent(c),f=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(o,p))?t(o[p])?o[p].push(f):o[p]=[o[p],f]:o[p]=f}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,s){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var s=encodeURIComponent(t(i))+a;return r(e[i])?n(e[i],function(e){return s+encodeURIComponent(t(e))}).join(o):s+encodeURIComponent(t(e[i]))}).join(o):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}},a=!0;try{r[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o={};(t=o).decode=t.parse=i(815),t.encode=t.stringify=i(577),e.exports=o}()},79430:function(e,t){var r,n;void 0!==(r="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"    "===e||"\n"===e||"\f"===e||"\r"===e}function r(t){var r,n=t.exec(e.substring(m));if(n)return r=n[0],m+=r.length,r}for(var n,i,o,a,s,l=e.length,u=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,f=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,v=[];;){if(r(c),m>=l)return v;n=r(d),i=[],","===n.slice(-1)?(n=n.replace(p,""),g()):function(){for(r(u),o="",a="in descriptor";;){if(s=e.charAt(m),"in descriptor"===a){if(t(s))o&&(i.push(o),o="",a="after descriptor");else if(","===s){m+=1,o&&i.push(o),g();return}else if("("===s)o+=s,a="in parens";else if(""===s){o&&i.push(o),g();return}else o+=s}else if("in parens"===a){if(")"===s)o+=s,a="in descriptor";else if(""===s){i.push(o),g();return}else o+=s}else if("after descriptor"===a){if(t(s));else if(""===s){g();return}else a="in descriptor",m-=1}m+=1}}()}function g(){var t,r,o,a,s,l,u,c,d,p=!1,m={};for(a=0;a<i.length;a++)l=(s=i[a])[s.length-1],c=parseInt(u=s.substring(0,s.length-1),10),d=parseFloat(u),f.test(u)&&"w"===l?((t||r)&&(p=!0),0===c?p=!0:t=c):h.test(u)&&"x"===l?((t||r||o)&&(p=!0),d<0?p=!0:r=d):f.test(u)&&"h"===l?((o||r)&&(p=!0),0===c?p=!0:o=c):p=!0;p?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(m.url=n,t&&(m.w=t),r&&(m.d=r),o&&(m.h=o),v.push(m))}}})?n.apply(t,[]):n)&&(e.exports=r)},74241:function(e){var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=r(),e.exports.createColors=r},92703:function(e,t,r){"use strict";var n=r(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=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");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint: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:i};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55760:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var r=/[^.^\]^[]+|(?=\[\]|\.\.)/g,n=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),u=new t(512);function c(e){return s.get(e)||s.set(e,d(e).map(function(e){return e.replace(a,"$2")}))}function d(e){return e.match(r)||[""]}function p(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}e.exports={Cache:t,split:d,normalizePath:c,setter:function(e){var t=c(e);return l.get(e)||l.set(e,function(e,r){for(var n=0,i=t.length,o=e;n<i-1;){var a=t[n];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;o=o[t[n++]]}o[t[n]]=r})},getter:function(e,t){var r=c(e);return u.get(e)||u.set(e,function(e){for(var n=0,i=r.length;n<i;){if(null==e&&t)return;e=e[r[n++]]}return e})},join:function(e){return e.reduce(function(e,t){return e+(p(t)||n.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,r){!function(e,t,r){var a,s,l,u,c,d=e.length;for(l=0;l<d;l++){(s=e[l])&&(!p(a=s)&&(a.match(i)&&!a.match(n)||o.test(a))&&(s='"'+s+'"'),u=!(c=p(s))&&/^\d+$/.test(s),t.call(r,s,c,u,l,e))}}(Array.isArray(e)?e:d(e),t,r)}}},45511:function(e,t,r){"use strict";r.d(t,{FP:function(){return tk},ZP:function(){return rr}});var n=r(67294);function i(e){return function(t){return typeof t===e}}var o=i("function"),a=function(e){return"RegExp"===Object.prototype.toString.call(e).slice(8,-1)},s=function(e){return!l(e)&&null!==e&&(o(e)||"object"==typeof e)},l=i("undefined"),u=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function c(e,t){if(e===t)return!0;if(e&&s(e)&&t&&s(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=r;0!=n--;)if(!c(e[n],t[n]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){var r,n,i,o;if(e.size!==t.size)return!1;try{for(var a=u(e.entries()),s=a.next();!s.done;s=a.next()){var l=s.value;if(!t.has(l[0]))return!1}}catch(d){r={error:d}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}try{for(var p=u(e.entries()),f=p.next();!f.done;f=p.next()){var l=f.value;if(!c(l[1],t.get(l[0])))return!1}}catch(h){i={error:h}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}return!0}(e,t);if(e instanceof Set&&t instanceof Set)return function(e,t){var r,n;if(e.size!==t.size)return!1;try{for(var i=u(e.entries()),o=i.next();!o.done;o=i.next()){var a=o.value;if(!t.has(a[0]))return!1}}catch(s){r={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!0}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=new DataView(e.buffer),n=new DataView(t.buffer),i=e.byteLength;i--;)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}(e,t);if(a(e)&&a(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=r.length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(t,r[i]))return!1;for(var i=r.length;0!=i--;){var o=r[i];if(("_owner"!==o||!e.$$typeof)&&!c(e[o],t[o]))return!1}return!0}return!!(Number.isNaN(e)&&Number.isNaN(t))||e===t}var d=["innerHTML","ownerDocument","style","attributes","nodeValue"],p=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],f=["bigint","boolean","null","number","string","symbol","undefined"];function h(e){var t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":p.includes(t)?t:void 0}function m(e){return function(t){return h(t)===e}}function v(e){return function(t){return typeof t===e}}function g(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}return g.array(e)?"Array":g.plainFunction(e)?"Function":h(e)||"Object"}function y(e,t,r){var n=r.actual,i=r.key,o=r.previous,a=r.type,s=O(e,i),l=O(t,i),u=[s,l].every(g.number)&&("increased"===a?s<l:s>l);return g.undefined(n)||(u=u&&l===n),g.undefined(o)||(u=u&&s===o),u}function b(e,t,r){var n,i=r.key,o=r.type,a=r.value,s=O(e,i),l=O(t,i),u="added"===o?s:l,d="added"===o?l:s;return g.nullOrUndefined(a)?[s,l].every(g.array)?!d.every(k(u)):[s,l].every(g.plainObject)?(n=Object.keys(u),Object.keys(d).some(function(e){return!n.includes(e)})):![s,l].every(function(e){return g.primitive(e)&&g.defined(e)})&&("added"===o?!g.defined(s)&&g.defined(l):g.defined(s)&&!g.defined(l)):g.defined(u)?!!(g.array(u)||g.plainObject(u))&&!!C(u,d)&&([u,d].every(g.array)?!u.some(S(a))&&d.some(S(a)):[u,d].every(g.plainObject)?!Object.entries(u).some(w(a))&&Object.entries(d).some(w(a)):d===a):c(d,a)}function x(e,t,r){var n=(void 0===r?{}:r).key,i=O(e,n),o=O(t,n);if(!C(i,o))throw TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(function(e){return g.string(e)||g.array(e)||g.plainObject(e)})}(i,o))throw TypeError("Inputs don't have length");return[i,o].every(g.plainObject)&&(i=Object.keys(i),o=Object.keys(o)),[i,o]}function w(e){return function(t){var r=t[0],n=t[1];return g.array(e)?c(e,n)||e.some(function(e){return c(e,n)||g.array(n)&&k(n)(e)}):g.plainObject(e)&&e[r]?!!e[r]&&c(e[r],n):c(e,n)}}function S(e){return function(t){return g.array(e)?e.some(function(e){return c(e,t)||g.array(t)&&k(t)(e)}):c(e,t)}}function E(e,t){return g.array(e)?e.some(function(e){return c(e,t)}):c(e,t)}function k(e){return function(t){return e.some(function(e){return c(e,t)})}}function C(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(g.array)||e.every(g.number)||e.every(g.plainObject)||e.every(g.string)}function O(e,t){if(g.plainObject(e)||g.array(e)){if(g.string(t))return t.split(".").reduce(function(e,t){return e&&e[t]},e);if(g.number(t))return e[t]}return e}function P(e,t){if([e,t].some(g.nullOrUndefined))throw Error("Missing required parameters");if(![e,t].every(function(e){return g.plainObject(e)||g.array(e)}))throw Error("Expected plain objects or array");var r=function(r,n,i){try{var o=O(e,r),a=O(t,r),s=g.defined(n),l=g.defined(i);if(s||l){var u=l?E(i,o):!E(n,o),d=E(n,a);return u&&d}if([o,a].every(g.array)||[o,a].every(g.plainObject))return!c(o,a);return o!==a}catch(p){return!1}},n=function(e,t){return!!g.defined(e)&&r(e,t)};return{added:function(r,n){try{return b(e,t,{key:r,type:"added",value:n})}catch(i){return!1}},changed:r,changedFrom:function(r,n,i){if(!g.defined(r))return!1;try{var o=O(e,r),a=O(t,r),s=g.defined(i);return E(n,o)&&(s?E(i,a):!s)}catch(l){return!1}},changedTo:n,decreased:function(r,n,i){if(!g.defined(r))return!1;try{return y(e,t,{key:r,actual:n,previous:i,type:"decreased"})}catch(o){return!1}},emptied:function(r){try{var n=x(e,t,{key:r}),i=n[0],o=n[1];return!!i.length&&!o.length}catch(a){return!1}},filled:function(r){try{var n=x(e,t,{key:r}),i=n[0],o=n[1];return!i.length&&!!o.length}catch(a){return!1}},increased:function(r,n,i){if(!g.defined(r))return!1;try{return y(e,t,{key:r,actual:n,previous:i,type:"increased"})}catch(o){return!1}},removed:function(r,n){try{return b(e,t,{key:r,type:"removed",value:n})}catch(i){return!1}}}}g.array=Array.isArray,g.arrayOf=function(e,t){return!!(g.array(e)||g.function(t))&&e.every(function(e){return t(e)})},g.asyncGeneratorFunction=function(e){return"AsyncGeneratorFunction"===h(e)},g.asyncFunction=m("AsyncFunction"),g.bigint=v("bigint"),g.boolean=function(e){return!0===e||!1===e},g.date=m("Date"),g.defined=function(e){return!g.undefined(e)},g.domElement=function(e){return g.object(e)&&!g.plainObject(e)&&1===e.nodeType&&g.string(e.nodeName)&&d.every(function(t){return t in e})},g.empty=function(e){return g.string(e)&&0===e.length||g.array(e)&&0===e.length||g.object(e)&&!g.map(e)&&!g.set(e)&&0===Object.keys(e).length||g.set(e)&&0===e.size||g.map(e)&&0===e.size},g.error=m("Error"),g.function=v("function"),g.generator=function(e){return g.iterable(e)&&g.function(e.next)&&g.function(e.throw)},g.generatorFunction=m("GeneratorFunction"),g.instanceOf=function(e,t){return!!e&&!!t&&Object.getPrototypeOf(e)===t.prototype},g.iterable=function(e){return!g.nullOrUndefined(e)&&g.function(e[Symbol.iterator])},g.map=m("Map"),g.nan=function(e){return Number.isNaN(e)},g.null=function(e){return null===e},g.nullOrUndefined=function(e){return g.null(e)||g.undefined(e)},g.number=function(e){return v("number")(e)&&!g.nan(e)},g.numericString=function(e){return g.string(e)&&e.length>0&&!Number.isNaN(Number(e))},g.object=function(e){return!g.nullOrUndefined(e)&&(g.function(e)||"object"==typeof e)},g.oneOf=function(e,t){return!!g.array(e)&&e.indexOf(t)>-1},g.plainFunction=m("Function"),g.plainObject=function(e){if("Object"!==h(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},g.primitive=function(e){return g.null(e)||f.includes(typeof e)},g.promise=m("Promise"),g.propertyOf=function(e,t,r){if(!g.object(e)||!t)return!1;var n=e[t];return g.function(r)?r(n):g.defined(n)},g.regexp=m("RegExp"),g.set=m("Set"),g.string=v("string"),g.symbol=v("symbol"),g.undefined=v("undefined"),g.weakMap=m("WeakMap"),g.weakSet=m("WeakSet");var _=["innerHTML","ownerDocument","style","attributes","nodeValue"],T=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],A=["bigint","boolean","null","number","string","symbol","undefined"];function R(e){let t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":T.includes(t)?t:void 0}function M(e){return t=>R(t)===e}function D(e){return t=>typeof t===e}function Z(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(Z.array(e))return"Array";if(Z.plainFunction(e))return"Function";let t=R(e);return t||"Object"}Z.array=Array.isArray,Z.arrayOf=(e,t)=>!!(Z.array(e)||Z.function(t))&&e.every(e=>t(e)),Z.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===R(e),Z.asyncFunction=M("AsyncFunction"),Z.bigint=D("bigint"),Z.boolean=e=>!0===e||!1===e,Z.date=M("Date"),Z.defined=e=>!Z.undefined(e),Z.domElement=e=>Z.object(e)&&!Z.plainObject(e)&&1===e.nodeType&&Z.string(e.nodeName)&&_.every(t=>t in e),Z.empty=e=>Z.string(e)&&0===e.length||Z.array(e)&&0===e.length||Z.object(e)&&!Z.map(e)&&!Z.set(e)&&0===Object.keys(e).length||Z.set(e)&&0===e.size||Z.map(e)&&0===e.size,Z.error=M("Error"),Z.function=D("function"),Z.generator=e=>Z.iterable(e)&&Z.function(e.next)&&Z.function(e.throw),Z.generatorFunction=M("GeneratorFunction"),Z.instanceOf=(e,t)=>!!e&&!!t&&Object.getPrototypeOf(e)===t.prototype,Z.iterable=e=>!Z.nullOrUndefined(e)&&Z.function(e[Symbol.iterator]),Z.map=M("Map"),Z.nan=e=>Number.isNaN(e),Z.null=e=>null===e,Z.nullOrUndefined=e=>Z.null(e)||Z.undefined(e),Z.number=e=>D("number")(e)&&!Z.nan(e),Z.numericString=e=>Z.string(e)&&e.length>0&&!Number.isNaN(Number(e)),Z.object=e=>!Z.nullOrUndefined(e)&&(Z.function(e)||"object"==typeof e),Z.oneOf=(e,t)=>!!Z.array(e)&&e.indexOf(t)>-1,Z.plainFunction=M("Function"),Z.plainObject=e=>{if("Object"!==R(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},Z.primitive=e=>Z.null(e)||A.includes(typeof e),Z.promise=M("Promise"),Z.propertyOf=(e,t,r)=>{if(!Z.object(e)||!t)return!1;let n=e[t];return Z.function(r)?r(n):Z.defined(n)},Z.regexp=M("RegExp"),Z.set=M("Set"),Z.string=D("string"),Z.symbol=D("symbol"),Z.undefined=D("undefined"),Z.weakMap=M("WeakMap"),Z.weakSet=M("WeakSet");var j=r(73935),N=r(58875),I=r.n(N),F=r(67339),L=r.n(F),B=r(27274),$=r.n(B),z=r(64481),V=r(9996),U=r.n(V),q=r(45697),H=r.n(q),W=r(66494),G="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,K=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(G&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),Y=G&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},K))}};function X(e){return e&&"[object Function]"===({}).toString.call(e)}function J(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function Q(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function ee(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=J(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:ee(Q(e))}function et(e){return e&&e.referenceNode?e.referenceNode:e}var er=G&&!!(window.MSInputMethodContext&&document.documentMode),en=G&&/MSIE 10/.test(navigator.userAgent);function ei(e){return 11===e?er:10===e?en:er||en}function eo(e){if(!e)return document.documentElement;for(var t=ei(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===J(r,"position")?eo(r):r:e?e.ownerDocument.documentElement:document.documentElement}function ea(e){return null!==e.parentNode?ea(e.parentNode):e}function es(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r,n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(o,0);var s=a.commonAncestorContainer;if(e!==s&&t!==s||i.contains(o))return"BODY"!==(r=s.nodeName)&&("HTML"===r||eo(s.firstElementChild)===s)?s:eo(s);var l=ea(e);return l.host?es(l.host,t):es(e,ea(t).host)}function el(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[r]}return e[r]}function eu(e,t){var r="x"===t?"Left":"Top";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+("Left"===r?"Right":"Bottom")+"Width"])}function ec(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],ei(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function ed(e){var t=e.body,r=e.documentElement,n=ei(10)&&getComputedStyle(r);return{height:ec("Height",t,r,n),width:ec("Width",t,r,n)}}var ep=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},ef=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),eh=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},em=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function ev(e){return em({},e,{right:e.left+e.width,bottom:e.top+e.height})}function eg(e){var t={};try{if(ei(10)){t=e.getBoundingClientRect();var r=el(e,"top"),n=el(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(i){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?ed(e.ownerDocument):{},s=a.width||e.clientWidth||o.width,l=a.height||e.clientHeight||o.height,u=e.offsetWidth-s,c=e.offsetHeight-l;if(u||c){var d=J(e);u-=eu(d,"x"),c-=eu(d,"y"),o.width-=u,o.height-=c}return ev(o)}function ey(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=ei(10),i="HTML"===t.nodeName,o=eg(e),a=eg(t),s=ee(e),l=J(t),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);r&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=ev({top:o.top-a.top-u,left:o.left-a.left-c,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var p=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=u-p,d.bottom-=u-p,d.left-=c-f,d.right-=c-f,d.marginTop=p,d.marginLeft=f}return(n&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=el(t,"top"),i=el(t,"left"),o=r?-1:1;return e.top+=n*o,e.bottom+=n*o,e.left+=i*o,e.right+=i*o,e}(d,t)),d}function eb(e){if(!e||!e.parentElement||ei())return document.documentElement;for(var t=e.parentElement;t&&"none"===J(t,"transform");)t=t.parentElement;return t||document.documentElement}function ex(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?eb(e):es(e,et(t));if("viewport"===n)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=ey(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),o=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:el(r),s=t?0:el(r,"left");return ev({top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===n?"BODY"===(s=ee(Q(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===n?e.ownerDocument.documentElement:n;var l=ey(s,a,i);if("HTML"===s.nodeName&&!function e(t){var r=t.nodeName;if("BODY"===r||"HTML"===r)return!1;if("fixed"===J(t,"position"))return!0;var n=Q(t);return!!n&&e(n)}(a)){var u=ed(e.ownerDocument),c=u.height,d=u.width;o.top+=l.top-l.marginTop,o.bottom=c+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}else o=l}var p="number"==typeof(r=r||0);return o.left+=p?r:r.left||0,o.top+=p?r:r.top||0,o.right-=p?r:r.right||0,o.bottom-=p?r:r.bottom||0,o}function ew(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=ex(r,n,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){var t;return em({key:e},s[e],{area:(t=s[e]).width*t.height})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function eS(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=n?eb(t):es(t,et(r));return ey(r,i,n)}function eE(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function ek(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function eC(e,t,r){r=r.split("-")[0];var n=eE(e),i={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(r),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width";return i[a]=t[a]+t[l]/2-n[l]/2,r===s?i[s]=t[s]-n[o?"width":"height"]:i[s]=t[ek(s)],i}function eO(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function eP(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===r});var n=eO(e,function(e){return e[t]===r});return e.indexOf(n)}(e,"name",r))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&X(r)&&(t.offsets.popper=ev(t.offsets.popper),t.offsets.reference=ev(t.offsets.reference),t=r(t,e))}),t}function e_(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=eS(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ew(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=eC(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=eP(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function eT(e,t){return e.some(function(e){var r=e.name;return e.enabled&&r===t})}function eA(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],o=i?""+i+r:e;if(void 0!==document.body.style[o])return o}return null}function eR(){return this.state.isDestroyed=!0,eT(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[eA("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function eM(e){var t=e.ownerDocument;return t?t.defaultView:window}function eD(){if(!this.state.eventsEnabled){var e,t,r,n;this.state=(e=this.reference,this.options,t=this.state,r=this.scheduleUpdate,t.updateBound=r,eM(e).addEventListener("resize",t.updateBound,{passive:!0}),!function e(t,r,n,i){var o="BODY"===t.nodeName,a=o?t.ownerDocument.defaultView:t;a.addEventListener(r,n,{passive:!0}),o||e(ee(a.parentNode),r,n,i),i.push(a)}(n=ee(e),"scroll",t.updateBound,t.scrollParents),t.scrollElement=n,t.eventsEnabled=!0,t)}}function eZ(){if(this.state.eventsEnabled){var e,t;cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,eM(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t)}}function ej(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function eN(e,t){Object.keys(t).forEach(function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&ej(t[r])&&(n="px"),e.style[r]=t[r]+n})}var eI=G&&/Firefox/i.test(navigator.userAgent);function eF(e,t,r){var n=eO(e,function(e){return e.name===t}),i=!!n&&e.some(function(e){return e.name===r&&e.enabled&&e.order<n.order});if(!i){var o="`"+t+"`";console.warn("`"+r+"` modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var eL=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],eB=eL.slice(3);function e$(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=eB.indexOf(e),n=eB.slice(r+1).concat(eB.slice(0,r));return t?n.reverse():n}var ez={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},eV=function(){function e(t,r){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ep(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Y(this.update.bind(this)),this.options=em({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(em({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=em({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return em({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&X(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return ef(e,[{key:"update",value:function(){return e_.call(this)}},{key:"destroy",value:function(){return eR.call(this)}},{key:"enableEventListeners",value:function(){return eD.call(this)}},{key:"disableEventListeners",value:function(){return eZ.call(this)}}]),e}();function eU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eq(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eU(Object(r),!0).forEach(function(t){eK(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eU(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eH(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function eW(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eG(e,t,r){return t&&eW(e.prototype,t),r&&eW(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function eK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eY(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eJ(e,t)}function eX(e){return(eX=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eJ(e,t){return(eJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function eQ(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function e0(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e1(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=eX(e);if(t){var i=eX(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return e0(e)}(this,r)}}eV.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,eV.placements=eL,eV.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(r),l=s?"left":"top",u=s?"width":"height",c={start:eh({},l,o[l]),end:eh({},l,o[l]+o[u]-a[u])};e.offsets.popper=em({},a,c[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r,n,i,o,a,s=t.offset,l=e.placement,u=e.offsets,c=u.popper,d=u.reference,p=l.split("-")[0],f=void 0;return ej(+s)?f=[+s,0]:(r=[0,0],n=-1!==["right","left"].indexOf(p),i[o=(i=s.split(/(\+|\-)/).map(function(e){return e.trim()})).indexOf(eO(i,function(e){return -1!==e.search(/,|\s/)}))]&&-1===i[o].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),a=/\s*,\s*|\s+/,(-1!==o?[i.slice(0,o).concat([i[o].split(a)[0]]),[i[o].split(a)[1]].concat(i.slice(o+1))]:[i]).map(function(e,t){var r=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;return ev("%p"===a?r:n)[t]/100*o}return"vh"!==a&&"vw"!==a?o:("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}(e,r,c,d)})}).forEach(function(e,t){e.forEach(function(n,i){ej(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),f=r),"left"===p?(c.top+=f[0],c.left-=f[1]):"right"===p?(c.top+=f[0],c.left+=f[1]):"top"===p?(c.left+=f[0],c.top-=f[1]):"bottom"===p&&(c.left+=f[0],c.top+=f[1]),e.popper=c,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||eo(e.instance.popper);e.instance.reference===r&&(r=eo(r));var n=eA("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[n];i.top="",i.left="",i[n]="";var l=ex(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=o,i.left=a,i[n]=s,t.boundaries=l;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var r=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(r=Math.max(c[e],l[e])),eh({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=c[r];return c[e]>l[e]&&!t.escapeWithReference&&(n=Math.min(c[r],l[e]-("right"===e?c.width:c.height))),eh({},r,n)}};return u.forEach(function(e){c=em({},c,d[-1!==["left","top"].indexOf(e)?"primary":"secondary"](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top";return r[s]<o(n[l])&&(e.offsets.popper[l]=o(n[l])-r[a?"width":"height"]),r[l]>o(n[s])&&(e.offsets.popper[l]=o(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!eF(e.instance.modifiers,"arrow","keepTogether"))return e;var r,n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),p=l?"bottom":"right",f=eE(n)[u];s[p]-f<a[d]&&(e.offsets.popper[d]-=a[d]-(s[p]-f)),s[d]+f>a[p]&&(e.offsets.popper[d]+=s[d]+f-a[p]),e.offsets.popper=ev(e.offsets.popper);var h=s[d]+s[u]/2-f/2,m=J(e.instance.popper),v=parseFloat(m["margin"+c]),g=parseFloat(m["border"+c+"Width"]),y=h-e.offsets.popper[d]-v-g;return y=Math.max(Math.min(a[u]-f,y),0),e.arrowElement=n,e.offsets.arrow=(eh(r={},d,Math.round(y)),eh(r,l?"left":"top",""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(eT(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=ex(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=ek(n),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ez.FLIP:a=[n,i];break;case ez.CLOCKWISE:a=e$(n);break;case ez.COUNTERCLOCKWISE:a=e$(n,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(n!==s||a.length===l+1)return e;i=ek(n=e.placement.split("-")[0]);var u,c=e.offsets.popper,d=e.offsets.reference,p=Math.floor,f="left"===n&&p(c.right)>p(d.left)||"right"===n&&p(c.left)<p(d.right)||"top"===n&&p(c.bottom)>p(d.top)||"bottom"===n&&p(c.top)<p(d.bottom),h=p(c.left)<p(r.left),m=p(c.right)>p(r.right),v=p(c.top)<p(r.top),g=p(c.bottom)>p(r.bottom),y="left"===n&&h||"right"===n&&m||"top"===n&&v||"bottom"===n&&g,b=-1!==["top","bottom"].indexOf(n),x=!!t.flipVariations&&(b&&"start"===o&&h||b&&"end"===o&&m||!b&&"start"===o&&v||!b&&"end"===o&&g),w=!!t.flipVariationsByContent&&(b&&"start"===o&&m||b&&"end"===o&&h||!b&&"start"===o&&g||!b&&"end"===o&&v),S=x||w;(f||y||S)&&(e.flipped=!0,(f||y)&&(n=a[l+1]),S&&(o="end"===(u=o)?"start":"start"===u?"end":u),e.placement=n+(o?"-"+o:""),e.offsets.popper=em({},e.offsets.popper,eC(e.instance.popper,e.offsets.reference,e.placement)),e=eP(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return i[a?"left":"top"]=o[r]-(s?i[a?"width":"height"]:0),e.placement=ek(t),e.offsets.popper=ev(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!eF(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=eO(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r,n,i,o,a,s,l,u,c,d,p,f,h=t.x,m=t.y,v=e.offsets.popper,g=eO(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==g&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var y=void 0!==g?g:t.gpuAcceleration,b=eo(e.instance.popper),x=eg(b),w={position:v.position},S=(r=window.devicePixelRatio<2||!eI,i=(n=e.offsets).popper,o=n.reference,a=Math.round,s=function(e){return e},l=a(o.width),u=a(i.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=r?c||d||l%2==u%2?a:Math.floor:s,f=r?a:s,{left:p(l%2==1&&u%2==1&&!d&&r?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:p(i.right)}),E="bottom"===h?"top":"bottom",k="right"===m?"left":"right",C=eA("transform"),O=void 0,P=void 0;P="bottom"===E?"HTML"===b.nodeName?-b.clientHeight+S.bottom:-x.height+S.bottom:S.top,O="right"===k?"HTML"===b.nodeName?-b.clientWidth+S.right:-x.width+S.right:S.left,y&&C?(w[C]="translate3d("+O+"px, "+P+"px, 0)",w[E]=0,w[k]=0,w.willChange="transform"):(w[E]=P*("bottom"===E?-1:1),w[k]=O*("right"===k?-1:1),w.willChange=E+", "+k);var _={"x-placement":e.placement};return e.attributes=em({},_,e.attributes),e.styles=em({},w,e.styles),e.arrowStyles=em({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return eN(e.instance.popper,e.styles),function(e,t){Object.keys(t).forEach(function(r){!1!==t[r]?e.setAttribute(r,t[r]):e.removeAttribute(r)})}(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&eN(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,n,i){var o=eS(i,t,e,r.positionFixed),a=ew(r.placement,o,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),eN(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}};var e2={flip:{padding:20},preventOverflow:{padding:10}},e6={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},e5=I().canUseDOM,e4=void 0!==j.createPortal;function e8(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function e3(e){var t=e.title,r=e.data,n=e.warn,i=e.debug,o=void 0!==n&&n?console.warn||console.error:console.log;void 0!==i&&i&&t&&r&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(r)?r.forEach(function(e){g.plainObject(e)&&e.key?o.apply(console,[e.key,e.value]):o.apply(console,[e])}):o.apply(console,[r]),console.groupEnd())}function e9(){}var e7=function(e){eY(r,e);var t=e1(r);function r(){return eH(this,r),t.apply(this,arguments)}return eG(r,[{key:"componentDidMount",value:function(){e5&&(this.node||this.appendNode(),e4||this.renderPortal())}},{key:"componentDidUpdate",value:function(){e5&&!e4&&this.renderPortal()}},{key:"componentWillUnmount",value:function(){e5&&this.node&&(e4||j.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var e=this.props,t=e.id,r=e.zIndex;this.node||(this.node=document.createElement("div"),t&&(this.node.id=t),r&&(this.node.style.zIndex=r),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!e5)return null;var e=this.props,t=e.children,r=e.setRef;return(this.node||this.appendNode(),e4)?j.createPortal(t,this.node):(r(j.unstable_renderSubtreeIntoContainer(this,t.length>1?n.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,r=e.placement,n=e.target;return t?this.renderPortal():n||"center"===r?this.renderPortal():null}},{key:"render",value:function(){return e4?this.renderReact16():null}}]),r}(n.Component);eK(e7,"propTypes",{children:H().oneOfType([H().element,H().array]),hasChildren:H().bool,id:H().oneOfType([H().string,H().number]),placement:H().string,setRef:H().func.isRequired,target:H().oneOfType([H().object,H().string]),zIndex:H().number});var te=function(e){eY(r,e);var t=e1(r);function r(){return eH(this,r),t.apply(this,arguments)}return eG(r,[{key:"parentStyle",get:function(){var e=this.props,t=e.placement,r=e.styles.arrow.length,n={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(n.bottom=0,n.left=0,n.right=0,n.height=r):t.startsWith("bottom")?(n.left=0,n.right=0,n.top=0,n.height=r):t.startsWith("left")?(n.right=0,n.top=0,n.bottom=0):t.startsWith("right")&&(n.left=0,n.top=0),n}},{key:"render",value:function(){var e,t=this.props,r=t.placement,i=t.setArrowRef,o=t.styles.arrow,a=o.color,s=o.display,l=o.length,u=o.margin,c=o.position,d=o.spread,p={display:s,position:c},f=d,h=l;return r.startsWith("top")?(e="0,0 ".concat(f/2,",").concat(h," ").concat(f,",0"),p.bottom=0,p.marginLeft=u,p.marginRight=u):r.startsWith("bottom")?(e="".concat(f,",").concat(h," ").concat(f/2,",0 0,").concat(h),p.top=0,p.marginLeft=u,p.marginRight=u):r.startsWith("left")?(h=d,f=l,e="0,0 ".concat(f,",").concat(h/2," 0,").concat(h),p.right=0,p.marginTop=u,p.marginBottom=u):r.startsWith("right")&&(h=d,f=l,e="".concat(f,",").concat(h," ").concat(f,",0 0,").concat(h/2),p.left=0,p.marginTop=u,p.marginBottom=u),n.createElement("div",{className:"__floater__arrow",style:this.parentStyle},n.createElement("span",{ref:i,style:p},n.createElement("svg",{width:f,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n.createElement("polygon",{points:e,fill:a}))))}}]),r}(n.Component);eK(te,"propTypes",{placement:H().string.isRequired,setArrowRef:H().func.isRequired,styles:H().object.isRequired});var tt=["color","height","width"],tr=function(e){var t=e.handleClick,r=e.styles,i=r.color,o=r.height,a=r.width,s=eQ(r,tt);return n.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},n.createElement("svg",{width:"".concat(a,"px"),height:"".concat(o,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},n.createElement("g",null,n.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:i}))))};tr.propTypes={handleClick:H().func.isRequired,styles:H().object.isRequired};var tn=function(e){var t=e.content,r=e.footer,i=e.handleClick,o=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,u=e.styles,c={content:n.isValidElement(t)?t:n.createElement("div",{className:"__floater__content",style:u.content},t)};return l&&(c.title=n.isValidElement(l)?l:n.createElement("div",{className:"__floater__title",style:u.title},l)),r&&(c.footer=n.isValidElement(r)?r:n.createElement("div",{className:"__floater__footer",style:u.footer},r)),(s||a)&&!g.boolean(o)&&(c.close=n.createElement(tr,{styles:u.close,handleClick:i})),n.createElement("div",{className:"__floater__container",style:u.container},c.close,c.title,c.content,c.footer)};tn.propTypes={content:H().node.isRequired,footer:H().node,handleClick:H().func.isRequired,open:H().bool,positionWrapper:H().bool.isRequired,showCloseButton:H().bool.isRequired,styles:H().object.isRequired,title:H().node};var ti=function(e){eY(r,e);var t=e1(r);function r(){return eH(this,r),t.apply(this,arguments)}return eG(r,[{key:"style",get:function(){var e=this.props,t=e.disableAnimation,r=e.component,n=e.placement,i=e.hideArrow,o=e.status,a=e.styles,s=a.arrow.length,l=a.floater,u=a.floaterCentered,c=a.floaterClosing,d=a.floaterOpening,p=a.floaterWithAnimation,f=a.floaterWithComponent,h={};return!i&&(n.startsWith("top")?h.padding="0 0 ".concat(s,"px"):n.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):n.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):n.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[e6.OPENING,e6.OPEN].indexOf(o)&&(h=eq(eq({},h),d)),o===e6.CLOSING&&(h=eq(eq({},h),c)),o!==e6.OPEN||t||(h=eq(eq({},h),p)),"center"===n&&(h=eq(eq({},h),u)),r&&(h=eq(eq({},h),f)),eq(eq({},l),h)}},{key:"render",value:function(){var e=this.props,t=e.component,r=e.handleClick,i=e.hideArrow,o=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?n.isValidElement(t)?s.content=n.cloneElement(t,{closeFn:r}):s.content=t({closeFn:r}):s.content=n.createElement(tn,this.props),a===e6.OPEN&&l.push("__floater__open"),i||(s.arrow=n.createElement(te,this.props)),n.createElement("div",{ref:o,className:l.join(" "),style:this.style},n.createElement("div",{className:"__floater__body"},s.content,s.arrow))}}]),r}(n.Component);eK(ti,"propTypes",{component:H().oneOfType([H().func,H().element]),content:H().node,disableAnimation:H().bool.isRequired,footer:H().node,handleClick:H().func.isRequired,hideArrow:H().bool.isRequired,open:H().bool,placement:H().string.isRequired,positionWrapper:H().bool.isRequired,setArrowRef:H().func.isRequired,setFloaterRef:H().func.isRequired,showCloseButton:H().bool,status:H().string.isRequired,styles:H().object.isRequired,title:H().node});var to=function(e){eY(r,e);var t=e1(r);function r(){return eH(this,r),t.apply(this,arguments)}return eG(r,[{key:"render",value:function(){var e,t=this.props,r=t.children,i=t.handleClick,o=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,u=t.style,c=t.styles;if(r){if(1===n.Children.count(r)){if(n.isValidElement(r)){var d=g.function(r.type)?"innerRef":"ref";e=n.cloneElement(n.Children.only(r),eK({},d,s))}else e=n.createElement("span",null,r)}else e=r}return e?n.createElement("span",{ref:l,style:eq(eq({},c),u),onClick:i,onMouseEnter:o,onMouseLeave:a},e):null}}]),r}(n.Component);eK(to,"propTypes",{children:H().node,handleClick:H().func.isRequired,handleMouseEnter:H().func.isRequired,handleMouseLeave:H().func.isRequired,setChildRef:H().func.isRequired,setWrapperRef:H().func.isRequired,style:H().object,styles:H().object.isRequired});var ta={zIndex:100},ts=["arrow","flip","offset"],tl=["position","top","right","bottom","left"],tu=function(e){eY(i,e);var t=e1(i);function i(e){var r;return eH(this,i),eK(e0(r=t.call(this,e)),"setArrowRef",function(e){r.arrowRef=e}),eK(e0(r),"setChildRef",function(e){r.childRef=e}),eK(e0(r),"setFloaterRef",function(e){r.floaterRef=e}),eK(e0(r),"setWrapperRef",function(e){r.wrapperRef=e}),eK(e0(r),"handleTransitionEnd",function(){var e=r.state.status,t=r.props.callback;r.wrapperPopper&&r.wrapperPopper.instance.update(),r.setState({status:e===e6.OPENING?e6.OPEN:e6.IDLE},function(){t(r.state.status===e6.OPEN?"open":"close",r.props)})}),eK(e0(r),"handleClick",function(){var e=r.props,t=e.event,n=e.open;if(!g.boolean(n)){var i=r.state,o=i.positionWrapper,a=i.status;("click"===r.event||"hover"===r.event&&o)&&(e3({title:"click",data:[{event:t,status:a===e6.OPEN?"closing":"opening"}],debug:r.debug}),r.toggle())}}),eK(e0(r),"handleMouseEnter",function(){var e=r.props,t=e.event,n=e.open;if(!(g.boolean(n)||e8())){var i=r.state.status;"hover"===r.event&&i===e6.IDLE&&(e3({title:"mouseEnter",data:[{key:"originalEvent",value:t}],debug:r.debug}),clearTimeout(r.eventDelayTimeout),r.toggle())}}),eK(e0(r),"handleMouseLeave",function(){var e=r.props,t=e.event,n=e.eventDelay,i=e.open;if(!(g.boolean(i)||e8())){var o=r.state,a=o.status,s=o.positionWrapper;"hover"!==r.event||(e3({title:"mouseLeave",data:[{key:"originalEvent",value:t}],debug:r.debug}),n?-1===[e6.OPENING,e6.OPEN].indexOf(a)||s||r.eventDelayTimeout||(r.eventDelayTimeout=setTimeout(function(){delete r.eventDelayTimeout,r.toggle()},1e3*n)):r.toggle(e6.IDLE))}}),r.state={currentPlacement:e.placement,needsUpdate:!1,positionWrapper:e.wrapperOptions.position&&!!e.target,status:e6.INIT,statusWrapper:e6.INIT},r._isMounted=!1,r.hasMounted=!1,e5&&window.addEventListener("load",function(){r.popper&&r.popper.instance.update(),r.wrapperPopper&&r.wrapperPopper.instance.update()}),r}return eG(i,[{key:"componentDidMount",value:function(){if(e5){var e=this.state.positionWrapper,t=this.props,r=t.children,n=t.open,i=t.target;this._isMounted=!0,e3({title:"init",data:{hasChildren:!!r,hasTarget:!!i,isControlled:g.boolean(n),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!r&&i&&g.boolean(n)}}},{key:"componentDidUpdate",value:function(e,t){if(e5){var r,n=this.props,i=n.autoOpen,o=n.open,a=n.target,s=n.wrapperOptions,l=P(t,this.state),u=l.changedFrom,c=l.changed;e.open!==o&&(g.boolean(o)&&(r=o?e6.OPENING:e6.CLOSING),this.toggle(r)),(e.wrapperOptions.position!==s.position||e.target!==a)&&this.changeWrapperPosition(this.props),c("status",e6.IDLE)&&o?this.toggle(e6.OPEN):u("status",e6.INIT,e6.IDLE)&&i&&this.toggle(e6.OPEN),this.popper&&c("status",e6.OPENING)&&this.popper.instance.update(),this.floaterRef&&(c("status",e6.OPENING)||c("status",e6.CLOSING))&&function(e,t,r){var n,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n=function(i){r(i),function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,r,n)}(e,t,n)},function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,r,n)}(e,t,n,i)}(this.floaterRef,"transitionend",this.handleTransitionEnd),c("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){e5&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,r=this.state.positionWrapper,n=this.props,i=n.disableFlip,o=n.getPopper,a=n.hideArrow,s=n.offset,l=n.placement,u=n.wrapperOptions;if("center"===l)this.setState({status:e6.IDLE});else if(t&&this.floaterRef){var c=this.options,d=c.arrow,p=c.flip,f=c.offset,h=eQ(c,ts);new eV(t,this.floaterRef,{placement:l,modifiers:eq({arrow:eq({enabled:!a,element:this.arrowRef},d),flip:eq({enabled:!i,behavior:"top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"]},p),offset:eq({offset:"0, ".concat(s,"px")},f)},h),onCreate:function(t){var r;if(e.popper=t,!(null!==(r=e.floaterRef)&&void 0!==r&&r.isConnected)){e.setState({needsUpdate:!0});return}o(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:e6.IDLE}),l!==t.placement&&setTimeout(function(){t.instance.update()},1)},onUpdate:function(t){e.popper=t;var r=e.state.currentPlacement;e._isMounted&&t.placement!==r&&e.setState({currentPlacement:t.placement})}})}if(r){var m=g.undefined(u.offset)?0:u.offset;new eV(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(m,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:e6.IDLE}),o(t,"wrapper"),l!==t.placement&&setTimeout(function(){t.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var e=this;this.floaterRefInterval=setInterval(function(){var t;null!==(t=e.floaterRef)&&void 0!==t&&t.isConnected&&(clearInterval(e.floaterRefInterval),e.setState({needsUpdate:!1}),e.initPopper())},50)}},{key:"changeWrapperPosition",value:function(e){var t=e.target,r=e.wrapperOptions;this.setState({positionWrapper:r.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===e6.OPEN?e6.CLOSING:e6.OPENING;g.undefined(e)||(t=e),this.setState({status:t})}},{key:"debug",get:function(){return this.props.debug||!!r.g.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,r=e.event;return"hover"===r&&e8()&&!t?"click":r}},{key:"options",get:function(){var e=this.props.options;return U()(e2,e||{})}},{key:"styles",get:function(){var e,t,r=this,n=this.state,i=n.status,o=n.positionWrapper,a=n.statusWrapper,s=this.props.styles,l=U()({wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:(e=U()(ta,s.options||{})).zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:e.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:e},s);if(o&&(t=-1!==[e6.IDLE].indexOf(i)&&-1!==[e6.IDLE].indexOf(a)?this.wrapperPopper.styles:l.wrapperPosition,l.wrapper=eq(eq({},l.wrapper),t)),this.target){var u=window.getComputedStyle(this.target);this.wrapperStyles?l.wrapper=eq(eq({},l.wrapper),this.wrapperStyles):-1!==["relative","static"].indexOf(u.position)||(this.wrapperStyles={},o||(tl.forEach(function(e){r.wrapperStyles[e]=u[e]}),l.wrapper=eq(eq({},l.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return l}},{key:"target",get:function(){if(!e5)return null;var e=this.props.target;return e?g.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,r=e.positionWrapper,i=e.status,o=this.props,a=o.children,s=o.component,l=o.content,u=o.disableAnimation,c=o.footer,d=o.hideArrow,p=o.id,f=o.open,h=o.showCloseButton,m=o.style,v=o.target,g=o.title,y=n.createElement(to,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),b={};return r?b.wrapperInPortal=y:b.wrapperAsChildren=y,n.createElement("span",null,n.createElement(e7,{hasChildren:!!a,id:p,placement:t,setRef:this.setFloaterRef,target:v,zIndex:this.styles.options.zIndex},n.createElement(ti,{component:s,content:l,disableAnimation:u,footer:c,handleClick:this.handleClick,hideArrow:d||"center"===t,open:f,placement:t,positionWrapper:r,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:i,styles:this.styles,title:g}),b.wrapperInPortal),b.wrapperAsChildren)}}]),i}(n.Component);function tc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function td(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tc(Object(r),!0).forEach(function(t){tm(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function tp(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function tf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function th(e,t,r){return t&&tf(e.prototype,t),r&&tf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tv(){return(tv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function tg(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tb(e,t)}function ty(e){return(ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tb(e,t){return(tb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tx(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function tw(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=ty(e);if(t){var i=ty(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return tw(e)}(this,r)}}eK(tu,"propTypes",{autoOpen:H().bool,callback:H().func,children:H().node,component:(0,W.Z)(H().oneOfType([H().func,H().element]),function(e){return!e.content}),content:(0,W.Z)(H().node,function(e){return!e.component}),debug:H().bool,disableAnimation:H().bool,disableFlip:H().bool,disableHoverToClick:H().bool,event:H().oneOf(["hover","click"]),eventDelay:H().number,footer:H().node,getPopper:H().func,hideArrow:H().bool,id:H().oneOfType([H().string,H().number]),offset:H().number,open:H().bool,options:H().object,placement:H().oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:H().bool,style:H().object,styles:H().object,target:H().oneOfType([H().object,H().string]),title:H().node,wrapperOptions:H().shape({offset:H().number,placement:H().oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:H().bool})}),eK(tu,"defaultProps",{autoOpen:!1,callback:e9,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:e9,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var tE={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},tk={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},tC={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},tO={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},tP=I().canUseDOM,t_=void 0!==j.createPortal;function tT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function tA(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function tR(e){var t=[];return!function e(r){if("string"==typeof r||"number"==typeof r)t.push(r);else if(Array.isArray(r))r.forEach(function(t){return e(t)});else if(r&&r.props){var n=r.props.children;Array.isArray(n)?n.forEach(function(t){return e(t)}):e(n)}}(e),t.join(" ").trim()}function tM(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function tD(e){return e.disableBeacon||"center"===e.placement}function tZ(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(tT()))}function tj(e){var t=e.title,r=e.data,n=e.warn,i=e.debug,o=void 0!==n&&n?console.warn||console.error:console.log;void 0!==i&&i&&(t&&r?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(r)?r.forEach(function(e){Z.plainObject(e)&&e.key?o.apply(console,[e.key,e.value]):o.apply(console,[e])}):o.apply(console,[r]),console.groupEnd()):console.error("Missing title or data props"))}var tN={action:"",controlled:!1,index:0,lifecycle:tC.INIT,size:0,status:tO.IDLE},tI=["action","index","lifecycle","status"];function tF(e){var t=new Map,r=new Map;return new(function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.continuous,o=n.stepIndex,a=n.steps,s=void 0===a?[]:a;tp(this,e),tm(this,"listener",void 0),tm(this,"setSteps",function(e){var n=t.getState(),i=n.size,o=n.status,a={size:e.length,status:o};r.set("steps",e),o===tO.WAITING&&!i&&e.length&&(a.status=tO.RUNNING),t.setState(a)}),tm(this,"addListener",function(e){t.listener=e}),tm(this,"update",function(e){if(!(Z.plainObject(e)&&Z.array(tI)&&Object.keys(e).every(function(e){return -1!==tI.indexOf(e)})))throw Error("State is not valid. Valid keys: ".concat(tI.join(", ")));t.setState(td({},t.getNextState(td(td(td({},t.getState()),e),{},{action:e.action||tE.UPDATE}),!0)))}),tm(this,"start",function(e){var r=t.getState(),n=r.index,i=r.size;t.setState(td(td({},t.getNextState({action:tE.START,index:Z.number(e)?e:n},!0)),{},{status:i?tO.RUNNING:tO.WAITING}))}),tm(this,"stop",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=t.getState(),n=r.index;-1===[tO.FINISHED,tO.SKIPPED].indexOf(r.status)&&t.setState(td(td({},t.getNextState({action:tE.STOP,index:n+(e?1:0)})),{},{status:tO.PAUSED}))}),tm(this,"close",function(){var e=t.getState(),r=e.index;e.status===tO.RUNNING&&t.setState(td({},t.getNextState({action:tE.CLOSE,index:r+1})))}),tm(this,"go",function(e){var r=t.getState(),n=r.controlled,i=r.status;if(!n&&i===tO.RUNNING){var o=t.getSteps()[e];t.setState(td(td({},t.getNextState({action:tE.GO,index:e})),{},{status:o?i:tO.FINISHED}))}}),tm(this,"info",function(){return t.getState()}),tm(this,"next",function(){var e=t.getState(),r=e.index;e.status===tO.RUNNING&&t.setState(t.getNextState({action:tE.NEXT,index:r+1}))}),tm(this,"open",function(){t.getState().status===tO.RUNNING&&t.setState(td({},t.getNextState({action:tE.UPDATE,lifecycle:tC.TOOLTIP})))}),tm(this,"prev",function(){var e=t.getState(),r=e.index;e.status===tO.RUNNING&&t.setState(td({},t.getNextState({action:tE.PREV,index:r-1})))}),tm(this,"reset",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.getState().controlled||t.setState(td(td({},t.getNextState({action:tE.RESET,index:0})),{},{status:e?tO.RUNNING:tO.READY}))}),tm(this,"skip",function(){t.getState().status===tO.RUNNING&&t.setState({action:tE.SKIP,lifecycle:tC.INIT,status:tO.SKIPPED})}),this.setState({action:tE.INIT,controlled:Z.number(o),continuous:void 0!==i&&i,index:Z.number(o)?o:0,lifecycle:tC.INIT,status:s.length?tO.READY:tO.IDLE},!0),this.setSteps(s)}return th(e,[{key:"setState",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),i=td(td({},n),e),o=i.action,a=i.index,s=i.lifecycle,l=i.size,u=i.status;t.set("action",o),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",u),r&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:td({},tN)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getState(),n=r.action,i=r.controlled,o=r.index,a=r.size,s=r.status,l=Z.number(e.index)?e.index:o,u=i&&!t?o:Math.min(Math.max(l,0),a);return{action:e.action||n,controlled:i,index:u,lifecycle:e.lifecycle||tC.INIT,size:e.size||a,status:u===a?tO.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=r.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}())(e)}function tL(e){return e?e.getBoundingClientRect():{}}function tB(e){return"string"==typeof e?document.querySelector(e):e}function t$(e,t,r){var n=$()(e);return n.isSameNode(tq())?r?document:tq():n.scrollHeight>n.offsetHeight||t?n:(n.style.overflow="initial",tq())}function tz(e,t){return!!e&&!t$(e,t).isSameNode(tq())}function tV(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!e||!(e instanceof HTMLElement))return!1;var r=e.nodeName;return"BODY"!==r&&"HTML"!==r&&((e&&1===e.nodeType?getComputedStyle(e):{}).position===t||tV(e.parentNode,t))}function tU(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?tU(e.offsetParent)+e.offsetTop:e.offsetTop:0}function tq(){return document.scrollingElement||document.createElement("body")}!function(e){function t(t,r,n,i,o,a){var s=i||"<<anonymous>>",l=a||n;if(null==r[n])return t?Error("Required ".concat(o," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var u=arguments.length,c=Array(u>6?u-6:0),d=6;d<u;d++)c[d-6]=arguments[d];return e.apply(void 0,[r,n,s,o,l].concat(c))}t.bind(null,!1).isRequired=t.bind(null,!0)}(function(e,t,r,i,o){var a=e[t],s=a;if(!n.isValidElement(a)&&(0,z.isValidElementType)(a)&&(s=n.createElement(s,{ref:function(){},step:{}})),Z.string(a)||Z.number(a)||!(0,z.isValidElementType)(a)||!(-1!==[z.Element,z.ForwardRef].indexOf((0,z.typeOf)(s))))return Error("Invalid ".concat(i," `").concat(o,"` supplied to `").concat(r,"`. Expected a React class or forwardRef."))});var tH={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},tW={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},tG={borderRadius:4,position:"absolute"},tK={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function tY(e,t){if(!e)return null;var r,n=U().all([(r=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"],Object.keys(t).filter(function(e){return -1!==r.indexOf(e)}).reduce(function(e,r){return e[r]=t[r],e},{})),tK.step,e],{isMergeableObject:Z.plainObject}),i=function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=U()(tH,r.options||{}),i=290;window.innerWidth>480&&(i=380),n.width&&(i=window.innerWidth<n.width?window.innerWidth-30:n.width);var o={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:n.zIndex},a={beacon:td(td({},tW),{},{display:"inline-block",height:n.beaconSize,position:"relative",width:n.beaconSize,zIndex:n.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:n.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat((e=n.primaryColor.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,r,n){return t+t+r+r+n+n}),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[]).join(","),", 0.2)"),border:"2px solid ".concat(n.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:n.backgroundColor,borderRadius:5,boxSizing:"border-box",color:n.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:i},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:td(td({},tW),{},{backgroundColor:n.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:td(td({},tW),{},{color:n.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:td(td({},tW),{},{color:n.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:td(td({},tW),{},{color:n.textColor,fontSize:14}),overlay:td(td({},o),{},{backgroundColor:n.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:td({},o),overlayLegacyCenter:td(td({},o),{},{backgroundColor:n.overlayColor}),spotlight:td(td({},tG),{},{backgroundColor:"gray"}),spotlightLegacy:td(td({},tG),{},{boxShadow:"0 0 0 9999px ".concat(n.overlayColor,", ").concat(n.spotlightShadow)}),floaterStyles:{arrow:{color:n.arrowColor},options:{zIndex:n.zIndex+100}},options:n};return U()(a,r)}(U()(t.styles||{},e.styles||{})),o=tz(tB(e.target),n.disableScrollParentFix),a=U().all([t.floaterProps||{},tK.floaterProps,n.floaterProps||{}]);return a.offset=n.offset,a.styles=U()(a.styles||{},i.floaterStyles||{}),delete i.floaterStyles,a.offset+=t.spotlightPadding||e.spotlightPadding||0,e.placementBeacon&&(a.wrapperOptions.placement=e.placementBeacon),o&&(a.options.preventOverflow.boundariesElement="window"),td(td({},n),{},{locale:U().all([tK.locale,t.locale||{},n.locale||{}]),floaterProps:a,styles:i})}function tX(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Z.plainObject(e)?!!e.target||(tj({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(tj({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function tJ(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Z.array(e)?e.every(function(e){return tX(e,t)}):(tj({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var tQ=th(function e(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(tp(this,e),tm(this,"element",void 0),tm(this,"options",void 0),tm(this,"canBeTabbed",function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&r.canHaveFocus(e)}),tm(this,"canHaveFocus",function(e){var t=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(t)&&!e.getAttribute("disabled")||"a"===t&&!!e.getAttribute("href"))&&r.isVisible(e)}),tm(this,"findValidTabElements",function(){return[].slice.call(r.element.querySelectorAll("*"),0).filter(r.canBeTabbed)}),tm(this,"handleKeyDown",function(e){var t=r.options.keyCode;e.keyCode===(void 0===t?9:t)&&r.interceptTab(e)}),tm(this,"interceptTab",function(e){var t=r.findValidTabElements();if(t.length){e.preventDefault();var n=e.shiftKey,i=t.indexOf(document.activeElement);-1!==i&&(n||i+1!==t.length)?n&&0===i?i=t.length-1:i+=n?-1:1:i=0,t[i].focus()}}),tm(this,"isHidden",function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,r=window.getComputedStyle(e);return!!t&&!e.innerHTML||t&&"visible"!==r.getPropertyValue("overflow")||"none"===r.getPropertyValue("display")}),tm(this,"isVisible",function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(r.isHidden(t))return!1;t=t.parentNode}return!0}),tm(this,"removeScope",function(){window.removeEventListener("keydown",r.handleKeyDown)}),tm(this,"checkFocus",function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame(function(){return r.checkFocus(e)}))}),tm(this,"setFocus",function(){var e=r.options.selector;if(e){var t=r.element.querySelector(e);t&&window.requestAnimationFrame(function(){return r.checkFocus(t)})}}),!(t instanceof HTMLElement))throw TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=n,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}),t0=function(e){tg(r,e);var t=tS(r);function r(e){var n;if(tp(this,r),tm(tw(n=t.call(this,e)),"setBeaconRef",function(e){n.beacon=e}),!e.beaconComponent){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",o.id="joyride-beacon-animation",void 0!==e.nonce&&o.setAttribute("nonce",e.nonce),o.appendChild(document.createTextNode("\n        @keyframes joyride-beacon-inner {\n          20% {\n            opacity: 0.9;\n          }\n        \n          90% {\n            opacity: 0.7;\n          }\n        }\n        \n        @keyframes joyride-beacon-outer {\n          0% {\n            transform: scale(1);\n          }\n        \n          45% {\n            opacity: 0.7;\n            transform: scale(0.75);\n          }\n        \n          100% {\n            opacity: 0.9;\n            transform: scale(1);\n          }\n        }\n      ")),i.appendChild(o)}return n}return th(r,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout(function(){Z.domElement(e.beacon)&&t&&e.beacon.focus()},0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e=this.props,t=e.beaconComponent,r=e.locale,i=e.onClickOrHover,o=e.styles,a={"aria-label":r.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:r.open};return t?n.createElement(t,a):n.createElement("button",tv({key:"JoyrideBeacon",className:"react-joyride__beacon",style:o.beacon,type:"button"},a),n.createElement("span",{style:o.beaconInner}),n.createElement("span",{style:o.beaconOuter}))}}]),r}(n.Component);function t1(e){var t=e.styles;return n.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})}var t2=["mixBlendMode","zIndex"],t6=function(e){tg(r,e);var t=tS(r);function r(){var e;tp(this,r);for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return tm(tw(e=t.call.apply(t,[this].concat(i))),"_isMounted",!1),tm(tw(e),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),tm(tw(e),"handleMouseMove",function(t){var r=e.state.mouseOverSpotlight,n=e.spotlightStyles,i=n.height,o=n.left,a=n.position,s=n.top,l=n.width,u="fixed"===a?t.clientY:t.pageY,c="fixed"===a?t.clientX:t.pageX,d=c>=o&&c<=o+l&&u>=s&&u<=s+i;d!==r&&e.updateState({mouseOverSpotlight:d})}),tm(tw(e),"handleScroll",function(){var t=tB(e.props.target);e.scrollParent!==document?(e.state.isScrolling||e.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(e.scrollTimeout),e.scrollTimeout=setTimeout(function(){e.updateState({isScrolling:!1,showSpotlight:!0})},50)):tV(t,"sticky")&&e.updateState({})}),tm(tw(e),"handleResize",function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(function(){e._isMounted&&e.forceUpdate()},100)}),e}return th(r,[{key:"componentDidMount",value:function(){var e=this.props;e.debug,e.disableScrolling;var t=e.disableScrollParentFix,r=tB(e.target);this.scrollParent=t$(r,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,r=this.props,n=r.lifecycle,i=r.spotlightClicks,o=P(e,this.props).changed;o("lifecycle",tC.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(function(){t.state.isScrolling||t.updateState({showSpotlight:!0})},100)),(o("spotlightClicks")||o("disableOverlay")||o("lifecycle"))&&(i&&n===tC.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==tC.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"spotlightStyles",get:function(){var e,t,r,n,i=this.state.showSpotlight,o=this.props,a=o.disableScrollParentFix,s=o.spotlightClicks,l=o.spotlightPadding,u=o.styles,c=tB(o.target),d=tL(c),p=tV(c),f=(e=tL(c),t=t$(c,a),r=tz(c,a),n=0,t instanceof HTMLElement&&(n=t.scrollTop),Math.floor(e.top+(r||tV(c)?0:n)-l));return td(td({},tZ()?u.spotlightLegacy:u.spotlight),{},{height:Math.round(d.height+2*l),left:Math.round(d.left-l),opacity:i?1:0,pointerEvents:s?"none":"auto",position:p?"fixed":"absolute",top:f,transition:"opacity 0.2s",width:Math.round(d.width+2*l)})}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e,t,r,i=this.state,o=i.mouseOverSpotlight,a=i.showSpotlight,s=this.props,l=s.disableOverlay,u=s.disableOverlayClose,c=s.lifecycle,d=s.onClickOverlay,p=s.placement,f=s.styles;if(l||c!==tC.TOOLTIP)return null;var h=f.overlay;tZ()&&(h="center"===p?f.overlayLegacyCenter:f.overlayLegacy);var m=td({cursor:u?"default":"pointer",height:(t=(e=document).body,r=e.documentElement,t&&r?Math.max(t.scrollHeight,t.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight):0),pointerEvents:o?"none":"auto"},h),v="center"!==p&&a&&n.createElement(t1,{styles:this.spotlightStyles});if("safari"===tT()){m.mixBlendMode,m.zIndex;var g=tx(m,t2);v=n.createElement("div",{style:td({},g)},v),delete m.backgroundColor}return n.createElement("div",{className:"react-joyride__overlay",style:m,onClick:d},v)}}]),r}(n.Component),t5=["styles"],t4=["color","height","width"];function t8(e){var t=e.styles,r=tx(e,t5),i=t.color,o=t.height,a=t.width,s=tx(t,t4);return n.createElement("button",tv({style:s,type:"button"},r),n.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof o?"".concat(o,"px"):o,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},n.createElement("g",null,n.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:i}))))}var t3=function(e){tg(r,e);var t=tS(r);function r(){return tp(this,r),t.apply(this,arguments)}return th(r,[{key:"render",value:function(){var e=this.props,t=e.backProps,r=e.closeProps,i=e.continuous,o=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,u=e.skipProps,c=e.step,d=e.tooltipProps,p=c.content,f=c.hideBackButton,h=c.hideCloseButton,m=c.hideFooter,v=c.showProgress,g=c.showSkipButton,y=c.title,b=c.styles,x=c.locale,w=x.back,S=x.close,E=x.last,k=x.next,C=x.skip,O={primary:S};return i&&(O.primary=a?E:k,v&&(O.primary=n.createElement("span",null,O.primary," (",o+1,"/",l,")"))),g&&!a&&(O.skip=n.createElement("button",tv({style:b.buttonSkip,type:"button","aria-live":"off"},u),C)),!f&&o>0&&(O.back=n.createElement("button",tv({style:b.buttonBack,type:"button"},t),w)),O.close=!h&&n.createElement(t8,tv({styles:b.buttonClose},r)),n.createElement("div",tv({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:b.tooltip},d),n.createElement("div",{style:b.tooltipContainer},y&&n.createElement("h4",{style:b.tooltipTitle,"aria-label":y},y),n.createElement("div",{style:b.tooltipContent},p)),!m&&n.createElement("div",{style:b.tooltipFooter},n.createElement("div",{style:b.tooltipFooterSpacer},O.skip),O.back,n.createElement("button",tv({style:b.buttonNext,type:"button"},s),O.primary)),O.close)}}]),r}(n.Component),t9=["beaconComponent","tooltipComponent"],t7=function(e){tg(r,e);var t=tS(r);function r(){var e;tp(this,r);for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return tm(tw(e=t.call.apply(t,[this].concat(i))),"handleClickBack",function(t){t.preventDefault(),e.props.helpers.prev()}),tm(tw(e),"handleClickClose",function(t){t.preventDefault(),e.props.helpers.close()}),tm(tw(e),"handleClickPrimary",function(t){t.preventDefault();var r=e.props,n=r.continuous,i=r.helpers;if(!n){i.close();return}i.next()}),tm(tw(e),"handleClickSkip",function(t){t.preventDefault(),e.props.helpers.skip()}),tm(tw(e),"getElementsProps",function(){var t=e.props,r=t.continuous,n=t.isLastStep,i=t.setTooltipRef,o=t.step,a=tR(o.locale.back),s=tR(o.locale.close),l=tR(o.locale.last),u=tR(o.locale.next),c=tR(o.locale.skip),d=r?u:s;return n&&(d=l),{backProps:{"aria-label":a,"data-action":"back",onClick:e.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:e.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":d,"data-action":"primary",onClick:e.handleClickPrimary,role:"button",title:d},skipProps:{"aria-label":c,"data-action":"skip",onClick:e.handleClickSkip,role:"button",title:c},tooltipProps:{"aria-modal":!0,ref:i,role:"alertdialog"}}}),e}return th(r,[{key:"render",value:function(){var e,t=this.props,r=t.continuous,i=t.index,o=t.isLastStep,a=t.size,s=t.step;s.beaconComponent;var l=s.tooltipComponent,u=tx(s,t9);if(l){var c=td(td({},this.getElementsProps()),{},{continuous:r,index:i,isLastStep:o,size:a,step:u});e=n.createElement(l,c)}else e=n.createElement(t3,tv({},this.getElementsProps(),{continuous:r,index:i,isLastStep:o,size:a,step:s}));return e}}]),r}(n.Component),re=function(e){tg(r,e);var t=tS(r);function r(){return tp(this,r),t.apply(this,arguments)}return th(r,[{key:"componentDidMount",value:function(){tP&&!t_&&this.renderReact15()}},{key:"componentDidUpdate",value:function(){tP&&!t_&&this.renderReact15()}},{key:"componentWillUnmount",value:function(){tP&&this.node&&(t_||j.unmountComponentAtNode(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var e=this.props.id;this.node||(this.node=document.createElement("div"),e&&(this.node.id=e),document.body.appendChild(this.node))}},{key:"renderReact15",value:function(){if(!tP)return null;var e=this.props.children;return this.node||this.appendNode(),j.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!tP||!t_)return null;var e=this.props.children;return this.node||this.appendNode(),j.createPortal(e,this.node)}},{key:"render",value:function(){return t_?this.renderReact16():null}}]),r}(n.Component),rt=function(e){tg(r,e);var t=tS(r);function r(){var e;tp(this,r);for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return tm(tw(e=t.call.apply(t,[this].concat(i))),"scope",{removeScope:function(){}}),tm(tw(e),"handleClickHoverBeacon",function(t){var r=e.props,n=r.step,i=r.update;("mouseenter"!==t.type||"hover"===n.event)&&i({lifecycle:tC.TOOLTIP})}),tm(tw(e),"handleClickOverlay",function(){var t=e.props,r=t.helpers;t.step.disableOverlayClose||r.close()}),tm(tw(e),"setTooltipRef",function(t){e.tooltip=t}),tm(tw(e),"setPopper",function(t,r){var n=e.props,i=n.action,o=n.setPopper,a=n.update;"wrapper"===r?e.beaconPopper=t:e.tooltipPopper=t,o(t,r),e.beaconPopper&&e.tooltipPopper&&a({action:i===tE.CLOSE?tE.CLOSE:i,lifecycle:tC.READY})}),e}return th(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,r=e.index;tj({title:"step:".concat(r),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.action,n=t.callback,i=t.continuous,o=t.controlled,a=t.debug,s=t.index,l=t.lifecycle,u=t.size,c=t.status,d=t.step,p=t.update,f=P(e,this.props),h=f.changed,m=f.changedFrom,v={action:r,controlled:o,index:s,lifecycle:l,size:u,status:c},g=i&&r!==tE.CLOSE&&(s>0||r===tE.PREV),y=h("action")||h("index")||h("lifecycle")||h("status"),b=m("lifecycle",[tC.TOOLTIP,tC.INIT],tC.INIT);if(h("action",[tE.NEXT,tE.PREV,tE.SKIP,tE.CLOSE])&&(b||o)&&n(td(td({},v),{},{index:e.index,lifecycle:tC.COMPLETE,step:e.step,type:tk.STEP_AFTER})),"center"===d.placement&&c===tO.RUNNING&&h("index")&&r!==tE.START&&l===tC.INIT&&p({lifecycle:tC.READY}),y){var x=tB(d.target),w=!!x;w&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var r=getComputedStyle(t),n=r.display,i=r.visibility;if("none"===n||"hidden"===i)return!1}t=t.parentNode}return!0}(x)?(m("status",tO.READY,tO.RUNNING)||m("lifecycle",tC.INIT,tC.READY))&&n(td(td({},v),{},{step:d,type:tk.STEP_BEFORE})):(console.warn(w?"Target not visible":"Target not mounted",d),n(td(td({},v),{},{type:tk.TARGET_NOT_FOUND,step:d})),o||p({index:s+(-1!==[tE.PREV].indexOf(r)?-1:1)}))}m("lifecycle",tC.INIT,tC.READY)&&p({lifecycle:tD(d)||g?tC.TOOLTIP:tC.BEACON}),h("index")&&tj({title:"step:".concat(l),data:[{key:"props",value:this.props}],debug:a}),h("lifecycle",tC.BEACON)&&n(td(td({},v),{},{step:d,type:tk.BEACON})),h("lifecycle",tC.TOOLTIP)&&(n(td(td({},v),{},{step:d,type:tk.TOOLTIP})),this.scope=new tQ(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),m("lifecycle",[tC.TOOLTIP,tC.INIT],tC.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"open",get:function(){var e=this.props,t=e.step,r=e.lifecycle;return!!(tD(t)||r===tC.TOOLTIP)}},{key:"render",value:function(){var e=this.props,t=e.continuous,r=e.debug,i=e.helpers,o=e.index,a=e.lifecycle,s=e.nonce,l=e.shouldScroll,u=e.size,c=e.step,d=tB(c.target);return tX(c)&&Z.domElement(d)?n.createElement("div",{key:"JoyrideStep-".concat(o),className:"react-joyride__step"},n.createElement(re,{id:"react-joyride-portal"},n.createElement(t6,tv({},c,{debug:r,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),n.createElement(tu,tv({component:n.createElement(t7,{continuous:t,helpers:i,index:o,isLastStep:o+1===u,setTooltipRef:this.setTooltipRef,size:u,step:c}),debug:r,getPopper:this.setPopper,id:"react-joyride-step-".concat(o),isPositioned:c.isFixed||tV(d),open:this.open,placement:c.placement,target:c.target},c.floaterProps),n.createElement(t0,{beaconComponent:c.beaconComponent,locale:c.locale,nonce:s,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,styles:c.styles}))):null}}]),r}(n.Component),rr=function(e){tg(r,e);var t=tS(r);function r(e){var n;return tp(this,r),tm(tw(n=t.call(this,e)),"initStore",function(){var e=n.props,t=e.debug,r=e.getHelpers,i=e.run,o=e.stepIndex;n.store=new tF(td(td({},n.props),{},{controlled:i&&Z.number(o)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return tj({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),r(n.helpers),n.store.getState()}),tm(tw(n),"callback",function(e){var t=n.props.callback;Z.function(t)&&t(e)}),tm(tw(n),"handleKeyboard",function(e){var t=n.state,r=t.index,i=t.lifecycle,o=n.props.steps[r],a=window.Event?e.which:e.keyCode;i===tC.TOOLTIP&&27===a&&o&&!o.disableCloseOnEsc&&n.store.close()}),tm(tw(n),"syncState",function(e){n.setState(e)}),tm(tw(n),"setPopper",function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e}),tm(tw(n),"shouldScroll",function(e,t,r,n,i,o,a){return!e&&(0!==t||r||n===tC.TOOLTIP)&&"center"!==i.placement&&(!i.isFixed||!tV(o))&&a.lifecycle!==n&&-1!==[tC.BEACON,tC.TOOLTIP].indexOf(n)}),n.state=n.initStore(),n}return th(r,[{key:"componentDidMount",value:function(){if(tP){var e=this.props,t=e.disableCloseOnEsc,r=e.debug,n=e.run,i=e.steps,o=this.store.start;tJ(i,r)&&n&&o(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(tP){var r=this.state,i=r.action,o=r.controlled,a=r.index,s=r.lifecycle,l=r.status,u=this.props,c=u.debug,d=u.run,p=u.stepIndex,f=u.steps,h=e.steps,m=e.stepIndex,v=this.store,g=v.reset,y=v.setSteps,b=v.start,x=v.stop,w=v.update,S=P(e,this.props).changed,E=P(t,this.state),k=E.changed,C=E.changedFrom,O=tY(f[a],this.props),_=!function e(t,r){var i,o=(0,n.isValidElement)(t)||(0,n.isValidElement)(r),a=Z.undefined(t)||Z.undefined(r);if(tA(t)!==tA(r)||o||a)return!1;if(Z.domElement(t))return t.isSameNode(r);if(Z.number(t))return t===r;if(Z.function(t))return t.toString()===r.toString();for(var s in t)if(tM(t,s)){if(void 0===t[s]||void 0===r[s])return!1;if(-1!==["object","array"].indexOf(i=tA(t[s]))&&e(t[s],r[s])||"function"===i&&e(t[s],r[s]))continue;if(t[s]!==r[s])return!1}for(var l in r)if(tM(r,l)&&void 0===t[l])return!1;return!0}(h,f),T=Z.number(p)&&S("stepIndex"),A=tB(null==O?void 0:O.target);if(_&&(tJ(f,c)?y(f):console.warn("Steps are not valid",f)),S("run")&&(d?b(p):x()),T){var R=m<p?tE.NEXT:tE.PREV;i===tE.STOP&&(R=tE.START),-1!==[tO.FINISHED,tO.SKIPPED].indexOf(l)||w({action:i===tE.CLOSE?tE.CLOSE:R,index:p,lifecycle:tC.INIT})}o||l!==tO.RUNNING||0!==a||A||(w({index:a+1}),this.callback(td(td({},this.state),{},{type:tk.TARGET_NOT_FOUND,step:O})));var M=td(td({},this.state),{},{index:a,step:O});if(k("action",[tE.NEXT,tE.PREV,tE.SKIP,tE.CLOSE])&&k("status",tO.PAUSED)){var D=tY(f[t.index],this.props);this.callback(td(td({},M),{},{index:t.index,lifecycle:tC.COMPLETE,step:D,type:tk.STEP_AFTER}))}if(k("status",[tO.FINISHED,tO.SKIPPED])){var j=tY(f[t.index],this.props);o||this.callback(td(td({},M),{},{index:t.index,lifecycle:tC.COMPLETE,step:j,type:tk.STEP_AFTER})),this.callback(td(td({},M),{},{index:t.index,step:j,type:tk.TOUR_END})),g()}else C("status",[tO.IDLE,tO.READY],tO.RUNNING)?this.callback(td(td({},M),{},{type:tk.TOUR_START})):k("status")?this.callback(td(td({},M),{},{type:tk.TOUR_STATUS})):k("action",tE.RESET)&&this.callback(td(td({},M),{},{type:tk.TOUR_STATUS}));O&&(this.scrollToStep(t),"center"===O.placement&&l===tO.RUNNING&&i===tE.START&&s===tC.INIT&&w({lifecycle:tC.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,r=t.index,n=t.lifecycle,i=t.status,o=this.props,a=o.debug,s=o.disableScrolling,l=o.disableScrollParentFix,u=o.scrollToFirstStep,c=o.scrollOffset,d=o.scrollDuration,p=tY(o.steps[r],this.props);if(p){var f=tB(p.target),h=this.shouldScroll(s,r,u,n,p,f,e);if(i===tO.RUNNING&&h){var m=tz(f,l),v=t$(f,l),g=Math.floor(function(e,t,r){if(!e)return 0;var n=$()(e),i=tU(e);return tz(e,r)&&!(e.offsetParent!==document.body)&&(i-=tU(n)),Math.floor(i-t)}(f,c,l))||0;if(tj({title:"scrollToStep",data:[{key:"index",value:r},{key:"lifecycle",value:n},{key:"status",value:i}],debug:a}),n===tC.BEACON&&this.beaconPopper){var y=this.beaconPopper,b=y.placement,x=y.popper;-1!==["bottom"].indexOf(b)||m||(g=Math.floor(x.top-c))}else if(n===tC.TOOLTIP&&this.tooltipPopper){var w=this.tooltipPopper,S=w.flipped,E=w.placement,k=w.popper;-1===["top","right","left"].indexOf(E)||S||m?g-=p.spotlightPadding:g=Math.floor(k.top-c)}g=g>=0?g:0,i===tO.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tq(),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300;new Promise(function(n,i){var o=t.scrollTop;L().top(t,e,{duration:(e>o?e-o:o-e)<100?50:r},function(e){return e&&"Element already at target scroll position"!==e.message?i(e):n()})})}(g,v,d)}}}},{key:"render",value:function(){if(!tP)return null;var e,t=this.state,r=t.index,i=t.status,o=this.props,a=o.continuous,s=o.debug,l=o.nonce,u=o.scrollToFirstStep,c=tY(o.steps[r],this.props);return i===tO.RUNNING&&c&&(e=n.createElement(rt,tv({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,nonce:l,shouldScroll:!c.disableScrolling&&(0!==r||u),step:c,update:this.store.update}))),n.createElement("div",{className:"react-joyride"},e)}}]),r}(n.Component);tm(rr,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]})},55903:function(e,t){"use strict";/** @license React v16.13.1
 * react-is.production.min.js
 *
gilbarbara commented 1 year ago

Hey @the-mgi

What are you using to build your app? If you are using next.js, there's a known issue with the swcMinify

the-mgi commented 1 year ago

okay, got it, thanks.