1(self.webpackChunkboard=self.webpackChunkboard||[]).push([[87397],{828626:function(){},301431:function(){},138353:function(){},611128:function(e,t,i){"use strict";i.d(t,{A:function(){return h}});var s=i(560766),a=i(82958),r=i(239819),o=i(212849),l=i(177511),n={strings:{dropHereOr:"Drop here or %{browse}",browse:"browse"}};let p={inputName:"files[]",width:"100%",height:"100%"};class h extends s.A{constructor(e,t){super(e,{...p,...t}),this.isDragDropSupported=(0,r.A)(),this.addFiles=e=>{let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||null}}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}},this.onInputChange=e=>{let t=(0,a.A)(e.target.files);t.length>0&&(this.uppy.log("[DragDrop] Files selected through input"),this.addFiles(t)),e.target.value=null},this.handleDragOver=e=>{var t,i;e.preventDefault(),e.stopPropagation();let{types:s}=e.dataTransfer,a=s.some(e=>"Files"===e),{allowNewUpload:r}=this.uppy.getState();if(!a||!r){e.dataTransfer.dropEffect="none",clearTimeout(this.removeDragOverClassTimeout);return}e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!0}),null==(t=(i=this.opts).onDragOver)||t.call(i,e)},this.handleDragLeave=e=>{var t,i;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout(()=>{this.setPluginState({isDraggingOver:!1})},50),null==(t=(i=this.opts).onDragLeave)||t.call(i,e)},this.handleDrop=async e=>{var t,i;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!1});let s=await (0,o.A)(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error")}});s.length>0&&(this.uppy.log("[DragDrop] Files dropped"),this.addFiles(s)),null==(t=(i=this.opts).onDrop)||t.call(i,e)},this.type="acquirer",this.id=this.opts.id||"DragDrop",this.title="Drag & Drop",this.defaultLocale=n,this.i18nInit()}renderHiddenFileInput(){let{restrictions:e}=this.uppy.opts;return(0,l.h)("input",{className:"uppy-DragDrop-input",type:"file",hidden:!0,ref:e=>{this.fileInputRef=e},name:this.opts.inputName,multiple:1!==e.maxNumberOfFiles,accept:e.allowedFileTypes,onChange:this.onInputChange})}static renderArrowSvg(){return(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-DragDrop-arrow",width:"16",height:"16",viewBox:"0 0 16 16"},(0,l.h)("path",{d:"M11 10V0H5v10H2l6 6 6-6h-3zm0 0",fillRule:"evenodd"}))}renderLabel(){return(0,l.h)("div",{className:"uppy-DragDrop-label"},this.i18nArray("dropHereOr",{browse:(0,l.h)("span",{className:"uppy-DragDrop-browse"},this.i18n("browse"))}))}renderNote(){return(0,l.h)("span",{className:"uppy-DragDrop-note"},this.opts.note)}render(){let e=`uppy-u-reset 2 uppy-DragDrop-container 3 ${this.isDragDropSupported?"uppy-DragDrop--isDragDropSupported":""} 4 ${this.getPluginState().isDraggingOver?"uppy-DragDrop--isDraggingOver":""} 5 `,t={width:this.opts.width,height:this.opts.height};return(0,l.h)("button",{type:"button",className:e,style:t,onClick:()=>this.fileInputRef.click(),onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},this.renderHiddenFileInput(),(0,l.h)("div",{className:"uppy-DragDrop-inner"},h.renderArrowSvg(),this.renderLabel(),this.renderNote()))}install(){let{target:e}=this.opts;this.setPluginState({isDraggingOver:!1}),e&&this.mount(e,this)}uninstall(){this.unmount()}}h.VERSION="3.1.1"},686174:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(604125),a=i(212849),r=i(82958);let o={target:null};function l(e){var t,i;return null!=(t=null==(i=e.dataTransfer)||null==(i=i.types)?void 0:i.some(e=>"Files"===e))&&t}class n extends s.A{constructor(e,t){super(e,{...o,...t}),this.addFiles=e=>{let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||null}}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}},this.handleDrop=async e=>{var t,i,s;if(!l(e))return;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),null==(t=e.currentTarget)||t.classList.remove("uppy-is-drag-over"),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins(t=>{"acquirer"===t.type&&(null==t.handleRootDrop||t.handleRootDrop(e))});let r=!1,o=await (0,a.A)(e.dataTransfer,{logDropError:e=>
5{this.uppy.log(e,"error"),r||(this.uppy.info(e.message,"error"),r=!0)}});o.length>0&&(this.uppy.log("[DropTarget] Files were dropped"),this.addFiles(o)),null==(i=(s=this.opts).onDrop)||i.call(s,e)},this.handleDragOver=e=>{var t,i;l(e)&&(e.preventDefault(),e.stopPropagation(),e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),e.currentTarget.classList.add("uppy-is-drag-over"),this.setPluginState({isDraggingOver:!0}),null==(t=(i=this.opts).onDragOver)||t.call(i,e))},this.handleDragLeave=e=>{var t,i;if(!l(e))return;e.preventDefault(),e.stopPropagation();let{currentTarget:s}=e;clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout(()=>{s.classList.remove("uppy-is-drag-over"),this.setPluginState({isDraggingOver:!1})},50),null==(t=(i=this.opts).onDragLeave)||t.call(i,e)},this.addListeners=()=>{let{target:e}=this.opts;if(e instanceof Element?this.nodes=[e]:"string"==typeof e&&(this.nodes=(0,r.A)(document.querySelectorAll(e))),!this.nodes||0===this.nodes.length)throw Error(`"${e}" does not match any HTML elements`);this.nodes.forEach(e=>{e.addEventListener("dragover",this.handleDragOver,!1),e.addEventListener("dragleave",this.handleDragLeave,!1),e.addEventListener("drop",this.handleDrop,!1)})},this.removeListeners=()=>{this.nodes&&this.nodes.forEach(e=>{e.removeEventListener("dragover",this.handleDragOver,!1),e.removeEventListener("dragleave",this.handleDragLeave,!1),e.removeEventListener("drop",this.handleDrop,!1)})},this.type="acquirer",this.id=this.opts.id||"DropTarget",this.title="Drop Target"}install(){this.setPluginState({isDraggingOver:!1}),this.addListeners()}uninstall(){this.removeListeners()}}n.VERSION="2.1.0"},625911:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(512997),a=i(560766),r=i(186442),o=i(177511),l={strings:{pluginNameDropbox:"Dropbox"}};class n extends a.A{constructor(e,t){super(e,t),this.id=this.opts.id||"Dropbox",this.type="acquirer",this.storage=this.opts.storage||s.HM,this.files=[],this.icon=()=>(0,o.h)("svg",{className:"uppy-DashboardTab-iconDropbox","aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("path",{d:"M10.5 7.5L5 10.955l5.5 3.454 5.5-3.454 5.5 3.454 5.5-3.454L21.5 7.5 16 10.955zM10.5 21.319L5 17.864l5.5-3.455 5.5 3.455zM16 17.864l5.5-3.455 5.5 3.455-5.5 3.455zM16 25.925l-5.5-3.455 5.5-3.454 5.5 3.454z",fill:"currentcolor",fillRule:"nonzero"})),this.opts.companionAllowedHosts=(0,s.cP)(this.opts.companionAllowedHosts,this.opts.companionUrl),this.provider=new s.Kq(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"dropbox",pluginId:this.id,supportsRefreshToken:!0}),this.defaultLocale=l,this.i18nInit(),this.title=this.opts.title||this.i18n("pluginNameDropbox"),this.onFirstRender=this.onFirstRender.bind(this),this.render=this.render.bind(this)}install(){this.view=new r.gi(this,{provider:this.provider,loadAllFiles:!0,virtualList:!0});let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.view.tearDown(),this.unmount()}async onFirstRender(){await Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder()])}render(e){return this.view.render(e)}}n.VERSION="3.4.0"},885629:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(177511),a=i(560766),r=i(82958),o={strings:{chooseFiles:"Choose files"}};let l={pretty:!0,inputName:"files[]"};class n extends a.A{constructor(e,t){super(e,{...l,...t}),this.id=this.opts.id||"FileInput",this.title="File Input",this.type="acquirer",this.defaultLocale=o,this.i18nInit(),this.render=this.render.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleClick=this.handleClick.bind(this)}addFiles(e){let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}}handleInputChange(e){this.uppy.log("[FileInput] Something selected through input...");let t=(0,r.A)(e.target.files);this.addFiles(t),e.target.value=null}handleClick(){this.input.click()}render(){let{restrictions:e}=this.uppy.opts,t=e.allowedFileTypes?e.allowedFileTypes.join(","):void 0;return(0,s.h)("div",{className:"uppy-FileInput-container"},(0,s.h)("input",{className:"uppy-FileInput-input",style:this.opts.pretty?{width:"0.1px",height:"0.1px",opacity:0,overflow:"hidden",position:"absolute",zIndex:-1}:void 0,type:"file",name:this.opts.inputName,onChange:this.handleInputChange,multiple:1!==e.maxNumberOfFiles,accept:t,ref:e=>{this.input=e}}),this.opts.pretty&&(0,s.h)("button",{className:"uppy-FileInput-btn",type:"button",onClick:this.handleClick},this.i18n("chooseFiles")))}install(){let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}n.VERSION="3.1.2"},575546:function(e,t,i){"use strict";i.d(t,{default:function(){return p}});var s=i(512997),a=i(560766),r=i(177511),o=i(186442);class l extends o.gi{toggleCheckbox(e,t){e.stopPropagation(),e.preventDefault(),t.custom.isSharedDrive||super.toggleCheckbox(e,t)}}var n={strings:{pluginNameGoogleDrive:"Google Drive"}};class p extends a.A{constructor(e,t){super(e,t),this.type="acquirer",this.storage=this.opts.storage||s.HM,this.files=[],this.id=this.opts.id||"GoogleDrive",this.icon=()=>(0,r.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,r.h)("g",{fillRule:"nonzero",fill:"none"},(0,r.h)("path",{d:"M6.663 22.284l.97 1.62c.202.34.492.609.832.804l3.465-5.798H5c0 .378.1.755.302 1.096l1.361 2.278z",fill:"#0066DA"}),(0,r.h)("path",{d:"M16 12.09l-3.465-5.798c-.34.195-.63.463-.832.804l-6.4 10.718A2.15 2.15 0 005 18.91h6.93L16 12.09z",fill:"#00AC47"}),(0,r.h)("path",{d:"M23.535 24.708c.34-.195.63-.463.832-.804l.403-.67 1.928-3.228
5c.201-.34.302-.718.302-1.096h-6.93l1.474 2.802 1.991 2.996z",fill:"#EA4335"}),(0,r.h)("path",{d:"M16 12.09l3.465-5.798A2.274 2.274 0 0018.331 6h-4.662c-.403 0-.794.11-1.134.292L16 12.09z",fill:"#00832D"}),(0,r.h)("path",{d:"M20.07 18.91h-8.14l-3.465 5.798c.34.195.73.292 1.134.292h12.802c.403 0 .794-.11 1.134-.292L20.07 18.91z",fill:"#2684FC"}),(0,r.h)("path",{d:"M23.497 12.455l-3.2-5.359a2.252 2.252 0 00-.832-.804L16 12.09l4.07 6.82h6.917c0-.377-.1-.755-.302-1.096l-3.188-5.359z",fill:"#FFBA00"}))),this.opts.companionAllowedHosts=(0,s.cP)(this.opts.companionAllowedHosts,this.opts.companionUrl),this.provider=new s.Kq(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionKeysParams:this.opts.companionKeysParams,companionCookiesRule:this.opts.companionCookiesRule,provider:"drive",pluginId:this.id,supportsRefreshToken:!0}),this.defaultLocale=n,this.i18nInit(),this.title=this.i18n("pluginNameGoogleDrive"),this.onFirstRender=this.onFirstRender.bind(this),this.render=this.render.bind(this)}install(){this.view=new l(this,{provider:this.provider,loadAllFiles:!0,virtualList:!0});let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.view.tearDown(),this.unmount()}async onFirstRender(){await Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder("root")])}render(e){return this.view.render(e)}}p.VERSION="3.6.0"},439511:function(e,t,i){"use strict";let s;i.d(t,{A:function(){return eE}});var a=i(560766),r=i(384400),o=i(177511);class l extends o.uA{constructor(){super(...arguments),this.ref=(0,o._3)()}componentWillEnter(e){this.ref.current.style.opacity="1",this.ref.current.style.transform="none",setTimeout(e,300)}componentWillLeave(e){this.ref.current.style.opacity="0",this.ref.current.style.transform="translateY(350%)",setTimeout(e,300)}render(){let{children:e}=this.props;return(0,o.h)("div",{className:"uppy-Informer-animated",ref:this.ref},e)}}function n(e){let t={};for(let i=0;i<e.length;i++)null!=e[i]&&(t[function(e,t){var i;return null!=(i=null==e?void 0:e.key)?i:t}(e[i],i.toString(36))]=e[i]);return t}class p extends o.uA{constructor(e,t){super(e,t),this.refs={},this.state={children:n((0,o.v2)((0,o.v2)(this.props.children))||[])},this.performAppear=this.performAppear.bind(this),this.performEnter=this.performEnter.bind(this),this.performLeave=this.performLeave.bind(this)}componentWillMount(){this.currentlyTransitioningKeys={},this.keysToAbortLeave=[],this.keysToEnter=[],this.keysToLeave=[]}componentDidMount(){let e=this.state.children;for(let t in e)e[t]&&this.performAppear(t)}componentWillReceiveProps(e){let t;let i=n((0,o.v2)(e.children)||[]),s=this.state.children;for(t in this.setState(e=>({children:function(e,t){e=e||{},t=t||{};let i=i=>t.hasOwnProperty(i)?t[i]:e[i],s={},a=[];for(let i in e)t.hasOwnProperty(i)?a.length&&(s[i]=a,a=[]):a.push(i);let r={};for(let e in t){if(s.hasOwnProperty(e))for(let t=0;t<s[e].length;t++){let a=s[e][t];r[s[e][t]]=i(a)}r[e]=i(e)}for(let e=0;e<a.length;e++)r[a[e]]=i(a[e]);return r}(e.children,i)})),i)if(i.hasOwnProperty(t)){let e=s&&s.hasOwnProperty(t);i[t]&&e&&this.currentlyTransitioningKeys[t]?(this.keysToEnter.push(t),this.keysToAbortLeave.push(t)):!i[t]||e||this.currentlyTransitioningKeys[t]||this.keysToEnter.push(t)}for(t in s)if(s.hasOwnProperty(t)){let e=i&&i.hasOwnProperty(t);!s[t]||e||this.currentlyTransitioningKeys[t]||this.keysToLeave.push(t)}}componentDidUpdate(){let{keysToEnter:e}=this;this.keysToEnter=[],e.forEach(this.performEnter);let{keysToLeave:t}=this;this.keysToLeave=[],t.forEach(this.performLeave)}_finishAbort(e){let t=this.keysToAbortLeave.indexOf(e);-1!==t&&this.keysToAbortLeave.splice(t,1)}performAppear(e){this.currentlyTransitioningKeys[e]=!0;let t=this.refs[e];null!=t&&t.componentWillAppear?t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppearing(e)}_handleDoneAppearing(e){let t=this.refs[e];null!=t&&t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e],this._finishAbort(e);let i=n((0,o.v2)(this.props.children)||[]);i&&i.hasOwnProperty(e)||this.performLeave(e)}performEnter(e){this.currentlyTransitioningKeys[e]=!0;let t=this.refs[e];null!=t&&t.componentWillEnter?t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEntering(e)}_handleDoneEntering(e){let t=this.refs[e];null!=t&&t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e],this._finishAbort(e);let i=n((0,o.v2)(this.props.children)||[]);i&&i.hasOwnProperty(e)||this.performLeave(e)}performLeave(e){if(-1!==this.keysToAbortLeave.indexOf(e))return;this.currentlyTransitioningKeys[e]=!0;let t=this.refs[e];null!=t&&t.componentWillLeave?t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(e)}_handleDoneLeaving(e){if(-1!==this.keysToAbortLeave.indexOf(e))return;let t=this.refs[e];null!=t&&t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];let i=n((0,o.v2)(this.props.children)||[]);if(i&&i.hasOwnProperty(e))this.performEnter(e);else{let t=Object.assign({},this.state.children);delete t[e],this.setState({children:t})}}render(e,t){let{childFactory:i,transitionLeave:s,transitionName:a,transitionAppear:r,transitionEnter:l,transitionLeaveTimeout:n,transitionEnterTimeout:p,transitionAppearTimeout:h,component:d,...u}=e,{children:c}=t,m=Object.entries(c).map(e=>{let[t,s]=e;if(!s)return;let a=function(e,t){let i=e._ptgLinkedRefs||(e._ptgLinkedRefs={});return i[t]||(i[t]=i=>{e.refs[t]=i})}(this,t);return(0,o.Ob)(i(s),{ref:a,key:t})}
5).filter(Boolean);return(0,o.h)(d,u,m)}}p.defaultProps={component:"span",childFactory:e=>e};class h extends a.A{constructor(e,t){super(e,t),this.render=e=>(0,o.h)("div",{className:"uppy uppy-Informer"},(0,o.h)(p,null,e.info.map(e=>(0,o.h)(l,{key:e.message},(0,o.h)("p",{role:"alert"},e.message," ",e.details&&(0,o.h)("span",{"aria-label":e.details,"data-microtip-position":"top-left","data-microtip-size":"medium",role:"tooltip",onClick:()=>alert(`${e.message} 6 7 ${e.details}`)},"?")))))),this.type="progressindicator",this.id=this.opts.id||"Informer",this.title="Informer"}install(){let{target:e}=this.opts;e&&this.mount(e,this)}}h.VERSION="3.1.0";var d=i(483220),u=i(974389),c=i(82958),m=i(212849),g=i(186442),y=i(349116),v=i(321502),b=i(818406);function f(e,t){if(t){let i=e.querySelector('[data-uppy-paneltype="'.concat(t,'"]'));if(i)return i}return e}function D(e,t){let i=t[0];i&&(i.focus(),e.preventDefault())}function F(e,t,i){let s=f(i,t),a=(0,c.A)(s.querySelectorAll(b.A)),r=a.indexOf(document.activeElement);s.contains(document.activeElement)?e.shiftKey&&0===r?function(e,t){let i=t[t.length-1];i&&(i.focus(),e.preventDefault())}(e,a):e.shiftKey||r!==a.length-1||D(e,a):D(e,a)}var C=i(490424),w=i(97500),P=i(239819),T=i(504019),I=i(731623),A=i(419765);function k(e){let t={color:"#838999",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("g",{fill:"#A7AFB7",fillRule:"nonzero"},(0,o.h)("path",{d:"M5.5 22a.5.5 0 0 1-.5-.5v-18a.5.5 0 0 1 .5-.5h10.719a.5.5 0 0 1 .367.16l3.281 3.556a.5.5 0 0 1 .133.339V21.5a.5.5 0 0 1-.5.5h-14zm.5-1h13V7.25L16 4H6v17z"}),(0,o.h)("path",{d:"M15 4v3a1 1 0 0 0 1 1h3V7h-3V4h-1z"})))};if(!e)return t;let i=e.split("/")[0],s=e.split("/")[1];return"text"===i?{color:"#5a5e69",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M4.5 7h13a.5.5 0 1 1 0 1h-13a.5.5 0 0 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h10a.5.5 0 1 1 0 1h-10a.5.5 0 1 1 0-1z",fill:"#5A5E69",fillRule:"nonzero"}))}:"image"===i?{color:"#686de0",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("g",{fill:"#686DE0",fillRule:"evenodd"},(0,o.h)("path",{d:"M5 7v10h15V7H5zm0-1h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z",fillRule:"nonzero"}),(0,o.h)("path",{d:"M6.35 17.172l4.994-5.026a.5.5 0 0 1 .707 0l2.16 2.16 3.505-3.505a.5.5 0 0 1 .707 0l2.336 2.31-.707.72-1.983-1.97-3.505 3.505a.5.5 0 0 1-.707 0l-2.16-2.159-3.938 3.939-1.409.026z",fillRule:"nonzero"}),(0,o.h)("circle",{cx:"7.5",cy:"9.5",r:"1.5"})))}:"audio"===i?{color:"#068dbb",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M9.5 18.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V7.25a.5.5 0 0 1 .379-.485l9-2.25A.5.5 0 0 1 18.5 5v11.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V8.67l-8 2v7.97zm8-11v-2l-8 2v2l8-2zM7 19.64c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1zm9-2c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1z",fill:"#049BCF",fillRule:"nonzero"}))}:"video"===i?{color:"#19af67",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M16 11.834l4.486-2.691A1 1 0 0 1 22 10v6a1 1 0 0 1-1.514.857L16 14.167V17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2.834zM15 9H5v8h10V9zm1 4l5 3v-6l-5 3z",fill:"#19AF67",fillRule:"nonzero"}))}:"application"===i&&"pdf"===s?{color:"#e25149",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M9.766 8.295c-.691-1.843-.539-3.401.747-3.726 1.643-.414 2.505.938 2.39 3.299-.039.79-.194 1.662-.537 3.148.324.49.66.967 1.055 1.51.17.231.382.488.629.757 1.866-.128 3.653.114 4.918.655 1.487.635 2.192 1.685 1.614 2.84-.566 1.133-1.839 1.084-3.416.249-1.141-.604-2.457-1.634-3.51-2.707a13.467 13.467 0 0 0-2.238.426c-1.392 4.051-4.534 6.453-5.707 4.572-.986-1.58 1.38-4.206 4.914-5.375.097-.322.185-.656.264-1.001.08-.353.306-1.31.407-1.737-.678-1.059-1.2-2.031-1.53-2.91zm2.098 4.87c-.033.144-.068.287-.104.427l.033-.01-.012.038a14.065 14.065 0 0 1 1.02-.197l-.032-.033.052-.004a7.902 7.902 0 0 1-.208-.271c-.197-.27-.38-.526-.555-.775l-.006.028-.002-.003c-.076.323-.148.632-.186.8zm5.77 2.978c1.143.605 1.832.632 2.054.187.26-.519-.087-1.034-1.113-1.473-.911-.39-2.175-.608-3.55-.608.845.766 1.787 1.459 2.609 1.894zM6.559 18.789c.14.223.693.16 1.425-.413.827-.648 1.61-1.747 2.208-3.206-2.563 1.064-4.102 2.867-3.633 3.62zm5.345-10.97c.088-1.793-.351-2.48-1.146-2.28-.473.119-.564 1.05-.056 2.405.213.566.52 1.188.908 1.859.18-.858.268-1.453.294-1.984z",fill:"#E2514A",fillRule:"nonzero"}))}:"application"===i&&-1!==["zip","x-7z-compressed","x-zip-compressed","x-rar-compressed","x-tar","x-gzip","x-apple-diskimage"].indexOf(s)?{color:"#00C469",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M10.45 2.05h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V2.55a.5.5 0 0 1 .5-.5zm2.05 1.024h1.05a.5.5 0 0 1 .5.5V3.6a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5v-.001zM10.45 0h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 3.074h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 1.024h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm-2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-1.656 3.074l-.82 5.946c.52.302 1.174.458 1.976.458.803 0 1.455-.156 1.975-.458l-.82-5.946h-2.311zm0-1.025h2.312c.512 0 .946.378 1.015.885l.82 5.946c.056.412-.142.817-.501 1.026-.686.398-1.515.597-2.49.597-.974 0-1.804-.199-2.49-.597a1.025 1.025 0 0 1-.5-1.026l.819-5.946c.07-.507.503-.885 1.015-.885zm.545 6.6a.5.5 0 0 1-.397-.561l.143-.999a.5.5 0 0 1 .495-.429h.74a.5.5 0 0 1 .495.43l.143.998a.5.5 0 0 1-.397.561c-.404.08-.819.08-1.222 0z",fill:"#00C469",fillRule:"nonzero"}))}:t}function N(e){let{file:t}=e;if(t.preview)return(0,o.h)("img",{className:"uppy-Dashboard-Item-previewImg",alt:t.name,src:t.preview});let{color:i,icon:s}=k(t.type);return(0,o.h)("div",{className:"uppy-Dashboard-Item-previewIconWrap"},(0,o.h)("span",{className:"uppy-Dashboard-Item-previewIcon",style:{color:i}},s),(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-Dashboard-Item-previewIconBg",width:"58",height:"76",viewBox:"0 0 58 76"},(0,o.h)("rect",{fill:"#FFF",width:"58",height:"76",rx:"3",fillRule:"evenodd"})))}let E=(e,t)=>("function"==typeof t?t():t).filter(t=>t.id===e)[0].name;function S(e){let{file:t,toggleFileCard:i,i18n:s,metaFields:a}=e,{missingRequiredMetaFields:r}=t;if(!(null!=r&&r.length))return null;let l=r.map(e=>E(e,a)).join(", ");return(0,o.h)("div",{className:"uppy-Dashboard-Item-errorMessage"},s("missingRequiredMetaFields",{smart_count:r.length,fields:l})," ",(0,o.h)("button",{type:"button",class:"uppy-u-reset uppy-Dashboard-Item-errorMessageBtn",onClick:()=>i(!0,t.id)},s("editFile")))}function O(e){let{file:t,i18n:i,toggleFileCard:s,metaFields:a,showLinkToFileUploadResult:r}
7=e,l=t.preview?"rgba(255, 255, 255, 0.5)":k(t.type).color;return(0,o.h)("div",{className:"uppy-Dashboard-Item-previewInnerWrap",style:{backgroundColor:l}},r&&t.uploadURL&&(0,o.h)("a",{className:"uppy-Dashboard-Item-previewLink",href:t.uploadURL,rel:"noreferrer noopener",target:"_blank","aria-label":t.meta.name},(0,o.h)("span",{hidden:!0},t.meta.name)),(0,o.h)(N,{file:t}),(0,o.h)(S,{file:t,i18n:i,toggleFileCard:s,metaFields:a}))}function R(e){return e.isUploaded?e.i18n("uploadComplete"):e.error?e.i18n("retryUpload"):e.resumableUploads?e.file.isPaused?e.i18n("resumeUpload"):e.i18n("pauseUpload"):e.individualCancellation?e.i18n("cancelUpload"):""}function M(e){return(0,o.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-progressIndicator",type:"button","aria-label":R(e),title:R(e),onClick:()=>(function(e){if(!e.isUploaded){if(e.error&&!e.hideRetryButton){e.uppy.retryUpload(e.file.id);return}e.resumableUploads&&!e.hidePauseResumeButton?e.uppy.pauseResume(e.file.id):e.individualCancellation&&!e.hideCancelButton&&e.uppy.removeFile(e.file.id)}})(e)},e.children))}function L(e){let{children:t}=e;return(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"70",height:"70",viewBox:"0 0 36 36",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--circle"},t)}function B(e){let{progress:t}=e,i=2*Math.PI*15;return(0,o.h)("g",null,(0,o.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--bg",r:"15",cx:"18",cy:"18","stroke-width":"2",fill:"none"}),(0,o.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--progress",r:"15",cx:"18",cy:"18",transform:"rotate(-90, 18, 18)",fill:"none","stroke-width":"2","stroke-dasharray":i,"stroke-dashoffset":i-i/100*t}))}function z(e){return e.file.progress.uploadStarted?e.isUploaded?(0,o.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,o.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,o.h)(L,null,(0,o.h)("circle",{r:"15",cx:"18",cy:"18",fill:"#1bb240"}),(0,o.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--check",transform:"translate(2, 3)",points:"14 22.5 7 15.2457065 8.99985857 13.1732815 14 18.3547104 22.9729883 9 25 11.1005634"})))):e.recoveredState?void 0:e.error&&!e.hideRetryButton?(0,o.h)(M,e,(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--retry",width:"28",height:"31",viewBox:"0 0 16 19"},(0,o.h)("path",{d:"M16 11a8 8 0 1 1-8-8v2a6 6 0 1 0 6 6h2z"}),(0,o.h)("path",{d:"M7.9 3H10v2H7.9z"}),(0,o.h)("path",{d:"M8.536.5l3.535 3.536-1.414 1.414L7.12 1.914z"}),(0,o.h)("path",{d:"M10.657 2.621l1.414 1.415L8.536 7.57 7.12 6.157z"}))):e.resumableUploads&&!e.hidePauseResumeButton?(0,o.h)(M,e,(0,o.h)(L,null,(0,o.h)(B,{progress:e.file.progress.percentage}),e.file.isPaused?(0,o.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--play",transform:"translate(3, 3)",points:"12 20 12 10 20 15"}):(0,o.h)("g",{className:"uppy-Dashboard-Item-progressIcon--pause",transform:"translate(14.5, 13)"},(0,o.h)("rect",{x:"0",y:"0",width:"2",height:"10",rx:"0"}),(0,o.h)("rect",{x:"5",y:"0",width:"2",height:"10",rx:"0"})))):e.resumableUploads||!e.individualCancellation||e.hideCancelButton?(0,o.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,o.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,o.h)(L,null,(0,o.h)(B,{progress:e.file.progress.percentage})))):(0,o.h)(M,e,(0,o.h)(L,null,(0,o.h)(B,{progress:e.file.progress.percentage}),(0,o.h)("polygon",{className:"cancel",transform:"translate(2, 2)",points:"19.8856516 11.0625 16 14.9481516 12.1019737 11.0625 11.0625 12.1143484 14.9481516 16 11.0625 19.8980263 12.1019737 20.9375 16 17.0518484 19.8856516 20.9375 20.9375 19.8980263 17.0518484 16 20.9375 12"}))):null}var x=i(420080),H=i(419073);let U=e=>{let{author:t,name:i}=e.file.meta;return(0,o.h)("div",{className:"uppy-Dashboard-Item-name",title:i},(0,H.A)(i,e.isSingleFile&&e.containerHeight>=350?90:e.containerWidth<=352?35:e.containerWidth<=576?60:t?20:30))},q=e=>{var t;let{author:i}=e.file.meta,s=null==(t=e.file.remote)?void 0:t.providerName;return i?(0,o.h)("div",{className:"uppy-Dashboard-Item-author"},(0,o.h)("a",{href:"".concat(i.url,"?utm_source=Companion&utm_medium=referral"),target:"_blank",rel:"noopener noreferrer"},(0,H.A)(i.name,13)),s?(0,o.h)(o.FK,null," ".concat("\xb7"," "),s," ".concat("\xb7"," ")):null):null},V=e=>e.file.size&&(0,o.h)("div",{className:"uppy-Dashboard-Item-statusSize"},x(e.file.size)),W=e=>e.file.isGhost&&(0,o.h)("span",null," ⢠",(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-reSelect",type:"button",onClick:e.toggleAddFilesPanel},e.i18n("reSelect"))),_=e=>{let{file:t,onClick:i}=e;return t.error?(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-errorDetails","aria-label":t.error,"data-microtip-position":"bottom","data-microtip-size":"medium",onClick:i,type:"button"},"?"):null};function G(e){let{file:t}=e;return(0,o.h)("div",{className:"uppy-Dashboard-Item-fileInfo","data-uppy-file-source":t.source},(0,o.h)("div",{className:"uppy-Dashboard-Item-fileName"},U(e),(0,o.h)(_,{file:e.file,onClick:()=>alert(e.file.error)})),(0,o.h)("div",{className:"uppy-Dashboard-Item-status"},q(e),V(e),W(e)),(0,o.h)(S,{file:e.file,i18n:e.i18n,toggleFileCard:e.toggleFileCard,metaFields:e.metaFields}))}function j(e){let{file:t,uploadInProgressOrComplete:i,metaFields:s,canEditFile:a,i18n:r,onClick:l}=e;return!i&&s&&s.length>0||!i&&a(t)?(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit",type:"button","aria-label":r("editFileWithFilename",{file:t.meta.name}),title:r("editFileWithFilename",{file:t.meta.name}),onClick:()=>l()},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 14"},(0,o.h)("g",{fillRule:"evenodd"},(0,o.h)("path",{d:"M1.5 10.793h2.793A1 1 0 0 0 5 10.5L11.5 4a1 1 0 0 0 0-1.414L9.707.793a1 1 0 0 0-1.414 0l-6.5 6.5A1 1 0 0 0 1.5 8v2.793zm1-1V8L9 1.5l1.793 1.793-6.5 6.5H2.5z",fillRule:"nonzero"}),(0,o.h)("rect",{x:"1",y:"12.293",width:"11",height:"1",rx:".5"}),(0,o.h)("path",{fillRule:"nonzero",d:"M6.793 2.5L9.5 5.207l.707-.707L7.5 1.793z"})))):null}function K(e){let{i18n:t,onClick:i,file:s}=e;return(0,o.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--remove",type:"button","aria-label":t("removeFile",{file:s.meta.name}),title:t("removeFile",{file:s.meta.name}),onClick:()=>i()},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"18",height:"18",viewBox:"0 0 18 18"},(0,o.h)("path",{d:"M9 0C4.034 0 0 4.034 0 9s4.034 9 9 9 9-4.034 9-9-4.034-9-9-9z"}),(0,o.h)("path",{fill:"#FFF",d:"M13 12.222l-.778.778L9 9.778 5.778 13 5 12.222 8.222 9 5 5.778 5.778 5 9 8.222 12.222 5l.778.778L9.778 9z"})))}let X=(e,t)=>{var i,s;(i=t.file.uploadURL,void 0===(s=t.i18n("copyLinkToClipboardFallback"))&&(s="Copy the URL below"),new Promise(e=>{let t=document.createElement("textarea");t.setAttribute("style",{position:"fixed",top:0,left:0,width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}),t.value=i,document.body.appendChild(t),t.select();let a=()=>{document.body.removeChild(t),window.prompt(s,i),e()};try{if(!document.execCommand("copy"))return a();return document.body.removeChild(t),e()}catch(e){return document.body.removeChild(t),a()}})).then(()=>{t.uppy.log("Link copied to clipboard."),t.uppy.info(t.i18n("copyLinkToClipboardSuccess"),"info",3e3)}).catch(t.uppy.log).then(()=>
7e.target.focus({preventScroll:!0}))};function J(e){let{i18n:t}=e;return(0,o.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--copyLink",type:"button","aria-label":t("copyLink"),title:t("copyLink"),onClick:t=>X(t,e)},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 12"},(0,o.h)("path",{d:"M7.94 7.703a2.613 2.613 0 0 1-.626 2.681l-.852.851a2.597 2.597 0 0 1-1.849.766A2.616 2.616 0 0 1 2.764 7.54l.852-.852a2.596 2.596 0 0 1 2.69-.625L5.267 7.099a1.44 1.44 0 0 0-.833.407l-.852.851a1.458 1.458 0 0 0 1.03 2.486c.39 0 .755-.152 1.03-.426l.852-.852c.231-.231.363-.522.406-.824l1.04-1.038zm4.295-5.937A2.596 2.596 0 0 0 10.387 1c-.698 0-1.355.272-1.849.766l-.852.851a2.614 2.614 0 0 0-.624 2.688l1.036-1.036c.041-.304.173-.6.407-.833l.852-.852c.275-.275.64-.426 1.03-.426a1.458 1.458 0 0 1 1.03 2.486l-.852.851a1.442 1.442 0 0 1-.824.406l-1.04 1.04a2.596 2.596 0 0 0 2.683-.628l.851-.85a2.616 2.616 0 0 0 0-3.697zm-6.88 6.883a.577.577 0 0 0 .82 0l3.474-3.474a.579.579 0 1 0-.819-.82L5.355 7.83a.579.579 0 0 0 0 .819z"})))}function Z(e){let{uppy:t,file:i,uploadInProgressOrComplete:s,canEditFile:a,metaFields:r,showLinkToFileUploadResult:l,showRemoveButton:n,i18n:p,toggleFileCard:h,openFileEditor:d}=e;return(0,o.h)("div",{className:"uppy-Dashboard-Item-actionWrapper"},(0,o.h)(j,{i18n:p,file:i,uploadInProgressOrComplete:s,canEditFile:a,metaFields:r,onClick:()=>{r&&r.length>0?h(!0,i.id):d(i)}}),l&&i.uploadURL?(0,o.h)(J,{file:i,uppy:t,i18n:p}):null,n?(0,o.h)(K,{i18n:p,file:i,uppy:t,onClick:()=>t.removeFile(i.id,"removed-by-user")}):null)}class $ extends o.uA{componentDidMount(){let{file:e}=this.props;
7e.preview||this.props.handleRequestThumbnail(e)}shouldComponentUpdate(e){return!A(this.props,e)}componentDidUpdate(){let{file:e}=this.props;e.preview||this.props.handleRequestThumbnail(e)}componentWillUnmount(){let{file:e}=this.props;e.preview||this.props.handleCancelThumbnail(e)}render(){let{file:e}=this.props,t=e.progress.preprocess||e.progress.postprocess,i=e.progress.uploadComplete&&!t&&!e.error,s=e.progress.uploadStarted||t,a=e.progress.uploadStarted&&!e.progress.uploadComplete||t,r=e.error||!1,{isGhost:l}=e,n=this.props.individualCancellation?!i:!a&&!i;i&&this.props.showRemoveButtonAfterComplete&&(n=!0);let p=w({"uppy-Dashboard-Item":!0,"is-inprogress":a&&!this.props.recoveredState,"is-processing":t,"is-complete":i,"is-error":!!r,"is-resumable":this.props.resumableUploads,"is-noIndividualCancellation":!this.props.individualCancellation,"is-ghost":l});return(0,o.h)("div",{className:p,id:"uppy_".concat(e.id),role:this.props.role},(0,o.h)("div",{className:"uppy-Dashboard-Item-preview"},(0,o.h)(O,{file:e,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,i18n:this.props.i18n,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields}),(0,o.h)(z,{uppy:this.props.uppy,file:e,error:r,isUploaded:i,hideRetryButton:this.props.hideRetryButton,hideCancelButton:this.props.hideCancelButton,hidePauseResumeButton:this.props.hidePauseResumeButton,recoveredState:this.props.recoveredState,showRemoveButtonAfterComplete:this.props.showRemoveButtonAfterComplete,resumableUploads:this.props.resumableUploads,individualCancellation:this.props.individualCancellation,i18n:this.props.i18n})),(0,o.h)("div",{className:"uppy-Dashboard-Item-fileInfoAndButtons"},(0,o.h)(G,{file:e,id:this.props.id,acquirers:this.props.acquirers,containerWidth:this.props.containerWidth,containerHeight:this.props.containerHeight,i18n:this.props.i18n,toggleAddFilesPanel:this.props.toggleAddFilesPanel,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields,isSingleFile:this.props.isSingleFile}),(0,o.h)(Z,{file:e,metaFields:this.props.metaFields,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,showRemoveButton:n,canEditFile:this.props.canEditFile,uploadInProgressOrComplete:s,toggleFileCard:this.props.toggleFileCard,openFileEditor:this.props.openFileEditor,uppy:this.props.uppy,i18n:this.props.i18n})))}}function Q(e){let{id:t,error:i,i18n:s,uppy:a,files:r,acquirers:l,resumableUploads:n,hideRetryButton:p,hidePauseResumeButton:h,hideCancelButton:d,showLinkToFileUploadResult:u,showRemoveButtonAfterComplete:c,isWide:m,metaFields:g,isSingleFile:y,toggleFileCard:v,handleRequestThumbn
7ail:b,handleCancelThumbnail:f,recoveredState:D,individualCancellation:F,itemsPerRow:C,openFileEditor:w,canEditFile:P,toggleAddFilesPanel:A,containerWidth:k,containerHeight:N}=e,E=1===C?71:200,S=(0,T.Kr)(()=>{let e=Object.keys(r);return D&&e.sort((e,t)=>r[t].isGhost-r[e].isGhost),function(e,t){let i=[],s=[];return e.forEach(e=>{s.length<t?s.push(e):(i.push(s),s=[e])}),s.length&&i.push(s),i}(e,C)},[r,C,D]),O=e=>(0,o.h)("div",{class:"uppy-Dashboard-filesInner",role:"presentation",key:e[0]},e.map(e=>(0,o.h)($,{key:e,uppy:a,id:t,error:i,i18n:s,acquirers:l,resumableUploads:n,individualCancellation:F,hideRetryButton:p,hidePauseResumeButton:h,hideCancelButton:d,showLinkToFileUploadResult:u,showRemoveButtonAfterComplete:c,isWide:m,metaFields:g,recoveredState:D,isSingleFile:y,containerWidth:k,containerHeight:N,toggleFileCard:v,handleRequestThumbnail:b,handleCancelThumbnail:f,role:"listitem",openFileEditor:w,canEditFile:P,toggleAddFilesPanel:A,file:r[e]})));return y?(0,o.h)("div",{class:"uppy-Dashboard-files"},O(S[0])):(0,o.h)(I.A,{class:"uppy-Dashboard-files",role:"list",data:S,renderRow:O,rowHeight:E})}s=Symbol.for("uppy test: disable unused locale key warning");class Y extends o.uA{[s](){this.props.i18nArray("dropPasteBoth"),this.props.i18nArray("dropPasteFiles"),this.props.i18nArray("dropPasteFolders"),this.props.i18nArray("dropPasteImportBoth"),this.props.i18nArray("dropPasteImportFiles"),this.props.i18nArray("dropPasteImportFolders")}renderPoweredByUppy(){let{i18nArray:e}=this.props,t=e("poweredBy",{uppy:(0,o.h)("span",null,(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-poweredByIcon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,o.h)("path",{d:"M7.365 10.5l-.01-4.045h2.612L5.5.806l-4.467 5.65h2.604l.01 4.044h3.718z",fillRule:"evenodd"})),(0,o.h)("span",{className:"uppy-Dashboard-poweredByUppy"},"Uppy"))});return(0,o.h)("a",{tabIndex:-1,href:"https://uppy.io",rel:"noreferrer noopener",target:"_blank",className:"uppy-Dashboard-poweredBy"},t)}render(){let{showNativePhotoCameraButton:e,showNativeVideoCameraButton:t,nativeCameraFacingMode:i}=this.props;return(0,o.h)("div",{className:"uppy-Dashboard-AddFiles"},this.renderHiddenInput(!1,e=>{this.fileInput=e}),this.renderHiddenInput(!0,e=>{this.folderInput=e}),e&&this.renderHiddenCameraInput("photo",i,e=>{this.mobilePhotoFileInput=e}),t&&this.renderHiddenCameraInput("video",i,e=>{this.mobileVideoFileInput=e}),this.renderSourcesList(this.props.acquirers,this.props.disableLocalFiles),(0,o.h)("div",{className:"uppy-Dashboard-AddFiles-info"},this.props.note&&(0,o.h)("div",{className:"uppy-Dashboard-note"},this.props.note),this.props.proudlyDisplayPoweredByUppy&&this.renderPoweredByUppy(this.props)))}constructor(){super(...arguments),this.triggerFileInputClick=()=>{this.fileInput.click()},this.triggerFolderInputClick=()=>{this.folderInput.click()},this.triggerVideoCameraInputClick=()=>{this.mobileVideoFileInput.click()},this.triggerPhotoCameraInputClick=()=>{this.mobilePhotoFileInput.click()},this.onFileInputChange=e=>{this.props.handleInputChange(e),e.target.value=null},this.renderHiddenInput=(e,t)=>(0,o.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,webkitdirectory:e,type:"file",name:"files[]",multiple:1!==this.props.maxNumberOfFiles,onChange:this.onFileInputChange,accept:this.props.allowedFileTypes,ref:t}),this.renderHiddenCameraInput=(e,t,i)=>(0,o.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,type:"file",name:"camera-".concat(e),onChange:this.onFileInputChange,capture:t,accept:{photo:"image/*",video:"video/*"}[e],ref:i}),this.renderMyDeviceAcquirer=()=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MyDevice"},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerFileInputClick},(0,o.h)("div",{className:"uppy-DashboardTab-inner"},(0,o.h)("svg",{className:"uppy-DashboardTab-iconMyDevice","aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("path",{d:"M8.45 22.087l-1.305-6.674h17.678l-1.572 6.674H8.45zm4.975-12.412l1.083 1.765a.823.823 0 00.715.386h7.951V13.5H8.587V9.675h4.838zM26.043 13.5h-1.195v-2.598c0-.463-.336-.75-.798-.75h-8.356l-1.082-1.766A.823.823 0 0013.897 8H7.728c-.462 0-.815.256-.815.718V13.5h-.956a.97.97 0 00-.746.37.972.972 0 00-.19.81l1.724 8.565c.095.44.484.755.933.755H24c.44 0 .824-.3.929-.727l2.043-8.568a.972.972 0 00-.176-.825.967.967 0 00-.753-.38z",fill:"
7currentcolor","fill-rule":"evenodd"}))),(0,o.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("myDevice")))),this.renderPhotoCamera=()=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MobilePhotoCamera"},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerPhotoCameraInputClick},(0,o.h)("div",{className:"uppy-DashboardTab-inner"},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("path",{d:"M23.5 9.5c1.417 0 2.5 1.083 2.5 2.5v9.167c0 1.416-1.083 2.5-2.5 2.5h-15c-1.417 0-2.5-1.084-2.5-2.5V12c0-1.417 1.083-2.5 2.5-2.5h2.917l1.416-2.167C13 7.167 13.25 7 13.5 7h5c.25 0 .5.167.667.333L20.583 9.5H23.5zM16 11.417a4.706 4.706 0 00-4.75 4.75 4.704 4.704 0 004.75 4.75 4.703 4.703 0 004.75-4.75c0-2.663-2.09-4.75-4.75-4.75zm0 7.825c-1.744 0-3.076-1.332-3.076-3.074 0-1.745 1.333-3.077 3.076-3.077 1.744 0 3.074 1.333 3.074 3.076s-1.33 3.075-3.074 3.075z",fill:"#02B383","fill-rule":"nonzero"}))),(0,o.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("takePictureBtn")))),this.renderVideoCamera=()=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MobileVideoCamera"},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerVideoCameraInputClick},(0,o.h)("div",{className:"uppy-DashboardTab-inner"},(0,o.h)("svg",{"aria-hidden":"true",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("path",{fill:"#FF675E",fillRule:"nonzero",d:"m21.254 14.277 2.941-2.588c.797-.313 1.243.818 1.09 1.554-.01 2.094.02 4.189-.017 6.282-.126.915-1.145 1.08-1.58.34l-2.434-2.142c-.192.287-.504 1.305-.738.468-.104-1.293-.028-2.596-.05-3.894.047-.312.381.823.426 1.069.063-.384.206-.744.362-1.09zm-12.939-3.73c3.858.013 7.717-.025 11.574.02.912.129 1.492 1.237 1.351 2.217-.019 2.412.04 4.83-.03 7.239-.17 1.025-1.166 1.59-2.029 1.429-3.705-.012-7.41.025-11.114-.019-.913-.129-1.492-1.237-1.352-2.217.018-2.404-.036-4.813.029-7.214.136-.82.83-1.473 1.571-1.454z "}))),(0,o.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("recordVideoBtn")))),this.renderBrowseButton=(e,t)=>{let i=this.props.acquirers.length;return(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-browse",onClick:t,"data-uppy-super-focusable":0===i},e)},this.renderDropPasteBrowseTagline=e=>{let t=this.renderBrowseButton(this.props.i18n("browseFiles"),this.triggerFileInputClick),i=this.renderBrowseButton(this.props.i18n("browseFolders"),this.triggerFolderInputClick),s=this.props.fileManagerSelectionType,a=s.charAt(0).toUpperCase()+s.slice(1);return(0,o.h)("div",{class:"uppy-Dashboard-AddFiles-title"},this.props.disableLocalFiles?this.props.i18n("importFiles"):e>0?this.props.i18nArray("dropPasteImport".concat(a),{browseFiles:t,browseFolders:i,browse:t}):this.props.i18nArray("dropPaste".concat(a),{browseFiles:t,browseFolders:i,browse:t}))},this.renderAcquirer=e=>{var t;return(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":e.id},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-cy":e.id,"aria-controls":"uppy-DashboardContent-panel--".concat(e.id),"aria-selected":(null==(t=this.props.activePickerPanel)?void 0:t.id)===e.id,"data-uppy-super-focusable":!0,onClick:()=>this.props.showPanel(e.id)},(0,o.h)("div",{className:"uppy-DashboardTab-inner"},e.icon()),(0,o.h)("div",{className:"uppy-DashboardTab-name"},e.name)))},this.renderAcquirers=e=>{let t=[...e],i=t.splice(e.length-2,e.length);return(0,o.h)(o.FK,null,t.map(e=>this.renderAcquirer(e)),(0,o.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},i.map(e=>this.renderAcquirer(e))))},this.renderSourcesList=(e,t)=>{let{showNativePhotoCameraButton:i,showNativeVideoCameraButton:s}=this.props,a=[],r="myDevice";t||a.push({key:r,elements:this.renderMyDeviceAcquirer()}),i&&a.push({key:"nativePhotoCameraButton",elements:this.renderPhotoCamera()}),s&&a.push({key:"nativePhotoCameraButton",elements:this.renderVideoCamera()}),a.push(...e.map(e=>({key:e.id,elements:this.renderAcquirer(e)}))),1===a.length&&a[0].key===r&&(a=[]);let l=[...a],n=l.splice(a.length-2,a.length),p=e=>e.map(e=>{let{key:t,elements:i}=e;return(0,o.h)(o.FK,{key:t},i)});return(0,o.h)(o.FK,null,this.renderDropPasteBrowseTagline(a.length),(0,o.h)("div",{className:"uppy-Dashboard-AddFiles-list",role:"tablist"},p(l),(0,o.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},p(n))))}}}var ee=e=>(0,o.h)("div",{className:w("uppy-Dashboard-AddFilesPanel",e.className),"data-uppy-panelType":"AddFiles","aria-hidden":!e.showAddFilesPanel},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18n("addingMoreFiles")),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>e.toggleAddFilesPanel(!1)},e.i18n("back"))),(0,o.h)(Y,e)),et=function(e){let{tagName:t}=e.target;if("INPUT"===t||"TEXTAREA"===t){e.stopPropagation();return}e.preventDefault(),e.stopPropagation()},ei=function(e){let{activePickerPanel:t,className:i,hideAllPanels:s,i18n:a,state:r,uppy:l}=e;return(0,o.h)("div",{className:w("uppy-DashboardContent-panel",i),role:"tabpanel","data-uppy-panelType":"PickerPanel",id:"uppy-DashboardContent-panel--".concat(t.id),onDragOver:et,onDragLeave:et,onDrop:et,onPaste:et},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},a("importFrom",{name:t.name})),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:s},a("cancel"))),(0,o.h)("div",{className:"uppy-DashboardContent-panelBody"},l.getPlugin(t.id).render(r)))},es=function(e){let t=e.files[e.fileCardFor];return(0,o.h)("div",{className:w("uppy-DashboardContent-panel",e.className),role:"tabpanel","data-uppy-panelType":"FileEditor",id:"uppy-DashboardContent-panel--editor"},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18nArray("editing",{file:(0,o.h)("span",{className:"uppy-DashboardContent-titleFile"},t.meta?t.meta.name:t.name)})),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>{e.uppy.emit("file-editor:cancel",t),e.closeFileEditor()}}
7,e.i18n("cancel")),(0,o.h)("button",{className:"uppy-DashboardContent-save",type:"button",onClick:e.saveFileEditor},e.i18n("save"))),(0,o.h)("div",{className:"uppy-DashboardContent-panelBody"},e.editors.map(t=>e.uppy.getPlugin(t.id).render(e.state))))};let ea={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete",STATE_PAUSED:"paused"};function er(e){let{files:t,i18n:i,isAllComplete:s,isAllErrored:a,isAllPaused:r,inProgressNotPausedFiles:o,newFiles:l,processingFiles:n}=e;switch(function(e,t,i,s){if(void 0===s&&(s={}),e)return ea.STATE_ERROR;if(t)return ea.STATE_COMPLETE;if(i)return ea.STATE_PAUSED;let a=ea.STATE_WAITING,r=Object.keys(s);for(let e=0;e<r.length;e++){let{progress:t}=s[r[e]];if(t.uploadStarted&&!t.uploadComplete)return ea.STATE_UPLOADING;t.preprocess&&a!==ea.STATE_UPLOADING&&(a=ea.STATE_PREPROCESSING),t.postprocess&&a!==ea.STATE_UPLOADING&&a!==ea.STATE_PREPROCESSING&&(a=ea.STATE_POSTPROCESSING)}return a}(a,s,r,t)){case"uploading":return i("uploadingXFiles",{smart_count:o.length});case"preprocessing":case"postprocessing":return i("processingXFiles",{smart_count:n.length});case"paused":return i("uploadPaused");case"waiting":return i("xFilesSelected",{smart_count:l.length});case"complete":return i("uploadComplete");case"error":return i("error")}}var eo=function(e){let{i18n:t,isAllComplete:i,hideCancelButton:s,maxNumberOfFiles:a,toggleAddFilesPanel:r,uppy:l}=e,{allowNewUpload:n}=e;return n&&a&&(n=e.totalFileCount<e.maxNumberOfFiles),(0,o.h)("div",{className:"uppy-DashboardContent-bar"},i||s?(0,o.h)("div",null):(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>l.cancelAll()},t("cancel")),(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},(0,o.h)(er,e)),n?(0,o.h)("button",{className:"uppy-DashboardContent-addMore",type:"button","aria-label":t("addMoreFiles"),title:t("addMoreFiles"),onClick:()=>r(!0)},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"15",height:"15",viewBox:"0 0 15 15"},(0,o.h)("path",{d:"M8 6.5h6a.5.5 0 0 1 .5.5v.5a.5.5 0 0 1-.5.5H8v6a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V8h-6a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h6v-6A.5.5 0 0 1 7 0h.5a.5.5 0 0 1 .5.5v6z"})),(0,o.h)("span",{className:"uppy-DashboardContent-addMoreCaption"},t("addMore"))):(0,o.h)("div",null))};function el(e){let{computedMetaFields:t,requiredMetaFields:i,updateMeta:s,form:a,formState:r}=e,l={text:"uppy-u-reset uppy-c-textInput uppy-Dashboard-FileCard-input"};return t.map(e=>{let t="uppy-Dashboard-FileCard-input-".concat(e.id),n=i.includes(e.id);return(0,o.h)("fieldset",{key:e.id,className:"uppy-Dashboard-FileCard-fieldset"},(0,o.h)("label",{className:"uppy-Dashboard-FileCard-label",htmlFor:t},e.name),void 0!==e.render?e.render({value:r[e.id],onChange:t=>s(t,e.id),fieldCSSClasses:l,required:n,form:a.id},o.h):(0,o.h)("input",{className:l.text,id:t,form:a.id,type:e.type||"text",required:n,value:r[e.id],placeholder:e.placeholder,onInput:t=>s(t.target.value,e.id),"data-uppy-super-focusable":!0}))})}function en(e){var t;let{files:i,fileCardFor:s,toggleFileCard:a,saveFileCard:r,metaFields:l,requiredMetaFields:n,openFileEditor:p,i18n:h,i18nArray:d,className:u,canEditFile:c}=e,m=i[s],g=null!=(t="function"==typeof l?l(i[s]):l)?t:[],v=c(m),b={};g.forEach(e=>{var t;b[e.id]=null!=(t=m.meta[e.id])?t:""});let[f,D]=(0,T.J0)(b),F=(0,T.hb)(e=>{e.preventDefault(),r(f,s)},[r,f,s]),C=()=>{a(!1)},[P]=(0,T.J0)(()=>{let e=document.createElement("form");return e.setAttribute("tabindex","-1"),e.id=(0,y.A)(),e});return(0,T.vJ)(()=>(document.body.appendChild(P),P.addEventListener("submit",F),()=>{P.removeEventListener("submit",F),document.body.removeChild(P)}),[P,F]),(0,o.h)("div",{className:w("uppy-Dashboard-FileCard",u),"data-uppy-panelType":"FileCard",onDragOver:et,onDragLeave:et,onDrop:et,onPaste:et},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},d("editing",{file:(0,o.h)("span",{className:"uppy-DashboardContent-titleFile"},m.meta?m.meta.name:m.name)}
7)),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",form:P.id,title:h("finishEditingFile"),onClick:C},h("cancel"))),(0,o.h)("div",{className:"uppy-Dashboard-FileCard-inner"},(0,o.h)("div",{className:"uppy-Dashboard-FileCard-preview",style:{backgroundColor:k(m.type).color}},(0,o.h)(N,{file:m}),v&&(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-FileCard-edit",onClick:e=>{F(e),p(m)}},h("editImage"))),(0,o.h)("div",{className:"uppy-Dashboard-FileCard-info"},(0,o.h)(el,{computedMetaFields:g,requiredMetaFields:n,updateMeta:(e,t)=>{D({...f,[t]:e})},form:P,formState:f})),(0,o.h)("div",{className:"uppy-Dashboard-FileCard-actions"},(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Dashboard-FileCard-actionsBtn",type:"submit",form:P.id},h("saveChanges")),(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-link uppy-Dashboard-FileCard-actionsBtn",type:"button",onClick:C,form:P.id},h("cancel")))))}let ep="uppy-transition-slideDownUp";var eh=function(e){let{children:t}=e,[i,s]=(0,T.J0)(null),[a,r]=(0,T.J0)(""),l=(0,T.li)(),n=(0,T.li)(),p=(0,T.li)(),h=()=>{r("".concat(ep,"-enter")),cancelAnimationFrame(p.current),clearTimeout(n.current),n.current=void 0,p.current=requestAnimationFrame(()=>{r("".concat(ep,"-enter ").concat(ep,"-enter-active")),l.current=setTimeout(()=>{r("")},250)})},d=()=>{r("".concat(ep,"-leave")),cancelAnimationFrame(p.current),clearTimeout(l.current),l.current=void 0,p.current=requestAnimationFrame(()=>{r("".concat(ep,"-leave ").concat(ep,"-leave-active")),n.current=setTimeout(()=>{s(null),r("")},250)})};return((0,T.vJ)(()=>{let e=(0,o.v2)(t)[0];i!==e&&(e&&!i?h():!i||e||n.current||d(),s(e))},[t,i]),(0,T.vJ)(()=>()=>{clearTimeout(l.current),clearTimeout(n.current),cancelAnimationFrame(p.current)},[]),i)?(0,o.Ob)(i,{className:w(a,i.props.className)}):null};function ed(){return(ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}).apply(this,arguments)}var eu={strings:{closeModal:"Close Modal",addMoreFiles:"Add more files",addingMoreFiles:"Adding more files",importFrom:"Import from %{name}",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dashboardTitle:"Uppy Dashboard",copyLinkToClipboardSuccess:"Link copied to clipboard.",copyLinkToClipboardFallback:"Copy the URL below",copyLink:"Copy link",back:"Back",removeFile:"Remove file",editFile:"Edit file",editImage:"Edit image",editing:"Editing %{file}",error:"Error",finishEditingFile:"Finish editing file",saveChanges:"Save changes",myDevice:"My Device",dropHint:"Drop your files here",uploadComplete:"Upload complete",uploadPaused:"Upload paused",resumeUpload:"Resume upload",pauseUpload:"Pause upload",retryUpload:"Retry upload",cancelUpload:"Cancel upload",xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},poweredBy:"Powered by %{uppy}",addMore:"Add more",editFileWithFilename:"Edit file %{file}",save:"Save",cancel:"Cancel",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",importFiles:"Import files from:",browseFiles:"browse files",browseFolders:"browse folders",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},recoveredAllFiles:"We restored all files. You can now resume the upload.",sessionRestored:"Session restored",reSelect:"Re-select",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},takePictureBtn:"Take Picture",recordVideoBtn:"Record Video"}};function ec(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var em=0;function eg(e){return"__private_"+em+++"_"+e}let ey=v.A.default||v.A;function ev(){let e={};return e.promise=new Promise((t,i)=>{e.resolve=t,e.reject=i}),e}let eb={target:"body",metaFields:[],inline:!1,width:750,height:550,thumbnailWidth:280,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,defaultPickerIcon:g.ZY,showLinkToFileUploadResult:!1,showProgressDetail
7s:!1,hideUploadButton:!1,hideCancelButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideProgressAfterFinish:!1,note:null,closeModalOnClickOutside:!1,closeAfterFinish:!1,singleFileFullScreen:!0,disableStatusBar:!1,disableInformer:!1,disableThumbnailGenerator:!1,disablePageScrollWhenModalOpen:!0,animateOpenClose:!0,fileManagerSelectionType:"files",proudlyDisplayPoweredByUppy:!0,showSelectedFiles:!0,showRemoveButtonAfterComplete:!1,browserBackButtonClose:!1,showNativePhotoCameraButton:!1,showNativeVideoCameraButton:!1,theme:"light",autoOpen:null,autoOpenFileEditor:!1,disabled:!1,disableLocalFiles:!1,doneButtonHandler:void 0,onRequestCloseModal:null};var ef=eg("disabledNodes"),eD=eg("generateLargeThumbnailIfSingleFile"),eF=eg("openFileEditorWhenFilesAdded"),eC=eg("attachRenderFunctionToTarget"),ew=eg("isTargetSupported"),eP=eg("getAcquirers"),eT=eg("getProgressIndicators"),eI=eg("getEditors"),eA=eg("addSpecifiedPluginsFromOptions"),ek=eg("autoDiscoverPlugins"),eN=eg("addSupportedPluginIfNoTarget");class eE extends a.A{constructor(e,t){var i;let s;super(e,{...eb,...t,autoOpen:t?void 0===t.autoOpen?t.autoOpenFileEditor?"imageEditor":null:t.autoOpen:null}),Object.defineProperty(this,ef,{writable:!0,value:void 0}),this.modalName="uppy-Dashboard-".concat((0,y.A)()),this.superFocus=(s=!1,C((e,t)=>{let i=f(e,t),a=i.contains(document.activeElement);if(a&&s)return;let r=i.querySelector("[data-uppy-super-focusable]");if(!a||r){if(r)r.focus({preventScroll:!0}),s=!0;else{let e=i.querySelector(b.A);null==e||e.focus({preventScroll:!0}),s=!1}}},260)),this.ifFocusedOnUppyRecently=!1,this.removeTarget=e=>{let t=this.getPluginState().targets.filter(t=>t.id!==e.id);this.setPluginState({targets:t})},this.addTarget=e=>{let t=e.id||e.constructor.name,i=e.title||t,s=e.type;if("acquirer"!==s&&"progressindicator"!==s&&"editor"!==s)return this.up
7py.log("Dashboard: can only be targeted by plugins of types: acquirer, progressindicator, editor","error"),null;let a=this.getPluginState().targets.slice();return a.push({id:t,name:i,type:s}),this.setPluginState({targets:a}),this.el},this.hideAllPanels=()=>{var e;let t=this.getPluginState(),i={activePickerPanel:void 0,showAddFilesPanel:!1,activeOverlayType:null,fileCardFor:null,showFileEditor:!1};(t.activePickerPanel!==i.activePickerPanel||t.showAddFilesPanel!==i.showAddFilesPanel||t.showFileEditor!==i.showFileEditor||t.activeOverlayType!==i.activeOverlayType)&&(this.setPluginState(i),this.uppy.emit("dashboard:close-panel",null==(e=t.activePickerPanel)?void 0:e.id))},this.showPanel=e=>{let{targets:t}=this.getPluginState(),i=t.find(t=>"acquirer"===t.type&&t.id===e);this.setPluginState({activePickerPanel:i,activeOverlayType:"PickerPanel"}),this.uppy.emit("dashboard:show-panel",e)},this.canEditFile=e=>{let{targets:t}=this.getPluginState();return ec(this,eI)[eI](t).some(t=>this.uppy.getPlugin(t.id).canEditFile(e))},this.openFileEditor=e=>{let{targets:t}=this.getPluginState(),i=ec(this,eI)[eI](t);this.setPluginState({showFileEditor:!0,fileCardFor:e.id||null,activeOverlayType:"FileEditor"}),i.forEach(t=>{this.uppy.getPlugin(t.id).selectFile(e)})},this.closeFileEditor=()=>{let{metaFields:e}=this.getPluginState();e&&e.length>0?this.setPluginState({showFileEditor:!1,activeOverlayType:"FileCard"}):this.setPluginState({showFileEditor:!1,fileCardFor:null,activeOverlayType:"AddFiles"})},this.saveFileEditor=()=>{let{targets:e}=this.getPluginState();ec(this,eI)[eI](e).forEach(e=>{this.uppy.getPlugin(e.id).save()}),this.closeFileEditor()},this.openModal=()=>{let{promise:e,resolve:t}=ev();if(this.savedScrollPosition=window.pageYOffset,this.savedActiveElement=document.activeElement,this.opts.disablePageScrollWhenModalOpen&&document.body.classList.add("uppy-Dashboard-isFixed"),this.opts.animateOpenClose&&this.getPluginState().isClosing){let e=()=>{this.setPluginState({isHidden:!1}),this.el.removeEventListener("animationend",e,!1),t()};this.el.addEventListener("animationend",e,!1)}else this.setPluginState({isHidden:!1}),t();return this.opts.browserBackButtonClose&&this.updateBrowserHistory(),document.addEventListener("keydown",this.handleKeyDownInModal),this.uppy.emit("dashboard:modal-open"),e},this.closeModal=e=>{var t,i;let s=null==(t=null==e?void 0:e.manualClose)||t,{isHidden:a,isClosing:r}=this.getPluginState();if(a||r)return;let{promise:o,resolve:l}=ev();if(this.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),this.opts.animateOpenClose){this.setPluginState({isClosing:!0});let e=()=>{this.setPluginState({isHidden:!0,isClosing:!1}),this.superFocus.cancel(),this.savedActiveElement.focus(),this.el.removeEventListener("animationend",e,!1),l()};this.el.addEventListener("animationend",e,!1)}else this.setPluginState({isHidden:!0}),this.superFocus.cancel(),this.savedActiveElement.focus(),l();return document.removeEventListener("keydown",this.handleKeyDownInModal),s&&this.opts.browserBackButtonClose&&null!=(i=history.state)&&i[this.modalName]&&history.back(),this.uppy.emit("dashboard:modal-closed"),o},this.isModalOpen=()=>!this.getPluginState().isHidden,this.requestCloseModal=()=>this.opts.onRequestCloseModal?this.opts.onRequestCloseModal():this.closeModal(),this.setDarkModeCapability=e=>{let{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,darkMode:e}})},this.handleSystemDarkModeChange=e=>{let t=e.matches;this.uppy.log("[Dashboard] Dark mode is ".concat(t?"on":"off")),this.setDarkModeCapability(t)},this.toggleFileCard=(e,t)=>{let i=this.uppy.getFile(t);e?this.uppy.emit("dashboard:file-edit-start",i):this.uppy.emit("dashboard:file-edit-complete",i),this.setPluginState({fileCardFor:e?t:null,activeOverlayType:e?"FileCard":null})},this.toggleAddFilesPanel=e=>{this.setPluginState({showAddFilesPanel:e,activeOverlayType:e?"AddFiles":null})},this.addFiles=e=>{let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||e.webkitRelativePath||null}}));
7try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}},this.startListeningToResize=()=>{this.resizeObserver=new ResizeObserver(e=>{let{width:t,height:i}=e[0].contentRect;this.setPluginState({containerWidth:t,containerHeight:i,areInsidesReadyToBeVisible:!0})}),this.resizeObserver.observe(this.el.querySelector(".uppy-Dashboard-inner")),this.makeDashboardInsidesVisibleAnywayTimeout=setTimeout(()=>{let e=this.getPluginState(),t=!this.opts.inline&&e.isHidden;e.areInsidesReadyToBeVisible||t||(this.uppy.log("[Dashboard] resize event didnât fire on time: defaulted to mobile layout","warning"),this.setPluginState({areInsidesReadyToBeVisible:!0}))},1e3)},this.stopListeningToResize=()=>{this.resizeObserver.disconnect(),clearTimeout(this.makeDashboardInsidesVisibleAnywayTimeout)},this.recordIfFocusedOnUppyRecently=e=>{this.el.contains(e.target)?this.ifFocusedOnUppyRecently=!0:(this.ifFocusedOnUppyRecently=!1,this.superFocus.cancel())},this.disableInteractiveElements=e=>{var t;let i=null!=(t=ec(this,ef)[ef])?t:(0,c.A)(this.el.querySelectorAll(["a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[role="button"]:not([disabled])'])).filter(e=>!e.classList.contains("uppy-Dashboard-close"));for(let t of i)"A"===t.tagName?t.setAttribute("aria-disabled",e):t.disabled=e;e?ec(this,ef)[ef]=i:ec(this,ef)[ef]=null,this.dashboardIsDisabled=e},this.updateBrowserHistory=()=>{var e;null!=(e=history.state)&&e[this.modalName]||history.pushState({...history.state,[this.modalName]:!0},""),window.addEventListener("popstate",this.handlePopState,!1)},this.handlePopState=e=>{var t;!this.isModalOpen()||e.state&&e.state[this.modalName]||this.closeModal({manualClose:!1}),!this.isModalOpen()&&null!=(t=e.state)&&t[this.modalName]&&history.back()},this.handleKeyDownInModal=e=>{27===e.keyCode&&this.requestCloseModal(),9===e.keyCode&&F(e,this.getPluginState().activeOverlayType,this.el)},this.handleClickOutside=()=>{this.opts.closeModalOnClickOutside&&this.requestCloseModal()},this.handlePaste=e=>{this.uppy.iteratePlugins(t=>{"acquirer"===t.type&&(null==t.handleRootPaste||t.handleRootPaste(e))});let t=(0,c.A)(e.clipboardData.files);t.length>0&&(this.uppy.log("[Dashboard] Files pasted"),this.addFiles(t))},this.handleInputChange=e=>{e.preventDefault();let t=(0,c.A)(e.target.files);t.length>0&&(this.uppy.log("[Dashboard] Files selected through input"),this.addFiles(t))},this.handleDragOver=e=>{var t,i;e.preventDefault(),e.stopPropagation();let s=(()=>{let t=!0;
7return this.uppy.iteratePlugins(i=>{null!=i.canHandleRootDrop&&i.canHandleRootDrop(e)&&(t=!0)}),t})(),a=(()=>{let{types:t}=e.dataTransfer;return t.some(e=>"Files"===e)})();if(!s&&!a||this.opts.disabled||this.opts.disableLocalFiles&&(a||!s)||!this.uppy.getState().allowNewUpload){e.dataTransfer.dropEffect="none",clearTimeout(this.removeDragOverClassTimeout);return}e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!0}),null==(t=(i=this.opts).onDragOver)||t.call(i,e)},this.handleDragLeave=e=>{var t,i;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout(()=>{this.setPluginState({isDraggingOver:!1})},50),null==(t=(i=this.opts).onDragLeave)||t.call(i,e)},this.handleDrop=async e=>{var t,i;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins(t=>{"acquirer"===t.type&&(null==t.handleRootDrop||t.handleRootDrop(e))});let s=!1;this.uppy.log("[Dashboard] Processing dropped files");let a=await (0,m.A)(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error"),s||(this.uppy.info(e.message,"error"),s=!0)}});a.length>0&&(this.uppy.log("[Dashboard] Files dropped"),this.addFiles(a)),null==(t=(i=this.opts).onDrop)||t.call(i,e)}
7,this.handleRequestThumbnail=e=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:request",e)},this.handleCancelThumbnail=e=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:cancel",e)},this.handleKeyDownInInline=e=>{if(9===e.keyCode){var t,i;t=this.getPluginState().activeOverlayType,i=this.el,null===t||F(e,t,i)}},this.handlePasteOnBody=e=>{this.el.contains(document.activeElement)&&this.handlePaste(e)},this.handleComplete=e=>{let{failed:t}=e;this.opts.closeAfterFinish&&!(null!=t&&t.length)&&this.requestCloseModal()},this.handleCancelRestore=()=>{this.uppy.emit("restore-canceled")},Object.defineProperty(this,eD,{writable:!0,value:()=>{if(this.opts.disableThumbnailGenerator)return;let e=this.uppy.getFiles();if(1===e.length){let t=this.uppy.getPlugin("".concat(this.id,":ThumbnailGenerator"));null==t||t.setOptions({thumbnailWidth:600});let i={...e[0],preview:void 0};null==t||t.requestThumbnail(i).then(()=>{null==t||t.setOptions({thumbnailWidth:this.opts.thumbnailWidth})})}}}),Object.defineProperty(this,eF,{writable:!0,value:e=>{let t=e[0],{metaFields:i}=this.getPluginState(),s=i&&i.length>0,a=this.canEditFile(t);s&&"metaEditor"===this.opts.autoOpen?this.toggleFileCard(!0,t.id):a&&"imageEditor"===this.opts.autoOpen&&this.openFileEditor(t)}}),this.initEvents=()=>{if(this.opts.trigger&&!this.opts.inline){let e=(0,u.A)(this.opts.trigger);e?e.forEach(e=>e.addEventListener("click",this.openModal)):this.uppy.log("Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options, unless you are planning to call `dashboard.openM
7odal()` method yourself","warning")}this.startListeningToResize(),document.addEventListener("paste",this.handlePasteOnBody),this.uppy.on("plugin-added",ec(this,eN)[eN]),this.uppy.on("plugin-remove",this.removeTarget),this.uppy.on("file-added",this.hideAllPanels),this.uppy.on("dashboard:modal-closed",this.hideAllPanels),this.uppy.on("complete",this.handleComplete),this.uppy.on("files-added",ec(this,eD)[eD]),this.uppy.on("file-removed",ec(this,eD)[eD]),document.addEventListener("focus",this.recordIfFocusedOnUppyRecently,!0),document.addEventListener("click",this.recordIfFocusedOnUppyRecently,!0),this.opts.inline&&this.el.addEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpen&&this.uppy.on("files-added",ec(this,eF)[eF])},this.removeEvents=()=>{let e=(0,u.A)(this.opts.trigger);!this.opts.inline&&e&&e.forEach(e=>e.removeEventListener("click",this.openModal)),this.stopListeningToResize(),document.removeEventListener("paste",this.handlePasteOnBody),window.removeEventListener("popstate",this.handlePopState,!1),this.uppy.off("plugin-added",ec(this,eN)[eN]),this.uppy.off("plugin-remove",this.removeTarget),this.uppy.off("file-added",this.hideAllPanels),this.uppy.off("dashboard:modal-closed",this.hideAllPanels),this.uppy.off("complete",this.handleComplete),this.uppy.off("files-added",ec(this,eD)[eD]),this.uppy.off("file-removed",ec(this,eD)[eD]),document.removeEventListener("focus",this.recordIfFocusedOnUppyRecently),document.removeEventListener("click",this.recordIfFocusedOnUppyRecently),this.opts.inline&&this.el.removeEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpen&&this.uppy.off("files-added",ec(this,eF)[eF])},this.superFocusOnEachUpdate=()=>{let e=this.el.contains(document.activeElement),t=document.activeElement===document.body||null===document.activeElement,i=0===this.uppy.getState().info.length,s=!this.opts.inline;i&&(s||e||t&&this.ifFocusedOnUppyRecently)?this.superFocus(this.el,this.getPluginState().activeOverlayType):this.superFocus.cancel()},this.afterUpdate=()=>{if(this.opts.disabled&&!this.dashboardIsDisabled){this.disableInteractiveElements(!0);return}!this.opts.disabled&&this.dashboardIsDisabled&&this.disableInteractiveElements(!1),this.superFocusOnEachUpdate()},this.saveFileCard=(e,t)=>{this.uppy.setFileMeta(t,e),this.toggleFileCard(!1,t)},Object.defineProperty(this,eC,{writable:!0,value:e=>{let t=this.uppy.getPlugin(e.id);return{...e,icon:t.icon||this.opts.defaultPickerIcon,render:t.render}}}),Object.defineProperty(this,ew,{writable:!0,value:e=>{let t=this.uppy.getPlugin(e.id);return"function"!=typeof t.isSupported||t.isSupported()}}),Object.defineProperty(this,eP,{writable:!0,value:ey(e=>e.filter(e=>"acquirer"===e.type&&ec(this,ew)[ew](e)).map(ec(this,eC)[eC]))}),Object.defineProperty(this,eT,{writable:!0,value:ey(e=>e.filter(e=>"progressindicator"===e.type).map(ec(this,eC)[eC]))}),Object.defineProperty(this,eI,{writable:!0,value:ey(e=>e.filter(e=>"editor"===e.type).map(ec(this,eC)[eC]))}),this.render=e=>{let t;let i=this.getPluginState(),{files:s,capabilities:a,allowNewUpload:r}=e,{newFiles:l,uploadStartedFiles:n,completeFiles:p,erroredFiles:h,inProgressFiles:d,inProgressNotPausedFiles:u,processingFiles:c,isUploadStarted:m,isAllComplete:g,isAllErrored:y,isAllPaused:v}=this.uppy.getObjectOfFilesPerState(),b=ec(this,eP)[eP](i.targets),f=ec(this,eT)[eT](i.targets),D=ec(this,eI)[eI](i.targets);return t="auto"===this.opts.theme?a.darkMode?"dark":"light":this.opts.theme,0>["files","folders","both"].indexOf(this.opts.fileManagerSelectionType)&&(this.opts.fileManagerSelectionType="files"),function(e){let t=0===e.totalFileCount,i=1===e.totalFileCount,s=e.containerWidth>576,a=e.containerHeight>330,r=w({"uppy-Dashboard":!0,"uppy-Dashboard--isDisabled":e.disabled,"uppy-Dashboard--animateOpenClose":e.animateOpenClose,"uppy-Dashboard--isClosing":e.isClosing,"uppy-Dashboard--isDraggingOver":e.isDraggingOver,"uppy-Dashboard--modal":!e.inline,"uppy-size--md":e.containerWidth>576,"uppy-size--lg":e.containerWidth>700,"uppy-size--xl":e.containerWidth>900,"uppy-size--height-md":e.containerHeight>330,"uppy-Dashboard--isAddFilesPanelVisible":e.showAddFilesPanel,"uppy-Dashboard--isInnerWrapVisible":e.areInsidesReadyToBeVisible,"uppy-Dashboard--singleFile":e.singleFileFullScreen&&i&&a}),l=1;e.containerWidth>900?l=5:e.containerWidth>700?l=4:e.containerWidth>576&&(l=3);let n=e.showSelectedFiles&&!t,p=e.recoveredState?Object.keys(e.recoveredState.files).length:null,h=e.files?Object.keys(e.files).filter(t=>e.files[t].isGhost).length:null;return(0,o.h)("div",{className:r,"data-uppy-theme":e.theme,"data-uppy-num-acquirers":e.acquirers.length,"data-uppy-drag-drop-supported":!e.disableLocalFiles&&(0,P.A)(),"aria-hidden":e.inline?"false":e.isHidden,"aria-disabled":e.disabled,"aria-label":e.inline?e.i18n("dashboardTitle"):e.i18n("dashboardWindowTitle"),onPaste:e.handlePaste,onDragOver:e.handleDragOver,onDragLeave:e.handleDragLeave,onDrop:e.handleDrop},(0,o.h)("div",{"aria-hidden":"true",className:"uppy-Dashboard-overlay",tabIndex:-1,onClick:e.handleClickOutside}),(0,o.h)("div",{className:"uppy-Dashboard-inner","aria-modal":!e.inline&&"true",role:e.inline?void 0:"dialog",style:{width:e.inline&&e.width?e.width:"",height:e.inline&&e.height?e.height:""}},e.inline?null:(0,o.h)("button",{className:"uppy-u-reset uppy-Dashboard-close",type:"button","aria-label":e.i18n("closeModal"),title:e.i18n("closeModal"),onClick:e.closeModal},(0,o.h)("span",{"aria-hidden":"true"},"\xd7")),(0,o.h)("div",{className:"uppy-Dashboard-innerWrap"},(0,o.h)("div",{className:"uppy-Dashboard-dropFilesHereHint"},e.i18n("dropHint")),n&&(0,o.h)(eo,e),p&&(0,o.h)("div",{className:"uppy-Dashboard-serviceMsg"},(0,o.h)("svg",{className:"uppy-Dashboard-serviceMsg-icon","aria-hidden":"true",focusable:"false",width:"21",height:"16",viewBox:"0 0 24 19"},(0,o.h)("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},(0,o.h)("path",{d:"M12.857 1.43l10.234 17.056A1 1 0 0122.234 20H1.766a1 1 0 01-.857-1.514L11.143 1.429a1 1 0 011.714 0z",fill:"#FFD300"}),(0,o.h)("path",{fill:"#000",d:"M11 6h2l-.3 8h-1.4z"}),(0,o.h)("circle",{fill:"#000",cx:"12",cy:"17",r:"1"}))),(0,o.h)("strong",{className:"uppy-Dashboard-serviceMsg-title"},e.i18n("sessionRestored")),(0,o.h)("div",{className:"uppy-Dashboard-serviceMsg-text"},h>0?e.i18n("recoveredXFiles",{smart_count:h}):e.i18n("recoveredAllFiles"))),n?(0,o.h)(Q,{id:e.id,error:e.error,i18n:e.i18n,uppy:e.uppy,files:e.files,acquirers:e.acquirers,resumableUploads:e.resumableUploads,hideRetryButton:e.hideRetryButton,hidePauseResumeButton:e.hidePauseResumeButton,hideCancelButton:e.hideCancelButton,showLinkToFileUploadResult:e.showLinkToFileUploadResult,showRemoveButtonAfterComplete:e.showRemoveButtonAfterComplete,isWide:e.isWide,metaFields:e.metaFields,toggleFileCard:e.toggleFileCard,handleRequestThumbn
7ail:e.handleRequestThumbnail,handleCancelThumbnail:e.handleCancelThumbnail,recoveredState:e.recoveredState,individualCancellation:e.individualCancellation,openFileEditor:e.openFileEditor,canEditFile:e.canEditFile,toggleAddFilesPanel:e.toggleAddFilesPanel,isSingleFile:i,itemsPerRow:l}):(0,o.h)(Y,ed({},e,{isSizeMD:s})),(0,o.h)(eh,null,e.showAddFilesPanel?(0,o.h)(ee,ed({key:"AddFiles"},e,{isSizeMD:s})):null),(0,o.h)(eh,null,e.fileCardFor?(0,o.h)(en,ed({key:"FileCard"},e)):null),(0,o.h)(eh,null,e.activePickerPanel?(0,o.h)(ei,ed({key:"Picker"},e)):null),(0,o.h)(eh,null,e.showFileEditor?(0,o.h)(es,ed({key:"Editor"},e)):null),(0,o.h)("div",{className:"uppy-Dashboard-progressindicators"},e.progressindicators.map(t=>e.uppy.getPlugin(t.id).render(e.state))))))}({state:e,isHidden:i.isHidden,files:s,newFiles:l,uploadStartedFiles:n,completeFiles:p,erroredFiles:h,inProgressFiles:d,inProgressNotPausedFiles:u,processingFiles:c,isUploadStarted:m,isAllComplete:g,isAllErrored:y,isAllPaused:v,totalFileCount:Object.keys(s).length,totalProgress:e.totalProgress,allowNewUpload:r,acquirers:b,theme:t,disabled:this.opts.disabled,disableLocalFiles:this.opts.disableLocalFiles,direction:this.opts.direction,activePickerPanel:i.activePickerPanel,showFileEditor:i.showFileEditor,saveFileEditor:this.saveFileEditor,closeFileEditor:this.closeFileEditor,disableInteractiveElements:this.disableInteractiveElements,animateOpenClose:this.opts.animateOpenClose,isClosing:i.isClosing,progressindicators:f,editors:D,autoProceed:this.uppy.opts.autoProceed,id:this.id,closeModal:this.requestCloseModal,handleClickOutside:this.handleClickOutside,handleInputChange:this.handleInputChange,handlePaste:this.handlePaste,inline:this.opts.inline,showPanel:this.showPanel,hideAllPanels:this.hideAllPanels,i18n:this.i18n,i18nArray:this.i18nArray,uppy:this.uppy,note:this.opts.note,recoveredState:e.recoveredState,metaFields:i.metaFields,resumableUploads:a.resumableUploads||!1,individualCancellation:a.individualCancellation,isMobileDevice:a.isMobileDevice,fileCardFor:i.fileCardFor,toggleFileCard:this.toggleFileCard,toggleAddFilesPanel:this.toggleAddFilesPanel,showAddFilesPanel:i.showAddFilesPanel,saveFileCard:this.saveFileCard,openFileEditor:this.openFileEditor,canEditFile:this.canEditFile,width:this.opts.width,height:this.opts.height,showLinkToFileUploadResult:this.opts.showLinkToFileUploadResult,fileManagerSelectionType:this.opts.fileManagerSelectionType,proudlyDisplayPoweredByUppy:this.opts.proudlyDisplayPoweredByUppy,hideCancelButton:this.opts.hideCancelButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,showRemoveButtonAfterComplete:this.opts.showRemoveButtonAfterComplete,containerWidth:i.containerWidth,containerHeight:i.containerHeight,areInsidesReadyToBeVisible:i.areInsidesReadyToBeVisible,isTargetDOMEl:this.isTargetDOMEl,parentElement:this.el,allowedFileTypes:this.uppy.opts.restrictions.allowedFileTypes,maxNumberOfFiles:this.uppy.opts.restrictions.maxNumberOfFiles,requiredMetaFields:this.uppy.opts.restrictions.requiredMetaFields,showSelectedFiles:this.opts.showSelectedFiles,showNativePhotoCameraButton:this.opts.showNativePhotoCameraButton,showNativeVideoCameraButton:this.opts.showNativeVideoCameraButton,nativeCameraFacingMode:this.opts.nativeCameraFacingMode,singleFileFullScreen:this.opts.singleFileFullScreen,handleCancelRestore:this.handleCancelRestore,handleRequestThumbn
7ail:this.handleRequestThumbnail,handleCancelThumbnail:this.handleCancelThumbnail,isDraggingOver:i.isDraggingOver,handleDragOver:this.handleDragOver,handleDragLeave:this.handleDragLeave,handleDrop:this.handleDrop})},Object.defineProperty(this,eA,{writable:!0,value:()=>{(this.opts.plugins||[]).forEach(e=>{let t=this.uppy.getPlugin(e);t?t.mount(this,t):this.uppy.log("[Uppy] Dashboard could not find plugin '".concat(e,"', make sure to uppy.use() the plugins you are specifying"),"warning")})}}),Object.defineProperty(this,ek,{writable:!0,value:()=>{this.uppy.iteratePlugins(ec(this,eN)[eN])}}),Object.defineProperty(this,eN,{writable:!0,value:e=>{var t;e&&!(null!=(t=e.opts)&&t.target)&&["acquirer","editor"].includes(e.type)&&!this.getPluginState().targets.some(t=>e.id===t.id)&&e.mount(this,e)}}),this.install=()=>{this.setPluginState({isHidden:!0,fileCardFor:null,activeOverlayType:null,showAddFilesPanel:!1,activePickerPanel:void 0,showFileEditor:!1,metaFields:this.opts.metaFields,targets:[],areInsidesReadyToBeVisible:!1,isDraggingOver:!1});let{inline:e,closeAfterFinish:t}=this.opts;if(e&&t)throw Error("[Dashboard] `closeAfterFinish: true` cannot be used on an inline Dashboard, because an inline Dashboard cannot be closed at all. Either set `inline: false`, or disable the `closeAfterFinish` option.");let{allowMultipleUploads:i,allowMultipleUploadBatches:s}=this.uppy.opts;(i||s)&&t&&this.uppy.log("[Dashboard] When using `closeAfterFinish`, we recommended setting the `allowMultipleUploadBatches` option to `false` in the Uppy constructor. See https://uppy.io/docs/uppy/#allowMultipleUploads-true","warning");let{target:a}=this.opts;a&&this.mount(a,this),this.opts.disableStatusBar||this.uppy.use(r.A,{id:"".concat(this.id,":StatusBar"),target:this,hideUploadButton:this.opts.hideUploadButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,hideCancelButton:this.opts.hideCancelButton,showProgressDetails:this.opts.showProgressDetails,hideAfterFinish:this.opts.hideProgressAfterFinish,locale:this.opts.locale,doneButtonHandler:this.opts.doneButtonHandler}),this.opts.disableInformer||this.uppy.use(h,{id:"".concat(this.id,":Informer"),target:this}),this.opts.disableThumbnailGenerator||this.uppy.use(d.A,{id:"".concat(this.id,":ThumbnailGenerator"),thumbnailWidth:this.opts.thumbnailWidth,thumbnailHeight:this.opts.thumbnailHeight,thumbnailType:this.opts.thumbnailType,waitForThumbnailsBeforeUpload:this.opts.waitForThumbnailsBeforeUpload,lazy:!this.opts.waitForThumbnailsBeforeUpload}),this.darkModeMediaQuery=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;let o=!!this.darkModeMediaQuery&&this.darkModeMediaQuery.matches;if(this.uppy.log("[Dashboard] Dark mode is ".concat(o?"on":"off")),this.setDarkModeCapability(o),"auto"===this.opts.theme){var l;null==(l=this.darkModeMediaQuery)||l.addListener(this.handleSystemDarkModeChange)}ec(this,eA)[eA](),ec(this,ek)[ek](),this.initEvents()},this.uninstall=()=>{if(!this.opts.disableInformer){let e=this.uppy.getPlugin("".concat(this.id,":Informer"));e&&this.uppy.removePlugin(e)}if(!this.opts.disableStatusBar){let e=this.uppy.getPlugin("".concat(this.id,":StatusBar"));e&&this.uppy.removePlugin(e)}if(!this.opts.disableThumbnailGenerator){let e=this.uppy.getPlugin("".concat(this.id,":ThumbnailGenerator"));e&&this.uppy.removePlugin(e)}if((this.opts.plugins||[]).forEach(e=>{let t=this.uppy.getPlugin(e);t&&t.unmount()}),"auto"===this.opts.theme){var e;null==(e=this.darkModeMediaQuery)||e.removeListener(this.handleSystemDarkModeChange)}this.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),this.unmount(),this.removeEvents()},this.id=this.opts.id||"Dashboard",this.title="Dashboard",this.type="orchestrator",this.defaultLocale=eu,void 0===this.opts.doneButtonHandler&&(this.opts.doneButtonHandler=()=>{this.uppy.clearUploadedFiles(),this.requestCloseModal()}),null!=(i=this.opts).onRequestCloseModal||(i.onRequestCloseModal=()=>this.closeModal()),this.i18nInit()}}eE.VERSION="3.9.1"},971909:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var s=i(560766),a=i(177511),r=i(266250),o=function(e,t){let i=Math.min(e.width/t.width,e.height/t.height),s=t.width*i,a=t.height*i,r=(e.width-s)/2,o=(e.height-a)/2;return{width:s,height:a,left:r,top:o}},l=function(e,t,i){let s=Math.abs(Math.PI/180*i);return Math.max((Math.sin(s)*e+Math.cos(s)*t)/t,(Math.sin(s)*t+Math.cos(s)*e)/e)};
7class n extends a.uA{componentDidMount(){let{opts:e,storeCropperInstance:t}=this.props;this.cropper=new r(this.imgElement,e.cropperOptions),this.imgElement.addEventListener("cropstart",this.storePrevCropboxData),this.imgElement.addEventListener("cropend",this.limitCropboxMovement),t(this.cropper)}componentWillUnmount(){this.cropper.destroy(),this.imgElement.removeEventListener("cropstart",this.storePrevCropboxData),this.imgElement.removeEventListener("cropend",this.limitCropboxMovement)}storePrevCropboxData(){this.setState({prevCropboxData:this.cropper.getCropBoxData()})}limitCropboxMovement(e){let t=this.cropper.getCanvasData(),i=this.cropper.getCropBoxData(),{prevCropboxData:s}=this.state;if("all"===e.detail.action){let e=i.left<t.left?{left:t.left,width:s.width}:i.top<t.top?{top:t.top,height:s.height}:i.left+i.width>t.left+t.width?{left:t.left+t.width-s.width,width:s.width}:i.top+i.height>t.top+t.height?{top:t.top+t.height-s.height,height:s.height}:null;e&&this.cropper.setCropBoxData(e)}else{let e=i.left<t.left?{left:t.left,width:s.left+s.width-t.left}:i.top<t.top?{top:t.top,height:s.top+s.height-t.top}:i.left+i.width>t.left+t.width?{left:s.left,width:t.left+t.width-s.left}:i.top+i.height>t.top+t.height?{top:s.top,height:t.top+t.height-s.top}:null;e&&this.cropper.setCropBoxData(e)}}renderGranularRotate(){let{i18n:e}=this.props,{angleGranular:t}=this.state;return(0,a.h)("label",{role:"tooltip","aria-label":"".concat(t,"\xba"),"data-microtip-position":"top",className:"uppy-ImageCropper-rangeWrapper"},(0,a.h)("input",{className:"uppy-ImageCropper-range uppy-u-reset",type:"range",onInput:this.onRotateGranular,onChange:this.onRotateGranular,value:t,min:"-45",max:"45","aria-label":e("rotate")}))}renderRevert(){let{i18n:e,opts:t}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("revert"),onClick:()=>{this.cropper.reset(),this.cropper.setAspectRatio(t.cropperOptions.initialAspectRatio),this.setState({angle90Deg:0,angleGranular:0})}},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,a.h)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})))}renderRotate(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("rotate"),onClick:this.onRotate90Deg},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),(0,a.h)("path",{d:"M14 10a2 2 0 012 2v7a2 2 0 01-2 2H6a2 2 0 01-2-2v-7a2 2 0 012-2h8zm0 1.75H6a.25.25 0 00-.243.193L5.75 12v7a.25.25 0 00.193.243L6 19.25h8a.25.25 0 00.243-.193L14.25 19v-7a.25.25 0 00-.193-.243L14 11.75zM12 .76V4c2.3 0 4.61.88 6.36 2.64a8.95 8.95 0 012.634 6.025L21 13a1 1 0 01-1.993.117L19 13h-.003a6.979 6.979 0 00-2.047-4.95 6.97 6.97 0 00-4.652-2.044L12 6v3.24L7.76 5 12 .76z"})))}renderFlip(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("flipHorizontal"),onClick:()=>this.cropper.scaleX(-this.cropper.getData().scaleX||-1)},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,a.h)("path",{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"})))}renderZoomIn(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("zoomIn"),onClick:()=>this.cropper.zoom(.1)},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",height:"24",viewBox:"0 0 24 24",width:"24"},(0,a.h)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,a.h)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),(0,a.h)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"})))}renderZoomOut(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("zoomOut"),onClick:()=>this.cropper.zoom(-.1)},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,a.h)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})))}renderCropSquare(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("aspectRatioSquare"),onClick:()=>this.cropper.setAspectRatio(1)},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,a.h)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})))}renderCropWidescreen(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("aspectRatioLandscape"),onClick:()=>this.cropper.setAspectRatio(16/9)},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M 19,4.9999992 V 17.000001 H 4.9999998 V 6.9999992 H 19 m 0,-2 H 4.9999998 c -1.0999999,0 -1.9999999,0.9000001 -1.9999999,2 V 17.000001 c 0,1.1 0.9,2 1.9999999,2 H 19 c 1.1,0 2,-0.9 2,-2 V 6.9999992 c 0,-1.0999999 -0.9,-2 -2,-2 z"}),(0,a.h)("path",{fill:"none",d:"M0 0h24v24H0z"})))}renderCropWidescreenVertical(){let{i18n:e}=this.props;return(0,a.h)("button",{role:"button tooltip","data-microtip-position":"top",type:"button","aria-label":e("aspectRatioPortrait"),className:"uppy-u-reset uppy-c-btn",onClick:()=>this.cropper.setAspectRatio(9/16)},(0,a.h)("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24"},(0,a.h)("path",{d:"M 19.000001,19 H 6.999999 V 5 h 10.000002 v 14 m 2,0 V 5 c 0,-1.0999999 -0.9,-1.9999999 -2,-1.9999999 H 6.999999 c -1.1,0
7-2,0.9 -2,1.9999999 v 14 c 0,1.1 0.9,2 2,2 h 10.000002 c 1.1,0 2,-0.9 2,-2 z"}),(0,a.h)("path",{d:"M0 0h24v24H0z",fill:"none"})))}render(){let{currentImage:e,opts:t}=this.props,{actions:i}=t,s=URL.createObjectURL(e.data);return(0,a.h)("div",{className:"uppy-ImageCropper"},(0,a.h)("div",{className:"uppy-ImageCropper-container"},(0,a.h)("img",{className:"uppy-ImageCropper-image",alt:e.name,src:s,ref:e=>{this.imgElement=e}})),(0,a.h)("div",{className:"uppy-ImageCropper-controls"},i.revert&&this.renderRevert(),i.rotate&&this.renderRotate(),i.granularRotate&&this.renderGranularRotate(),i.flip&&this.renderFlip(),i.zoomIn&&this.renderZoomIn(),i.zoomOut&&this.renderZoomOut(),i.cropSquare&&this.renderCropSquare(),i.cropWidescreen&&this.renderCropWidescreen(),i.cropWidescreenVertical&&this.renderCropWidescreenVertical()))}constructor(e){super(e),this.onRotate90Deg=()=>{let{angle90Deg:e}=this.state,t=e-90;this.setState({angle90Deg:t,angleGranular:0}),this.cropper.scale(1),this.cropper.rotateTo(t);let i=this.cropper.getCanvasData(),s=o(this.cropper.getContainerData(),i);this.cropper.setCanvasData(s),this.cropper.setCropBoxData(s)},this.onRotateGranular=e=>{let t=Number(e.target.value);this.setState({angleGranular:t});let{angle90Deg:i}=this.state,s=i+t;this.cropper.rotateTo(s);let a=this.cropper.getImageData(),r=l(a.naturalWidth,a.naturalHeight,t),o=this.cropper.getImageData().scaleX<0?-r:r;this.cropper.scale(o,r)},this.state={angle90Deg:0,angleGranular:0,prevCropboxData:null},this.storePrevCropboxData=this.storePrevCropboxData.bind(this),this.limitCropboxMovement=this.limitCropboxMovement.bind(this)}}var p={strings:{revert:"Reset",rotate:"Rotate 90\xb0",zoomIn:"Zoom in",zoomOut:"Zoom out",flipHorizontal:"Flip horizontally",aspectRatioSquare:"Crop square",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)"}};let h={viewMode:0,background:!1,autoCropArea:1,responsive:!0,minCropBoxWidth:70,minCropBoxHeight:70,croppedCanvasOptions:{},initialAspectRatio:0},d={revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!0,cropWidescreen:!0,cropWidescreenVertical:!0},u={quality:.8,actions:d,cropperOptions:h};class c extends s.A{canEditFile(e){if(!e.type||e.isRemote)return!1;let t=e.type.split("/")[1];return!!/^(jpe?g|gif|png|bmp|webp)$/.test(t)}install(){this.setPluginState({currentImage:null});let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){let{currentImage:e}=this.getPluginState();if(e){let t=this.uppy.getFile(e.id);
7this.uppy.emit("file-editor:cancel",t)}this.unmount()}render(){let{currentImage:e}=this.getPluginState();return null===e||e.isRemote?null:(0,a.h)(n,{currentImage:e,storeCropperInstance:this.storeCropperInstance,save:this.save,opts:this.opts,i18n:this.i18n})}constructor(e,t){super(e,{...u,...t,actions:{...d,...null==t?void 0:t.actions},cropperOptions:{...h,...null==t?void 0:t.cropperOptions}}),this.save=()=>{let{currentImage:e}=this.getPluginState(),t=this.cropper.getCroppedCanvas({});t.width%2!=0&&this.cropper.setData({width:t.width-1}),t.height%2!=0&&this.cropper.setData({height:t.height-1}),this.cropper.getCroppedCanvas(this.opts.cropperOptions.croppedCanvasOptions).toBlob(e=>{let{currentImage:t}=this.getPluginState();this.uppy.setFileState(t.id,{data:new File([e],t.name,{type:e.type}),size:e.size,preview:void 0});let i=this.uppy.getFile(t.id);this.uppy.emit("thumbnail:request",i),this.setPluginState({currentImage:i}),this.uppy.emit("file-editor:complete",i)},e.type,this.opts.quality)},this.storeCropperInstance=e=>{this.cropper=e},this.selectFile=e=>{this.uppy.emit("file-editor:start",e),this.setPluginState({currentImage:e})},this.id=this.opts.id||"ImageEditor",this.title="Image Editor",this.type="editor",this.defaultLocale=p,this.i18nInit()}}c.VERSION="2.4.6"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.