1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2265eabb-67c7-4407-9614-018cc5c003d0",e._sentryDebugIdIdentifier="sentry-dbid-2265eabb-67c7-4407-9614-018cc5c003d0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8554],{8878:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382),r(15621)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";var t=e.IptcMap.prototype;t.tags={0:"ApplicationRecordVersion",3:"ObjectTypeReference",4:"ObjectAttributeReference",5:"ObjectName",7:"EditStatus",8:"EditorialUpdate",10:"Urgency",12:"SubjectReference",15:"Category",20:"SupplementalCategories",22:"FixtureIdentifier",25:"Keywords",26:"ContentLocationCode",27:"ContentLocationName",30:"ReleaseDate",35:"ReleaseTime",37:"ExpirationDate",38:"ExpirationTime",40:"SpecialInstructions",42:"ActionAdvised",45:"ReferenceService",47:"ReferenceDate",50:"ReferenceNumber",55:"DateCreated",60:"TimeCreated",62:"DigitalCreationDate",63:"DigitalCreationTime",65:"OriginatingProgram",70:"ProgramVersion",75:"ObjectCycle",80:"Byline",85:"BylineTitle",90:"City",92:"Sublocation",95:"State",100:"CountryCode",101:"Country",103:"OriginalTransmissionReference",105:"Headline",110:"Credit",115:"Source",116:"CopyrightNotice",118:"Contact",120:"Caption",121:"LocalCaption",122:"Writer",125:"RasterizedCaption",130:"ImageType",131:"ImageOrientation",135:"LanguageIdentifier",150:"AudioType",151:"AudioSamplingRate",152:"AudioSamplingResolution",153:"AudioDuration",154:"AudioOutcue",184:"JobID",185:"MasterDocumentID",186:"ShortDocumentID",187:"UniqueDocumentID",188:"OwnerID",200:"ObjectPreviewFileFormat",201:"ObjectPreviewFileVersion",202:"ObjectPreviewData",221:"Prefs",225:"ClassifyState",228:"Similarity
1Index",230:"DocumentNotes",231:"DocumentHistory",232:"ExifCameraInfo",255:"CatalogSets"},t.stringValues={10:{0:"0 (reserved)",1:"1 (most urgent)",2:"2",3:"3",4:"4",5:"5 (normal urgency)",6:"6",7:"7",8:"8 (least urgent)",9:"9 (user-defined priority)"},75:{a:"Morning",b:"Both Morning and Evening",p:"Evening"},131:{L:"Landscape",P:"Portrait",S:"Square"}},t.getText=function(e){var t=this.get(e),r=this.map[e],u=this.stringValues[r];return u?u[t]:String(t)},t.getAll=function(){var e,t,r={};for(e in this)Object.prototype.hasOwnProperty.call(this,e)&&(t=this.tags[e])&&(r[t]=this.getText(t));return r},t.getName=function(e){return this.tags[e]};var r,u=t.tags,n=t.map||{};for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(n[u[r]]=Number(r))})},8922:(e,t,r)=>{e.exports=r(11382),r(50149),r(57784),r(98847),r(31355),r(63236),r(15621),r(8878),r(50441)},11382:function(e,t,r){var u;!function(n){"use strict";var i=n.URL||n.webkitURL;function o(e){return!!i&&i.createObjectURL(e)}function s(e){return!!i&&i.revokeObjectURL(e)}function a(e,t){e&&"blob:"===e.slice(0,5)&&!(t&&t.noRevoke)&&s(e)}function D(e,t,r,u){if(!n.FileReader)return!1;var i=new FileReader;i.onload=function(){t.call(i,this.result)},r&&(i.onabort=i.onerror=function(){r.call(i,this.error)});
1var o=i[u||"readAsDataURL"];if(o)return o.call(i,e),i}function l(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}function c(e,t,r){function u(t,u){var i,s=document.createElement("img");function d(e,r){if(t===u){t&&t(e,r);return}if(e instanceof Error)return void u(e);(r=r||{}).image=e,t(r)}function h(t,u){u&&n.console&&console.log(u),t&&l("Blob",t)?i=o(e=t):(i=e,r&&r.crossOrigin&&(s.crossOrigin=r.crossOrigin)),s.src=i}return(s.onerror=function(e){a(i,r),u&&u.call(s,e)},s.onload=function(){a(i,r);var t={originalWidth:s.naturalWidth||s.width,originalHeight:s.naturalHeight||s.height};try{c.transform(s,r,d,e,t)}catch(e){u&&u(e)}},"string"==typeof e)?(c.requiresMetaData(r)?c.fetchBlob(e,h,r):h(),s):l("Blob",e)||l("File",e)?(i=o(e))?(s.src=i,s):D(e,function(e){s.src=e},u):void 0}return n.Promise&&"function"!=typeof t?(r=t,new Promise(u)):u(t,t)}c.requiresMetaData=function(e){return e&&e.meta},c.fetchBlob=function(e,t){t()},c.transform=function(e,t,r,u,n){r(e,n)},c.global=n,c.readFile=D,c.isInstanceOf=l,c.createObjectURL=o,c.revokeObjectURL=s,void 0===(u=(function(){return c}).call(t,r,t,e))||(e.exports=u)}("undefined"!=typeof window&&window||this)},15621:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382),r(57784)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";function t(){}t.prototype.map={ObjectName:5},t.prototype.types={0:"Uint16",200:"Uint16",201:"Uint16",202:"binary"},t.prototype.get=function(e){return this[e]||this[this.map[e]]},e.parseIptcData=function(e,r,u,n,i){if(!i.disableIptc)for(var o,s=r+u;r+8<s;){if(o=r,0x3842494d===e.getUint32(o)&&1028===e.getUint16(o+4)){var a=function(e,t){var r=e.getUint8(t+7);return r%2!=0&&(r+=1),0===r&&(r=4),r}(e,r),D=r+8+a;if(D>s){console.log("Invalid IPTC data: Invalid segment offset.");break}var l=e.getUint16(r+6+a);if(r+l>s){console.log("Invalid IPTC data: Invalid segment size.");break}n.iptc=new t,i.disableIptcOffsets||(n.iptcOffsets=new t),function(e,t,r,u,n,i){for(var o,s,a,D,l=t+r,c=t;c<l;)28!==e.getUint8(c)||2!==e.getUint8(c+1)||(D=e.getUint8(c+2),n&&!n[D]||i&&i[D])||(a=e.getInt16(c+3),s=function(e,t,r,u,n){if("binary"===t.types[e])return new Blob([r.buffer.slice(u,u+n)]);if("Uint16"===t.types[e])return r.getUint16(u);for(var i="",o=u+n,s=u;s<o;s+=1)i+=String.fromCharCode(r.getUint8(s));return i}(D,u.iptc,e,c+5,a),u.iptc[D]=(o=u.iptc[D],void 0===o?s:o instanceof Array?(o.push(s),o):[o,s]),u.iptcOffsets&&(u.iptcOffsets[D]=c)),c+=1}(e,D,l,n,i.includeIptcTags,i.excludeIptcTags||{202:!0});return}r+=1}},e.metaDataParsers.jpeg[65517].push(e.parseIptcData),e.IptcMap=t})},18026:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});var u=r(14232);let n="undefined"!=typeof window?u.useLayoutEffect:u.useEffect},23845:(e,t,r)=>{"use strict";r.d(t,{H:()=>F});var u=r(70019),n=r(64030),i=r(14232),o=r(61511),s=r(57172),a=r(99006);class D{get connectTarget(){return this.dropTarget}reconnect(){let e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();let t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,o.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,a.i)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,s.i)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var l=r(44138),c=r(18026),d=r(58121);let h=!1;class g{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,d.V)(!h,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return h=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{h=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}
1getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var f=r(54410);class p{canDrop(){let e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){let e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){let e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function F(e,t){let r=(0,n.I)(e,t),o=function(){let e=(0,l.u)();return(0,i.useMemo)(()=>new g(e),[e])}(),s=function(e){let t=(0,l.u)(),r=(0,i.useMemo)(()=>new D(t.getBackend()),[t]);return(0,c.E)(()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget()),[e]),r}(r.options),a=(0,l.u)(),h=function(e,t){let r=(0,i.useMemo)(()=>new p(e,t),[t]);return(0,i.useEffect)(()=>{r.spec=e},[e]),r}(r,o),F=function(e){let{accept:t}=e;return(0,i.useMemo)(()=>((0,d.V)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}(r);return(0,c.E)(function(){let[e,t]=(0,f.l)(F,h,a);return o.receiveHandlerId(e),s.receiveHandlerId(e),t},[a,o,h,s,F.map(e=>e.toString()).join("|")]),[(0,u.j)(r.collect,o,s),(0,i.useMemo)(()=>s.hooks.dropTarget(),[s])]}},24131:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var u=r(14232),n=r(76803),i=r(44138);function o(e){let t=(0,i.u)().getMonitor(),[r,o]=(0,n.F)(t,e);return(0,u.useEffect)(()=>t.subscribeToOffsetChange(o)),(0,u.useEffect)(()=>t.subscribeToStateChange(o)),r}},31355:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382),r(57784)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";function t(e){e&&(Object.defineProperty(this,"map",{value:this.ifds[e].map}),Object.defineProperty(this,"tags",{value:this.tags&&this.tags[e]||{}}))}t.prototype.map={Orientation:274,Thumbnail:"ifd1",Blob:513,Exif:34665,GPSInfo:34853,Interoperability:40965},t.prototype.ifds={ifd1:{name:"Thumbnail",map:t.prototype.map},34665:{name:"Exif",map:{}},34853:{name:"GPSInfo",map:{}},40965:{name:"Interoperability",map:{}}},t.prototype.get=function(e){return this[e]||this[this.map[e]]};var r={1:{getValue:function(e,t){return e.getUint8(t)},size:1},2:{getValue:function(e,t){return String.fromCharCode(e.getUint8(t))},size:1,ascii:!0},3:{getValue:function(e,t,r){return e.getUint16(t,r)},size:2},4:{getValue:function(e,t,r){return e.getUint32(t,r)},size:4},5:{getValue:function(e,t,r){return e.getUint32(t,r)/e.getUint32(t+4,r)},size:8},9:{getValue:function(e,t,r){return e.getInt32(t,r)},size:4},10:{getValue:function(e,t,r){return e.getInt32(t,r)/e.getInt32(t+4,r)},size:8}};function u(e,t,r){return(!e||e[r])&&(!t||!0!==t[r])}function n(e,t,n,i,o,s,a,D){var l,c,d,h,g,f;if(n+6>e.byteLength)return void console.log("Invalid Exif data: Invalid directory offset.");if(l=e.getUint16(n,i),(c=n+2+12*l)+4>e.byteLength)return void console.log("Invalid Exif data: Invalid directory size.");for(d=0;d<l;d+=1)h=n+2+12*d,u(a,D,g=e.getUint16(h,i))&&(f=function(e,t,u,n,i,o){var s,a,D,l,c,d,h=r[n];if(!h)return void console.log("Invalid Exif data: Invalid tag type.");if((a=(s=h.size*i)>4?t+e.getUint32(u+8,o):u+8)+s>e.byteLength)return void console.log("Invalid Exif data: Invalid data offset.");if(1===i)return h.getValue(e,a,o);for(l=0,D=[];l<i;l+=1)D[l]=h.getValue(e,a+l*h.size,o);if(h.ascii){for(l=0,c="";l<D.length&&"\0"!==(d=D[l]);l+=1)c+=d;return c}return D}(e,t,h,e.getUint16(h+2,i),e.getUint32(h+4,i),i),o[g]=f,s&&(s[g]=h));return e.getUint32(c,i)}r[7]=r[1],e.parseExifData=function(r,i,o,s,a){if(!a.disableExif){var D,l,c,d=a.includeExifTags,h=a.excludeExifTags||{34665:{37500:!0}},g=i+10;if(0x45786966===r.getUint32(i+4)){if(g+8>r.byteLength)return void console.log("Invalid Exif data: Invalid segment size.");if(0!==r.getUint16(i+8))return void console.log("Invalid Exif data: Missing byte alignment offset.");switch(r.getUint16(g)){case 18761:D=!0;break;case 19789:D=!1;break;
1default:console.log("Invalid Exif data: Invalid byte alignment marker.");return}if(42!==r.getUint16(g+2,D))return void console.log("Invalid Exif data: Missing TIFF marker.");l=r.getUint32(g+4,D),s.exif=new t,a.disableExifOffsets||(s.exifOffsets=new t,s.exifTiffOffset=g,s.exifLittleEndian=D),(l=n(r,g,g+l,D,s.exif,s.exifOffsets,d,h))&&u(d,h,"ifd1")&&(s.exif.ifd1=l,s.exifOffsets&&(s.exifOffsets.ifd1=g+l)),Object.keys(s.exif.ifds).forEach(function(e){var u,i;u=D,(i=s.exif[e])&&(s.exif[e]=new t(e),s.exifOffsets&&(s.exifOffsets[e]=new t(e)),n(r,g,g+i,u,s.exif[e],s.exifOffsets&&s.exifOffsets[e],d&&d[e],h&&h[e]))}),(c=s.exif.ifd1)&&c[513]&&(c[513]=function(t,r,u){if(u)return r+u>t.byteLength?void console.log("Invalid Exif data: Invalid thumbnail data."):new Blob([e.bufferSlice.call(t.buffer,r,r+u)],{type:"image/jpeg"})}(r,g+c[513],c[514]))}}},e.metaDataParsers.jpeg[65505].push(e.parseExifData),e.exifWriters={274:function(e,t,r){var u=t.exifOffsets[274];return u&&new DataView(e,u+8,2).setUint16(0,r,t.exifLittleEndian),e}},e.writeExifData=function(t,r,u,n){return e.exifWriters[r.exif.map[u]](t,r,n)},e.ExifMap=t})},34349:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((u=t.length)!=r.length)return!1;for(n=u;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((u=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(n=u;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=u;0!=n--;){var u,n,i,o=i[n];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},35185:(e,t,r)=>{"use strict";r.d(t,{i:()=>E});var u=r(58121),n=r(70019),i=r(64030),o=r(14232),s=r(61511),a=r(57172),D=r(99006);class l{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){let e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){let e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e),t}reconnectDragPreview(e=!1){let t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(r&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,s.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,s.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,D.i)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,a.i)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,a.i)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}
1var c=r(44138),d=r(18026);let h=!1,g=!1;class f{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,u.V)(!h,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return h=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{h=!1}}isDragging(){if(!this.sourceId)return!1;(0,u.V)(!g,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return g=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{g=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var p=r(54410);class F{beginDrag(){let e=this.spec,t=this.monitor,r=null;return null!=(r="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{})?r:null}canDrag(){let e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){let r=this.spec,u=this.monitor,{isDragging:n}=r;return n?n(u):t===e.getSourceId()}endDrag(){let e=this.spec,t=this.monitor,r=this.connector,{end:u}=e;u&&u(t.getItem(),t),r.reconnect()}constructor(e,t,r){this.spec=e,this.monitor=t,this.connector=r}}function E(e,t){let r=(0,i.I)(e,t);(0,u.V)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");let s=function(){let e=(0,c.u)();return(0,o.useMemo)(()=>new f(e),[e])}(),a=function(e,t){let r=(0,c.u)(),u=(0,o.useMemo)(()=>new l(r.getBackend()),[r]);return(0,d.E)(()=>(u.dragSourceOptions=e||null,u.reconnect(),()=>u.disconnectDragSource()),[u,e]),(0,d.E)(()=>(u.dragPreviewOptions=t||null,u.reconnect(),()=>u.disconnectDragPreview()),[u,t]),u}(r.options,r.previewOptions),D=(0,c.u)(),h=function(e,t,r){let u=(0,o.useMemo)(()=>new F(e,t,r),[t,r]);return(0,o.useEffect)(()=>{u.spec=e},[e]),u}(r,s,a),g=(0,o.useMemo)(()=>{let e=r.type;return(0,u.V)(null!=e,"spec.type must be defined"),e},[r]);return(0,d.E)(function(){if(null!=g){let[e,t]=(0,p.V)(g,h,D);return s.receiveHandlerId(e),a.receiveHandlerId(e),t}},[D,s,a,h,g]),[(0,n.j)(r.collect,s,a),(0,o.useMemo)(()=>a.hooks.dragSource(),[a]),(0,o.useMemo)(()=>a.hooks.dragPreview(),[a])]}},44138:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});var u=r(58121),n=r(14232),i=r(49325);function o(){let{dragDropManager:e}=(0,n.useContext)(i.M);return(0,u.V)(null!=e,"Expected drag drop context"),e}},47634:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});let u=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uD
1F7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},49325:(e,t,r)=>{"use strict";r.d(t,{M:()=>u});let u=(0,r(14232).createContext)({dragDropManager:void 0})},50149:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";var t=e.transform;e.createCanvas=function(t,r,u){if(u&&e.global.OffscreenCanvas)return new OffscreenCanvas(t,r);var n=document.createElement("canvas");return n.width=t,n.height=r,n},e.transform=function(r,u,n,i,o){t.call(e,e.scale(r,u,o),u,n,i,o)},e.transformCoordinates=function(){},e.getTransformedOptions=function(e,t){var r,u,n,i,o=t.aspectRatio;if(!o)return t;for(u in r={},t)Object.prototype.hasOwnProperty.call(t,u)&&(r[u]=t[u]);
1return r.crop=!0,(n=e.naturalWidth||e.width)/(i=e.naturalHeight||e.height)>o?(r.maxWidth=i*o,r.maxHeight=i):(r.maxWidth=n,r.maxHeight=n/o),r},e.drawImage=function(e,t,r,u,n,i,o,s,a){var D=t.getContext("2d");return!1===a.imageSmoothingEnabled?(D.msImageSmoothingEnabled=!1,D.imageSmoothingEnabled=!1):a.imageSmoothingQuality&&(D.imageSmoothingQuality=a.imageSmoothingQuality),D.drawImage(e,r,u,n,i,0,0,o,s),D},e.requiresCanvas=function(e){return e.canvas||e.crop||!!e.aspectRatio},e.scale=function(t,r,u){r=r||{},u=u||{};var n,i,o,s,a,D,l,c,d,h,g,f,p=t.getContext||e.requiresCanvas(r)&&!!e.global.HTMLCanvasElement,F=t.naturalWidth||t.width,E=t.naturalHeight||t.height,C=F,v=E;function m(){var e=Math.max((o||C)/C,(s||v)/v);e>1&&(C*=e,v*=e)}function y(){var e=Math.min((n||C)/C,(i||v)/v);e<1&&(C*=e,v*=e)}if(p&&(l=(r=e.getTransformedOptions(t,r,u)).left||0,c=r.top||0,r.sourceWidth?(a=r.sourceWidth,void 0!==r.right&&void 0===r.left&&(l=F-a-r.right)):a=F-l-(r.right||0),r.sourceHeight?(D=r.sourceHeight,void 0!==r.bottom&&void 0===r.top&&(c=E-D-r.bottom)):D=E-c-(r.bottom||0),C=a,v=D),n=r.maxWidth,i=r.maxHeight,o=r.minWidth,s=r.minHeight,p&&n&&i&&r.crop?(C=n,v=i,(g=a/D-n/i)<0?(D=i*a/n,void 0===r.top&&void 0===r.bottom&&(c=(E-D)/2)):g>0&&(a=n*D/i,void 0===r.left&&void 0===r.right&&(l=(F-a)/2))):((r.contain||r.cover)&&(o=n=n||o,s=i=i||s),r.cover?(y(),m()):(m(),y())),p){if((d=r.pixelRatio)>1&&!(t.style.width&&Math.floor(parseFloat(t.style.width,10))===Math.floor(F/d))&&(C*=d,v*=d),e.orientationCropBug&&!t.getContext&&(l||c||a!==F||D!==E)&&(g=t,t=e.createCanvas(F,E,!0),e.drawImage(g,t,0,0,F,E,F,E,r)),(h=r.downsamplingRatio)>0&&h<1&&C<a&&v<D)for(;a*h>C;)f=e.createCanvas(a*h,D*h,!0),e.drawImage(t,f,l,c,a,D,f.width,f.height,r),l=0,c=0,a=f.width,D=f.height,t=f;return f=e.createCanvas(C,v),e.transformCoordinates(f,r,u),d>1&&(f.style.width=f.width/d+"px"),e.drawImage(t,f,l,c,a,D,C,v,r).setTransform(1,0,0,1,0,0),f}return t.width=C,t.height=v,t}})},50441:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382),r(50149),r(57784)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";var t=e.transform,r=e.requiresCanvas,u=e.requiresMetaData,n=e.transformCoordinates,i=e.getTransformedOptions;if(e.global.document){var o=document.createElement("img");o.onload=function(){if(e.orientation=2===o.width&&3===o.height,e.orientation){var t=e.createCanvas(1,1,!0).getContext("2d");t.drawImage(o,1,1,1,1,0,0,1,1),e.orientationCropBug="255,255,255,255"!==t.getImageData(0,0,1,1).data.toString()}},o.src="data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAIAAwMBEQACEQEDEQH/xABRAAEAAAAAAAAAAAAAAAAAAAAKEAEBAQADAQEAAAAAAAAAAAAGBQQDCAkCBwEBAAAAAAAAAAAAAAAAAAAAABEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AG8T9NfSMEVMhQvoP3fFiRZ+MTHDifa/95OFSZU5OzRzxkyejv8ciEfhSceSXGjS8eSdLnZc2HDm4M3BxcXwH/9k="}function s(t,r){var u=t&&t.orientation;return!0===u&&!e.orientation||1===u&&e.orientation||(!r||e.orientation)&&u>1&&u<9}function a(e,t){return e!==t&&(1===e&&t>1&&t<9||e>1&&e<9)}function D(e,t){if(t>1&&t<9)switch(e){case 2:case 4:return t>4;case 5:case 7:return t%2==0;case 6:case 8:return 2===t||4===t||5===t||7===t}return!1}e.requiresCanvas=function(t){return s(t)||r.call(e,t)},e.requiresMetaData=function(t){return s(t,!0)||u.call(e,t)},e.transform=function(r,u,n,i,o){t.call(e,r,u,function(t,r){if(r){var u=e.orientation&&r.exif&&r.exif.get("Orientation");if(u>4&&u<9){var i=r.originalWidth,o=r.originalHeight;r.originalWidth=o,r.originalHeight=i}}n(t,r)},i,o)},e.getTransformedOptions=function(t,r,u){var n=i.call(e,t,r),o=u.exif&&u.exif.get("Orientation"),s=n.orientation,l=e.orientation&&o;if(!0===s&&(s=o),!a(s,l))return n;var c=n.top,d=n.right,h=n.bottom,g=n.left,f={};for(var p in n)Object.prototype.hasOwnProperty.call(n,p)&&(f[p]=n[p]);if(f.orientation=s,(s>4&&!(l>4)||s<5&&l>4)&&(f.maxWidth=n.maxHeight,f.maxHeight=n.maxWidth,f.minWidth=n.minHeight,f.minHeight=n.minWidth,f.sourceW
1idth=n.sourceHeight,f.sourceHeight=n.sourceWidth),l>1){switch(l){case 2:d=n.left,g=n.right;break;case 3:c=n.bottom,d=n.left,h=n.top,g=n.right;break;case 4:c=n.bottom,h=n.top;break;case 5:c=n.left,d=n.bottom,h=n.right,g=n.top;break;case 6:c=n.left,d=n.top,h=n.right,g=n.bottom;break;case 7:c=n.right,d=n.top,h=n.left,g=n.bottom;break;case 8:c=n.right,d=n.bottom,h=n.left,g=n.top}if(D(s,l)){var F=c,E=d;c=h,d=g,h=F,g=E}}switch(f.top=c,f.right=d,f.bottom=h,f.left=g,s){case 2:f.right=g,f.left=d;break;case 3:f.top=h,f.right=g,f.bottom=c,f.left=d;break;case 4:f.top=h,f.bottom=c;break;case 5:f.top=g,f.right=h,f.bottom=d,f.left=c;break;case 6:f.top=d,f.right=h,f.bottom=g,f.left=c;break;case 7:f.top=d,f.right=c,f.bottom=g,f.left=h;break;case 8:f.top=g,f.right=c,f.bottom=d,f.left=h}return f},e.transformCoordinates=function(t,r,u){n.call(e,t,r,u);var i=r.orientation,o=e.orientation&&u.exif&&u.exif.get("Orientation");if(a(i,o)){var s=t.getContext("2d"),l=t.width,c=t.height,d=l,h=c;switch((i>4&&!(o>4)||i<5&&o>4)&&(t.width=c,t.height=l),i>4&&(d=c,h=l),o){case 2:s.translate(d,0),s.scale(-1,1);break;case 3:s.translate(d,h),s.rotate(Math.PI);break;case 4:s.translate(0,h),s.scale(1,-1);break;case 5:s.rotate(-.5*Math.PI),s.scale(-1,1);break;case 6:s.rotate(-.5*Math.PI),s.translate(-d,0);break;case 7:s.rotate(-.5*Math.PI),s.translate(-d,h),s.scale(1,-1);break;case 8:s.rotate(.5*Math.PI),s.translate(0,-h)}switch(D(i,o)&&(s.translate(d,h),s.rotate(Math.PI)),i){case 2:s.translate(l,0),s.scale(-1,1);break;case 3:s.translate(l,c),s.rotate(Math.PI);break;case 4:s.translate(0,c),s.scale(1,-1);break;case 5:s.rotate(.5*Math.PI),s.scale(1,-1);break;case 6:s.rotate(.5*Math.PI),s.translate(0,-c);break;case 7:s.rotate(.5*Math.PI),s.translate(l,-c),s.scale(-1,1);break;case 8:s.rotate(-.5*Math.PI),s.translate(-l,0)}}}})},54410:(e,t,r)=>{"use strict";function u(e,t,r){let u=r.getRegistry(),n=u.addTarget(e,t);return[n,()=>u.removeTarget(n)]}function n(e,t,r){let u=r.getRegistry(),n=u.addSource(e,t);return[n,()=>u.removeSource(n)]}r.d(t,{V:()=>n,l:()=>u})},57172:(e,t,r)=>{"use strict";function u(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{i:()=>u})},57784:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";var t=e.global,r=e.transform,u=t.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),n=t.ArrayBuffer&&ArrayBuffer.prototype.slice||function(e,t){t=t||this.byteLength-e;var r=new Uint8Array(this,e,t),u=new Uint8Array(t);return u.set(r),u.buffer},i={jpeg:{65505:[],65517:[]}};function o(r,o,s,a){var D=this;function l(o,l){if(!(t.DataView&&u&&r&&r.size>=12&&"image/jpeg"===r.type))return o(a);var c=s.maxMetaDataSize||262144;e.readFile(u.call(r,0,c),function(e){var t,r,u,c,d=new DataView(e);if(65496!==d.getUint16(0))return l(Error("Invalid JPEG file: Missing JPEG marker."));for(var h=2,g=d.byteLength-4,f=h;h<g;)if((t=d.getUint16(h))>=65504&&t<=65519||65534===t){if(r=d.getUint16(h+2)+2,h+r>d.byteLength){console.log("Invalid JPEG metadata: Invalid segment size.");break}if((u=i.jpeg[t])&&!s.disableMetaDataParsers)for(c=0;c<u.length;c+=1)u[c].call(D,d,h,r,a,s);h+=r,f=h}else break;!s.disableImageHead&&f>6&&(a.imageHead=n.call(e,0,f)),o(a)},l,"readAsArrayBuffer")||o(a)}return(s=s||{},t.Promise&&"function"!=typeof o)?(a=s=o||{},new Promise(l)):(a=a||{},l(o,o))}function s(e,t,r){return e&&t&&r?new Blob([r,u.call(e,t.byteLength)],{type:"image/jpeg"}):null}e.transform=function(u,n,i,s,a){e.requiresMetaData(n)?o(s,function(o){o!==a&&(t.console&&console.log(o),o=a),r.call(e,u,n,i,s,o)},n,a=a||{}):r.apply(e,arguments)},e.blobSlice=u,e.bufferSlice=n,e.replaceHead=function(e,r,u){var n={maxMetaDataSize:1024,disableMetaDataParsers:!0};if(!u&&t.Promise)return o(e,n).then(function(t){return s(e,t.imageHead,r)});o(e,function(t){u(s(e,t.imageHead,r))},n)},e.parseMetaData=o,e.metaDataParsers=i})},58121:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});var u=r(99742);function n(e,t,...r){if(void 0!==u&&void 0===t)throw Error("invariant requires an error message argument");
1if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let u=0;(e=Error(t.replace(/%s/g,function(){return r[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}},61511:(e,t,r)=>{"use strict";function u(e,t,r,u){let n=r?r.call(u,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;let s=Object.prototype.hasOwnProperty.bind(t);for(let o=0;o<i.length;o++){let a=i[o];if(!s(a))return!1;let D=e[a],l=t[a];if(!1===(n=r?r.call(u,D,l,a):void 0)||void 0===n&&D!==l)return!1}return!0}r.d(t,{b:()=>u})},62906:(e,t,r)=>{"use strict";r.d(t,{qi:()=>g});var u,n=r(58121);!function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(u||(u={}));class i{get delay(){var e;return null!=(e=this.args.delay)?e:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var e;return null!=(e=this.args.ignoreContextMenu)&&e}get enableHoverOutsideTarget(){var e;return null!=(e=this.args.enableHoverOutsideTarget)&&e}get enableKeyboardEvents(){var e;return null!=(e=this.args.enableKeyboardEvents)&&e}get enableMouseEvents(){var e;return null!=(e=this.args.enableMouseEvents)&&e}get enableTouchEvents(){var e;return null==(e=this.args.enableTouchEvents)||e}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var e,t,r,u;return null!=(u=null!=(r=null==(e=this.args)?void 0:e.delayTouchStart)?r:null==(t=this.args)?void 0:t.delay)?u:0}get delayMouseStart(){var e,t,r,u;return null!=(u=null!=(r=null==(e=this.args)?void 0:e.delayMouseStart)?r:null==(t=this.args)?void 0:t.delay)?u:0}get window(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}get document(){var e;return(null==(e=this.context)?void 0:e.document)?this.context.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null==(e=this.args)?void 0:e.rootElement)||this.document}constructor(e,t){this.args=e,this.context=t}}let o={Left:1},s={Left:0};function a(e){return void 0===e.button||e.button===s.Left}function D(e){return!!e.targetTouches}function l(e,t){return D(e)?1===e.targetTouches.length?l(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?l(e.touches[0]):void 0:{x:e.clientX,y:e.clientY}}let c=(()=>{let e=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get:()=>(e=!0,!0)}))}catch(e){}return e})(),d={[u.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[u.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[u.keyboard]:{keydown:"keydown"}};class h{profile(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null==(e=this.dragOverTargetIds)?void 0:e.length)||0}}get document(){return this.options.document}setup(){let e=this.options.rootElement;e&&((0,n.V)(!h.isSetUp,"Cannot have two Touch backends at the same time."),h.isSetUp=!0,this.addEventListener(e,"start",this.getTopMoveStartHandler()),this.addEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(e,"move",this.handleTopMove),this.addEventListener(e,"move",this.handleTopMoveCapture,!0),this.addEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(e,"keydown",this.handleCancelOnEscape,!0))}teardown(){let e=this.options.rootElement;e&&(h.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(e,"start",this.handleTopMoveStart),this.removeEventListener(e,"move",this.handleTopMoveCapture,!0),this.removeEventListener(e,"move",this.handleTopMove),this.removeEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(e,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(e,t,r,u=!1){let n=c?{capture:u,passive:!1}:u;
1this.listenerTypes.forEach(function(u){let i=d[u][t];i&&e.addEventListener(i,r,n)})}removeEventListener(e,t,r,u=!1){let n=c?{capture:u,passive:!1}:u;this.listenerTypes.forEach(function(u){let i=d[u][t];i&&e.removeEventListener(i,r,n)})}connectDragSource(e,t){let r=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",r),()=>{this.sourceNodes.delete(e),this.removeEventListener(t,"start",r)}}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDropTarget(e,t){let r=this.options.rootElement;if(!this.document||!r)return()=>{};let u=u=>{let n;if(!this.document||!r||!this.monitor.isDragging())return;switch(u.type){case d.mouse.move:n={x:u.clientX,y:u.clientY};break;case d.touch.move:var i,o;n={x:(null==(i=u.touches[0])?void 0:i.clientX)||0,y:(null==(o=u.touches[0])?void 0:o.clientY)||0}}let s=null!=n?this.document.elementFromPoint(n.x,n.y):void 0,a=s&&t.contains(s);if(s===t||a)return this.handleMove(u,e)};return this.addEventListener(this.document.body,"move",u),this.targetNodes.set(e,t),()=>{this.document&&(this.targetNodes.delete(e),this.removeEventListener(this.document.body,"move",u))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(e){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{e&&!e.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(e,t,r){this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&function(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return;let{top:r,left:u}=t.getBoundingClientRect();return{x:u,y:r}}(t)},this.handleTopMoveStartCapture=e=>{a(e)&&(this.moveStartSourceIds=[])},this.handleMoveStart=e=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(e)},this.handleTopMoveStart=e=>{if(!a(e))return;let t=l(e);t&&(D(e)&&(this.lastTargetTouchFallback=e.targetTouches[0]),this._mouseClientOffset=t),this.waitingForDelay=!1},this.handleTopMoveStartDelay=e=>{if(!a(e))return;let t=e.type===d.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,e),t),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(e,t)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(t)},this.handleTopMove=e=>{var t,r;if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;let{moveStartSourceIds:u,dragOverTargetIds:n}=this,i=this.options.enableHoverOutsideTarget,o=l(e,this.lastTargetTouchFallback);if(!o)return;if(this._isScrolling||!this.monitor.isDragging()&&function(e,t,r,u,n){if(!n)return!1;let i=180*Math.atan2(u-t,r-e)/Math.PI+180;for(let e=0;e<n.length;++e){let t=n[e];if(t&&(null==t.start||i>=t.start)&&(null==t.end||i<=t.end))return!0}return!1}
1(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,o.x,o.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&u&&(t=this._mouseClientOffset.x||0,r=this._mouseClientOffset.y||0,Math.sqrt(Math.pow(Math.abs(o.x-t),2)+Math.pow(Math.abs(o.y-r),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(u,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;let s=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(s),this.actions.publishDragSource(),e.cancelable&&e.preventDefault();let a=(n||[]).map(e=>this.targetNodes.get(e)).filter(e=>!!e),D=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(o.x,o.y,a):this.document.elementsFromPoint(o.x,o.y),c=[];for(let e in D){if(!D.hasOwnProperty(e))continue;let t=D[e];for(null!=t&&c.push(t);t;)(t=t.parentElement)&&-1===c.indexOf(t)&&c.push(t)}let d=c.filter(e=>a.indexOf(e)>-1).map(e=>this._getDropTargetId(e)).filter(e=>!!e).filter((e,t,r)=>r.indexOf(e)===t);if(i)for(let e in this.targetNodes){let t=this.targetNodes.get(e);if(s&&t&&t.contains(s)&&-1===d.indexOf(e)){d.unshift(e);break}}d.reverse(),this.actions.hover(d,{clientOffset:o})},this._getDropTargetId=e=>{let t=this.targetNodes.keys(),r=t.next();for(;!1===r.done;){let u=r.value;if(e===this.targetNodes.get(u))return u;r=t.next()}},this.handleTopMoveEndCapture=e=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(e){return void 0===e.buttons||(e.buttons&o.Left)==0}(e)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}e.cancelable&&e.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=e=>{"Escape"===e.key&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new i(r,t),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(u.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(u.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(u.keyboard)}}let g=function(e,t={},r={}){return new h(e,t,r)}},63236:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382),r(31355)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";var t=e.ExifMap.prototype;t.tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright",34665:{36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",42240:"Gamma",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",36880:"OffsetTime",36881:"OffsetTimeOriginal",36882:"OffsetTimeDigitized",37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"PhotographicSensitivity",34856:"OECF",34864:"SensitivityType",34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",3738
10:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRatio",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",42016:"ImageUniqueID",42032:"CameraOwnerName",42033:"BodySerialNumber",42034:"LensSpecification",42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber"},34853:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential",31:"GPSHPositioningError"},40965:{1:"InteroperabilityIndex"}},t.tags.ifd1=t.tags,t.stringValues={ExposureProgram:{0:"Undefined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Undefined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},ComponentsConfiguration:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"},Orientation:{1:"Original",2:"Horizontal flip",3:"Rotate 180\xb0 CCW",4:"Vertical flip",5:"Vertical flip + Rotate 90\xb0 CW",6:"Rotate 90\xb0 CW",7:"Horizontal flip + Rotate 90\xb0 CW",8:"Rotate 90\xb0 CCW"}},t.getText=function(e){var t=this.get(e);switch(e){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":case"Orientation":return this.stringValues[e][t];case"ExifVersion":case"FlashpixVersion":if(!t)return;return String.fromCharCode(t[0],t[1],t[2],t[3]);case"ComponentsConfiguration":if(!t)return;return this.stringValues[e][t[0]]+this.stringValues[e][t[1]]+this.stringValues[e][t[2]]+this.stringValues[e][t[3]];case"GPSVersionID":if(!t)return;return t[0]+"."+t[1]+"."+t[2]+"."+t[3]}return String(t)},t.getAll=function(){var e,t,r,u={};for(e in this)Object.prototype.hasOwnProperty.call(this,e)&&((t=this[e])&&t.getAll?u[this.ifds[e].name]=t.getAll():(r=this.tags[e])&&(u[r]=this.getText(r)));return u},t.getName=function(e){var t=this.tags[e];return"object"==typeof t?this.ifds[e].name:t};var r,u,n,i=t.tags;for(r in i)if(Object.prototype.hasOwnProperty.call(i,r))if(u=t.ifds[r])for(r in n=i[r])Object.prototype.hasOwnProperty.call(n,r)&&(u.map[n[r]]=Number(r));else t.map[i[r]]=Number(r)})},64030:(e,t,r)=>{"use strict";r.d(t,{I:()=>n});var u=r(14232);function n(e,t){let r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,u.useMemo)(()=>"function"==typeof e?e():e,r)}},70019:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var u=r(76803),n=r(18026);function i(e,t,r){return function(e,t,r){let[i,o]=(0,u.F)(e,t,r);return(0,n.E)(function(){let t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(o,{handlerIds:[t]})},[e,o]),i}(t,e||(()=>({})),()=>r.reconnect())}},73040:(e,t,r)=>{"use strict";r.d(t,{t2:()=>y});var u={};function n(e){let t=null;return()=>(null==t&&(t=e()),t)}r.r(u),r.d(u,{FILE:()=>s,HTML:()=>l,TEXT:()=>D,URL:()=>a});class i{enter(e){let t=this.entered.length,r=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e));return this.entered=function(e,t){let r=new Set,u=e=>r.add(e);e.forEach(u),t.forEach(u);let n=[];
1return r.forEach(e=>n.push(e)),n}(this.entered.filter(r),[e]),0===t&&this.entered.length>0}leave(e){var t;let r=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),t.filter(t=>t!==e)),r>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class o{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(r=>{let u=this.config.exposeProperties[r];null!=u&&(t[r]={value:u(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let s="__NATIVE_FILE__",a="__NATIVE_URL__",D="__NATIVE_TEXT__",l="__NATIVE_HTML__";function c(e,t,r){let u=t.reduce((t,r)=>t||e.getData(r),"");return null!=u?u:r}let d={[s]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[l]:{exposeProperties:{html:(e,t)=>
1c(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[a]:{exposeProperties:{urls:(e,t)=>c(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[D]:{exposeProperties:{text:(e,t)=>c(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function h(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(d).filter(e=>{let r=d[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let g=n(()=>/firefox/i.test(navigator.userAgent)),f=n(()=>!!window.safari);class p{interpolate(e){let t,{xs:r,ys:u,c1s:n,c2s:i,c3s:o}=this,s=r.length-1;if(e===r[s])return u[s];let a=0,D=o.length-1;for(;a<=D;){let n=r[t=Math.floor(.5*(a+D))];if(n<e)a=t+1;else{if(!(n>e))return u[t];D=t-1}}let l=e-r[s=Math.max(0,D)],c=l*l;return u[s]+n[s]*l+i[s]*c+o[s]*l*c}constructor(e,t){let r,u,n,{length:i}=e,o=[];for(let e=0;e<i;e++)o.push(e);o.sort((t,r)=>e[t]<e[r]?-1:1);let s=[],a=[],D=[];for(let n=0;n<i-1;n++)r=e[n+1]-e[n],u=t[n+1]-t[n],a.push(r),s.push(u),D.push(u/r);let l=[D[0]];for(let e=0;e<a.length-1;e++){let t=D[e],u=D[e+1];
1if(t*u<=0)l.push(0);else{r=a[e];let n=a[e+1],i=r+n;l.push(3*i/((i+n)/t+(i+r)/u))}}l.push(D[D.length-1]);let c=[],d=[];for(let e=0;e<l.length-1;e++){n=D[e];let t=l[e],r=1/a[e],u=t+l[e+1]-n-n;c.push((n-t-u)*r),d.push(u*r*r)}this.xs=e,this.ys=t,this.c1s=l,this.c2s=c,this.c3s=d}}function F(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return null;let{top:r,left:u}=t.getBoundingClientRect();return{x:u,y:r}}function E(e){return{x:e.clientX,y:e.clientY}}class C{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null==(e=this.globalContext)?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null==(e=this.optionsArgs)?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},u=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(u=u.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),u.forEach(function(t){var u;u=r[t],t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u})}return e}class m{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null==(e=this.dragStartSourceIds)?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null==(t=this.dragOverTargetIds)?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;null==(t=this.window)||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);let u=t=>this.handleDragStart(t,e),n=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",u),t.addEventListener("selectstart",n),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",u),t.removeEventListener("selectstart",n),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let r=t=>this.handleDragEnter(t,e),u=t=>this.handleDragOver(t,e),n=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",u),t.addEventListener("drop",n),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",u),t.removeEventListener("drop",n)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return v({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();
1return v({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(u).some(t=>u[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let r=d[e];if(!r)throw Error(`native type ${e} has no configuration`);let u=new o(r);return u.loadDataTransfer(t),u}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null==(e=this.rootElement)?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null==(e=this.window)||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&F(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let r=E(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});let{dataTransfer:u}=e,n=h(u);if(this.monitor.isDragging()){if(u&&"function"==typeof u.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),n=this.sourcePreviewNodes.get(e)||t;if(n){let{anchorX:e,anchorY:i,offsetX:o,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),a=function(e,t,r,u,n){var i;let o,s,a,D="IMG"===t.nodeName&&(g()||!(null==(i=document.documentElement)?void 0:i.contains(t))),l=F(D?e:t),c={x:r.x-l.x,y:r.y-l.y},{offsetWidth:d,offsetHeight:h}=e,{anchorX:E,anchorY:C}=u,{dragPreviewWidth:v,dragPreviewHeight:m}=(o=D?t.width:d,s=D?t.height:h,f()&&D&&(s/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:s}),{offsetX:y,offsetY:b}=n;
1return{x:0===y||y?y:new p([0,.5,1],[c.x,c.x/d*v,c.x+v-d]).interpolate(E),y:0===b||b?b:(a=new p([0,.5,1],[c.y,c.y/h*m,c.y+m-h]).interpolate(C),f()&&D&&(a+=(window.devicePixelRatio-1)*m),a)}}(t,n,r,{anchorX:e,anchorY:i},{offsetX:o,offsetY:s});u.setDragImage(n,a.x,a.y)}}try{null==u||u.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(n)this.beginDragNativeItem(n);else{if(u&&!u.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:r}=e,u=h(r);u&&this.beginDragNativeItem(u,r)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:E(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=E(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}else h(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:E(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new C(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}let y=function(e,t,r){return new m(e,t,r)}},76803:(e,t,r)=>{"use strict";r.d(t,{F:()=>o});var u=r(34349),n=r(14232),i=r(18026);function o(e,t,r){let[o,s]=(0,n.useState)(()=>t(e)),a=(0,n.useCallback)(()=>{let n=t(e);!u(o,n)&&(s(n),r&&r())},[o,e,r]);return(0,i.E)(a),[o,a]}},90254:(e,t,r)=>{"use strict";r.d(t,{Q:()=>$});var u,n=r(37876);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}},D=r(58121);function l(e){return"object"==typeof e}let c="dnd-core/INIT_COORDS",d="dnd-core/BEGIN_DRAG",h="dnd-core/PUBLISH_DRAG_SOURCE",g="dnd-core/HOVER",f="dnd-core/DROP",p="dnd-core/END_DRAG";function F(e,t){return{type:c,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let E={type:c,payload:{clientOffset:null,sourceClientOffset:null}};function C(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class v{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){var e,t,r,u,n;let i=this,{dispatch:o}=this.store,s={beginDrag:(e=this,function(t=[],r={publishSource:!0}){var u,n,i,o,s;let{publishSource:a=!0,clientOffset:c,getSourceClientOffset:h}=r,g=e.getMonitor(),f=e.getRegistry();e.dispatch(F(c)),u=t,n=g,i=f,(0,D.V)(!n.isDragging(),"Cannot call beginDrag while dragging."),u.forEach(function(e){(0,D.V)(i.get
1Source(e),"Expected sourceIds to be registered.")});let p=function(e,t){let r=null;for(let u=e.length-1;u>=0;u--)if(t.canDragSource(e[u])){r=e[u];break}return r}(t,g);if(null==p)return void e.dispatch(E);let C=null;if(c){if(!h)throw Error("getSourceClientOffset must be defined");o=h,(0,D.V)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),C=h(p)}e.dispatch(F(c,C));let v=f.getSource(p).beginDrag(g,p);if(null!=v){return s=v,(0,D.V)(l(s),"Item must be an object."),f.pinSource(p),{type:d,payload:{itemType:f.getSourceType(p),item:v,sourceId:p,clientOffset:c||null,sourceClientOffset:C||null,isSourcePublic:!!a}}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:h}}),hover:(r=this,function(e,{clientOffset:t}={}){var u,n,i,o;u=e,(0,D.V)(Array.isArray(u),"Expected targetIds to be an array.");let s=e.slice(0),a=r.getMonitor(),l=r.getRegistry();return function(e,t,r){for(let u=e.length-1;u>=0;u--){let n=e[u];C(t.getTargetType(n),r)||e.splice(u,1)}}(s,l,a.getItemType()),function(e,t,r){(0,D.V)(t.isDragging(),"Cannot call hover while not dragging."),(0,D.V)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let u=e[t];(0,D.V)(e.lastIndexOf(u)===t,"Expected targetIds to be unique in the passed array.");let n=r.getTarget(u);(0,D.V)(n,"Expected targetIds to be registered.")}}(s,a,l),n=s,i=a,o=l,n.forEach(function(e){o.getTarget(e).hover(i,e)}),{type:g,payload:{targetIds:s,clientOffset:t||null}}}),drop:(u=this,function(e={}){var t;let r=u.getMonitor(),n=u.getRegistry();t=r,(0,D.V)(t.isDragging(),"Cannot call drop while not dragging."),(0,D.V)(!t.didDrop(),"Cannot call drop twice during one drag operation."),(function(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t})(r).forEach((t,i)=>{let o={type:f,payload:{dropResult:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},u=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(u=u.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),u.forEach(function(t){var u;u=r[t],t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u})}return e}({},e,function(e,t,r,u){var n;let i=r.getTarget(e),o=i?i.drop(u,e):void 0;return n=o,(0,D.V)(void 0===n||l(n),"Drop result must either be an object or undefined."),void 0===o&&(o=0===t?{}:u.getDropResult()),o}(t,i,n,r))}};u.dispatch(o)})}),endDrag:(n=this,function(){var e;let t=n.getMonitor(),r=n.getRegistry();e=t,(0,D.V)(e.isDragging(),"Cannot call endDrag while not dragging.");let u=t.getSourceId();return null!=u&&(r.getSource(u,!0).endDrag(t,u),r.unpinSource()),{type:p}})};return Object.keys(s).reduce((e,t)=>{let r=s[t];return e[t]=(...e)=>{let t=r.apply(i,e);void 0!==t&&o(t)},e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function m(e,t){return{x:e.x-t.x,y:e.y-t.y}}let y=[],b=[];y.__IS_NONE__=!0,b.__IS_ALL__=!0;class S{subscribeToStateChange(e,t={}){let{handlerIds:r}=t;(0,D.V)("function"==typeof e,"listener must be a function."),(0,D.V)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let u=this.store.getState().stateId,n=()=>{let t=this.store.getState(),n=t.stateId;try{n===u||n===u+1&&!function(e,t){return e!==y&&(e===b||void 0===t||t.filter(t=>e.indexOf(t)>-1).length>0)}(t.dirtyHandlerIds,r)||e()}finally{u=n}};return this.store.subscribe(n)}subscribeToOffsetChange(e){(0,D.V)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset,r=()=>{let r=this.store.getState().dragOffset;r!==t&&(t=r,e())};return this.store.subscribe(r)}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return(0,D.V)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return(0,D.V)(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&C(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return(0,D.V)(t,`Expected to find a valid source. sourceId=${e}`),!!this.isDragging()&&!!this.isSourcePublic()&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:r}=t;if(!this.isDragging())return!1;let u=this.registry.getTargetType(e),n=this.getItemType();if(n&&!C(u,n))return!1;let i=this.getTargetIds();if(!i.length)return!1;let o=i.indexOf(e);return r?o===i.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}
1getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){let{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:u}=e;return t&&r&&u?m({x:t.x+u.x,y:t.y+u.y},r):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){let{clientOffset:e,initialClientOffset:t}=this.store.getState().dragOffset;return e&&t?m(e,t):null}constructor(e,t){this.store=e,this.registry=t}}let O="undefined"!=typeof global?global:self,A=O.MutationObserver||O.WebKitMutationObserver;function B(e){return function(){let t=setTimeout(u,0),r=setInterval(u,50);function u(){clearTimeout(t),clearInterval(r),e()}}}let T="function"==typeof A?function(e){let t=1,r=new A(e),u=document.createTextNode("");return r.observe(u,{characterData:!0}),function(){u.data=t=-t}}:B;class I{enqueueTask(e){let{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=T(this.flush),this.requestErrorThrow=B(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class w{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}class P{create(e){let t=this.freeTasks,r=t.length?t.pop():new w(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}let x=new I,M=new P(x.registerPendingError),N="dnd-core/ADD_SOURCE",R="dnd-core/ADD_TARGET",L="dnd-core/REMOVE_SOURCE",k="dnd-core/REMOVE_TARGET";function j(e,t){if(t&&Array.isArray(e))return void e.forEach(e=>j(e,!1));(0,D.V)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(u||(u={}));let H=0;function U(e){switch(e[0]){case"S":return u.SOURCE;case"T":return u.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function V(e,t){let r=e.entries(),u=!1;do{let{done:e,value:[,n]}=r.next();if(n===t)return!0;u=!!e}while(!u);return!1}class _{addSource(e,t){j(e),(0,D.V)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,D.V)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,D.V)("function"==typeof t.endDrag,"Expected endDrag to be a function.");let r=this.addHandler(u.SOURCE,e,t);return this.store.dispatch({type:N,payload:{sourceId:r}}),r}addTarget(e,t){j(e,!0),(0,D.V)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,D.V)("function"==typeof t.hover,"Expected hover to be a function."),(0,D.V)("function"==typeof t.drop,"Expected beginDrag to be a function.");let r=this.addHandler(u.TARGET,e,t);return this.store.dispatch({type:R,payload:{targetId:r}}),r}containsHandler(e){return V(this.dragSources,e)||V(this.dropTargets,e)}getSource(e,t=!1){return(0,D.V)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,D.V)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,D.V)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,D.V)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return U(e)===u.SOURCE}isTargetId(e){return U(e)===u.TARGET}removeSource(e){var t;(0,D.V)(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:L,payload:{sourceId:e}}),t=()=>{this.dragSources.delete(e),this.types.delete(e)},x.enqueueTask(M.create(t))}removeTarget(e){(0,D.V)(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:k,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);(0,D.V)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,D.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){let n=function(e){let t=(H++).toString();switch(e){case u.SOURCE:return`S${t}`;case u.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===u.SOURCE?this.dragSources.set(n,r):e===u.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}let G={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},u=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(u=u.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),u.forEach(function(t){var u;u=r[t],t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u})}return e}let W={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function z(e={},t){var r;return{dirtyHandlerIds:function(e=y,t){switch(t.type){case g:break;case N:case R:case k:case L:return y;default:return b}let{targetIds:r=[],prevTargetIds:u=[]}=t.payload,n=function(e,t){let r=new Map,u=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(u),t.forEach(u);let n=[];return r.forEach((e,t)=>{1===e&&n.push(t)}),n}(r,u);if(!(n.length>0||!function(e,t,r=(e,t)=>e===t){if(e.length!==t.length)return!1;for(let u=0;u<e.length;++u)if(!r(e[u],t[u]))return!1;return!0}(r,u)))return y;let i=u[u.length-1],o=r[r.length-1];return i!==o&&(i&&n.push(i),o&&n.push(o)),n}(e.dirtyHandlerIds,{type:t.type,payload:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},u=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(u=u.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),u.forEach(function(t){var u;u=r[t],t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u})}return e}({},t.payload,{prevTargetIds:(r=[],"dragOperation.targetIds".split(".").reduce((e,t)=>
1e&&e[t]?e[t]:r||null,e))})}),dragOffset:function(e=G,t){let{payload:r}=t;switch(t.type){case c:case d:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case g:var u,n;if(u=e.clientOffset,n=r.clientOffset,!u&&!n||u&&n&&u.x===n.x&&u.y===n.y)return e;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},u=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(u=u.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),u.forEach(function(t){var u;u=r[t],t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u})}return e}({},e,{clientOffset:r.clientOffset});case p:case f:return G;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case N:case R:return e+1;case L:case k:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=W,t){let{payload:r}=t;switch(t.type){case d:return Q({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case h:return Q({},e,{isSourcePublic:!0});case g:return Q({},e,{targetIds:r.targetIds});case k:var u,n;if(-1===e.targetIds.indexOf(r.targetId))return e;return Q({},e,{targetIds:(u=e.targetIds,n=r.targetId,u.filter(e=>e!==n))});case f:return Q({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case p:return Q({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}(e.dragOperation,t),stateId:function(e=0){return e+1}(e.stateId)}}var q=r(14232),K=r(49325);let X=0,Y=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var $=(0,q.memo)(function(e){var t,{children:r}=e;let[u,s]="manager"in(t=function(e,t){if(null==e)return{};var r,u,n=function(e,t){if(null==e)return{};var r,u,n={},i=Object.keys(e);for(u=0;u<i.length;u++)r=i[u],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(u=0;u<i.length;u++)r=i[u],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["children"]))?[{dragDropManager:t.manager},!1]:[function(e,t=J(),r,u){return t[Y]||(t[Y]={dragDropManager:function(e,t,r={},u=!1){let n=function(e){let t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return function e(t,r,u){if("function"==typeof r&&"function"==typeof u||"function"==typeof u&&"function"==typeof arguments[3])throw Error(i(0));if("function"==typeof r&&void 0===u&&(u=r,r=void 0),void 0!==u){if("function"!=typeof u)throw Error(i(1));return u(e)(t,r)}if("function"!=typeof t)throw Error(i(2));var n,s=t,D=r,l=[],c=l,d=!1;function h(){c===l&&(c=l.slice())}function g(){if(d)throw Error(i(3));return D}function f(e){if("function"!=typeof e)throw Error(i(4));if(d)throw Error(i(5));var t=!0;return h(),c.push(e),function(){if(t){if(d)throw Error(i(6));t=!1,h();var r=c.indexOf(e);c.splice(r,1),l=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(i(7));if(void 0===e.type)throw Error(i(8));if(d)throw Error(i(9));try{d=!0,D=s(D,e)}finally{d=!1}for(var t=l=c,r=0;r<t.length;r++)(0,t[r])();return e}return p({type:a.INIT}),(n={dispatch:p,subscribe:f,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw Error(i(10));s=e,p({type:a.REPLACE})}})[o]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(i(11));function t(){e.next&&e.next(g())}return t(),{unsubscribe:f(t)}}})[o]=function(){return this},e},n}(z,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(u),s=new S(n,new _(n)),D=new v(n,s),l=e(D,t,r);return D.receiveBackend(l),D}(e,t,r,u)}),t[Y]}(t.backend,t.context,t.options,t.debugMode),!t.context];return(0,q.useEffect)(()=>{if(s){let e=J();return++X,()=>{0==--X&&(e[Y]=null)}}},[]),(0,n.jsx)(K.M.Provider,{value:u,children:r})});function J(){return"undefined"!=typeof global?global:window}},98847:(e,t,r)=>{var u,n,i;!function(o){"use strict";n=[r(11382)],void 0===(i="function"==typeof(u=o)?u.apply(t,n):u)||(e.exports=i)}(function(e){"use strict";var t=e.global;t.fetch&&t.Request&&t.Response&&t.Response.prototype.blob?e.fetchBlob=function(e,r,u){function n(e){return e.blob()}
1if(t.Promise&&"function"!=typeof r)return fetch(new Request(e,r)).then(n);fetch(new Request(e,u)).then(n).then(r).catch(function(e){r(null,e)})}:t.XMLHttpRequest&&""===new XMLHttpRequest().responseType&&(e.fetchBlob=function(e,r,u){function n(t,r){u=u||{};var n=new XMLHttpRequest;n.open(u.method||"GET",e),u.headers&&Object.keys(u.headers).forEach(function(e){n.setRequestHeader(e,u.headers[e])}),n.withCredentials="include"===u.credentials,n.responseType="blob",n.onload=function(){t(n.response)},n.onerror=n.onabort=n.ontimeout=function(e){t===r?r(null,e):r(e)},n.send(u.body)}return t.Promise&&"function"!=typeof r?(u=r,new Promise(n)):n(r,r)})})},99006:(e,t,r)=>{"use strict";r.d(t,{i:()=>i});var u=r(58121),n=r(14232);function i(e){let t={};return Object.keys(e).forEach(r=>{let i=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{let e=(e=null,t=null)=>(0,n.isValidElement)(e)?(!function(e){if("string"==typeof e.type)return;let t=e.type.displayName||e.type.name||"the component";throw Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(e),function(e,t){let r=e.ref;return((0,u.V)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r)?(0,n.cloneElement)(e,{ref:e=>{o(r,e),o(t,e)}}):(0,n.cloneElement)(e,{ref:t})}(e,t?e=>i(e,t):i)):(i(e,t),e);t[r]=()=>e}}),t}function o(e,t){"function"==typeof e?e(t):e.current=t}}}]);
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.