playbook_ui_docs 13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2159 → 13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2173
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/playbook-doc.js +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b48941a85d0a6e1a9d75ff2b18550a234f0e33c96125dc4493754feafec8fe8
|
4
|
+
data.tar.gz: 83b573ef2cc280b25474a20f6544746fc9ae683c3ce9af53acdce434e15efd53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b647dc3e21c149e3ee2718e8ad32b66493f16507b358a335b5ff75a796ae9b06143869d4d557a48418412faa49f2f6788b19e568c899c4316ada688a800b8822
|
7
|
+
data.tar.gz: 030012d78ede2349f0ad71f7197da18ae896109631b68b4792b7deed622643c8cdb2994345d5b26da5d4ab512ca848fa2b817e94842ace530e9058ef25747283
|
data/dist/playbook-doc.js
CHANGED
@@ -20,7 +20,7 @@ function u(e,t){return"function"==typeof e?e(t):e}function d(e,t){return r=>{t.s
|
|
20
20
|
*
|
21
21
|
* @license MIT
|
22
22
|
*/
|
23
|
-
function Z(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?n.createElement(e,t):e:null;var r}function K(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Q=r(8),ee=r(16),te=r(5),re=Object(n.createContext)({});function ne(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ae=function(e){var t=e.getValue,r=e.onRowToggleClick,i=e.row,o=e.value,s=Object(n.useContext)(re),l=s.setExpanded,c=s.expanded,u=!!i.original.children;return a.a.createElement("div",{style:{paddingLeft:"".concat(1.25*i.depth,"em")}},a.a.createElement(Q.a,{alignItems:"center",columnGap:"xs",orientation:"row"},u?a.a.createElement("button",{className:"gray-icon expand-toggle-icon",onClick:function(){return function(e){r&&r(e),l(Object.assign(Object.assign({},c),ne({},e.id,!e.getIsExpanded())))}(i)}},i.getIsExpanded()?a.a.createElement(te.a,{cursor:"pointer",icon:"circle-play",rotation:90}):a.a.createElement(te.a,{cursor:"pointer",icon:"circle-play"})):null,a.a.createElement(ee.a,{paddingLeft:u?"none":"xs"},0===i.depth?t():o)))},ie=function(e){return"string"==typeof e?[e,e]:e},oe=function(e){var t=e.header,r=e.sortIcon;return a.a.createElement(a.a.Fragment,null,"desc"===t.column.getIsSorted()?a.a.createElement("div",{className:"sort-button-icon",key:ie(r)[0]},a.a.createElement(te.a,{icon:ie(r)[0]})):a.a.createElement("div",{className:"sort-button-icon",key:ie(r)[1]},a.a.createElement(te.a,{icon:ie(r)[1]})))},se=function(e){var t=e.row,r=e.onClick,i=Object(n.useContext)(re).toggleExpansionIcon;return a.a.createElement("button",{className:"gray-icon toggle-all-icon",key:ie(i)[0],onClick:function(){return r(t)}},a.a.createElement(te.a,{cursor:"pointer",fixedWidth:!0,icon:ie(i)[0]}))},le=function(){var e=navigator.userAgent.toLowerCase();return e.includes("chrome")&&!e.includes("edg")},ce=function(e){var t=e.enableSorting,r=e.enableToggleExpansion,i=e.handleExpandOrCollapse,s=e.header,l=e.headerChildren,c=e.loading,u=e.sortIcon,d=Object(n.useContext)(re).sortControl,m=function(e){d?"desc"===s.column.getIsSorted()?d.onChange({desc:!0}):d.onChange({desc:!1}):s.column.getToggleSortingHandler()(e)},p=o()("table-header-cells","".concat(le()?"chrome-styles":""),"".concat(t?"table-header-cells-active":"")),h="".concat(c?"loading-".concat(s.id):"".concat(s.id)),f=0===s.index&&c&&("all"===r||"header")&&"none"!==r,b=0===s.index&&!c&&("all"===r||"header")&&"none"!==r;return a.a.createElement("th",{align:"right",className:p,id:h,key:"".concat(s.id,"-header")},s.isPlaceholder?null:l&&0===s.index?a.a.createElement(Q.a,{alignItems:"center"},l,a.a.createElement("div",null,Z(s.column.columnDef.header,s.getContext()))):a.a.createElement(Q.a,{alignItems:"center",justify:0===s.index&&t?"between":0!==s.index||t?"end":"start"},b&&a.a.createElement(se,{onClick:i}),f&&a.a.createElement("div",{className:"loading-toggle-icon header-toggle-icon"}),a.a.createElement(Q.a,Object.assign({className:"".concat(0===s.index&&t&&"header-sort-button pb_th_link"),cursor:0===s.index&&t?"pointer":"default"},0===s.index&&t&&{htmlOptions:{onClick:function(e){return m(e)},onKeyDown:function(e){"Enter"===e.key&&m(e)},tabIndex:0}},{justify:0===s.index&&t?"between":"none",paddingLeft:t?"xxs":"xs"}),a.a.createElement("div",null,Z(s.column.columnDef.header,s.getContext())),0===s.index&&s.column.getCanSort()&&t&&(c?a.a.createElement("div",{className:"loading-toggle-icon"}):a.a.createElement(oe,{header:s,sortIcon:u})))))},ue=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},de=function(e){var t=e.children,r=e.className,i=e.enableSorting,c=void 0!==i&&i,u=e.id,d=e.sortIcon,m=void 0===d?["arrow-up-short-wide","arrow-down-short-wide"]:d,p=ue(e,["children","className","enableSorting","id","sortIcon"]),h=Object(n.useContext)(re),f=h.enableToggleExpansion,b=h.handleExpandOrCollapse,g=h.loading,_=h.table,y=o()(Object(s.b)("pb_advanced_table_header"),Object(l.c)(p),r);return a.a.createElement(a.a.Fragment,null,a.a.createElement("thead",{className:y,id:u},_.getHeaderGroups().map((function(e){return a.a.createElement("tr",{key:"".concat(e.id,"-headerGroup")},e.headers.map((function(e){return a.a.createElement(ce,{enableSorting:c,enableToggleExpansion:f,handleExpandOrCollapse:b,header:e,headerChildren:t,key:"".concat(e.id,"-header"),loading:g,sortIcon:m})})))}))))},me=r(166),pe=r(15),he=function(e){var t=e.leftOffset,r={position:"absolute",left:"".concat(t,"em"),top:0,bottom:0,width:"2px",backgroundColor:"#E4E8F0"};return a.a.createElement("div",{style:r})},fe=function(e){for(var t=[],r=1;r<=e;r++){var n=1*r+(r>1?.25*(r-1):0);t.push(a.a.createElement(he,{key:r,leftOffset:n}))}return t},be=function(e){var t=e.collapsibleTrail,r=e.enableToggleExpansion,n=e.onClick,i=e.row,o=e.subRowHeaders,s=e.table.getAllFlatColumns().length,l=i.depth<o.length;return a.a.createElement("tr",{className:"custom-row bg-silver"},a.a.createElement("td",{className:"custom-row-first-column ".concat(le()?"chrome-styles":""),colSpan:1},t&&i.depth>0&&fe(i.depth),a.a.createElement("div",{style:{paddingLeft:"".concat(1.25*i.depth,"em")}},a.a.createElement(Q.a,{align:"center",columnGap:"xs"},"all"===r&&l?a.a.createElement(se,{onClick:n,row:i}):null,a.a.createElement(pe.a,{marginLeft:l?"none":"xs",text:o[i.depth-1]})))),a.a.createElement("td",{colSpan:s-1}))},ge=function(){return a.a.createElement("div",{className:"loading-cell"})},_e=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},ye=function(e){var t=e.className,r=e.collapsibleTrail,i=void 0===r||r,c=e.id,u=e.subRowHeaders,d=_e(e,["className","collapsibleTrail","id","subRowHeaders"]),m=Object(n.useContext)(re),p=m.columnDefinitions,h=m.enableToggleExpansion,f=m.handleExpandOrCollapse,b=m.loading,g=m.table,_=o()(Object(s.b)("pb_advanced_table_body"),Object(l.c)(d),t);return a.a.createElement(a.a.Fragment,null,a.a.createElement("tbody",{className:_,id:c},g.getRowModel().rows.map((function(e){var t,r=e.getIsExpanded(),n=e.depth>0&&0===e.index,o=!(!e.original.children||e.original.children.length),s=g.getAllFlatColumns().length,l=r&&o&&e.depth<(null===(t=p[0].cellAccessors)||void 0===t?void 0:t.length);return a.a.createElement(a.a.Fragment,{key:"".concat(e.index,"-").concat(e.id,"-").concat(e.depth,"-row")},n&&u&&a.a.createElement(be,{collapsibleTrail:i,enableToggleExpansion:h,onClick:f,row:e,subRowHeaders:u,table:g}),a.a.createElement("tr",{className:"".concat(r?"bg-silver":"bg-white"," ").concat(e.depth>0?"depth-sub-row-".concat(e.depth):""),id:"".concat(e.index,"-").concat(e.id,"-").concat(e.depth,"-row")},e.getVisibleCells().map((function(t,r){return a.a.createElement("td",{align:"right",className:"".concat(t.id,"-cell position_relative ").concat(le()?"chrome-styles":""),key:"".concat(t.id,"-data")},i&&0===r&&e.depth>0&&fe(e.depth),a.a.createElement("span",{id:"".concat(t.id,"-span")},b?a.a.createElement(ge,null):Z(t.column.columnDef.cell,t.getContext())))}))),l?a.a.createElement("tr",{key:"".concat(e.id,"-row")},a.a.createElement("td",{colSpan:s,style:{paddingLeft:"".concat(0===e.depth?.5:2*e.depth,"em")}},a.a.createElement(me.a,null))):null)}))))};function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ke(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ke(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var xe=function(e){var t=e.aria,r=void 0===t?{}:t,i=e.children,u=e.className,d=e.columnDefinitions,m=e.data,p=void 0===m?{}:m,f=e.enableToggleExpansion,b=void 0===f?"header":f,g=e.expandedControl,_=e.htmlOptions,y=void 0===_?{}:_,v=e.id,k=e.initialLoadingRowsCount,x=void 0===k?10:k,w=e.loading,N=e.onRowToggleClick,E=e.onToggleExpansionClick,j=e.sortControl,O=e.tableData,S=e.tableOptions,C=e.tableProps,z=e.toggleExpansionIcon,T=void 0===z?"arrows-from-line":z,A=ve(Object(n.useState)(x),2),M=A[0],P=A[1],I=ve(Object(n.useState)({}),2),D=I[0],L=I[1],$=g?g.value:D,R=g?g.onChange:L,B={accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e},F=d&&d.map((function(e){var t,r=Object.assign({},B.accessor(e.accessor,{header:e.label}));return e.cellAccessors&&(r.cell=(t=e.cellAccessors,function(e){var r=e.row,n=e.getValue,i=r.original;switch(r.depth){case 0:return a.a.createElement(ae,{getValue:n,onRowToggleClick:N,row:r});default:var o=i[t[r.depth-1]];return o?a.a.createElement(ae,{onRowToggleClick:N,row:r,value:o}):"N/A"}})),r})),q=[{id:d[0].accessor,desc:!(!j||null===j.value)&&!j.value.desc}],V=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[r]=n.useState(()=>({current:G(t)})),[a,i]=n.useState(()=>r.current.initialState);return r.current.setOptions(t=>({...t,...e,state:{...a,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}})),r.current}(Object.assign(Object.assign({data:w?Array(M).fill({}):O,columns:F,onExpandedChange:R,getSubRows:function(e){return e.children},getCoreRowModel:e=>h(()=>[e.options.data],t=>{const r={rows:[],flatRows:[],rowsById:{}},n=function(t,a,i){void 0===a&&(a=0);const o=[];for(let l=0;l<t.length;l++){const c=Y(e,e._getRowId(t[l],l,i),t[l],l,a,void 0,null==i?void 0:i.id);var s;r.flatRows.push(c),r.rowsById[c.id]=c,o.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[l],l),null!=(s=c.originalSubRows)&&s.length&&(c.subRows=n(c.originalSubRows,a+1,c)))}return o};return r.rows=n(t),r},{key:!1,debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getExpandedRowModel:e=>h(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(e,t,r)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:r?X(t):t,{key:!1,debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getSortedRowModel:e=>h(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,r)=>{if(!r.rows.length||null==t||!t.length)return r;const n=e.getState().sorting,a=[],i=n.filter(t=>{var r;return null==(r=e.getColumn(t.id))?void 0:r.getCanSort()}),o={};i.forEach(t=>{const r=e.getColumn(t.id);r&&(o[t.id]={sortUndefined:r.columnDef.sortUndefined,invertSorting:r.columnDef.invertSorting,sortingFn:r.getSortingFn()})});const s=e=>{const t=[...e];return t.sort((e,t)=>{for(let n=0;n<i.length;n+=1){var r;const a=i[n],s=o[a.id],l=null!=(r=null==a?void 0:a.desc)&&r;if(s.sortUndefined){const r=void 0===e.getValue(a.id),n=void 0===t.getValue(a.id);if(r||n){let e=r&&n?0:r?s.sortUndefined:-s.sortUndefined;return l&&0!==e&&(e*=-1),e}}let c=s.sortingFn(e,t,a.id);if(0!==c)return l&&(c*=-1),s.invertSorting&&(c*=-1),c}return e.index-t.index}),t.forEach(e=>{var t;a.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))}),t};return{rows:s(r.rows),flatRows:a,rowsById:r.rowsById}},{key:!1,debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),enableSortingRemoval:!1,sortDescFirst:!0},j?{state:{expanded:$,sorting:q}}:{state:{expanded:$}}),S)),U=V.getRowModel(),H=Object(n.useCallback)((function(){var e=V.getRowModel().rows.length;e!==M&&0!==e&&P(e)}),[O,M]);Object(n.useEffect)((function(){w||H()}),[w,H]);var W=Object(s.a)(r),Z=Object(s.c)(p),J=Object(s.d)(y),Q=o()(Object(s.b)("pb_advanced_table"),Object(l.c)(e),u);return a.a.createElement("div",Object.assign({},W,Z,J,{className:Q,id:v}),a.a.createElement(re.Provider,{value:{columnDefinitions:d,enableToggleExpansion:b,expanded:$,handleExpandOrCollapse:function(e){E&&E(e);var t=$,r=null==e?void 0:e.parentId;return R(function(e,t,r){var n,a={},i=e.flatRows,o=!0,s=new Set,l=K(i);try{for(l.s();!(n=l.n()).done;){var c=n.value;if((void 0===r?0===c.depth:r===c.parentId)&&(s.add(c.getIsExpanded()),s.size>1)){o=!1;break}}}catch(e){l.e(e)}finally{l.f()}if(void 0===r)i.forEach((function(e){0===e.depth&&(a[e.id]=!o||!e.getIsExpanded())}));else{var u,d=K(i);try{for(d.s();!(u=d.n()).done;){var m=u.value;r===m.parentId&&(a[m.id]=!o||!m.getIsExpanded())}}catch(e){d.e(e)}finally{d.f()}}return function(e){for(var t in e)!1===e[t]&&delete e[t];return e}(Object.assign(Object.assign({},t),a))}(U,t,r))},loading:w,setExpanded:R,sortControl:j,table:V,toggleExpansionIcon:T}},a.a.createElement(c.a,Object.assign({className:"".concat(w?"content-loading":""),dataTable:!0,numberSpacing:"tabular",responsive:"none"},C),i||a.a.createElement(a.a.Fragment,null,a.a.createElement(de,null),a.a.createElement(ye,null)))))};xe.Header=de,xe.Body=ye;var we=xe,Ne=r(34),Ee=r(123),je=r(112),Oe=r(48),Se=r(119),Ce=r(10),ze=r(218),Te=r(231),Ae=r(25),Me=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.children,i=e.className,c=e.data,u=void 0===c?{}:c,d=e.htmlOptions,m=void 0===d?{}:d,p=e.id,h=e.orientation,f=void 0===h?"horizontal":h,b=e.text,g=e.variant,_=void 0===g?"primary":g,y=Object(s.a)(r),v=Object(s.c)(u),k=Object(s.d)(m),x=o()(Object(s.b)("pb_button_toolbar_kit",f,_),Object(l.c)(e),i);return a.a.createElement("div",Object.assign({},y,v,k,{className:x,id:p}),n||b)},Pe=r(20),Ie=r(84),De=r(66),Le=r(46),$e=r(116),Re=r(185),Be=r(57),Fe=r(162),qe=r(198),Ve=r(31),Ue=r(176),He=r(22),We=r(12),Ge=function(e){var t=e.align,r=void 0===t?"left":t,n=e.className,i=e.dark,c=void 0!==i&&i,u=e.date,d=e.data,m=void 0===d?{}:d,p=e.htmlOptions,h=void 0===p?{}:p,f=o()(Object(s.b)("pb_date_year_stacked",r),Object(l.c)(e),n),b=Object(s.c)(m),g=Object(s.d)(h);return a.a.createElement("div",Object.assign({},b,g,{className:f}),a.a.createElement(We.a,{dark:c,size:4,text:"".concat(He.a.toDay(u)," ").concat(He.a.toMonth(u).toUpperCase())}),a.a.createElement(Ce.a,{color:"light"},He.a.toYear(u)))},Ye=function(e){var t=e.className,r=e.dark,n=void 0!==r&&r,i=e.endDate,c=e.htmlOptions,u=void 0===c?{}:c,d=e.startDate,m=e.data,p=void 0===m?{}:m,h=o()(Object(s.b)("pb_date_range_stacked"),Object(l.c)(e),t),f=Object(s.c)(p),b=Object(s.d)(u);return a.a.createElement("div",Object.assign({},f,b,{className:h}),a.a.createElement(Q.a,{vertical:"center"},a.a.createElement(ee.a,null,a.a.createElement(Ge,{align:"right",dark:n,date:d})),a.a.createElement(ee.a,null,a.a.createElement("div",null,a.a.createElement(Ce.a,{color:"light",tag:"span"},a.a.createElement(te.a,{className:"pb_date_range_stacked_arrow",fixedWidth:!0,icon:"long-arrow-right"})))),a.a.createElement(ee.a,null,a.a.createElement(Ge,{dark:n,date:i}))))},Xe=r(63),Ze=r(91),Ke=r(191),Je=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.bold,i=void 0!==n&&n,c=e.children,u=e.className,d=e.color,m=void 0===d?"light":d,p=e.data,h=void 0===p?{}:p,f=e.htmlOptions,b=void 0===f?{}:f,g=e.id,_=void 0===g?"":g,y=e.tag,v=void 0===y?"div":y,k=e.text,x=void 0===k?"":k,w=Object(s.a)(r),N=Object(s.c)(h),E=Object(s.d)(b),j=i?"bold":null,O=o()(Object(s.b)("pb_detail_kit","color",m),j,Object(l.c)(e),u),S="".concat(v);return a.a.createElement(S,Object.assign({},w,N,E,{className:O,id:_}),x||c)},Qe=r(210),et=r(165),tt=r(13),rt=r.n(tt);function nt(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function at(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function it(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}Object.create;var ot=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function st(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=ot.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var lt=[".DS_Store","Thumbs.db"];function ct(e){return nt(this,void 0,void 0,(function(){return at(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?dt(e.dataTransfer,e.type):ut(e))];var r}))}))}function ut(e){return(null!==e.target&&e.target.files?pt(e.target.files):[]).map((function(e){return st(e)}))}function dt(e,t){return nt(this,void 0,void 0,(function(){var r;return at(this,(function(n){switch(n.label){case 0:return e.items?(r=pt(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(ht))]):[3,2];case 1:return[2,mt(ft(n.sent()))];case 2:return[2,mt(pt(e.files).map((function(e){return st(e)})))]}}))}))}function mt(e){return e.filter((function(e){return-1===lt.indexOf(e.name)}))}function pt(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function ht(e){if("function"!=typeof e.webkitGetAsEntry)return bt(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?_t(t):bt(e)}function ft(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(it(arguments[t]));return e}(e,Array.isArray(t)?ft(t):[t])}),[])}function bt(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=st(t);return Promise.resolve(r)}function gt(e){return nt(this,void 0,void 0,(function(){return at(this,(function(t){return[2,e.isDirectory?_t(e):yt(e)]}))}))}function _t(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var i=this;t.readEntries((function(t){return nt(i,void 0,void 0,(function(){var i,o,s;return at(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return i=l.sent(),e(i),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(gt)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function yt(e){return nt(this,void 0,void 0,(function(){return at(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=st(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var vt=r(291),kt=r.n(vt);function xt(e,t){return"application/x-moz-file"===e.type||kt()(e,t)}function wt(e,t,r){if(Nt(e.size)){if(Nt(t)&&Nt(r))return e.size>=t&&e.size<=r;if(Nt(t))return e.size>=t;if(Nt(r))return e.size<=r}return!0}function Nt(e){return null!=e}function Et(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize;return!(!e.multiple&&t.length>1)&&t.every((function(e){return xt(e,r)&&wt(e,n,a)}))}function jt(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Ot(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function St(e){e.preventDefault()}function Ct(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function zt(e){return-1!==e.indexOf("Edge/")}function Tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Ct(e)||zt(e)}function At(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((function(t){return!jt(e)&&t&&t.apply(void 0,[e].concat(n)),jt(e)}))}}function Mt(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Pt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function It(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 Dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(r,!0).forEach((function(t){Lt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $t(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var Rt=Object(n.forwardRef)((function(e,t){var r=e.children,i=Ft($t(e,["children"])),o=i.open,s=$t(i,["open"]);return Object(n.useImperativeHandle)(t,(function(){return{open:o}}),[o]),a.a.createElement(n.Fragment,null,r(Dt({},s,{open:o})))}));Rt.displayName="Dropzone",Rt.propTypes={children:rt.a.func,accept:rt.a.oneOfType([rt.a.string,rt.a.arrayOf(rt.a.string)]),multiple:rt.a.bool,preventDropOnDocument:rt.a.bool,noClick:rt.a.bool,noKeyboard:rt.a.bool,noDrag:rt.a.bool,noDragEventsBubbling:rt.a.bool,minSize:rt.a.number,maxSize:rt.a.number,disabled:rt.a.bool,getFilesFromEvent:rt.a.func,onFileDialogCancel:rt.a.func,onDragEnter:rt.a.func,onDragLeave:rt.a.func,onDragOver:rt.a.func,onDrop:rt.a.func,onDropAccepted:rt.a.func,onDropRejected:rt.a.func};var Bt={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,r=e.disabled,a=void 0!==r&&r,i=e.getFilesFromEvent,o=void 0===i?ct:i,s=e.maxSize,l=void 0===s?1/0:s,c=e.minSize,u=void 0===c?0:c,d=e.multiple,m=void 0===d||d,p=e.onDragEnter,h=e.onDragLeave,f=e.onDragOver,b=e.onDrop,g=e.onDropAccepted,_=e.onDropRejected,y=e.onFileDialogCancel,v=e.preventDropOnDocument,k=void 0===v||v,x=e.noClick,w=void 0!==x&&x,N=e.noKeyboard,E=void 0!==N&&N,j=e.noDrag,O=void 0!==j&&j,S=e.noDragEventsBubbling,C=void 0!==S&&S,z=Object(n.useRef)(null),T=Object(n.useRef)(null),A=Object(n.useReducer)(qt,Bt),M=Pt(A,2),P=M[0],I=M[1],D=P.isFocused,L=P.isFileDialogActive,$=P.draggedFiles,R=Object(n.useCallback)((function(){T.current&&(I({type:"openDialog"}),T.current.value=null,T.current.click())}),[I]),B=function(){L&&setTimeout((function(){T.current&&(T.current.files.length||(I({type:"closeDialog"}),"function"==typeof y&&y()))}),300)};Object(n.useEffect)((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[T,L,y]);var F=Object(n.useCallback)((function(e){z.current&&z.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),R()))}),[z,T]),q=Object(n.useCallback)((function(){I({type:"focus"})}),[]),V=Object(n.useCallback)((function(){I({type:"blur"})}),[]),U=Object(n.useCallback)((function(){w||(Tt()?setTimeout(R,0):R())}),[T,w]),H=Object(n.useRef)([]),W=function(e){z.current&&z.current.contains(e.target)||(e.preventDefault(),H.current=[])};Object(n.useEffect)((function(){return k&&(document.addEventListener("dragover",St,!1),document.addEventListener("drop",W,!1)),function(){k&&(document.removeEventListener("dragover",St),document.removeEventListener("drop",W))}}),[z,k]);var G=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),ee(e),-1===H.current.indexOf(e.target)&&(H.current=[].concat(Mt(H.current),[e.target])),Ot(e)&&Promise.resolve(o(e)).then((function(t){jt(e)&&!C||(I({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,C]),Y=Object(n.useCallback)((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Ot(e)&&f&&f(e),!1}),[f,C]),X=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),ee(e);var t=H.current.filter((function(t){return t!==e.target&&z.current&&z.current.contains(t)}));H.current=t,t.length>0||(I({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Ot(e)&&h&&h(e))}),[z,h,C]),Z=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),ee(e),H.current=[],Ot(e)&&Promise.resolve(o(e)).then((function(r){if(!jt(e)||C){var n=[],a=[];r.forEach((function(e){xt(e,t)&&wt(e,u,l)?n.push(e):a.push(e)})),!m&&n.length>1&&a.push.apply(a,Mt(n.splice(0))),I({acceptedFiles:n,rejectedFiles:a,type:"setFiles"}),b&&b(n,a,e),a.length>0&&_&&_(a,e),n.length>0&&g&&g(n,e)}})),I({type:"reset"})}),[m,t,u,l,o,b,g,_,C]),K=function(e){return a?null:e},J=function(e){return E?null:K(e)},Q=function(e){return O?null:K(e)},ee=function(e){C&&e.stopPropagation()},te=Object(n.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.onKeyDown,i=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,m=$t(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Dt(Lt({onKeyDown:J(At(n,F)),onFocus:J(At(i,q)),onBlur:J(At(o,V)),onClick:K(At(s,U)),onDragEnter:Q(At(l,G)),onDragOver:Q(At(c,Y)),onDragLeave:Q(At(u,X)),onDrop:Q(At(d,Z))},r,z),a||E?{}:{tabIndex:0},{},m)}}),[z,F,q,V,U,G,Y,X,Z,E,O,a]),re=Object(n.useCallback)((function(e){e.stopPropagation()}),[]),ne=Object(n.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,n=void 0===r?"ref":r,a=e.onChange,i=e.onClick,o=$t(e,["refKey","onChange","onClick"]),s=Lt({accept:t,multiple:m,type:"file",style:{display:"none"},onChange:K(At(a,Z)),onClick:K(At(i,re)),autoComplete:"off",tabIndex:-1},n,T);return Dt({},s,{},o)}}),[T,t,m,Z,a]),ae=$.length,ie=ae>0&&Et({files:$,accept:t,minSize:u,maxSize:l,multiple:m}),oe=ae>0&&!ie;return Dt({},P,{isDragAccept:ie,isDragReject:oe,isFocused:D&&!a,getRootProps:te,getInputProps:ne,rootRef:z,inputRef:T,open:K(R)})}function qt(e,t){switch(t.type){case"focus":return Dt({},e,{isFocused:!0});case"blur":return Dt({},e,{isFocused:!1});case"openDialog":return Dt({},e,{isFileDialogActive:!0});case"closeDialog":return Dt({},e,{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive;return Dt({},e,{draggedFiles:t.draggedFiles,isDragActive:r});case"setFiles":return Dt({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Dt({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]});default:return e}}var Vt=function(e){var t=e.accept,r=void 0===t?null:t,i=e.acceptedFilesDescription,c=void 0===i?"":i,u=e.className,d=e.customMessage,m=e.data,p=void 0===m?{}:m,h=e.htmlOptions,f=void 0===h?{}:h,b=e.maxSize,g=e.onFilesAccepted,_=void 0===g?s.e:g,y=e.onFilesRejected,v=void 0===y?s.e:y,k=Object(n.useCallback)((function(e){_(e)}),[_]),x=Ft({accept:r,maxSize:b,onDrop:k}),w=x.getRootProps,N=x.getInputProps,E=x.isDragActive,j=x.rejectedFiles,O=Object(n.useRef)(null),S="Max file size is ".concat("".concat(b/1e6," MB"),".");Object(n.useEffect)((function(){j!==O.current&&(b&&j.length>0&&j[0].size>b&&v("File size is too large! ".concat(S),j),O.current=j)}),[S,b,v,j]);var C=Object(s.c)(p),z=Object(s.d)(f);return a.a.createElement("div",Object.assign({className:o()(Object(s.b)("pb_file_upload_kit"),Object(l.c)(e),u)},C,z,w()),a.a.createElement(Pe.a,null,a.a.createElement("input",Object.assign({},N())),a.a.createElement(Ce.a,{color:"light"},E?a.a.createElement("p",null,"Drop the files here ..."):a.a.createElement("p",null,d||"Choose a file or drag it here.".concat(null===r?"":" The accepted file types are: ".concat(c||r.map((function(e){return e.startsWith("image/")?e.replace("image/"," "):e})),".")).concat(b?" ".concat(S):"")))))},Ut=r(201),Ht=r(93),Wt=r(96),Gt=r(71),Yt=r(211),Xt=r(199),Zt=r(132),Kt=r(147),Jt=r(59),Qt=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.className,i=e.data,c=void 0===i?{}:i,u=e.dark,d=void 0!==u&&u,m=e.htmlOptions,p=void 0===m?{}:m,h=e.icon,f=e.id,b=e.orientation,g=void 0===b?"horizontal":b,_=e.size,y=void 0===_?"sm":_,v=e.text,k=void 0===v?"":v,x=e.unit,w=void 0===x?"":x,N=e.value,E=void 0===N?0:N,j=e.variant,O=void 0===j?"default":j,S=Object(s.a)(r),C=Object(s.c)(c),z=Object(s.d)(p),T=o()(Object(s.b)("pb_icon_stat_value_kit",g,y,O),Object(l.c)(e),n);return a.a.createElement("div",Object.assign({},S,C,z,{className:T,id:f}),a.a.createElement(Jt.a,{dark:d,icon:h,size:y,variant:O}),a.a.createElement("div",null,a.a.createElement(Q.a,{align:"baseline"},function(e){return"lg"==e?a.a.createElement(We.a,{dark:d,size:1,tag:"span",text:"".concat(E)}):"md"==e?a.a.createElement(We.a,{dark:d,size:2,tag:"span",text:"".concat(E)}):a.a.createElement(We.a,{dark:d,size:3,tag:"span",text:"".concat(E)})}(y)," ",a.a.createElement(Ce.a,{dark:d,text:w})),a.a.createElement(pe.a,{dark:d,text:k})))},er=r(168),tr=r(38),rr=r(169),nr=function(e){var t=He.a.toMonthNum(e),r=He.a.toDay(e);return" · ".concat(t,"/").concat(r)},ar=function(e){var t=e.active,r=void 0!==t&&t,n=e.aria,i=void 0===n?{}:n,c=e.className,u=e.dark,d=void 0!==u&&u,m=e.data,p=void 0===m?{}:m,h=e.date,f=e.description,b=e.htmlOptions,g=void 0===b?{}:b,_=e.icon,y=e.id,v=e.label,k=e.title,x=e.value,w=e.variant,N=void 0===w?"default":w,E=Object(s.a)(i),j=Object(s.c)(p),O=Object(s.d)(g),S="details"===N?"details":"",C=o()(Object(s.b)("pb_label_value_kit",S),Object(l.c)(e),c);return a.a.createElement("div",Object.assign({},E,j,O,{className:C,id:y,title:k}),a.a.createElement(pe.a,{dark:d,text:v}),"details"===N?a.a.createElement(Q.a,{inline:!0,vertical:"center"},_&&a.a.createElement(Ce.a,{color:"light",dark:d,marginRight:"xs"},a.a.createElement(te.a,{dark:d,fixedWidth:!0,icon:_})),f&&a.a.createElement(Ce.a,{color:"light",dark:d,marginRight:"xs",text:f}),!0===r?a.a.createElement(Q.a,{inline:!0,vertical:"center"},k&&a.a.createElement(We.a,{dark:d,size:4,text:k,variant:"link"}),h&&a.a.createElement(We.a,{dark:d,marginLeft:"xs",size:4,text:" "+nr(h),variant:"link"})):a.a.createElement(a.a.Fragment,null,k&&a.a.createElement(We.a,{dark:d,size:4,text:k}),h&&a.a.createElement(We.a,{dark:d,marginLeft:"xs",size:4,text:" "+nr(h)}))):a.a.createElement(Ce.a,{dark:d,text:x}))},ir=r(32),or=r(190),sr=r(134),lr=r(133),cr=r(81),ur=r(44),dr=function(e){var t=e.onClick,r=e.icon;return a.a.createElement(Ae.a,{className:"pb_map-custom-button",onClick:t},a.a.createElement(te.a,{icon:r}))},mr=function e(t){var r=t.aria,n=void 0===r?{}:r,i=t.children,c=t.className,u=t.data,d=void 0===u?{}:u,m=t.htmlOptions,p=void 0===m?{}:m,h=t.id,f=t.zoomBtns,b=void 0!==f&&f,g=t.flyTo,_=void 0!==g&&g,y=t.zoomInClick,v=t.zoomOutClick,k=t.flyToClick,x=Object(s.a)(n),w=Object(s.c)(d),N=Object(s.d)(p),E=o()(Object(s.b)("pb_map"),Object(l.c)(t),c);return a.a.createElement("div",Object.assign({},x,w,N,{className:E,id:h}),b?a.a.createElement(e.Controls,{flyTo:_,flyToClick:k,zoomBtns:b,zoomInClick:y,zoomOutClick:v}):null,i)};mr.Controls=function(e){var t=e.zoomBtns,r=e.zoomInClick,n=e.zoomOutClick,i=e.flyTo,o=e.flyToClick,s=e.children;return a.a.createElement(Q.a,{className:"custom-nav-control",orientation:"column"},t?a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"custom-nav-control-zoom"},a.a.createElement(Ae.a,{className:"map-zoom-in-button",onClick:r},a.a.createElement(te.a,{icon:"plus"})),a.a.createElement(Ae.a,{className:"map-zoom-out-button",onClick:n},a.a.createElement(te.a,{icon:"minus"}))),i?a.a.createElement(Ae.a,{className:"map-flyto-button",onClick:o},a.a.createElement(te.a,{icon:"eye"})):null):null,s)};var pr=mr,hr=r(98),fr=r(114),br=r(232),gr=r(202),_r=r(45),yr=r(26),vr=r(131),kr=r(97),xr=r(74),wr=r(180),Nr=r(148),Er=r(217),jr=r(107),Or=r(200),Sr=function(e){var t=e.align,r=e.className,n=e.dark,i=void 0!==n&&n,c=e.data,u=void 0===c?{}:c,d=e.htmlOptions,m=void 0===d?{}:d,p=e.max,h=e.muted,f=void 0!==h&&h,b=e.percent,g=void 0===b?"":b,_=e.value,y=e.variant,v=void 0===y?"default":y,k=e.width,x={width:void 0===k?"100%":k},w=Object(s.c)(u),N=Object(s.d)(m),E="default"==v?"":v,j={width:"".concat(g||100*_/p,"%")},O=o()(Object(s.b)("pb_progress_simple_wrapper",t,{dark:i}),Object(l.c)(e),r),S=o()(Object(s.b)("pb_progress_simple_kit",{muted:f},E,t),r);return a.a.createElement("div",Object.assign({},w,N,{className:O}),a.a.createElement("div",{className:S,"data-value":_,style:x},a.a.createElement("div",{className:"progress_simple_value",style:j})))},Cr=r(125),zr=r(64),Tr=r(80),Ar=r(216),Mr=r(53),Pr=r(82),Ir=r(62),Dr=r(94),Lr=r(126);function $r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Rr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Br=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},Fr=function(e){var t=e.aria,r=void 0===t?{}:t,i=e.checked,c=void 0!==i&&i,u=e.children,d=e.className,m=e.data,p=void 0===m?{}:m,h=e.defaultChecked,f=e.htmlOptions,b=void 0===f?{}:f,g=e.id,_=e.label,y=e.text,v=void 0===y?"":y,k=e.name,x=void 0===k?"":k,w=e.value,N=void 0===w?"":w,E=e.variant,j=void 0===E?"checkbox":E,O=e.onChange,S=void 0===O?function(){}:O,C=Br(e,["aria","checked","children","className","data","defaultChecked","htmlOptions","id","label","text","name","value","variant","onChange"]),z=Object(s.a)(r),T=Object(s.c)(p),A=Object(s.d)(b),M=o()(Object(s.b)("pb_selectable_list_item_kit"),Object(l.c)(C),d),P=c,I=$r(Object(n.useState)(P),2),D=I[0],L=I[1];return a.a.createElement(ur.a,Object.assign({},C,{className:o()(D?"checked_item":"",d)}),a.a.createElement("div",Object.assign({},z,T,A,{className:M}),"checkbox"==j&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Ie.a,Object.assign({checked:D,id:g,name:x,onChange:function(e){S(e),L(e.target.checked)},text:_||v&&!1,type:"checkbox",value:N},C)),u),"radio"==j&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Tr.a,Object.assign({defaultChecked:h,id:g,label:_,name:x,onChange:S,text:_,type:"radio",value:N},C)),u),"checkbox"!==j&&"radio"!==j&&{children:u}))};function qr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ur=function(e){var t,r,i=e.aria,c=void 0===i?{}:i,u=e.children,d=e.className,m=e.data,p=void 0===m?{}:m,h=e.htmlOptions,f=void 0===h?{}:h,b=e.id,g=Object(s.a)(c),_=o()(Object(s.b)("pb_selectable_list_kit"),Object(l.c)(e),d),y=Object(s.c)(p),v=Object(s.d)(f),k="radio"===e.variant,x=null===(r=null===(t=u.filter((function(e){return e.props.defaultChecked}))[0])||void 0===t?void 0:t.props)||void 0===r?void 0:r.value,w=qr(Object(n.useState)(x),2),N=w[0],E=w[1],j=u;return k&&(j=u.map((function(e){var t=e.props;return a.a.createElement(Fr,Object.assign({},t,{className:o()(N===t.value?"checked_item":"",t.className),key:t.value,onChange:function(e){var r,n;n=e.target,E(n.value),null===(r=null==t?void 0:t.onChange)||void 0===r||r.call(t,e)}}))}))),a.a.createElement("div",Object.assign({},g,y,v,{className:_,id:b}),a.a.createElement(cr.a,{variant:e.variant},j))};Ur.Item=Fr;var Hr=Ur,Wr=r(95),Gr=r(61),Yr=r(197),Xr=r(146),Zr=r(117),Kr=r(36),Jr=r(90),Qr=r(60),en=function(e){return"".concat(He.a.toTimeZone(e))},tn=function(e){return"".concat(He.a.toHour(e),":").concat(He.a.toMinute(e)).concat(He.a.toMeridiem(e))},rn=function(e){return He.a.toIso(e)},nn=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.className,i=e.data,c=void 0===i?{}:i,u=e.alignment,d=void 0===u?"left":u,m=e.htmlOptions,p=void 0===m?{}:m,h=e.size,f=void 0===h?"sm":h,b=e.dark,g=void 0!==b&&b,_=e.icon,y=void 0!==_&&_,v=e.timezone,k=void 0!==v&&v,x=e.startTime,w=e.endTime,N=e.id,E=Object(s.c)(c),j=Object(s.a)(r),O=Object(s.d)(p),S=a.a.createElement(Ce.a,{color:"light"},a.a.createElement(te.a,{className:"pb_time_range_inline_arrow",dark:g,fixedWidth:!0,icon:"long-arrow-right"})),C=function(){return y&&a.a.createElement(Ce.a,{color:"light",tag:"span"},a.a.createElement(te.a,{className:"pb_time_range_inline_icon",dark:g,fixedWidth:!0,icon:"clock",size:f,tag:"span"}))};return a.a.createElement("div",Object.assign({},j,E,O,{className:o()("pb_time_range_inline_kit_"+d,Object(l.c)(e),n),id:N}),a.a.createElement("div",{className:"pb_time_range_inline_wrapper"},"xs"==f&&a.a.createElement(a.a.Fragment,null,a.a.createElement(pe.a,{dark:g,tag:"span"},C(),a.a.createElement("time",{dateTime:rn(x)}," ".concat(tn(x)," "))),a.a.createElement(pe.a,{className:"pb_time_range_inline_arrow",dark:g,tag:"span"},S),a.a.createElement(pe.a,{dark:g,tag:"span"},a.a.createElement("time",{dateTime:rn(w)}," ".concat(tn(w)," "))),k&&a.a.createElement(pe.a,{className:"pb_time_range_inline_timezone",dark:g,tag:"span"},en(w))),"sm"==f&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Ce.a,{dark:g,tag:"span"},C(),a.a.createElement("time",{dateTime:rn(x)}," ".concat(tn(x)," "))),a.a.createElement(Ce.a,{className:"pb_time_range_inline_arrow",dark:g,tag:"span"},S),a.a.createElement(Ce.a,{dark:g,tag:"span"},a.a.createElement("time",{dateTime:rn(w)}," ".concat(tn(w)," "))),k&&a.a.createElement(Ce.a,{className:"pb_time_range_inline_timezone",color:"light",dark:g,tag:"span"},en(w)))))},an=r(167),on=r(65),sn=r(30),ln=r(124),cn=r(87),un=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},dn=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.checked,i=void 0!==n&&n,c=e.children,u=e.className,d=e.data,m=void 0===d?{}:d,p=e.id,h=e.htmlOptions,f=void 0===h?{}:h,b=e.name,g=e.onChange,_=void 0===g?function(){}:g,y=e.size,v=void 0===y?"sm":y,k=e.value,x=un(e,["aria","checked","children","className","data","id","htmlOptions","name","onChange","size","value"]),w=Object(s.a)(r),N=Object(s.c)(m),E=Object(s.d)(f),j=o()(Object(s.b)("pb_toggle_kit",v,{on:i,off:!i}));return a.a.createElement("div",Object.assign({},w,N,E,{className:o()(j,Object(l.c)(x),u),id:p}),a.a.createElement("label",{className:"pb_toggle_wrapper"},c&&c,!c&&a.a.createElement("input",Object.assign({},x,{defaultChecked:i,name:b,onChange:_,type:"checkbox",value:k})),a.a.createElement("div",{className:"pb_toggle_control"})))},mn=r(173),pn=r(113),hn=r(115),fn=r(122),bn=r(175),gn=r(135),_n=r(23),yn=r(29),vn=r.n(yn),kn=r(164),xn=r.n(kn),wn=r(292),Nn=r.n(wn),En=r(233),jn=r.n(En),On=r(130),Sn=r(88),Cn=r.n(Sn),zn=r(293);function Tn(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 An(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(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 In(e,t,r){return t&&Pn(e.prototype,t),r&&Pn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ln(){return(Ln=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 $n(e,t){if("function"!=typeof t&&null!==t)throw new 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&&Bn(e,t)}function Rn(e){return(Rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Bn(e,t){return(Bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Fn(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function qn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qn(e)}function Un(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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=Rn(e);if(t){var a=Rn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Vn(this,r)}}var Hn={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},Wn="tour:start",Gn="step:before",Yn="beacon",Xn="tooltip",Zn="step:after",Kn="tour:end",Jn="tour:status",Qn="error:target_not_found",ea={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},ta={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},ra=xn.a.canUseDOM,na=void 0!==yn.createPortal;function aa(){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 ia(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function oa(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 sa(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function la(e,t){return!(!_n.a.plainObject(e)||!_n.a.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function ca(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,r,n){return t+t+r+r+n+n})),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function ua(e){return e.disableBeacon||"center"===e.placement}function da(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(aa()))}function ma(e){var t=e.title,r=e.data,n=e.warn,a=void 0!==n&&n,i=e.debug,o=void 0!==i&&i,s=a?console.warn||console.error:console.log;o&&(t&&r?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(r)?r.forEach((function(e){_n.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[r]),console.groupEnd()):console.error("Missing title or data props"))}var pa={action:"",controlled:!1,index:0,lifecycle:ea.INIT,size:0,status:ta.IDLE},ha=["action","index","lifecycle","status"];function fa(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]:{},a=n.continuous,i=void 0!==a&&a,o=n.stepIndex,s=n.steps,l=void 0===s?[]:s;Mn(this,e),Dn(this,"listener",void 0),Dn(this,"setSteps",(function(e){var n=t.getState(),a=n.size,i=n.status,o={size:e.length,status:i};r.set("steps",e),i===ta.WAITING&&!a&&e.length&&(o.status=ta.RUNNING),t.setState(o)})),Dn(this,"addListener",(function(e){t.listener=e})),Dn(this,"update",(function(e){if(!la(e,ha))throw new Error("State is not valid. Valid keys: ".concat(ha.join(", ")));t.setState(An({},t.getNextState(An(An(An({},t.getState()),e),{},{action:e.action||Hn.UPDATE}),!0)))})),Dn(this,"start",(function(e){var r=t.getState(),n=r.index,a=r.size;t.setState(An(An({},t.getNextState({action:Hn.START,index:_n.a.number(e)?e:n},!0)),{},{status:a?ta.RUNNING:ta.WAITING}))})),Dn(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=t.getState(),n=r.index,a=r.status;-1===[ta.FINISHED,ta.SKIPPED].indexOf(a)&&t.setState(An(An({},t.getNextState({action:Hn.STOP,index:n+(e?1:0)})),{},{status:ta.PAUSED}))})),Dn(this,"close",(function(){var e=t.getState(),r=e.index;e.status===ta.RUNNING&&t.setState(An({},t.getNextState({action:Hn.CLOSE,index:r+1})))})),Dn(this,"go",(function(e){var r=t.getState(),n=r.controlled,a=r.status;if(!n&&a===ta.RUNNING){var i=t.getSteps()[e];t.setState(An(An({},t.getNextState({action:Hn.GO,index:e})),{},{status:i?a:ta.FINISHED}))}})),Dn(this,"info",(function(){return t.getState()})),Dn(this,"next",(function(){var e=t.getState(),r=e.index;e.status===ta.RUNNING&&t.setState(t.getNextState({action:Hn.NEXT,index:r+1}))})),Dn(this,"open",(function(){t.getState().status===ta.RUNNING&&t.setState(An({},t.getNextState({action:Hn.UPDATE,lifecycle:ea.TOOLTIP})))})),Dn(this,"prev",(function(){var e=t.getState(),r=e.index;e.status===ta.RUNNING&&t.setState(An({},t.getNextState({action:Hn.PREV,index:r-1})))})),Dn(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=t.getState(),n=r.controlled;n||t.setState(An(An({},t.getNextState({action:Hn.RESET,index:0})),{},{status:e?ta.RUNNING:ta.READY}))})),Dn(this,"skip",(function(){t.getState().status===ta.RUNNING&&t.setState({action:Hn.SKIP,lifecycle:ea.INIT,status:ta.SKIPPED})})),this.setState({action:Hn.INIT,controlled:_n.a.number(o),continuous:i,index:_n.a.number(o)?o:0,lifecycle:ea.INIT,status:l.length?ta.READY:ta.IDLE},!0),this.setSteps(l)}return In(e,[{key:"setState",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),a=An(An({},n),e),i=a.action,o=a.index,s=a.lifecycle,l=a.size,c=a.status;t.set("action",i),t.set("index",o),t.set("lifecycle",s),t.set("size",l),t.set("status",c),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")||""}:An({},pa)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getState(),n=r.action,a=r.controlled,i=r.index,o=r.size,s=r.status,l=_n.a.number(e.index)?e.index:i,c=a&&!t?i:Math.min(Math.max(l,0),o);return{action:e.action||n,controlled:a,index:c,lifecycle:e.lifecycle||ea.INIT,size:e.size||o,status:c===o?ta.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 ba(e){return e?e.getBoundingClientRect():{}}function ga(e){return"string"==typeof e?document.querySelector(e):e}function _a(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function ya(e,t,r){var n=jn()(e);return n.isSameNode(Na())?r?document:Na():n.scrollHeight>n.offsetHeight||t?n:(n.style.overflow="initial",Na())}function va(e,t){return!!e&&!ya(e,t).isSameNode(Na())}function ka(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&&(_a(e).position===t||ka(e.parentNode,t))}function xa(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?xa(e.offsetParent)+e.offsetTop:e.offsetTop:0}function wa(e,t,r){if(!e)return 0;var n=jn()(e),a=xa(e);return va(e,r)&&!function(e){return e.offsetParent!==document.body}(e)&&(a-=xa(n)),Math.floor(a-t)}function Na(){return document.scrollingElement||document.createElement("body")}!function(e){function t(t,r,n,a,i,o){var s=a||"<<anonymous>>",l=o||n;if(null==r[n])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[r,n,s,i,l].concat(u))}var r=t.bind(null,!1);r.isRequired=t.bind(null,!0)}((function(e,t,r,n,i){var o=e[t],s=o;if(!a.a.isValidElement(o)&&Object(On.isValidElementType)(o)){var l={ref:function(){},step:{}};s=a.a.createElement(s,l)}if(_n.a.string(o)||_n.a.number(o)||!Object(On.isValidElementType)(o)||-1===[On.Element,On.ForwardRef].indexOf(Object(On.typeOf)(s)))return new Error("Invalid ".concat(n," `").concat(i,"` supplied to `").concat(r,"`. Expected a React class or forwardRef."))}));var Ea={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},ja={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},Oa={borderRadius:4,position:"absolute"};var Sa={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 Ca(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,r){return t[r]=e[r],t}),{})}function za(e,t){if(!e)return null;var r=Cn.a.all([Ca(t),Sa.step,e],{isMergeableObject:_n.a.plainObject}),n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Cn()(Ea,e.options||{}),r=290;window.innerWidth>480&&(r=380),t.width&&(r=window.innerWidth<t.width?window.innerWidth-30:t.width);var n={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},a={beacon:An(An({},ja),{},{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.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(ca(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:r},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:An(An({},ja),{},{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:An(An({},ja),{},{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:An(An({},ja),{},{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:An(An({},ja),{},{color:t.textColor,fontSize:14}),overlay:An(An({},n),{},{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:An({},n),overlayLegacyCenter:An(An({},n),{},{backgroundColor:t.overlayColor}),spotlight:An(An({},Oa),{},{backgroundColor:"gray"}),spotlightLegacy:An(An({},Oa),{},{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex+100}},options:t};return Cn()(a,e)}(Cn()(t.styles||{},e.styles||{})),a=va(ga(e.target),r.disableScrollParentFix),i=Cn.a.all([t.floaterProps||{},Sa.floaterProps,r.floaterProps||{}]);return i.offset=r.offset,i.styles=Cn()(i.styles||{},n.floaterStyles||{}),delete n.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding||0,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),a&&(i.options.preventOverflow.boundariesElement="window"),An(An({},r),{},{locale:Cn.a.all([Sa.locale,t.locale||{},r.locale||{}]),floaterProps:i,styles:n})}function Ta(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return _n.a.plainObject(e)?!!e.target||(ma({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(ma({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function Aa(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return _n.a.array(e)?e.every((function(e){return Ta(e,t)})):(ma({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Ma=In((function e(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Mn(this,e),Dn(this,"element",void 0),Dn(this,"options",void 0),Dn(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&r.canHaveFocus(e)})),Dn(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)})),Dn(this,"findValidTabElements",(function(){return[].slice.call(r.element.querySelectorAll("*"),0).filter(r.canBeTabbed)})),Dn(this,"handleKeyDown",(function(e){var t=r.options.keyCode,n=void 0===t?9:t;e.keyCode===n&&r.interceptTab(e)})),Dn(this,"interceptTab",(function(e){var t=r.findValidTabElements();if(t.length){e.preventDefault();var n=e.shiftKey,a=t.indexOf(document.activeElement);-1===a||!n&&a+1===t.length?a=0:n&&0===a?a=t.length-1:a+=n?-1:1,t[a].focus()}})),Dn(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"))})),Dn(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})),Dn(this,"removeScope",(function(){window.removeEventListener("keydown",r.handleKeyDown)})),Dn(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return r.checkFocus(e)})))})),Dn(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 new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=n,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()})),Pa=function(e){$n(r,e);var t=Un(r);function r(e){var n;if(Mn(this,r),Dn(qn(n=t.call(this,e)),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var a=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.id="joyride-beacon-animation",void 0!==e.nonce&&i.setAttribute("nonce",e.nonce),i.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 ")),a.appendChild(i)}return n}return In(r,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){_n.a.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,t=this.props,r=t.beaconComponent,n=t.locale,i=t.onClickOrHover,o=t.styles,s={"aria-label":n.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:n.open};if(r){var l=r;e=a.a.createElement(l,s)}else e=a.a.createElement("button",Ln({key:"JoyrideBeacon",className:"react-joyride__beacon",style:o.beacon,type:"button"},s),a.a.createElement("span",{style:o.beaconInner}),a.a.createElement("span",{style:o.beaconOuter}));return e}}]),r}(a.a.Component);function Ia(e){var t=e.styles;return a.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})}var Da=["mixBlendMode","zIndex"],La=function(e){$n(r,e);var t=Un(r);function r(){var e;Mn(this,r);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return Dn(qn(e=t.call.apply(t,[this].concat(a))),"_isMounted",!1),Dn(qn(e),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),Dn(qn(e),"handleMouseMove",(function(t){var r=e.state.mouseOverSpotlight,n=e.spotlightStyles,a=n.height,i=n.left,o=n.position,s=n.top,l=n.width,c="fixed"===o?t.clientY:t.pageY,u="fixed"===o?t.clientX:t.pageX,d=u>=i&&u<=i+l&&(c>=s&&c<=s+a);d!==r&&e.updateState({mouseOverSpotlight:d})})),Dn(qn(e),"handleScroll",(function(){var t=ga(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)):ka(t,"sticky")&&e.updateState({})})),Dn(qn(e),"handleResize",(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout((function(){e._isMounted&&e.forceUpdate()}),100)})),e}return In(r,[{key:"componentDidMount",value:function(){var e=this.props;e.debug,e.disableScrolling;var t=e.disableScrollParentFix,r=ga(e.target);this.scrollParent=ya(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,a=r.spotlightClicks,i=Object(gn.a)(e,this.props).changed;i("lifecycle",ea.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(a&&n===ea.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==ea.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=this.state.showSpotlight,t=this.props,r=t.disableScrollParentFix,n=t.spotlightClicks,a=t.spotlightPadding,i=t.styles,o=ga(t.target),s=ba(o),l=ka(o),c=function(e,t,r){var n=ba(e),a=ya(e,r),i=va(e,r),o=0;a instanceof HTMLElement&&(o=a.scrollTop);var s=n.top+(i||ka(e)?0:o);return Math.floor(s-t)}(o,a,r);return An(An({},da()?i.spotlightLegacy:i.spotlight),{},{height:Math.round(s.height+2*a),left:Math.round(s.left-a),opacity:e?1:0,pointerEvents:n?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*a)})}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,r=e.showSpotlight,n=this.props,i=n.disableOverlay,o=n.disableOverlayClose,s=n.lifecycle,l=n.onClickOverlay,c=n.placement,u=n.styles;if(i||s!==ea.TOOLTIP)return null;var d=u.overlay;da()&&(d="center"===c?u.overlayLegacyCenter:u.overlayLegacy);var m,p,h,f=An({cursor:o?"default":"pointer",height:(m=document,p=m.body,h=m.documentElement,p&&h?Math.max(p.scrollHeight,p.offsetHeight,h.clientHeight,h.scrollHeight,h.offsetHeight):0),pointerEvents:t?"none":"auto"},d),b="center"!==c&&r&&a.a.createElement(Ia,{styles:this.spotlightStyles});if("safari"===aa()){f.mixBlendMode,f.zIndex;var g=Fn(f,Da);b=a.a.createElement("div",{style:An({},g)},b),delete f.backgroundColor}return a.a.createElement("div",{className:"react-joyride__overlay",style:f,onClick:l},b)}}]),r}(a.a.Component),$a=["styles"],Ra=["color","height","width"];function Ba(e){var t=e.styles,r=Fn(e,$a),n=t.color,i=t.height,o=t.width,s=Fn(t,Ra);return a.a.createElement("button",Ln({style:s,type:"button"},r),a.a.createElement("svg",{width:"number"==typeof o?"".concat(o,"px"):o,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},a.a.createElement("g",null,a.a.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:n}))))}var Fa=function(e){$n(r,e);var t=Un(r);function r(){return Mn(this,r),t.apply(this,arguments)}return In(r,[{key:"render",value:function(){var e=this.props,t=e.backProps,r=e.closeProps,n=e.continuous,i=e.index,o=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,d=e.tooltipProps,m=u.content,p=u.hideBackButton,h=u.hideCloseButton,f=u.hideFooter,b=u.showProgress,g=u.showSkipButton,_=u.title,y=u.styles,v=u.locale,k=v.back,x=v.close,w=v.last,N=v.next,E=v.skip,j={primary:x};return n&&(j.primary=o?w:N,b&&(j.primary=a.a.createElement("span",null,j.primary," (",i+1,"/",l,")"))),g&&!o&&(j.skip=a.a.createElement("button",Ln({style:y.buttonSkip,type:"button","aria-live":"off"},c),E)),!p&&i>0&&(j.back=a.a.createElement("button",Ln({style:y.buttonBack,type:"button"},t),k)),j.close=!h&&a.a.createElement(Ba,Ln({styles:y.buttonClose},r)),a.a.createElement("div",Ln({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:y.tooltip},d),a.a.createElement("div",{style:y.tooltipContainer},_&&a.a.createElement("h4",{style:y.tooltipTitle,"aria-label":_},_),a.a.createElement("div",{style:y.tooltipContent},m)),!f&&a.a.createElement("div",{style:y.tooltipFooter},a.a.createElement("div",{style:y.tooltipFooterSpacer},j.skip),j.back,a.a.createElement("button",Ln({style:y.buttonNext,type:"button"},s),j.primary)),j.close)}}]),r}(a.a.Component),qa=["beaconComponent","tooltipComponent"],Va=function(e){$n(r,e);var t=Un(r);function r(){var e;Mn(this,r);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return Dn(qn(e=t.call.apply(t,[this].concat(a))),"handleClickBack",(function(t){t.preventDefault(),e.props.helpers.prev()})),Dn(qn(e),"handleClickClose",(function(t){t.preventDefault(),e.props.helpers.close()})),Dn(qn(e),"handleClickPrimary",(function(t){t.preventDefault();var r=e.props,n=r.continuous,a=r.helpers;n?a.next():a.close()})),Dn(qn(e),"handleClickSkip",(function(t){t.preventDefault(),e.props.helpers.skip()})),Dn(qn(e),"getElementsProps",(function(){var t=e.props,r=t.continuous,n=t.isLastStep,a=t.setTooltipRef,i=t.step,o=oa(i.locale.back),s=oa(i.locale.close),l=oa(i.locale.last),c=oa(i.locale.next),u=oa(i.locale.skip),d=r?c:s;return n&&(d=l),{backProps:{"aria-label":o,"data-action":"back",onClick:e.handleClickBack,role:"button",title:o},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":u,"data-action":"skip",onClick:e.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:a,role:"alertdialog"}}})),e}return In(r,[{key:"render",value:function(){var e=this.props,t=e.continuous,r=e.index,n=e.isLastStep,i=e.size,o=e.step;o.beaconComponent;var s,l=o.tooltipComponent,c=Fn(o,qa);if(l){var u=An(An({},this.getElementsProps()),{},{continuous:t,index:r,isLastStep:n,size:i,step:c}),d=l;s=a.a.createElement(d,u)}else s=a.a.createElement(Fa,Ln({},this.getElementsProps(),{continuous:t,index:r,isLastStep:n,size:i,step:o}));return s}}]),r}(a.a.Component),Ua=function(e){$n(r,e);var t=Un(r);function r(){return Mn(this,r),t.apply(this,arguments)}return In(r,[{key:"componentDidMount",value:function(){ra&&(na||this.renderReact15())}},{key:"componentDidUpdate",value:function(){ra&&(na||this.renderReact15())}},{key:"componentWillUnmount",value:function(){ra&&this.node&&(na||vn.a.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(!ra)return null;var e=this.props.children;return this.node||this.appendNode(),vn.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!ra||!na)return null;var e=this.props.children;return this.node||this.appendNode(),vn.a.createPortal(e,this.node)}},{key:"render",value:function(){return na?this.renderReact16():null}}]),r}(a.a.Component),Ha=function(e){$n(r,e);var t=Un(r);function r(){var e;Mn(this,r);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return Dn(qn(e=t.call.apply(t,[this].concat(a))),"scope",{removeScope:function(){}}),Dn(qn(e),"handleClickHoverBeacon",(function(t){var r=e.props,n=r.step,a=r.update;"mouseenter"===t.type&&"hover"!==n.event||a({lifecycle:ea.TOOLTIP})})),Dn(qn(e),"handleClickOverlay",(function(){var t=e.props,r=t.helpers;t.step.disableOverlayClose||r.close()})),Dn(qn(e),"setTooltipRef",(function(t){e.tooltip=t})),Dn(qn(e),"setPopper",(function(t,r){var n=e.props,a=n.action,i=n.setPopper,o=n.update;"wrapper"===r?e.beaconPopper=t:e.tooltipPopper=t,i(t,r),e.beaconPopper&&e.tooltipPopper&&o({action:a===Hn.CLOSE?Hn.CLOSE:a,lifecycle:ea.READY})})),e}return In(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,r=e.index;ma({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,a=t.continuous,i=t.controlled,o=t.debug,s=t.index,l=t.lifecycle,c=t.size,u=t.status,d=t.step,m=t.update,p=Object(gn.a)(e,this.props),h=p.changed,f=p.changedFrom,b={action:r,controlled:i,index:s,lifecycle:l,size:c,status:u},g=a&&r!==Hn.CLOSE&&(s>0||r===Hn.PREV),_=h("action")||h("index")||h("lifecycle")||h("status"),y=f("lifecycle",[ea.TOOLTIP,ea.INIT],ea.INIT);if(h("action",[Hn.NEXT,Hn.PREV,Hn.SKIP,Hn.CLOSE])&&(y||i)&&n(An(An({},b),{},{index:e.index,lifecycle:ea.COMPLETE,step:e.step,type:Zn})),"center"===d.placement&&u===ta.RUNNING&&h("index")&&r!==Hn.START&&l===ea.INIT&&m({lifecycle:ea.READY}),_){var v=ga(d.target),k=!!v;k&&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,a=r.visibility;if("none"===n||"hidden"===a)return!1}t=t.parentNode}return!0}(v)?(f("status",ta.READY,ta.RUNNING)||f("lifecycle",ea.INIT,ea.READY))&&n(An(An({},b),{},{step:d,type:Gn})):(console.warn(k?"Target not visible":"Target not mounted",d),n(An(An({},b),{},{type:Qn,step:d})),i||m({index:s+(-1!==[Hn.PREV].indexOf(r)?-1:1)}))}f("lifecycle",ea.INIT,ea.READY)&&m({lifecycle:ua(d)||g?ea.TOOLTIP:ea.BEACON}),h("index")&&ma({title:"step:".concat(l),data:[{key:"props",value:this.props}],debug:o}),h("lifecycle",ea.BEACON)&&n(An(An({},b),{},{step:d,type:Yn})),h("lifecycle",ea.TOOLTIP)&&(n(An(An({},b),{},{step:d,type:Xn})),this.scope=new Ma(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),f("lifecycle",[ea.TOOLTIP,ea.INIT],ea.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!(!ua(t)&&r!==ea.TOOLTIP)}},{key:"render",value:function(){var e=this.props,t=e.continuous,r=e.debug,n=e.helpers,i=e.index,o=e.lifecycle,s=e.nonce,l=e.shouldScroll,c=e.size,u=e.step,d=ga(u.target);return Ta(u)&&_n.a.domElement(d)?a.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},a.a.createElement(Ua,{id:"react-joyride-portal"},a.a.createElement(La,Ln({},u,{debug:r,lifecycle:o,onClickOverlay:this.handleClickOverlay}))),a.a.createElement(zn.a,Ln({component:a.a.createElement(Va,{continuous:t,helpers:n,index:i,isLastStep:i+1===c,setTooltipRef:this.setTooltipRef,size:c,step:u}),debug:r,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||ka(d),open:this.open,placement:u.placement,target:u.target},u.floaterProps),a.a.createElement(Pa,{beaconComponent:u.beaconComponent,locale:u.locale,nonce:s,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,styles:u.styles}))):null}}]),r}(a.a.Component),Wa=function(e){$n(r,e);var t=Un(r);function r(e){var n;return Mn(this,r),Dn(qn(n=t.call(this,e)),"initStore",(function(){var e=n.props,t=e.debug,r=e.getHelpers,a=e.run,i=e.stepIndex;n.store=new fa(An(An({},n.props),{},{controlled:a&&_n.a.number(i)})),n.helpers=n.store.getHelpers();var o=n.store.addListener;return ma({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),o(n.syncState),r(n.helpers),n.store.getState()})),Dn(qn(n),"callback",(function(e){var t=n.props.callback;_n.a.function(t)&&t(e)})),Dn(qn(n),"handleKeyboard",(function(e){var t=n.state,r=t.index,a=t.lifecycle,i=n.props.steps[r],o=window.Event?e.which:e.keyCode;a===ea.TOOLTIP&&27===o&&i&&!i.disableCloseOnEsc&&n.store.close()})),Dn(qn(n),"syncState",(function(e){n.setState(e)})),Dn(qn(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),Dn(qn(n),"shouldScroll",(function(e,t,r,n,a,i,o){return!e&&(0!==t||r||n===ea.TOOLTIP)&&"center"!==a.placement&&(!a.isFixed||!ka(i))&&o.lifecycle!==n&&-1!==[ea.BEACON,ea.TOOLTIP].indexOf(n)})),n.state=n.initStore(),n}return In(r,[{key:"componentDidMount",value:function(){if(ra){var e=this.props,t=e.disableCloseOnEsc,r=e.debug,n=e.run,a=e.steps,i=this.store.start;Aa(a,r)&&n&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(ra){var r=this.state,a=r.action,i=r.controlled,o=r.index,s=r.lifecycle,l=r.status,c=this.props,u=c.debug,d=c.run,m=c.stepIndex,p=c.steps,h=e.steps,f=e.stepIndex,b=this.store,g=b.reset,_=b.setSteps,y=b.start,v=b.stop,k=b.update,x=Object(gn.a)(e,this.props).changed,w=Object(gn.a)(t,this.state),N=w.changed,E=w.changedFrom,j=za(p[o],this.props),O=!function e(t,r){var a,i=Object(n.isValidElement)(t)||Object(n.isValidElement)(r),o=_n.a.undefined(t)||_n.a.undefined(r);if(ia(t)!==ia(r)||i||o)return!1;if(_n.a.domElement(t))return t.isSameNode(r);if(_n.a.number(t))return t===r;if(_n.a.function(t))return t.toString()===r.toString();for(var s in t)if(sa(t,s)){if(void 0===t[s]||void 0===r[s])return!1;if(a=ia(t[s]),-1!==["object","array"].indexOf(a)&&e(t[s],r[s]))continue;if("function"===a&&e(t[s],r[s]))continue;if(t[s]!==r[s])return!1}for(var l in r)if(sa(r,l)&&void 0===t[l])return!1;return!0}(h,p),S=_n.a.number(m)&&x("stepIndex"),C=ga(null==j?void 0:j.target);if(O&&(Aa(p,u)?_(p):console.warn("Steps are not valid",p)),x("run")&&(d?y(m):v()),S){var z=f<m?Hn.NEXT:Hn.PREV;a===Hn.STOP&&(z=Hn.START),-1===[ta.FINISHED,ta.SKIPPED].indexOf(l)&&k({action:a===Hn.CLOSE?Hn.CLOSE:z,index:m,lifecycle:ea.INIT})}i||l!==ta.RUNNING||0!==o||C||(k({index:o+1}),this.callback(An(An({},this.state),{},{type:Qn,step:j})));var T=An(An({},this.state),{},{index:o,step:j});if(N("action",[Hn.NEXT,Hn.PREV,Hn.SKIP,Hn.CLOSE])&&N("status",ta.PAUSED)){var A=za(p[t.index],this.props);this.callback(An(An({},T),{},{index:t.index,lifecycle:ea.COMPLETE,step:A,type:Zn}))}if(N("status",[ta.FINISHED,ta.SKIPPED])){var M=za(p[t.index],this.props);i||this.callback(An(An({},T),{},{index:t.index,lifecycle:ea.COMPLETE,step:M,type:Zn})),this.callback(An(An({},T),{},{index:t.index,step:M,type:Kn})),g()}else E("status",[ta.IDLE,ta.READY],ta.RUNNING)?this.callback(An(An({},T),{},{type:Wn})):(N("status")||N("action",Hn.RESET))&&this.callback(An(An({},T),{},{type:Jn}));j&&(this.scrollToStep(t),"center"===j.placement&&l===ta.RUNNING&&a===Hn.START&&s===ea.INIT&&k({lifecycle:ea.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,a=t.status,i=this.props,o=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,d=i.scrollDuration,m=za(i.steps[r],this.props);if(m){var p=ga(m.target),h=this.shouldScroll(s,r,c,n,m,p,e);if(a===ta.RUNNING&&h){var f=va(p,l),b=ya(p,l),g=Math.floor(wa(p,u,l))||0;if(ma({title:"scrollToStep",data:[{key:"index",value:r},{key:"lifecycle",value:n},{key:"status",value:a}],debug:o}),n===ea.BEACON&&this.beaconPopper){var _=this.beaconPopper,y=_.placement,v=_.popper;-1!==["bottom"].indexOf(y)||f||(g=Math.floor(v.top-u))}else if(n===ea.TOOLTIP&&this.tooltipPopper){var k=this.tooltipPopper,x=k.flipped,w=k.placement,N=k.popper;-1===["top","right","left"].indexOf(w)||x||f?g-=m.spotlightPadding:g=Math.floor(N.top-u)}g=g>=0?g:0,a===ta.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Na(),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300;new Promise((function(n,a){var i=t.scrollTop,o=e>i?e-i:i-e;Nn.a.top(t,e,{duration:o<100?50:r},(function(e){return e&&"Element already at target scroll position"!==e.message?a(e):n()}))}))}(g,b,d)}}}},{key:"render",value:function(){if(!ra)return null;var e,t=this.state,r=t.index,n=t.status,i=this.props,o=i.continuous,s=i.debug,l=i.nonce,c=i.scrollToFirstStep,u=za(i.steps[r],this.props);return n===ta.RUNNING&&u&&(e=a.a.createElement(Ha,Ln({},this.state,{callback:this.callback,continuous:o,debug:s,setPopper:this.setPopper,helpers:this.helpers,nonce:l,shouldScroll:!u.disableScrolling&&(0!==r||c),step:u,update:this.store.update}))),a.a.createElement("div",{className:"react-joyride"},e)}}]),r}(a.a.Component);Dn(Wa,"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:[]});var Ga=a.a.forwardRef((function(e){return a.a.createElement("div",Object.assign({className:"pb_card_kit_border_none p_none"},e.tooltipProps),e.step.title&&a.a.createElement("div",null,a.a.createElement(Q.a,{align:"center",justify:"between",padding:"xs"},a.a.createElement(We.a,{paddingLeft:"xs",size:4},e.step.title),e.skip&&a.a.createElement(Ae.a,Object.assign({},e.skipProps,{id:"skip",text:"Skip Tour",variant:"link"})),a.a.createElement(Ae.a,Object.assign({},e.skipProps,{id:"skip",text:"Skip Tour",variant:"link"}))),a.a.createElement(Mr.a,null)),a.a.createElement(Q.a,{padding:"sm"},e.step.content),a.a.createElement(Mr.a,null),a.a.createElement(Q.a,{justify:0==e.index?"end":"between",padding:"xs"},e.index>0&&a.a.createElement(Ae.a,Object.assign({},e.backProps,{id:"back",text:"Back"})),e.continuous&&!e.isLastStep&&a.a.createElement(Ae.a,Object.assign({},e.primaryProps,{id:"next",text:"Next"})),!e.continuous&&a.a.createElement(Ae.a,Object.assign({},e.closeProps,{id:"close",text:"Close"})),!(e.continuous&&!e.isLastStep||!e.continuous)&&a.a.createElement(Ae.a,Object.assign({},e.closeProps,{id:"close",text:"Close"}))))})),Ya=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.callback,i=e.className,c=e.continuous,u=void 0!==c&&c,d=e.data,m=void 0===d?{}:d,p=e.disableOverlay,h=e.floaterProps,f=void 0===h?{offset:50}:h,b=e.htmlOptions,g=void 0===b?{}:b,_=e.id,y=e.run,v=void 0!==y&&y,k=e.steps,x=e.styles,w=void 0===x?{options:{zIndex:2e4}}:x,N=e.showSkipButton,E=Object(s.a)(r),j=Object(s.c)(m),O=Object(s.d)(g),S=o()(Object(s.b)("pb_walkthrough"),Object(l.c)(e),i);return a.a.createElement("div",Object.assign({},E,j,O,{className:S,id:_}),a.a.createElement(Wa,Object.assign({callback:n,continuous:u,disableOverlay:p,disableScrolling:!0,floaterProps:f,run:v,showSkipButton:N,steps:k,styles:w,tooltipComponent:Ga},e)))},Xa=r(129),Za=r(7),Ka=r.n(Za),Ja=r(9),Qa=r.n(Ja),ei=[Ka.a.data_1,Ka.a.data_2,Ka.a.data_3,Ka.a.data_4,Ka.a.data_5,Ka.a.data_6,Ka.a.data_7,Ka.a.data_8],ti=function(e){e.minorGridLineColor=Ka.a.slate,e.minorGridLineWidth=.5,e.minorGridLineDashStyle="Dash",e.gridLineWidth=.5,e.gridLineColor=Ka.a.slate,e.gridLineDashStyle="Dash",e.lineColor=Ka.a.sky,e.labels.style.fontFamily=Qa.a.font_family_base,e.labels.style.color=Ka.a.charcoal,e.labels.style.fontWeight=Qa.a.light,e.labels.style.fontSize=Qa.a.font_small},ri=function(e){!function(e){e.series.forEach((function(e,t){var r=ei[t];e.color=r,e.data.forEach((function(e){e.color&&(e.color=r),e.marker&&(e.marker.lineColor&&(e.marker.lineColor=r),void 0!==e.marker.states.hover&&(e.marker.states.hover.lineColor=r),e.marker.states.select.lineColor&&(e.marker.states.select.lineColor=r))}))}))}(e),function(e){Array.isArray(e.yAxis)?e.yAxis.forEach((function(e){ti(e)})):ti(e.yAxis),Array.isArray(e.xAxis)?e.xAxis.forEach((function(e){ti(e)})):ti(e.xAxis)}(e),function(e){e.chart.spacingTop=30,e.chart.spacingBottom=40,e.chart.spacingLeft=50,e.chart.spacingRight=50}(e),function(e){e.legend.itemStyle.fontFamily=Qa.a.font_family_base,e.legend.itemStyle.color=Ka.a.text_lt_light,e.legend.itemStyle.fontWeight=Qa.a.regular,e.legend.itemStyle.fontSize=Qa.a.text_smaller}(e)},ni=function(e){ri(e),function(e){var t=e.plotOptions.series;t.dataLabels.style.fontFamily=Qa.a.font_family_base,t.dataLabels.style.fontSize=Qa.a.text_small,t.dataLabels.style.fontWeight=Qa.a.bold}(e),function(e){e.plotOptions.line.marker.enabled=!0,e.plotOptions.series.marker.enabled=!0,e.plotOptions.series.marker.fillColor="white",e.plotOptions.series.marker.lineWidth=2}(e),document.getElementById("main-view").setAttribute("style","position: static !important")},ai=function(e){ri(e),function(e){var t=e.plotOptions.column,r=e.plotOptions.series;t.borderRadius=0,t.pointPadding=.3,t.groupPadding=0,r.borderWidth=0,r.shadow=!1,r.pointPadding=.25,r.groupPadding=0}(e),function(e){var t=e.plotOptions.series;t.dataLabels.style.fontFamily=Qa.a.font_family_base,t.dataLabels.style.fontSize=Qa.a.text_small,t.dataLabels.style.fontWeight=Qa.a.bold}(e)},ii={title:{fontFamily:Qa.a.font_family_base,color:Ka.a.text_lt_light,fontSizes:{big:Qa.a.text_large,medium:Qa.a.text_base,small:Qa.a.text_small,micro:Qa.a.text_small}},secondaryTitle:{color:Ka.a.text_lt_light,fontFamily:Qa.a.font_family_base,fontSizes:{big:Qa.a.text_large,medium:Qa.a.text_base,small:Qa.a.text_small,micro:Qa.a.text_small}},value:{fontFamily:Qa.a.font_family_base,color:Ka.a.text_lt_default,fontWeight:Qa.a.lighter,fontSizes:{big:Qa.a.heading_1,medium:Qa.a.heading_1,small:Qa.a.text_base,micro:Qa.a.text_small}},secondaryValue:{fontFamily:Qa.a.font_family_base,fontSizes:{big:Qa.a.text_large,medium:Qa.a.text_base,small:Qa.a.text_small,micro:Qa.a.text_small}}},oi=r(174),si=r(212),li=r(170),ci=r(172),ui=r(213),di=r(214),mi=r(215),pi={marker:Ka.a.primary_action,maptiles:"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",flyToConfig:{zoom:13,bearing:0,curve:1.42,easing:function(e){return e},essential:!0},zoomConfig:{duration:1e3},mapConfig:{style:"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",zoom:13,attributionControl:!1}},hi=r(171),fi=r(283),bi=r.n(fi),gi=r(284),_i=r.n(gi),yi=r(285),vi=r.n(yi),ki=r(286),xi=r.n(ki),wi=r(287),Ni=r.n(wi),Ei=r(288),ji=r.n(Ei),Oi=r(289),Si=r.n(Oi),Ci=r(290),zi=r.n(Ci)},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return c})),r.d(t,"d",(function(){return u}));var n=r(3),a=r.n(n),i=function(e,t){return Object.keys(t).reduce((function(r,n){return r["".concat(e,"-").concat(n)]=t[n],r}),{})},o=function(){},s=function(e){return i("aria",e)},l=function(e){return i("data",e)},c=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a()(t).replace(/\s/g,"_")},u=function(e){var t={};return Object.keys(e).forEach((function(r){t[r]=e[r]})),t}},function(e,t,r){var n;
|
23
|
+
function Z(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?n.createElement(e,t):e:null;var r}function K(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Q=r(8),ee=r(16),te=r(5),re=Object(n.createContext)({});function ne(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ae=function(e){var t=e.getValue,r=e.onRowToggleClick,i=e.row,o=e.value,s=Object(n.useContext)(re),l=s.setExpanded,c=s.expanded,u=s.inlineRowLoading,d=!!i.original.children,m=u?d:i.getCanExpand();return a.a.createElement("div",{style:{paddingLeft:"".concat(1.25*i.depth,"em")}},a.a.createElement(Q.a,{alignItems:"center",columnGap:"xs",orientation:"row"},m?a.a.createElement("button",{className:"gray-icon expand-toggle-icon",onClick:function(){return function(e){r&&r(e),l(Object.assign(Object.assign({},c),ne({},e.id,!e.getIsExpanded())))}(i)}},i.getIsExpanded()?a.a.createElement(te.a,{cursor:"pointer",icon:"circle-play",rotation:90}):a.a.createElement(te.a,{cursor:"pointer",icon:"circle-play"})):null,a.a.createElement(ee.a,{paddingLeft:m?"none":"xs"},0===i.depth?t():o)))},ie=function(e){return"string"==typeof e?[e,e]:e},oe=function(e){var t=e.header,r=e.sortIcon;return a.a.createElement(a.a.Fragment,null,"desc"===t.column.getIsSorted()?a.a.createElement("div",{className:"sort-button-icon",key:ie(r)[0]},a.a.createElement(te.a,{icon:ie(r)[0]})):a.a.createElement("div",{className:"sort-button-icon",key:ie(r)[1]},a.a.createElement(te.a,{icon:ie(r)[1]})))},se=function(e){var t=e.row,r=e.onClick,i=Object(n.useContext)(re).toggleExpansionIcon;return a.a.createElement("button",{className:"gray-icon toggle-all-icon",key:ie(i)[0],onClick:function(){return r(t)}},a.a.createElement(te.a,{cursor:"pointer",fixedWidth:!0,icon:ie(i)[0]}))},le=function(){var e=navigator.userAgent.toLowerCase();return e.includes("chrome")&&!e.includes("edg")},ce=function(e){var t=e.enableSorting,r=e.enableToggleExpansion,i=e.handleExpandOrCollapse,s=e.header,l=e.headerChildren,c=e.loading,u=e.sortIcon,d=Object(n.useContext)(re).sortControl,m=function(e){d?"desc"===s.column.getIsSorted()?d.onChange({desc:!0}):d.onChange({desc:!1}):s.column.getToggleSortingHandler()(e)},p=o()("table-header-cells","".concat(le()?"chrome-styles":""),"".concat(t?"table-header-cells-active":"")),h="".concat(c?"loading-".concat(s.id):"".concat(s.id)),f=0===s.index&&c&&("all"===r||"header")&&"none"!==r,b=0===s.index&&!c&&("all"===r||"header")&&"none"!==r;return a.a.createElement("th",{align:"right",className:p,id:h,key:"".concat(s.id,"-header")},s.isPlaceholder?null:l&&0===s.index?a.a.createElement(Q.a,{alignItems:"center"},l,a.a.createElement("div",null,Z(s.column.columnDef.header,s.getContext()))):a.a.createElement(Q.a,{alignItems:"center",justify:0===s.index&&t?"between":0!==s.index||t?"end":"start"},b&&a.a.createElement(se,{onClick:i}),f&&a.a.createElement("div",{className:"loading-toggle-icon header-toggle-icon"}),a.a.createElement(Q.a,Object.assign({className:"".concat(0===s.index&&t&&"header-sort-button pb_th_link"),cursor:0===s.index&&t?"pointer":"default"},0===s.index&&t&&{htmlOptions:{onClick:function(e){return m(e)},onKeyDown:function(e){"Enter"===e.key&&m(e)},tabIndex:0}},{justify:0===s.index&&t?"between":"none",paddingLeft:t?"xxs":"xs"}),a.a.createElement("div",null,Z(s.column.columnDef.header,s.getContext())),0===s.index&&s.column.getCanSort()&&t&&(c?a.a.createElement("div",{className:"loading-toggle-icon"}):a.a.createElement(oe,{header:s,sortIcon:u})))))},ue=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},de=function(e){var t=e.children,r=e.className,i=e.enableSorting,c=void 0!==i&&i,u=e.id,d=e.sortIcon,m=void 0===d?["arrow-up-short-wide","arrow-down-short-wide"]:d,p=ue(e,["children","className","enableSorting","id","sortIcon"]),h=Object(n.useContext)(re),f=h.enableToggleExpansion,b=h.handleExpandOrCollapse,g=h.loading,_=h.table,y=o()(Object(s.b)("pb_advanced_table_header"),Object(l.c)(p),r);return a.a.createElement(a.a.Fragment,null,a.a.createElement("thead",{className:y,id:u},_.getHeaderGroups().map((function(e){return a.a.createElement("tr",{key:"".concat(e.id,"-headerGroup")},e.headers.map((function(e){return a.a.createElement(ce,{enableSorting:c,enableToggleExpansion:f,handleExpandOrCollapse:b,header:e,headerChildren:t,key:"".concat(e.id,"-header"),loading:g,sortIcon:m})})))}))))},me=r(166),pe=r(15),he=function(e){var t=e.leftOffset,r={position:"absolute",left:"".concat(t,"em"),top:0,bottom:0,width:"2px",backgroundColor:"#E4E8F0"};return a.a.createElement("div",{style:r})},fe=function(e){for(var t=[],r=1;r<=e;r++){var n=1*r+(r>1?.25*(r-1):0);t.push(a.a.createElement(he,{key:r,leftOffset:n}))}return t},be=function(e){var t=e.collapsibleTrail,r=e.enableToggleExpansion,i=e.onClick,o=e.row,s=e.subRowHeaders,l=e.table,c=Object(n.useContext)(re).inlineRowLoading,u=l.getAllFlatColumns().length,d=!!o.original.children,m=c?d:o.getCanExpand();return a.a.createElement("tr",{className:"custom-row bg-silver"},a.a.createElement("td",{className:"custom-row-first-column ".concat(le()?"chrome-styles":""),colSpan:1},t&&o.depth>0&&fe(o.depth),a.a.createElement("div",{style:{paddingLeft:"".concat(1.25*o.depth,"em")}},a.a.createElement(Q.a,{align:"center",columnGap:"xs"},"all"===r&&m?a.a.createElement(se,{onClick:i,row:o}):null,a.a.createElement(pe.a,{marginLeft:m?"none":"xs",text:s[o.depth-1]})))),a.a.createElement("td",{colSpan:u-1}))},ge=function(){return a.a.createElement("div",{className:"loading-cell"})},_e=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},ye=function(e){var t=e.className,r=e.collapsibleTrail,i=void 0===r||r,c=e.id,u=e.subRowHeaders,d=_e(e,["className","collapsibleTrail","id","subRowHeaders"]),m=Object(n.useContext)(re),p=m.columnDefinitions,h=m.enableToggleExpansion,f=m.handleExpandOrCollapse,b=m.inlineRowLoading,g=m.loading,_=m.table,y=o()(Object(s.b)("pb_advanced_table_body"),Object(l.c)(d),t);return a.a.createElement(a.a.Fragment,null,a.a.createElement("tbody",{className:y,id:c},_.getRowModel().rows.map((function(e){var t,r=e.getIsExpanded(),n=e.depth>0&&0===e.index,o=!(!e.original.children||e.original.children.length),s=_.getAllFlatColumns().length,l=r&&b&&o&&e.depth<(null===(t=p[0].cellAccessors)||void 0===t?void 0:t.length);return a.a.createElement(a.a.Fragment,{key:"".concat(e.index,"-").concat(e.id,"-").concat(e.depth,"-row")},n&&u&&a.a.createElement(be,{collapsibleTrail:i,enableToggleExpansion:h,onClick:f,row:e,subRowHeaders:u,table:_}),a.a.createElement("tr",{className:"".concat(r?"bg-silver":"bg-white"," ").concat(e.depth>0?"depth-sub-row-".concat(e.depth):""),id:"".concat(e.index,"-").concat(e.id,"-").concat(e.depth,"-row")},e.getVisibleCells().map((function(t,r){return a.a.createElement("td",{align:"right",className:"".concat(t.id,"-cell position_relative ").concat(le()?"chrome-styles":""),key:"".concat(t.id,"-data")},i&&0===r&&e.depth>0&&fe(e.depth),a.a.createElement("span",{id:"".concat(t.id,"-span")},g?a.a.createElement(ge,null):Z(t.column.columnDef.cell,t.getContext())))}))),l?a.a.createElement("tr",{key:"".concat(e.id,"-row")},a.a.createElement("td",{colSpan:s,style:{paddingLeft:"".concat(0===e.depth?.5:2*e.depth,"em")}},a.a.createElement(me.a,null))):null)}))))};function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ke(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ke(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var xe=function(e){var t=e.aria,r=void 0===t?{}:t,i=e.children,u=e.className,d=e.columnDefinitions,m=e.data,p=void 0===m?{}:m,f=e.enableToggleExpansion,b=void 0===f?"header":f,g=e.expandedControl,_=e.htmlOptions,y=void 0===_?{}:_,v=e.id,k=e.initialLoadingRowsCount,x=void 0===k?10:k,w=e.inlineRowLoading,N=void 0!==w&&w,E=e.loading,j=e.onRowToggleClick,O=e.onToggleExpansionClick,S=e.sortControl,C=e.tableData,z=e.tableOptions,T=e.tableProps,A=e.toggleExpansionIcon,M=void 0===A?"arrows-from-line":A,P=ve(Object(n.useState)(x),2),I=P[0],D=P[1],L=ve(Object(n.useState)({}),2),$=L[0],R=L[1],B=g?g.value:$,F=g?g.onChange:R,q={accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e},V=d&&d.map((function(e){var t,r=Object.assign({},q.accessor(e.accessor,{header:e.label}));return e.cellAccessors&&(r.cell=(t=e.cellAccessors,function(e){var r=e.row,n=e.getValue,i=r.original;switch(r.depth){case 0:return a.a.createElement(ae,{getValue:n,onRowToggleClick:j,row:r});default:var o=i[t[r.depth-1]];return o?a.a.createElement(ae,{onRowToggleClick:j,row:r,value:o}):"N/A"}})),r})),U=[{id:d[0].accessor,desc:!(!S||null===S.value)&&!S.value.desc}],H=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[r]=n.useState(()=>({current:G(t)})),[a,i]=n.useState(()=>r.current.initialState);return r.current.setOptions(t=>({...t,...e,state:{...a,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}})),r.current}(Object.assign(Object.assign({data:E?Array(I).fill({}):C,columns:V,onExpandedChange:F,getSubRows:function(e){return e.children},getCoreRowModel:e=>h(()=>[e.options.data],t=>{const r={rows:[],flatRows:[],rowsById:{}},n=function(t,a,i){void 0===a&&(a=0);const o=[];for(let l=0;l<t.length;l++){const c=Y(e,e._getRowId(t[l],l,i),t[l],l,a,void 0,null==i?void 0:i.id);var s;r.flatRows.push(c),r.rowsById[c.id]=c,o.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[l],l),null!=(s=c.originalSubRows)&&s.length&&(c.subRows=n(c.originalSubRows,a+1,c)))}return o};return r.rows=n(t),r},{key:!1,debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getExpandedRowModel:e=>h(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(e,t,r)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:r?X(t):t,{key:!1,debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getSortedRowModel:e=>h(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,r)=>{if(!r.rows.length||null==t||!t.length)return r;const n=e.getState().sorting,a=[],i=n.filter(t=>{var r;return null==(r=e.getColumn(t.id))?void 0:r.getCanSort()}),o={};i.forEach(t=>{const r=e.getColumn(t.id);r&&(o[t.id]={sortUndefined:r.columnDef.sortUndefined,invertSorting:r.columnDef.invertSorting,sortingFn:r.getSortingFn()})});const s=e=>{const t=[...e];return t.sort((e,t)=>{for(let n=0;n<i.length;n+=1){var r;const a=i[n],s=o[a.id],l=null!=(r=null==a?void 0:a.desc)&&r;if(s.sortUndefined){const r=void 0===e.getValue(a.id),n=void 0===t.getValue(a.id);if(r||n){let e=r&&n?0:r?s.sortUndefined:-s.sortUndefined;return l&&0!==e&&(e*=-1),e}}let c=s.sortingFn(e,t,a.id);if(0!==c)return l&&(c*=-1),s.invertSorting&&(c*=-1),c}return e.index-t.index}),t.forEach(e=>{var t;a.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))}),t};return{rows:s(r.rows),flatRows:a,rowsById:r.rowsById}},{key:!1,debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),enableSortingRemoval:!1,sortDescFirst:!0},S?{state:{expanded:B,sorting:U}}:{state:{expanded:B}}),z)),W=H.getRowModel(),Z=Object(n.useCallback)((function(){var e=H.getRowModel().rows.length;e!==I&&0!==e&&D(e)}),[C,I]);Object(n.useEffect)((function(){E||Z()}),[E,Z]);var J=Object(s.a)(r),Q=Object(s.c)(p),ee=Object(s.d)(y),te=o()(Object(s.b)("pb_advanced_table"),Object(l.c)(e),u);return a.a.createElement("div",Object.assign({},J,Q,ee,{className:te,id:v}),a.a.createElement(re.Provider,{value:{columnDefinitions:d,enableToggleExpansion:b,expanded:B,handleExpandOrCollapse:function(e){O&&O(e);var t=B,r=null==e?void 0:e.parentId;return F(function(e,t,r){var n,a={},i=e.flatRows,o=!0,s=new Set,l=K(i);try{for(l.s();!(n=l.n()).done;){var c=n.value;if((void 0===r?0===c.depth:r===c.parentId)&&(s.add(c.getIsExpanded()),s.size>1)){o=!1;break}}}catch(e){l.e(e)}finally{l.f()}if(void 0===r)i.forEach((function(e){0===e.depth&&(a[e.id]=!o||!e.getIsExpanded())}));else{var u,d=K(i);try{for(d.s();!(u=d.n()).done;){var m=u.value;r===m.parentId&&(a[m.id]=!o||!m.getIsExpanded())}}catch(e){d.e(e)}finally{d.f()}}return function(e){for(var t in e)!1===e[t]&&delete e[t];return e}(Object.assign(Object.assign({},t),a))}(W,t,r))},inlineRowLoading:N,loading:E,setExpanded:F,sortControl:S,table:H,toggleExpansionIcon:M}},a.a.createElement(c.a,Object.assign({className:"".concat(E?"content-loading":""),dataTable:!0,numberSpacing:"tabular",responsive:"none"},T),i||a.a.createElement(a.a.Fragment,null,a.a.createElement(de,null),a.a.createElement(ye,null)))))};xe.Header=de,xe.Body=ye;var we=xe,Ne=r(34),Ee=r(123),je=r(112),Oe=r(48),Se=r(119),Ce=r(10),ze=r(218),Te=r(231),Ae=r(25),Me=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.children,i=e.className,c=e.data,u=void 0===c?{}:c,d=e.htmlOptions,m=void 0===d?{}:d,p=e.id,h=e.orientation,f=void 0===h?"horizontal":h,b=e.text,g=e.variant,_=void 0===g?"primary":g,y=Object(s.a)(r),v=Object(s.c)(u),k=Object(s.d)(m),x=o()(Object(s.b)("pb_button_toolbar_kit",f,_),Object(l.c)(e),i);return a.a.createElement("div",Object.assign({},y,v,k,{className:x,id:p}),n||b)},Pe=r(20),Ie=r(84),De=r(66),Le=r(46),$e=r(116),Re=r(185),Be=r(57),Fe=r(162),qe=r(198),Ve=r(31),Ue=r(176),He=r(22),We=r(12),Ge=function(e){var t=e.align,r=void 0===t?"left":t,n=e.className,i=e.dark,c=void 0!==i&&i,u=e.date,d=e.data,m=void 0===d?{}:d,p=e.htmlOptions,h=void 0===p?{}:p,f=o()(Object(s.b)("pb_date_year_stacked",r),Object(l.c)(e),n),b=Object(s.c)(m),g=Object(s.d)(h);return a.a.createElement("div",Object.assign({},b,g,{className:f}),a.a.createElement(We.a,{dark:c,size:4,text:"".concat(He.a.toDay(u)," ").concat(He.a.toMonth(u).toUpperCase())}),a.a.createElement(Ce.a,{color:"light"},He.a.toYear(u)))},Ye=function(e){var t=e.className,r=e.dark,n=void 0!==r&&r,i=e.endDate,c=e.htmlOptions,u=void 0===c?{}:c,d=e.startDate,m=e.data,p=void 0===m?{}:m,h=o()(Object(s.b)("pb_date_range_stacked"),Object(l.c)(e),t),f=Object(s.c)(p),b=Object(s.d)(u);return a.a.createElement("div",Object.assign({},f,b,{className:h}),a.a.createElement(Q.a,{vertical:"center"},a.a.createElement(ee.a,null,a.a.createElement(Ge,{align:"right",dark:n,date:d})),a.a.createElement(ee.a,null,a.a.createElement("div",null,a.a.createElement(Ce.a,{color:"light",tag:"span"},a.a.createElement(te.a,{className:"pb_date_range_stacked_arrow",fixedWidth:!0,icon:"long-arrow-right"})))),a.a.createElement(ee.a,null,a.a.createElement(Ge,{dark:n,date:i}))))},Xe=r(63),Ze=r(91),Ke=r(191),Je=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.bold,i=void 0!==n&&n,c=e.children,u=e.className,d=e.color,m=void 0===d?"light":d,p=e.data,h=void 0===p?{}:p,f=e.htmlOptions,b=void 0===f?{}:f,g=e.id,_=void 0===g?"":g,y=e.tag,v=void 0===y?"div":y,k=e.text,x=void 0===k?"":k,w=Object(s.a)(r),N=Object(s.c)(h),E=Object(s.d)(b),j=i?"bold":null,O=o()(Object(s.b)("pb_detail_kit","color",m),j,Object(l.c)(e),u),S="".concat(v);return a.a.createElement(S,Object.assign({},w,N,E,{className:O,id:_}),x||c)},Qe=r(210),et=r(165),tt=r(13),rt=r.n(tt);function nt(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function at(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function it(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}Object.create;var ot=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function st(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=ot.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var lt=[".DS_Store","Thumbs.db"];function ct(e){return nt(this,void 0,void 0,(function(){return at(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?dt(e.dataTransfer,e.type):ut(e))];var r}))}))}function ut(e){return(null!==e.target&&e.target.files?pt(e.target.files):[]).map((function(e){return st(e)}))}function dt(e,t){return nt(this,void 0,void 0,(function(){var r;return at(this,(function(n){switch(n.label){case 0:return e.items?(r=pt(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(ht))]):[3,2];case 1:return[2,mt(ft(n.sent()))];case 2:return[2,mt(pt(e.files).map((function(e){return st(e)})))]}}))}))}function mt(e){return e.filter((function(e){return-1===lt.indexOf(e.name)}))}function pt(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function ht(e){if("function"!=typeof e.webkitGetAsEntry)return bt(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?_t(t):bt(e)}function ft(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(it(arguments[t]));return e}(e,Array.isArray(t)?ft(t):[t])}),[])}function bt(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=st(t);return Promise.resolve(r)}function gt(e){return nt(this,void 0,void 0,(function(){return at(this,(function(t){return[2,e.isDirectory?_t(e):yt(e)]}))}))}function _t(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var i=this;t.readEntries((function(t){return nt(i,void 0,void 0,(function(){var i,o,s;return at(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return i=l.sent(),e(i),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(gt)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function yt(e){return nt(this,void 0,void 0,(function(){return at(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=st(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var vt=r(291),kt=r.n(vt);function xt(e,t){return"application/x-moz-file"===e.type||kt()(e,t)}function wt(e,t,r){if(Nt(e.size)){if(Nt(t)&&Nt(r))return e.size>=t&&e.size<=r;if(Nt(t))return e.size>=t;if(Nt(r))return e.size<=r}return!0}function Nt(e){return null!=e}function Et(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize;return!(!e.multiple&&t.length>1)&&t.every((function(e){return xt(e,r)&&wt(e,n,a)}))}function jt(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Ot(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function St(e){e.preventDefault()}function Ct(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function zt(e){return-1!==e.indexOf("Edge/")}function Tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Ct(e)||zt(e)}function At(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((function(t){return!jt(e)&&t&&t.apply(void 0,[e].concat(n)),jt(e)}))}}function Mt(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Pt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function It(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 Dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(r,!0).forEach((function(t){Lt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $t(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var Rt=Object(n.forwardRef)((function(e,t){var r=e.children,i=Ft($t(e,["children"])),o=i.open,s=$t(i,["open"]);return Object(n.useImperativeHandle)(t,(function(){return{open:o}}),[o]),a.a.createElement(n.Fragment,null,r(Dt({},s,{open:o})))}));Rt.displayName="Dropzone",Rt.propTypes={children:rt.a.func,accept:rt.a.oneOfType([rt.a.string,rt.a.arrayOf(rt.a.string)]),multiple:rt.a.bool,preventDropOnDocument:rt.a.bool,noClick:rt.a.bool,noKeyboard:rt.a.bool,noDrag:rt.a.bool,noDragEventsBubbling:rt.a.bool,minSize:rt.a.number,maxSize:rt.a.number,disabled:rt.a.bool,getFilesFromEvent:rt.a.func,onFileDialogCancel:rt.a.func,onDragEnter:rt.a.func,onDragLeave:rt.a.func,onDragOver:rt.a.func,onDrop:rt.a.func,onDropAccepted:rt.a.func,onDropRejected:rt.a.func};var Bt={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,r=e.disabled,a=void 0!==r&&r,i=e.getFilesFromEvent,o=void 0===i?ct:i,s=e.maxSize,l=void 0===s?1/0:s,c=e.minSize,u=void 0===c?0:c,d=e.multiple,m=void 0===d||d,p=e.onDragEnter,h=e.onDragLeave,f=e.onDragOver,b=e.onDrop,g=e.onDropAccepted,_=e.onDropRejected,y=e.onFileDialogCancel,v=e.preventDropOnDocument,k=void 0===v||v,x=e.noClick,w=void 0!==x&&x,N=e.noKeyboard,E=void 0!==N&&N,j=e.noDrag,O=void 0!==j&&j,S=e.noDragEventsBubbling,C=void 0!==S&&S,z=Object(n.useRef)(null),T=Object(n.useRef)(null),A=Object(n.useReducer)(qt,Bt),M=Pt(A,2),P=M[0],I=M[1],D=P.isFocused,L=P.isFileDialogActive,$=P.draggedFiles,R=Object(n.useCallback)((function(){T.current&&(I({type:"openDialog"}),T.current.value=null,T.current.click())}),[I]),B=function(){L&&setTimeout((function(){T.current&&(T.current.files.length||(I({type:"closeDialog"}),"function"==typeof y&&y()))}),300)};Object(n.useEffect)((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[T,L,y]);var F=Object(n.useCallback)((function(e){z.current&&z.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),R()))}),[z,T]),q=Object(n.useCallback)((function(){I({type:"focus"})}),[]),V=Object(n.useCallback)((function(){I({type:"blur"})}),[]),U=Object(n.useCallback)((function(){w||(Tt()?setTimeout(R,0):R())}),[T,w]),H=Object(n.useRef)([]),W=function(e){z.current&&z.current.contains(e.target)||(e.preventDefault(),H.current=[])};Object(n.useEffect)((function(){return k&&(document.addEventListener("dragover",St,!1),document.addEventListener("drop",W,!1)),function(){k&&(document.removeEventListener("dragover",St),document.removeEventListener("drop",W))}}),[z,k]);var G=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),ee(e),-1===H.current.indexOf(e.target)&&(H.current=[].concat(Mt(H.current),[e.target])),Ot(e)&&Promise.resolve(o(e)).then((function(t){jt(e)&&!C||(I({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[o,p,C]),Y=Object(n.useCallback)((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Ot(e)&&f&&f(e),!1}),[f,C]),X=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),ee(e);var t=H.current.filter((function(t){return t!==e.target&&z.current&&z.current.contains(t)}));H.current=t,t.length>0||(I({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Ot(e)&&h&&h(e))}),[z,h,C]),Z=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),ee(e),H.current=[],Ot(e)&&Promise.resolve(o(e)).then((function(r){if(!jt(e)||C){var n=[],a=[];r.forEach((function(e){xt(e,t)&&wt(e,u,l)?n.push(e):a.push(e)})),!m&&n.length>1&&a.push.apply(a,Mt(n.splice(0))),I({acceptedFiles:n,rejectedFiles:a,type:"setFiles"}),b&&b(n,a,e),a.length>0&&_&&_(a,e),n.length>0&&g&&g(n,e)}})),I({type:"reset"})}),[m,t,u,l,o,b,g,_,C]),K=function(e){return a?null:e},J=function(e){return E?null:K(e)},Q=function(e){return O?null:K(e)},ee=function(e){C&&e.stopPropagation()},te=Object(n.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.onKeyDown,i=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,m=$t(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Dt(Lt({onKeyDown:J(At(n,F)),onFocus:J(At(i,q)),onBlur:J(At(o,V)),onClick:K(At(s,U)),onDragEnter:Q(At(l,G)),onDragOver:Q(At(c,Y)),onDragLeave:Q(At(u,X)),onDrop:Q(At(d,Z))},r,z),a||E?{}:{tabIndex:0},{},m)}}),[z,F,q,V,U,G,Y,X,Z,E,O,a]),re=Object(n.useCallback)((function(e){e.stopPropagation()}),[]),ne=Object(n.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.refKey,n=void 0===r?"ref":r,a=e.onChange,i=e.onClick,o=$t(e,["refKey","onChange","onClick"]),s=Lt({accept:t,multiple:m,type:"file",style:{display:"none"},onChange:K(At(a,Z)),onClick:K(At(i,re)),autoComplete:"off",tabIndex:-1},n,T);return Dt({},s,{},o)}}),[T,t,m,Z,a]),ae=$.length,ie=ae>0&&Et({files:$,accept:t,minSize:u,maxSize:l,multiple:m}),oe=ae>0&&!ie;return Dt({},P,{isDragAccept:ie,isDragReject:oe,isFocused:D&&!a,getRootProps:te,getInputProps:ne,rootRef:z,inputRef:T,open:K(R)})}function qt(e,t){switch(t.type){case"focus":return Dt({},e,{isFocused:!0});case"blur":return Dt({},e,{isFocused:!1});case"openDialog":return Dt({},e,{isFileDialogActive:!0});case"closeDialog":return Dt({},e,{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive;return Dt({},e,{draggedFiles:t.draggedFiles,isDragActive:r});case"setFiles":return Dt({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Dt({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]});default:return e}}var Vt=function(e){var t=e.accept,r=void 0===t?null:t,i=e.acceptedFilesDescription,c=void 0===i?"":i,u=e.className,d=e.customMessage,m=e.data,p=void 0===m?{}:m,h=e.htmlOptions,f=void 0===h?{}:h,b=e.maxSize,g=e.onFilesAccepted,_=void 0===g?s.e:g,y=e.onFilesRejected,v=void 0===y?s.e:y,k=Object(n.useCallback)((function(e){_(e)}),[_]),x=Ft({accept:r,maxSize:b,onDrop:k}),w=x.getRootProps,N=x.getInputProps,E=x.isDragActive,j=x.rejectedFiles,O=Object(n.useRef)(null),S="Max file size is ".concat("".concat(b/1e6," MB"),".");Object(n.useEffect)((function(){j!==O.current&&(b&&j.length>0&&j[0].size>b&&v("File size is too large! ".concat(S),j),O.current=j)}),[S,b,v,j]);var C=Object(s.c)(p),z=Object(s.d)(f);return a.a.createElement("div",Object.assign({className:o()(Object(s.b)("pb_file_upload_kit"),Object(l.c)(e),u)},C,z,w()),a.a.createElement(Pe.a,null,a.a.createElement("input",Object.assign({},N())),a.a.createElement(Ce.a,{color:"light"},E?a.a.createElement("p",null,"Drop the files here ..."):a.a.createElement("p",null,d||"Choose a file or drag it here.".concat(null===r?"":" The accepted file types are: ".concat(c||r.map((function(e){return e.startsWith("image/")?e.replace("image/"," "):e})),".")).concat(b?" ".concat(S):"")))))},Ut=r(201),Ht=r(93),Wt=r(96),Gt=r(71),Yt=r(211),Xt=r(199),Zt=r(132),Kt=r(147),Jt=r(59),Qt=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.className,i=e.data,c=void 0===i?{}:i,u=e.dark,d=void 0!==u&&u,m=e.htmlOptions,p=void 0===m?{}:m,h=e.icon,f=e.id,b=e.orientation,g=void 0===b?"horizontal":b,_=e.size,y=void 0===_?"sm":_,v=e.text,k=void 0===v?"":v,x=e.unit,w=void 0===x?"":x,N=e.value,E=void 0===N?0:N,j=e.variant,O=void 0===j?"default":j,S=Object(s.a)(r),C=Object(s.c)(c),z=Object(s.d)(p),T=o()(Object(s.b)("pb_icon_stat_value_kit",g,y,O),Object(l.c)(e),n);return a.a.createElement("div",Object.assign({},S,C,z,{className:T,id:f}),a.a.createElement(Jt.a,{dark:d,icon:h,size:y,variant:O}),a.a.createElement("div",null,a.a.createElement(Q.a,{align:"baseline"},function(e){return"lg"==e?a.a.createElement(We.a,{dark:d,size:1,tag:"span",text:"".concat(E)}):"md"==e?a.a.createElement(We.a,{dark:d,size:2,tag:"span",text:"".concat(E)}):a.a.createElement(We.a,{dark:d,size:3,tag:"span",text:"".concat(E)})}(y)," ",a.a.createElement(Ce.a,{dark:d,text:w})),a.a.createElement(pe.a,{dark:d,text:k})))},er=r(168),tr=r(38),rr=r(169),nr=function(e){var t=He.a.toMonthNum(e),r=He.a.toDay(e);return" · ".concat(t,"/").concat(r)},ar=function(e){var t=e.active,r=void 0!==t&&t,n=e.aria,i=void 0===n?{}:n,c=e.className,u=e.dark,d=void 0!==u&&u,m=e.data,p=void 0===m?{}:m,h=e.date,f=e.description,b=e.htmlOptions,g=void 0===b?{}:b,_=e.icon,y=e.id,v=e.label,k=e.title,x=e.value,w=e.variant,N=void 0===w?"default":w,E=Object(s.a)(i),j=Object(s.c)(p),O=Object(s.d)(g),S="details"===N?"details":"",C=o()(Object(s.b)("pb_label_value_kit",S),Object(l.c)(e),c);return a.a.createElement("div",Object.assign({},E,j,O,{className:C,id:y,title:k}),a.a.createElement(pe.a,{dark:d,text:v}),"details"===N?a.a.createElement(Q.a,{inline:!0,vertical:"center"},_&&a.a.createElement(Ce.a,{color:"light",dark:d,marginRight:"xs"},a.a.createElement(te.a,{dark:d,fixedWidth:!0,icon:_})),f&&a.a.createElement(Ce.a,{color:"light",dark:d,marginRight:"xs",text:f}),!0===r?a.a.createElement(Q.a,{inline:!0,vertical:"center"},k&&a.a.createElement(We.a,{dark:d,size:4,text:k,variant:"link"}),h&&a.a.createElement(We.a,{dark:d,marginLeft:"xs",size:4,text:" "+nr(h),variant:"link"})):a.a.createElement(a.a.Fragment,null,k&&a.a.createElement(We.a,{dark:d,size:4,text:k}),h&&a.a.createElement(We.a,{dark:d,marginLeft:"xs",size:4,text:" "+nr(h)}))):a.a.createElement(Ce.a,{dark:d,text:x}))},ir=r(32),or=r(190),sr=r(134),lr=r(133),cr=r(81),ur=r(44),dr=function(e){var t=e.onClick,r=e.icon;return a.a.createElement(Ae.a,{className:"pb_map-custom-button",onClick:t},a.a.createElement(te.a,{icon:r}))},mr=function e(t){var r=t.aria,n=void 0===r?{}:r,i=t.children,c=t.className,u=t.data,d=void 0===u?{}:u,m=t.htmlOptions,p=void 0===m?{}:m,h=t.id,f=t.zoomBtns,b=void 0!==f&&f,g=t.flyTo,_=void 0!==g&&g,y=t.zoomInClick,v=t.zoomOutClick,k=t.flyToClick,x=Object(s.a)(n),w=Object(s.c)(d),N=Object(s.d)(p),E=o()(Object(s.b)("pb_map"),Object(l.c)(t),c);return a.a.createElement("div",Object.assign({},x,w,N,{className:E,id:h}),b?a.a.createElement(e.Controls,{flyTo:_,flyToClick:k,zoomBtns:b,zoomInClick:y,zoomOutClick:v}):null,i)};mr.Controls=function(e){var t=e.zoomBtns,r=e.zoomInClick,n=e.zoomOutClick,i=e.flyTo,o=e.flyToClick,s=e.children;return a.a.createElement(Q.a,{className:"custom-nav-control",orientation:"column"},t?a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"custom-nav-control-zoom"},a.a.createElement(Ae.a,{className:"map-zoom-in-button",onClick:r},a.a.createElement(te.a,{icon:"plus"})),a.a.createElement(Ae.a,{className:"map-zoom-out-button",onClick:n},a.a.createElement(te.a,{icon:"minus"}))),i?a.a.createElement(Ae.a,{className:"map-flyto-button",onClick:o},a.a.createElement(te.a,{icon:"eye"})):null):null,s)};var pr=mr,hr=r(98),fr=r(114),br=r(232),gr=r(202),_r=r(45),yr=r(26),vr=r(131),kr=r(97),xr=r(74),wr=r(180),Nr=r(148),Er=r(217),jr=r(107),Or=r(200),Sr=function(e){var t=e.align,r=e.className,n=e.dark,i=void 0!==n&&n,c=e.data,u=void 0===c?{}:c,d=e.htmlOptions,m=void 0===d?{}:d,p=e.max,h=e.muted,f=void 0!==h&&h,b=e.percent,g=void 0===b?"":b,_=e.value,y=e.variant,v=void 0===y?"default":y,k=e.width,x={width:void 0===k?"100%":k},w=Object(s.c)(u),N=Object(s.d)(m),E="default"==v?"":v,j={width:"".concat(g||100*_/p,"%")},O=o()(Object(s.b)("pb_progress_simple_wrapper",t,{dark:i}),Object(l.c)(e),r),S=o()(Object(s.b)("pb_progress_simple_kit",{muted:f},E,t),r);return a.a.createElement("div",Object.assign({},w,N,{className:O}),a.a.createElement("div",{className:S,"data-value":_,style:x},a.a.createElement("div",{className:"progress_simple_value",style:j})))},Cr=r(125),zr=r(64),Tr=r(80),Ar=r(216),Mr=r(53),Pr=r(82),Ir=r(62),Dr=r(94),Lr=r(126);function $r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Rr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Br=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},Fr=function(e){var t=e.aria,r=void 0===t?{}:t,i=e.checked,c=void 0!==i&&i,u=e.children,d=e.className,m=e.data,p=void 0===m?{}:m,h=e.defaultChecked,f=e.htmlOptions,b=void 0===f?{}:f,g=e.id,_=e.label,y=e.text,v=void 0===y?"":y,k=e.name,x=void 0===k?"":k,w=e.value,N=void 0===w?"":w,E=e.variant,j=void 0===E?"checkbox":E,O=e.onChange,S=void 0===O?function(){}:O,C=Br(e,["aria","checked","children","className","data","defaultChecked","htmlOptions","id","label","text","name","value","variant","onChange"]),z=Object(s.a)(r),T=Object(s.c)(p),A=Object(s.d)(b),M=o()(Object(s.b)("pb_selectable_list_item_kit"),Object(l.c)(C),d),P=c,I=$r(Object(n.useState)(P),2),D=I[0],L=I[1];return a.a.createElement(ur.a,Object.assign({},C,{className:o()(D?"checked_item":"",d)}),a.a.createElement("div",Object.assign({},z,T,A,{className:M}),"checkbox"==j&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Ie.a,Object.assign({checked:D,id:g,name:x,onChange:function(e){S(e),L(e.target.checked)},text:_||v&&!1,type:"checkbox",value:N},C)),u),"radio"==j&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Tr.a,Object.assign({defaultChecked:h,id:g,label:_,name:x,onChange:S,text:_,type:"radio",value:N},C)),u),"checkbox"!==j&&"radio"!==j&&{children:u}))};function qr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ur=function(e){var t,r,i=e.aria,c=void 0===i?{}:i,u=e.children,d=e.className,m=e.data,p=void 0===m?{}:m,h=e.htmlOptions,f=void 0===h?{}:h,b=e.id,g=Object(s.a)(c),_=o()(Object(s.b)("pb_selectable_list_kit"),Object(l.c)(e),d),y=Object(s.c)(p),v=Object(s.d)(f),k="radio"===e.variant,x=null===(r=null===(t=u.filter((function(e){return e.props.defaultChecked}))[0])||void 0===t?void 0:t.props)||void 0===r?void 0:r.value,w=qr(Object(n.useState)(x),2),N=w[0],E=w[1],j=u;return k&&(j=u.map((function(e){var t=e.props;return a.a.createElement(Fr,Object.assign({},t,{className:o()(N===t.value?"checked_item":"",t.className),key:t.value,onChange:function(e){var r,n;n=e.target,E(n.value),null===(r=null==t?void 0:t.onChange)||void 0===r||r.call(t,e)}}))}))),a.a.createElement("div",Object.assign({},g,y,v,{className:_,id:b}),a.a.createElement(cr.a,{variant:e.variant},j))};Ur.Item=Fr;var Hr=Ur,Wr=r(95),Gr=r(61),Yr=r(197),Xr=r(146),Zr=r(117),Kr=r(36),Jr=r(90),Qr=r(60),en=function(e){return"".concat(He.a.toTimeZone(e))},tn=function(e){return"".concat(He.a.toHour(e),":").concat(He.a.toMinute(e)).concat(He.a.toMeridiem(e))},rn=function(e){return He.a.toIso(e)},nn=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.className,i=e.data,c=void 0===i?{}:i,u=e.alignment,d=void 0===u?"left":u,m=e.htmlOptions,p=void 0===m?{}:m,h=e.size,f=void 0===h?"sm":h,b=e.dark,g=void 0!==b&&b,_=e.icon,y=void 0!==_&&_,v=e.timezone,k=void 0!==v&&v,x=e.startTime,w=e.endTime,N=e.id,E=Object(s.c)(c),j=Object(s.a)(r),O=Object(s.d)(p),S=a.a.createElement(Ce.a,{color:"light"},a.a.createElement(te.a,{className:"pb_time_range_inline_arrow",dark:g,fixedWidth:!0,icon:"long-arrow-right"})),C=function(){return y&&a.a.createElement(Ce.a,{color:"light",tag:"span"},a.a.createElement(te.a,{className:"pb_time_range_inline_icon",dark:g,fixedWidth:!0,icon:"clock",size:f,tag:"span"}))};return a.a.createElement("div",Object.assign({},j,E,O,{className:o()("pb_time_range_inline_kit_"+d,Object(l.c)(e),n),id:N}),a.a.createElement("div",{className:"pb_time_range_inline_wrapper"},"xs"==f&&a.a.createElement(a.a.Fragment,null,a.a.createElement(pe.a,{dark:g,tag:"span"},C(),a.a.createElement("time",{dateTime:rn(x)}," ".concat(tn(x)," "))),a.a.createElement(pe.a,{className:"pb_time_range_inline_arrow",dark:g,tag:"span"},S),a.a.createElement(pe.a,{dark:g,tag:"span"},a.a.createElement("time",{dateTime:rn(w)}," ".concat(tn(w)," "))),k&&a.a.createElement(pe.a,{className:"pb_time_range_inline_timezone",dark:g,tag:"span"},en(w))),"sm"==f&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Ce.a,{dark:g,tag:"span"},C(),a.a.createElement("time",{dateTime:rn(x)}," ".concat(tn(x)," "))),a.a.createElement(Ce.a,{className:"pb_time_range_inline_arrow",dark:g,tag:"span"},S),a.a.createElement(Ce.a,{dark:g,tag:"span"},a.a.createElement("time",{dateTime:rn(w)}," ".concat(tn(w)," "))),k&&a.a.createElement(Ce.a,{className:"pb_time_range_inline_timezone",color:"light",dark:g,tag:"span"},en(w)))))},an=r(167),on=r(65),sn=r(30),ln=r(124),cn=r(87),un=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},dn=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.checked,i=void 0!==n&&n,c=e.children,u=e.className,d=e.data,m=void 0===d?{}:d,p=e.id,h=e.htmlOptions,f=void 0===h?{}:h,b=e.name,g=e.onChange,_=void 0===g?function(){}:g,y=e.size,v=void 0===y?"sm":y,k=e.value,x=un(e,["aria","checked","children","className","data","id","htmlOptions","name","onChange","size","value"]),w=Object(s.a)(r),N=Object(s.c)(m),E=Object(s.d)(f),j=o()(Object(s.b)("pb_toggle_kit",v,{on:i,off:!i}));return a.a.createElement("div",Object.assign({},w,N,E,{className:o()(j,Object(l.c)(x),u),id:p}),a.a.createElement("label",{className:"pb_toggle_wrapper"},c&&c,!c&&a.a.createElement("input",Object.assign({},x,{defaultChecked:i,name:b,onChange:_,type:"checkbox",value:k})),a.a.createElement("div",{className:"pb_toggle_control"})))},mn=r(173),pn=r(113),hn=r(115),fn=r(122),bn=r(175),gn=r(135),_n=r(23),yn=r(29),vn=r.n(yn),kn=r(164),xn=r.n(kn),wn=r(292),Nn=r.n(wn),En=r(233),jn=r.n(En),On=r(130),Sn=r(88),Cn=r.n(Sn),zn=r(293);function Tn(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 An(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(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 In(e,t,r){return t&&Pn(e.prototype,t),r&&Pn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ln(){return(Ln=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 $n(e,t){if("function"!=typeof t&&null!==t)throw new 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&&Bn(e,t)}function Rn(e){return(Rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Bn(e,t){return(Bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Fn(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function qn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qn(e)}function Un(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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=Rn(e);if(t){var a=Rn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Vn(this,r)}}var Hn={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},Wn="tour:start",Gn="step:before",Yn="beacon",Xn="tooltip",Zn="step:after",Kn="tour:end",Jn="tour:status",Qn="error:target_not_found",ea={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},ta={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},ra=xn.a.canUseDOM,na=void 0!==yn.createPortal;function aa(){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 ia(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function oa(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 sa(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function la(e,t){return!(!_n.a.plainObject(e)||!_n.a.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function ca(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,r,n){return t+t+r+r+n+n})),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function ua(e){return e.disableBeacon||"center"===e.placement}function da(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(aa()))}function ma(e){var t=e.title,r=e.data,n=e.warn,a=void 0!==n&&n,i=e.debug,o=void 0!==i&&i,s=a?console.warn||console.error:console.log;o&&(t&&r?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(r)?r.forEach((function(e){_n.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[r]),console.groupEnd()):console.error("Missing title or data props"))}var pa={action:"",controlled:!1,index:0,lifecycle:ea.INIT,size:0,status:ta.IDLE},ha=["action","index","lifecycle","status"];function fa(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]:{},a=n.continuous,i=void 0!==a&&a,o=n.stepIndex,s=n.steps,l=void 0===s?[]:s;Mn(this,e),Dn(this,"listener",void 0),Dn(this,"setSteps",(function(e){var n=t.getState(),a=n.size,i=n.status,o={size:e.length,status:i};r.set("steps",e),i===ta.WAITING&&!a&&e.length&&(o.status=ta.RUNNING),t.setState(o)})),Dn(this,"addListener",(function(e){t.listener=e})),Dn(this,"update",(function(e){if(!la(e,ha))throw new Error("State is not valid. Valid keys: ".concat(ha.join(", ")));t.setState(An({},t.getNextState(An(An(An({},t.getState()),e),{},{action:e.action||Hn.UPDATE}),!0)))})),Dn(this,"start",(function(e){var r=t.getState(),n=r.index,a=r.size;t.setState(An(An({},t.getNextState({action:Hn.START,index:_n.a.number(e)?e:n},!0)),{},{status:a?ta.RUNNING:ta.WAITING}))})),Dn(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=t.getState(),n=r.index,a=r.status;-1===[ta.FINISHED,ta.SKIPPED].indexOf(a)&&t.setState(An(An({},t.getNextState({action:Hn.STOP,index:n+(e?1:0)})),{},{status:ta.PAUSED}))})),Dn(this,"close",(function(){var e=t.getState(),r=e.index;e.status===ta.RUNNING&&t.setState(An({},t.getNextState({action:Hn.CLOSE,index:r+1})))})),Dn(this,"go",(function(e){var r=t.getState(),n=r.controlled,a=r.status;if(!n&&a===ta.RUNNING){var i=t.getSteps()[e];t.setState(An(An({},t.getNextState({action:Hn.GO,index:e})),{},{status:i?a:ta.FINISHED}))}})),Dn(this,"info",(function(){return t.getState()})),Dn(this,"next",(function(){var e=t.getState(),r=e.index;e.status===ta.RUNNING&&t.setState(t.getNextState({action:Hn.NEXT,index:r+1}))})),Dn(this,"open",(function(){t.getState().status===ta.RUNNING&&t.setState(An({},t.getNextState({action:Hn.UPDATE,lifecycle:ea.TOOLTIP})))})),Dn(this,"prev",(function(){var e=t.getState(),r=e.index;e.status===ta.RUNNING&&t.setState(An({},t.getNextState({action:Hn.PREV,index:r-1})))})),Dn(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=t.getState(),n=r.controlled;n||t.setState(An(An({},t.getNextState({action:Hn.RESET,index:0})),{},{status:e?ta.RUNNING:ta.READY}))})),Dn(this,"skip",(function(){t.getState().status===ta.RUNNING&&t.setState({action:Hn.SKIP,lifecycle:ea.INIT,status:ta.SKIPPED})})),this.setState({action:Hn.INIT,controlled:_n.a.number(o),continuous:i,index:_n.a.number(o)?o:0,lifecycle:ea.INIT,status:l.length?ta.READY:ta.IDLE},!0),this.setSteps(l)}return In(e,[{key:"setState",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),a=An(An({},n),e),i=a.action,o=a.index,s=a.lifecycle,l=a.size,c=a.status;t.set("action",i),t.set("index",o),t.set("lifecycle",s),t.set("size",l),t.set("status",c),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")||""}:An({},pa)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getState(),n=r.action,a=r.controlled,i=r.index,o=r.size,s=r.status,l=_n.a.number(e.index)?e.index:i,c=a&&!t?i:Math.min(Math.max(l,0),o);return{action:e.action||n,controlled:a,index:c,lifecycle:e.lifecycle||ea.INIT,size:e.size||o,status:c===o?ta.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 ba(e){return e?e.getBoundingClientRect():{}}function ga(e){return"string"==typeof e?document.querySelector(e):e}function _a(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function ya(e,t,r){var n=jn()(e);return n.isSameNode(Na())?r?document:Na():n.scrollHeight>n.offsetHeight||t?n:(n.style.overflow="initial",Na())}function va(e,t){return!!e&&!ya(e,t).isSameNode(Na())}function ka(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&&(_a(e).position===t||ka(e.parentNode,t))}function xa(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?xa(e.offsetParent)+e.offsetTop:e.offsetTop:0}function wa(e,t,r){if(!e)return 0;var n=jn()(e),a=xa(e);return va(e,r)&&!function(e){return e.offsetParent!==document.body}(e)&&(a-=xa(n)),Math.floor(a-t)}function Na(){return document.scrollingElement||document.createElement("body")}!function(e){function t(t,r,n,a,i,o){var s=a||"<<anonymous>>",l=o||n;if(null==r[n])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[r,n,s,i,l].concat(u))}var r=t.bind(null,!1);r.isRequired=t.bind(null,!0)}((function(e,t,r,n,i){var o=e[t],s=o;if(!a.a.isValidElement(o)&&Object(On.isValidElementType)(o)){var l={ref:function(){},step:{}};s=a.a.createElement(s,l)}if(_n.a.string(o)||_n.a.number(o)||!Object(On.isValidElementType)(o)||-1===[On.Element,On.ForwardRef].indexOf(Object(On.typeOf)(s)))return new Error("Invalid ".concat(n," `").concat(i,"` supplied to `").concat(r,"`. Expected a React class or forwardRef."))}));var Ea={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},ja={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},Oa={borderRadius:4,position:"absolute"};var Sa={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 Ca(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,r){return t[r]=e[r],t}),{})}function za(e,t){if(!e)return null;var r=Cn.a.all([Ca(t),Sa.step,e],{isMergeableObject:_n.a.plainObject}),n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Cn()(Ea,e.options||{}),r=290;window.innerWidth>480&&(r=380),t.width&&(r=window.innerWidth<t.width?window.innerWidth-30:t.width);var n={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},a={beacon:An(An({},ja),{},{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.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(ca(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:r},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:An(An({},ja),{},{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:An(An({},ja),{},{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:An(An({},ja),{},{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:An(An({},ja),{},{color:t.textColor,fontSize:14}),overlay:An(An({},n),{},{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:An({},n),overlayLegacyCenter:An(An({},n),{},{backgroundColor:t.overlayColor}),spotlight:An(An({},Oa),{},{backgroundColor:"gray"}),spotlightLegacy:An(An({},Oa),{},{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex+100}},options:t};return Cn()(a,e)}(Cn()(t.styles||{},e.styles||{})),a=va(ga(e.target),r.disableScrollParentFix),i=Cn.a.all([t.floaterProps||{},Sa.floaterProps,r.floaterProps||{}]);return i.offset=r.offset,i.styles=Cn()(i.styles||{},n.floaterStyles||{}),delete n.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding||0,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),a&&(i.options.preventOverflow.boundariesElement="window"),An(An({},r),{},{locale:Cn.a.all([Sa.locale,t.locale||{},r.locale||{}]),floaterProps:i,styles:n})}function Ta(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return _n.a.plainObject(e)?!!e.target||(ma({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(ma({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function Aa(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return _n.a.array(e)?e.every((function(e){return Ta(e,t)})):(ma({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Ma=In((function e(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Mn(this,e),Dn(this,"element",void 0),Dn(this,"options",void 0),Dn(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&r.canHaveFocus(e)})),Dn(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)})),Dn(this,"findValidTabElements",(function(){return[].slice.call(r.element.querySelectorAll("*"),0).filter(r.canBeTabbed)})),Dn(this,"handleKeyDown",(function(e){var t=r.options.keyCode,n=void 0===t?9:t;e.keyCode===n&&r.interceptTab(e)})),Dn(this,"interceptTab",(function(e){var t=r.findValidTabElements();if(t.length){e.preventDefault();var n=e.shiftKey,a=t.indexOf(document.activeElement);-1===a||!n&&a+1===t.length?a=0:n&&0===a?a=t.length-1:a+=n?-1:1,t[a].focus()}})),Dn(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"))})),Dn(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})),Dn(this,"removeScope",(function(){window.removeEventListener("keydown",r.handleKeyDown)})),Dn(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return r.checkFocus(e)})))})),Dn(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 new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=n,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()})),Pa=function(e){$n(r,e);var t=Un(r);function r(e){var n;if(Mn(this,r),Dn(qn(n=t.call(this,e)),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var a=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.id="joyride-beacon-animation",void 0!==e.nonce&&i.setAttribute("nonce",e.nonce),i.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 ")),a.appendChild(i)}return n}return In(r,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){_n.a.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,t=this.props,r=t.beaconComponent,n=t.locale,i=t.onClickOrHover,o=t.styles,s={"aria-label":n.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:n.open};if(r){var l=r;e=a.a.createElement(l,s)}else e=a.a.createElement("button",Ln({key:"JoyrideBeacon",className:"react-joyride__beacon",style:o.beacon,type:"button"},s),a.a.createElement("span",{style:o.beaconInner}),a.a.createElement("span",{style:o.beaconOuter}));return e}}]),r}(a.a.Component);function Ia(e){var t=e.styles;return a.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})}var Da=["mixBlendMode","zIndex"],La=function(e){$n(r,e);var t=Un(r);function r(){var e;Mn(this,r);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return Dn(qn(e=t.call.apply(t,[this].concat(a))),"_isMounted",!1),Dn(qn(e),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),Dn(qn(e),"handleMouseMove",(function(t){var r=e.state.mouseOverSpotlight,n=e.spotlightStyles,a=n.height,i=n.left,o=n.position,s=n.top,l=n.width,c="fixed"===o?t.clientY:t.pageY,u="fixed"===o?t.clientX:t.pageX,d=u>=i&&u<=i+l&&(c>=s&&c<=s+a);d!==r&&e.updateState({mouseOverSpotlight:d})})),Dn(qn(e),"handleScroll",(function(){var t=ga(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)):ka(t,"sticky")&&e.updateState({})})),Dn(qn(e),"handleResize",(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout((function(){e._isMounted&&e.forceUpdate()}),100)})),e}return In(r,[{key:"componentDidMount",value:function(){var e=this.props;e.debug,e.disableScrolling;var t=e.disableScrollParentFix,r=ga(e.target);this.scrollParent=ya(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,a=r.spotlightClicks,i=Object(gn.a)(e,this.props).changed;i("lifecycle",ea.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(a&&n===ea.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==ea.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=this.state.showSpotlight,t=this.props,r=t.disableScrollParentFix,n=t.spotlightClicks,a=t.spotlightPadding,i=t.styles,o=ga(t.target),s=ba(o),l=ka(o),c=function(e,t,r){var n=ba(e),a=ya(e,r),i=va(e,r),o=0;a instanceof HTMLElement&&(o=a.scrollTop);var s=n.top+(i||ka(e)?0:o);return Math.floor(s-t)}(o,a,r);return An(An({},da()?i.spotlightLegacy:i.spotlight),{},{height:Math.round(s.height+2*a),left:Math.round(s.left-a),opacity:e?1:0,pointerEvents:n?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*a)})}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,r=e.showSpotlight,n=this.props,i=n.disableOverlay,o=n.disableOverlayClose,s=n.lifecycle,l=n.onClickOverlay,c=n.placement,u=n.styles;if(i||s!==ea.TOOLTIP)return null;var d=u.overlay;da()&&(d="center"===c?u.overlayLegacyCenter:u.overlayLegacy);var m,p,h,f=An({cursor:o?"default":"pointer",height:(m=document,p=m.body,h=m.documentElement,p&&h?Math.max(p.scrollHeight,p.offsetHeight,h.clientHeight,h.scrollHeight,h.offsetHeight):0),pointerEvents:t?"none":"auto"},d),b="center"!==c&&r&&a.a.createElement(Ia,{styles:this.spotlightStyles});if("safari"===aa()){f.mixBlendMode,f.zIndex;var g=Fn(f,Da);b=a.a.createElement("div",{style:An({},g)},b),delete f.backgroundColor}return a.a.createElement("div",{className:"react-joyride__overlay",style:f,onClick:l},b)}}]),r}(a.a.Component),$a=["styles"],Ra=["color","height","width"];function Ba(e){var t=e.styles,r=Fn(e,$a),n=t.color,i=t.height,o=t.width,s=Fn(t,Ra);return a.a.createElement("button",Ln({style:s,type:"button"},r),a.a.createElement("svg",{width:"number"==typeof o?"".concat(o,"px"):o,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},a.a.createElement("g",null,a.a.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:n}))))}var Fa=function(e){$n(r,e);var t=Un(r);function r(){return Mn(this,r),t.apply(this,arguments)}return In(r,[{key:"render",value:function(){var e=this.props,t=e.backProps,r=e.closeProps,n=e.continuous,i=e.index,o=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,d=e.tooltipProps,m=u.content,p=u.hideBackButton,h=u.hideCloseButton,f=u.hideFooter,b=u.showProgress,g=u.showSkipButton,_=u.title,y=u.styles,v=u.locale,k=v.back,x=v.close,w=v.last,N=v.next,E=v.skip,j={primary:x};return n&&(j.primary=o?w:N,b&&(j.primary=a.a.createElement("span",null,j.primary," (",i+1,"/",l,")"))),g&&!o&&(j.skip=a.a.createElement("button",Ln({style:y.buttonSkip,type:"button","aria-live":"off"},c),E)),!p&&i>0&&(j.back=a.a.createElement("button",Ln({style:y.buttonBack,type:"button"},t),k)),j.close=!h&&a.a.createElement(Ba,Ln({styles:y.buttonClose},r)),a.a.createElement("div",Ln({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:y.tooltip},d),a.a.createElement("div",{style:y.tooltipContainer},_&&a.a.createElement("h4",{style:y.tooltipTitle,"aria-label":_},_),a.a.createElement("div",{style:y.tooltipContent},m)),!f&&a.a.createElement("div",{style:y.tooltipFooter},a.a.createElement("div",{style:y.tooltipFooterSpacer},j.skip),j.back,a.a.createElement("button",Ln({style:y.buttonNext,type:"button"},s),j.primary)),j.close)}}]),r}(a.a.Component),qa=["beaconComponent","tooltipComponent"],Va=function(e){$n(r,e);var t=Un(r);function r(){var e;Mn(this,r);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return Dn(qn(e=t.call.apply(t,[this].concat(a))),"handleClickBack",(function(t){t.preventDefault(),e.props.helpers.prev()})),Dn(qn(e),"handleClickClose",(function(t){t.preventDefault(),e.props.helpers.close()})),Dn(qn(e),"handleClickPrimary",(function(t){t.preventDefault();var r=e.props,n=r.continuous,a=r.helpers;n?a.next():a.close()})),Dn(qn(e),"handleClickSkip",(function(t){t.preventDefault(),e.props.helpers.skip()})),Dn(qn(e),"getElementsProps",(function(){var t=e.props,r=t.continuous,n=t.isLastStep,a=t.setTooltipRef,i=t.step,o=oa(i.locale.back),s=oa(i.locale.close),l=oa(i.locale.last),c=oa(i.locale.next),u=oa(i.locale.skip),d=r?c:s;return n&&(d=l),{backProps:{"aria-label":o,"data-action":"back",onClick:e.handleClickBack,role:"button",title:o},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":u,"data-action":"skip",onClick:e.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:a,role:"alertdialog"}}})),e}return In(r,[{key:"render",value:function(){var e=this.props,t=e.continuous,r=e.index,n=e.isLastStep,i=e.size,o=e.step;o.beaconComponent;var s,l=o.tooltipComponent,c=Fn(o,qa);if(l){var u=An(An({},this.getElementsProps()),{},{continuous:t,index:r,isLastStep:n,size:i,step:c}),d=l;s=a.a.createElement(d,u)}else s=a.a.createElement(Fa,Ln({},this.getElementsProps(),{continuous:t,index:r,isLastStep:n,size:i,step:o}));return s}}]),r}(a.a.Component),Ua=function(e){$n(r,e);var t=Un(r);function r(){return Mn(this,r),t.apply(this,arguments)}return In(r,[{key:"componentDidMount",value:function(){ra&&(na||this.renderReact15())}},{key:"componentDidUpdate",value:function(){ra&&(na||this.renderReact15())}},{key:"componentWillUnmount",value:function(){ra&&this.node&&(na||vn.a.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(!ra)return null;var e=this.props.children;return this.node||this.appendNode(),vn.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!ra||!na)return null;var e=this.props.children;return this.node||this.appendNode(),vn.a.createPortal(e,this.node)}},{key:"render",value:function(){return na?this.renderReact16():null}}]),r}(a.a.Component),Ha=function(e){$n(r,e);var t=Un(r);function r(){var e;Mn(this,r);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return Dn(qn(e=t.call.apply(t,[this].concat(a))),"scope",{removeScope:function(){}}),Dn(qn(e),"handleClickHoverBeacon",(function(t){var r=e.props,n=r.step,a=r.update;"mouseenter"===t.type&&"hover"!==n.event||a({lifecycle:ea.TOOLTIP})})),Dn(qn(e),"handleClickOverlay",(function(){var t=e.props,r=t.helpers;t.step.disableOverlayClose||r.close()})),Dn(qn(e),"setTooltipRef",(function(t){e.tooltip=t})),Dn(qn(e),"setPopper",(function(t,r){var n=e.props,a=n.action,i=n.setPopper,o=n.update;"wrapper"===r?e.beaconPopper=t:e.tooltipPopper=t,i(t,r),e.beaconPopper&&e.tooltipPopper&&o({action:a===Hn.CLOSE?Hn.CLOSE:a,lifecycle:ea.READY})})),e}return In(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,r=e.index;ma({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,a=t.continuous,i=t.controlled,o=t.debug,s=t.index,l=t.lifecycle,c=t.size,u=t.status,d=t.step,m=t.update,p=Object(gn.a)(e,this.props),h=p.changed,f=p.changedFrom,b={action:r,controlled:i,index:s,lifecycle:l,size:c,status:u},g=a&&r!==Hn.CLOSE&&(s>0||r===Hn.PREV),_=h("action")||h("index")||h("lifecycle")||h("status"),y=f("lifecycle",[ea.TOOLTIP,ea.INIT],ea.INIT);if(h("action",[Hn.NEXT,Hn.PREV,Hn.SKIP,Hn.CLOSE])&&(y||i)&&n(An(An({},b),{},{index:e.index,lifecycle:ea.COMPLETE,step:e.step,type:Zn})),"center"===d.placement&&u===ta.RUNNING&&h("index")&&r!==Hn.START&&l===ea.INIT&&m({lifecycle:ea.READY}),_){var v=ga(d.target),k=!!v;k&&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,a=r.visibility;if("none"===n||"hidden"===a)return!1}t=t.parentNode}return!0}(v)?(f("status",ta.READY,ta.RUNNING)||f("lifecycle",ea.INIT,ea.READY))&&n(An(An({},b),{},{step:d,type:Gn})):(console.warn(k?"Target not visible":"Target not mounted",d),n(An(An({},b),{},{type:Qn,step:d})),i||m({index:s+(-1!==[Hn.PREV].indexOf(r)?-1:1)}))}f("lifecycle",ea.INIT,ea.READY)&&m({lifecycle:ua(d)||g?ea.TOOLTIP:ea.BEACON}),h("index")&&ma({title:"step:".concat(l),data:[{key:"props",value:this.props}],debug:o}),h("lifecycle",ea.BEACON)&&n(An(An({},b),{},{step:d,type:Yn})),h("lifecycle",ea.TOOLTIP)&&(n(An(An({},b),{},{step:d,type:Xn})),this.scope=new Ma(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),f("lifecycle",[ea.TOOLTIP,ea.INIT],ea.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!(!ua(t)&&r!==ea.TOOLTIP)}},{key:"render",value:function(){var e=this.props,t=e.continuous,r=e.debug,n=e.helpers,i=e.index,o=e.lifecycle,s=e.nonce,l=e.shouldScroll,c=e.size,u=e.step,d=ga(u.target);return Ta(u)&&_n.a.domElement(d)?a.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},a.a.createElement(Ua,{id:"react-joyride-portal"},a.a.createElement(La,Ln({},u,{debug:r,lifecycle:o,onClickOverlay:this.handleClickOverlay}))),a.a.createElement(zn.a,Ln({component:a.a.createElement(Va,{continuous:t,helpers:n,index:i,isLastStep:i+1===c,setTooltipRef:this.setTooltipRef,size:c,step:u}),debug:r,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||ka(d),open:this.open,placement:u.placement,target:u.target},u.floaterProps),a.a.createElement(Pa,{beaconComponent:u.beaconComponent,locale:u.locale,nonce:s,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,styles:u.styles}))):null}}]),r}(a.a.Component),Wa=function(e){$n(r,e);var t=Un(r);function r(e){var n;return Mn(this,r),Dn(qn(n=t.call(this,e)),"initStore",(function(){var e=n.props,t=e.debug,r=e.getHelpers,a=e.run,i=e.stepIndex;n.store=new fa(An(An({},n.props),{},{controlled:a&&_n.a.number(i)})),n.helpers=n.store.getHelpers();var o=n.store.addListener;return ma({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),o(n.syncState),r(n.helpers),n.store.getState()})),Dn(qn(n),"callback",(function(e){var t=n.props.callback;_n.a.function(t)&&t(e)})),Dn(qn(n),"handleKeyboard",(function(e){var t=n.state,r=t.index,a=t.lifecycle,i=n.props.steps[r],o=window.Event?e.which:e.keyCode;a===ea.TOOLTIP&&27===o&&i&&!i.disableCloseOnEsc&&n.store.close()})),Dn(qn(n),"syncState",(function(e){n.setState(e)})),Dn(qn(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),Dn(qn(n),"shouldScroll",(function(e,t,r,n,a,i,o){return!e&&(0!==t||r||n===ea.TOOLTIP)&&"center"!==a.placement&&(!a.isFixed||!ka(i))&&o.lifecycle!==n&&-1!==[ea.BEACON,ea.TOOLTIP].indexOf(n)})),n.state=n.initStore(),n}return In(r,[{key:"componentDidMount",value:function(){if(ra){var e=this.props,t=e.disableCloseOnEsc,r=e.debug,n=e.run,a=e.steps,i=this.store.start;Aa(a,r)&&n&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(ra){var r=this.state,a=r.action,i=r.controlled,o=r.index,s=r.lifecycle,l=r.status,c=this.props,u=c.debug,d=c.run,m=c.stepIndex,p=c.steps,h=e.steps,f=e.stepIndex,b=this.store,g=b.reset,_=b.setSteps,y=b.start,v=b.stop,k=b.update,x=Object(gn.a)(e,this.props).changed,w=Object(gn.a)(t,this.state),N=w.changed,E=w.changedFrom,j=za(p[o],this.props),O=!function e(t,r){var a,i=Object(n.isValidElement)(t)||Object(n.isValidElement)(r),o=_n.a.undefined(t)||_n.a.undefined(r);if(ia(t)!==ia(r)||i||o)return!1;if(_n.a.domElement(t))return t.isSameNode(r);if(_n.a.number(t))return t===r;if(_n.a.function(t))return t.toString()===r.toString();for(var s in t)if(sa(t,s)){if(void 0===t[s]||void 0===r[s])return!1;if(a=ia(t[s]),-1!==["object","array"].indexOf(a)&&e(t[s],r[s]))continue;if("function"===a&&e(t[s],r[s]))continue;if(t[s]!==r[s])return!1}for(var l in r)if(sa(r,l)&&void 0===t[l])return!1;return!0}(h,p),S=_n.a.number(m)&&x("stepIndex"),C=ga(null==j?void 0:j.target);if(O&&(Aa(p,u)?_(p):console.warn("Steps are not valid",p)),x("run")&&(d?y(m):v()),S){var z=f<m?Hn.NEXT:Hn.PREV;a===Hn.STOP&&(z=Hn.START),-1===[ta.FINISHED,ta.SKIPPED].indexOf(l)&&k({action:a===Hn.CLOSE?Hn.CLOSE:z,index:m,lifecycle:ea.INIT})}i||l!==ta.RUNNING||0!==o||C||(k({index:o+1}),this.callback(An(An({},this.state),{},{type:Qn,step:j})));var T=An(An({},this.state),{},{index:o,step:j});if(N("action",[Hn.NEXT,Hn.PREV,Hn.SKIP,Hn.CLOSE])&&N("status",ta.PAUSED)){var A=za(p[t.index],this.props);this.callback(An(An({},T),{},{index:t.index,lifecycle:ea.COMPLETE,step:A,type:Zn}))}if(N("status",[ta.FINISHED,ta.SKIPPED])){var M=za(p[t.index],this.props);i||this.callback(An(An({},T),{},{index:t.index,lifecycle:ea.COMPLETE,step:M,type:Zn})),this.callback(An(An({},T),{},{index:t.index,step:M,type:Kn})),g()}else E("status",[ta.IDLE,ta.READY],ta.RUNNING)?this.callback(An(An({},T),{},{type:Wn})):(N("status")||N("action",Hn.RESET))&&this.callback(An(An({},T),{},{type:Jn}));j&&(this.scrollToStep(t),"center"===j.placement&&l===ta.RUNNING&&a===Hn.START&&s===ea.INIT&&k({lifecycle:ea.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,a=t.status,i=this.props,o=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,d=i.scrollDuration,m=za(i.steps[r],this.props);if(m){var p=ga(m.target),h=this.shouldScroll(s,r,c,n,m,p,e);if(a===ta.RUNNING&&h){var f=va(p,l),b=ya(p,l),g=Math.floor(wa(p,u,l))||0;if(ma({title:"scrollToStep",data:[{key:"index",value:r},{key:"lifecycle",value:n},{key:"status",value:a}],debug:o}),n===ea.BEACON&&this.beaconPopper){var _=this.beaconPopper,y=_.placement,v=_.popper;-1!==["bottom"].indexOf(y)||f||(g=Math.floor(v.top-u))}else if(n===ea.TOOLTIP&&this.tooltipPopper){var k=this.tooltipPopper,x=k.flipped,w=k.placement,N=k.popper;-1===["top","right","left"].indexOf(w)||x||f?g-=m.spotlightPadding:g=Math.floor(N.top-u)}g=g>=0?g:0,a===ta.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Na(),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300;new Promise((function(n,a){var i=t.scrollTop,o=e>i?e-i:i-e;Nn.a.top(t,e,{duration:o<100?50:r},(function(e){return e&&"Element already at target scroll position"!==e.message?a(e):n()}))}))}(g,b,d)}}}},{key:"render",value:function(){if(!ra)return null;var e,t=this.state,r=t.index,n=t.status,i=this.props,o=i.continuous,s=i.debug,l=i.nonce,c=i.scrollToFirstStep,u=za(i.steps[r],this.props);return n===ta.RUNNING&&u&&(e=a.a.createElement(Ha,Ln({},this.state,{callback:this.callback,continuous:o,debug:s,setPopper:this.setPopper,helpers:this.helpers,nonce:l,shouldScroll:!u.disableScrolling&&(0!==r||c),step:u,update:this.store.update}))),a.a.createElement("div",{className:"react-joyride"},e)}}]),r}(a.a.Component);Dn(Wa,"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:[]});var Ga=a.a.forwardRef((function(e){return a.a.createElement("div",Object.assign({className:"pb_card_kit_border_none p_none"},e.tooltipProps),e.step.title&&a.a.createElement("div",null,a.a.createElement(Q.a,{align:"center",justify:"between",padding:"xs"},a.a.createElement(We.a,{paddingLeft:"xs",size:4},e.step.title),e.skip&&a.a.createElement(Ae.a,Object.assign({},e.skipProps,{id:"skip",text:"Skip Tour",variant:"link"})),a.a.createElement(Ae.a,Object.assign({},e.skipProps,{id:"skip",text:"Skip Tour",variant:"link"}))),a.a.createElement(Mr.a,null)),a.a.createElement(Q.a,{padding:"sm"},e.step.content),a.a.createElement(Mr.a,null),a.a.createElement(Q.a,{justify:0==e.index?"end":"between",padding:"xs"},e.index>0&&a.a.createElement(Ae.a,Object.assign({},e.backProps,{id:"back",text:"Back"})),e.continuous&&!e.isLastStep&&a.a.createElement(Ae.a,Object.assign({},e.primaryProps,{id:"next",text:"Next"})),!e.continuous&&a.a.createElement(Ae.a,Object.assign({},e.closeProps,{id:"close",text:"Close"})),!(e.continuous&&!e.isLastStep||!e.continuous)&&a.a.createElement(Ae.a,Object.assign({},e.closeProps,{id:"close",text:"Close"}))))})),Ya=function(e){var t=e.aria,r=void 0===t?{}:t,n=e.callback,i=e.className,c=e.continuous,u=void 0!==c&&c,d=e.data,m=void 0===d?{}:d,p=e.disableOverlay,h=e.floaterProps,f=void 0===h?{offset:50}:h,b=e.htmlOptions,g=void 0===b?{}:b,_=e.id,y=e.run,v=void 0!==y&&y,k=e.steps,x=e.styles,w=void 0===x?{options:{zIndex:2e4}}:x,N=e.showSkipButton,E=Object(s.a)(r),j=Object(s.c)(m),O=Object(s.d)(g),S=o()(Object(s.b)("pb_walkthrough"),Object(l.c)(e),i);return a.a.createElement("div",Object.assign({},E,j,O,{className:S,id:_}),a.a.createElement(Wa,Object.assign({callback:n,continuous:u,disableOverlay:p,disableScrolling:!0,floaterProps:f,run:v,showSkipButton:N,steps:k,styles:w,tooltipComponent:Ga},e)))},Xa=r(129),Za=r(7),Ka=r.n(Za),Ja=r(9),Qa=r.n(Ja),ei=[Ka.a.data_1,Ka.a.data_2,Ka.a.data_3,Ka.a.data_4,Ka.a.data_5,Ka.a.data_6,Ka.a.data_7,Ka.a.data_8],ti=function(e){e.minorGridLineColor=Ka.a.slate,e.minorGridLineWidth=.5,e.minorGridLineDashStyle="Dash",e.gridLineWidth=.5,e.gridLineColor=Ka.a.slate,e.gridLineDashStyle="Dash",e.lineColor=Ka.a.sky,e.labels.style.fontFamily=Qa.a.font_family_base,e.labels.style.color=Ka.a.charcoal,e.labels.style.fontWeight=Qa.a.light,e.labels.style.fontSize=Qa.a.font_small},ri=function(e){!function(e){e.series.forEach((function(e,t){var r=ei[t];e.color=r,e.data.forEach((function(e){e.color&&(e.color=r),e.marker&&(e.marker.lineColor&&(e.marker.lineColor=r),void 0!==e.marker.states.hover&&(e.marker.states.hover.lineColor=r),e.marker.states.select.lineColor&&(e.marker.states.select.lineColor=r))}))}))}(e),function(e){Array.isArray(e.yAxis)?e.yAxis.forEach((function(e){ti(e)})):ti(e.yAxis),Array.isArray(e.xAxis)?e.xAxis.forEach((function(e){ti(e)})):ti(e.xAxis)}(e),function(e){e.chart.spacingTop=30,e.chart.spacingBottom=40,e.chart.spacingLeft=50,e.chart.spacingRight=50}(e),function(e){e.legend.itemStyle.fontFamily=Qa.a.font_family_base,e.legend.itemStyle.color=Ka.a.text_lt_light,e.legend.itemStyle.fontWeight=Qa.a.regular,e.legend.itemStyle.fontSize=Qa.a.text_smaller}(e)},ni=function(e){ri(e),function(e){var t=e.plotOptions.series;t.dataLabels.style.fontFamily=Qa.a.font_family_base,t.dataLabels.style.fontSize=Qa.a.text_small,t.dataLabels.style.fontWeight=Qa.a.bold}(e),function(e){e.plotOptions.line.marker.enabled=!0,e.plotOptions.series.marker.enabled=!0,e.plotOptions.series.marker.fillColor="white",e.plotOptions.series.marker.lineWidth=2}(e),document.getElementById("main-view").setAttribute("style","position: static !important")},ai=function(e){ri(e),function(e){var t=e.plotOptions.column,r=e.plotOptions.series;t.borderRadius=0,t.pointPadding=.3,t.groupPadding=0,r.borderWidth=0,r.shadow=!1,r.pointPadding=.25,r.groupPadding=0}(e),function(e){var t=e.plotOptions.series;t.dataLabels.style.fontFamily=Qa.a.font_family_base,t.dataLabels.style.fontSize=Qa.a.text_small,t.dataLabels.style.fontWeight=Qa.a.bold}(e)},ii={title:{fontFamily:Qa.a.font_family_base,color:Ka.a.text_lt_light,fontSizes:{big:Qa.a.text_large,medium:Qa.a.text_base,small:Qa.a.text_small,micro:Qa.a.text_small}},secondaryTitle:{color:Ka.a.text_lt_light,fontFamily:Qa.a.font_family_base,fontSizes:{big:Qa.a.text_large,medium:Qa.a.text_base,small:Qa.a.text_small,micro:Qa.a.text_small}},value:{fontFamily:Qa.a.font_family_base,color:Ka.a.text_lt_default,fontWeight:Qa.a.lighter,fontSizes:{big:Qa.a.heading_1,medium:Qa.a.heading_1,small:Qa.a.text_base,micro:Qa.a.text_small}},secondaryValue:{fontFamily:Qa.a.font_family_base,fontSizes:{big:Qa.a.text_large,medium:Qa.a.text_base,small:Qa.a.text_small,micro:Qa.a.text_small}}},oi=r(174),si=r(212),li=r(170),ci=r(172),ui=r(213),di=r(214),mi=r(215),pi={marker:Ka.a.primary_action,maptiles:"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",flyToConfig:{zoom:13,bearing:0,curve:1.42,easing:function(e){return e},essential:!0},zoomConfig:{duration:1e3},mapConfig:{style:"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",zoom:13,attributionControl:!1}},hi=r(171),fi=r(283),bi=r.n(fi),gi=r(284),_i=r.n(gi),yi=r(285),vi=r.n(yi),ki=r(286),xi=r.n(ki),wi=r(287),Ni=r.n(wi),Ei=r(288),ji=r.n(Ei),Oi=r(289),Si=r.n(Oi),Ci=r(290),zi=r.n(Ci)},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return c})),r.d(t,"d",(function(){return u}));var n=r(3),a=r.n(n),i=function(e,t){return Object.keys(t).reduce((function(r,n){return r["".concat(e,"-").concat(n)]=t[n],r}),{})},o=function(){},s=function(e){return i("aria",e)},l=function(e){return i("data",e)},c=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return a()(t).replace(/\s/g,"_")},u=function(e){var t={};return Object.keys(e).forEach((function(r){t[r]=e[r]})),t}},function(e,t,r){var n;
|
24
24
|
/*!
|
25
25
|
Copyright (c) 2018 Jed Watson.
|
26
26
|
Licensed under the MIT License (MIT), see
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.18.0.pre.alpha.
|
4
|
+
version: 13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2173
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|