(self.webpackChunk=self.webpackChunk||[]).push([[27178],{900005:(t,e,n)=>{(t.exports=n(931506)(!1)).push([t.id,".vertical-resizer {\n width: 2px;\n height: 100%;\n top: 0;\n cursor: ew-resize;\n position: absolute;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.vertical-resizer__invert {\n transform: scaleX(-1);\n}\n.vertical-resizer:hover .dot {\n background: #4262ff;\n}\n.vertical-resizer:active {\n background: #4262ff;\n}\n.vertical-resizer:active .dot {\n background: #4262ff;\n}\n.vertical-resizer .dot {\n width: 3px;\n height: 3px;\n margin: 2px -6px 2px 0;\n border-radius: 125px;\n background-color: #c4c4c4;\n}\n.vertical-resizer__hit-area {\n height: 100%;\n width: 16px;\n position: absolute;\n left: -6px;\n top: 0;\n}\n",""])},642740:(t,e,n)=>{(t.exports=n(931506)(!1)).push([t.id,".left-sidebar,\n.right-sidebar {\n position: relative;\n height: 100%;\n z-index: 91;\n background-color: #ffffff;\n transition: width 0.25s ease-out, opacity 0.25s ease-out;\n -ms-flex: none;\n flex: none;\n width: 0;\n}\n.left-sidebar.ng-hide,\n.right-sidebar.ng-hide {\n width: 0 !important;\n}\n.left-sidebar .left-resizer,\n.right-sidebar .left-resizer {\n right: -1px;\n}\n.left-sidebar .right-resizer,\n.right-sidebar .right-resizer {\n left: -1px;\n}\n.sidebar__container {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n -ms-flex-pack: start;\n justify-content: flex-start;\n min-width: 0;\n min-height: 0;\n height: 100%;\n width: 100%;\n -ms-flex: 1;\n flex: 1;\n}\n.sidebar__container .meeting-panel {\n width: 100%;\n}\n.sidebar__container .meeting-panel > div {\n height: 100%;\n}\n.left-sidebar {\n border-right: solid 1px #e4e4e4;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-direction: column;\n flex-direction: column;\n transition: 200ms;\n}\n.left-sidebar > * {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.left-sidebar.left-sidebar__feed {\n width: 420px !important;\n}\n.left-sidebar.left-sidebar__feed .sidebar__container {\n width: 420px;\n}\n.left-sidebar__close {\n position: absolute;\n top: 8px;\n right: 16px;\n z-index: 1;\n width: 40px;\n}\n.right-sidebar {\n border-left: solid 1px #e4e4e4;\n}\n.right-sidebar .right-sidebar__close {\n position: absolute;\n height: 40px;\n width: 40px;\n top: 12px;\n right: 16px;\n z-index: 1;\n}\n.sidebar-plugin-iframe {\n width: 340px;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n border: 0;\n height: 100%;\n}\n.sidebar--closed {\n border: none;\n}\n.dashboard-route .right-sidebar {\n position: absolute;\n right: 0;\n}\n.dashboard-route .right-sidebar.sidebar--opened {\n position: static;\n}\n.sidebar__plugin {\n width: 100%;\n}\n.sidebar__footer {\n height: 48px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n margin: 8px 0;\n}\n.sidebar__footer .svg-button {\n padding: 0 8px;\n}\n.sidebar__footer .sidebar__button-container .svg-button {\n padding: 0;\n}\n.sidebar__footer .sidebar__button-container .sidebar__splitter {\n margin: 0 16px;\n}\n.sidebar__footer.sidebar__footer--padding-s {\n padding: 0 8px;\n}\n.sidebar__footer.sidebar__footer--padding-m {\n padding: 0 24px;\n}\n.sidebar__button-container {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n}\n.sidebar__splitter {\n width: 1px;\n height: 24px;\n background-color: rgba(5, 0, 56, 0.2);\n}\n.sidebar__content {\n -ms-flex-positive: 1;\n flex-grow: 1;\n overflow: auto;\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n}\n.sidebar__inner {\n height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n",""])},458456:(t,e,n)=>{(t.exports=n(931506)(!1)).push([t.id,".notes-wrapper {\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n",""])},867120:t=>{t.exports='
\n\t
\n\t
\n\t
\n\t
\n
\n'},843766:(t,e,n)=>{var o='\n\t\n\t\t\n\t\n\n\t\n\n\t\n\n';t.exports=o},17197:t=>{t.exports='
\n\t\n
\n'},390358:t=>{t.exports='
\n'},494510:t=>{t.exports='
\n\t
\n\t\t\n\t
\n
\n'},634623:(t,e,n)=>{var o=n(401892),i=n(900005);"string"===typeof(i=i.__esModule?i.default:i)&&(i=[[t.id,i,""]]);var r={insert:"head",singleton:!1};o(i,r);t.exports=i.locals||{}},775950:(t,e,n)=>{var o=n(401892),i=n(642740);"string"===typeof(i=i.__esModule?i.default:i)&&(i=[[t.id,i,""]]);var r={insert:"head",singleton:!1};o(i,r);t.exports=i.locals||{}},59175:(t,e,n)=>{var o=n(401892),i=n(458456);"string"===typeof(i=i.__esModule?i.default:i)&&(i=[[t.id,i,""]]);var r={insert:"head",singleton:!1};o(i,r);t.exports=i.locals||{}},802020:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var o=5e5;const i=function(){function t(t){this.remote=t}return t.prototype.start=function(){this.data=""},t.prototype.receiveBatch=function(t){this.data+=t},t.prototype.end=function(){this.processReceivedData(this.data),this.data=""},t.prototype.processReceivedData=function(t){},t.prototype.getRemote=function(){if(!this.remote)throw new Error("BatchConnector: initialized only as receiver, remote connector was not provided!");return this.remote},t.prototype.sendData=function(t){this.getRemote().start(),this.sendAsBatches(t),this.getRemote().end()},t.prototype.sendAsBatches=function(t){var e=t.slice(0,o);this.getRemote().receiveBatch(e),(t=t.substring(o))&&this.sendAsBatches(t)},t}()},799481:(t,e,n)=>{"use strict";n.d(e,{default:()=>a});var o=n(200253),i=n(697245),r=n(73773),s=n(270204);const a=function(){function t(){(0,r.compareVersionNumbers)(s.default.appVersion,"3.2.0")>=0&&(0,o.provide)(this)}return t.prototype.tryCopyText=function(t){return i.default.clipboard.remote.setString(t),Promise.resolve(!0)},t.prototype.tryCopyTextFromInput=function(t){return i.default.clipboard.remote.setString(t.value),Promise.resolve(!0)},t}()},860493:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var o=n(867120),i=n.n(o),r=n(478623),s=n(237216),a=n(264495),l=n(332378);const d=function(){function t(t,e){this.$scope=t,this.$element=e,this.onMoveWrapper=this.onMove.bind(this),this.onUpWrapper=this.onUp.bind(this),this.initX=0,this.prevX=0,this.eventNames=(0,a.getTriggers)(),this.$element.on(this.eventNames.down,this.onMouseDown.bind(this))}return t.prototype.onMouseDown=function(t){t.preventDefault();var e=l(document);e.on(this.eventNames.move,this.onMoveWrapper),e.on(this.eventNames.up,this.onUpWrapper),this.initX=t.pageX,this.prevX=this.initX,this.$scope.started()},t.prototype.onMove=function(t){var e=t.pageX,n=e-this.prevX;if(n){var o=e-this.initX;this.prevX=e,"right"==this.$scope.direction&&(o=-o,n=-n),this.$scope.moved({$fromStart:o,$fromPrevious:n})}},t.prototype.onUp=function(){var t=l(document);t.off(this.eventNames.move,this.onMoveWrapper),t.off(this.eventNames.up,this.onUpWrapper),this.$scope.ended()},t.$inject=["$scope","$element"],t}();function u(){n(634623),(0,s.getRtbApp)().directive("verticalResizer",c)}function c(){return(0,r.default)({restrict:"E",template:i(),controller:d,controllerAs:"ctrl",scope:{direction:"<",started:"&",moved:"&",ended:"&"}})}},127113:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});var o=n(524506),i=n(165988),r=n(671021),s=n(123798),a=n(533186),l=n(556091);const d=function(){function t(t,e){var n=this;this.$scope=t,this.$element=e,this.isOpened=!1,this.showContent=!1,this.closeIcon=a,this._resizeable=!1,this.minWidth=0,this.desiredWidth=0,this.initResizeWidth=0,this.limitActualWidth=function(){n.ctrl.resize(n.correctWidth(n.desiredWidth))},this.onTransitionEnd=function(){n.isOpened&&!n.showContent&&(n.showContent=!0,n.$scope.safeApply(),n.dispatchResized())},this.onPluginChanged=function(t){n.ctrl.activePluginOptions;var e=!!t;e!=n.isOpened&&(n.isOpened=e,n.showContent=!1),e&&(n.initParams(n.ctrl.activePluginOptions),n._resizeable?n.limitActualWidth():n.ctrl.resize(n.desiredWidth),n.showContent&&n.dispatchResized()),e&&n._resizeable?(0,r.addResizeEventListener)(n.limitActualWidth):(0,r.removeResizeEventListener)(n.limitActualWidth),e&&document.hidden&&n.onTransitionEnd(),n.$scope.safeApply()}}return t.prototype.link=function(t){var e=this;this.ctrl=t,this.$element.on("transitionend",this.onTransitionEnd),t.activePluginsChanged.add(this.onPluginChanged),this.$scope.$on("$destroy",(function(){e.$element.off("transitionend",e.onTransitionEnd),(0,r.removeResizeEventListener)(e.limitActualWidth),t.activePluginsChanged.remove(e.onPluginChanged)}))},t.prototype.getIFrameURL=function(){return this.ctrl.activePluginOptions.iframeURL},t.prototype.getLeftSidebarShowCloseButton=function(){return void 0===this.ctrl.activePluginOptions.showCloseButton||this.ctrl.activePluginOptions.showCloseButton},t.prototype.getRightSidebarShowCloseButton=function(){return this.$scope.isAwesomePluginsActive()||this.$scope.isVotingActive()||this.$scope.isClusteringActive()},t.prototype.getIFrameAllow=function(){return this.ctrl.activePluginOptions.iframeAllow||""},t.prototype.getIFrameUID=function(){return this.ctrl.activePluginOptions.iframeUID},t.prototype.closeSidebar=function(){this.ctrl.deactivate()},Object.defineProperty(t.prototype,"width",{get:function(){return this.fullscreen?"100%":this.ctrl.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){return this.ctrl.fullscreen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resizeable",{get:function(){return this._resizeable},enumerable:!1,configurable:!0}),t.prototype.startResize=function(){this.initResizeWidth=this.$element.width()},t.prototype.resize=function(t){var e=this.correctWidth(this.initResizeWidth-t);this.desiredWidth=e,this.ctrl.resize(e),o.setItem(this.getLocalStorageKey(),e),this.$scope.$digest()},t.prototype.initParams=function(t){this._resizeable=!(!t||!t.resizeable),this.minWidth=this._resizeable&&t&&t.minWidth||0,this.desiredWidth=void 0!==(null===t||void 0===t?void 0:t.width)?t.width:this._resizeable?parseFloat(o.getItem(this.getLocalStorageKey())):0,this.desiredWidth&&isFinite(this.desiredWidth)||(this.desiredWidth=this.ctrl.defaultWidth),l.log("sidebar","INIT. opts",t,"des",this.desiredWidth,"actual",this.ctrl.width)},t.prototype.getLocalStorageKey=function(){return"sidebar_wt_"+(0,i.default)().getCurrentBoardId()+"_"+this.ctrl.activePluginId},t.prototype.correctWidth=function(t){return s.bowser.mobileApp?t=window.innerWidth>window.innerHeight?Math.min(window.innerHeight,t):window.innerWidth:(t=Math.min(window.innerWidth/2,t),t=Math.max(this.minWidth,t)),t},t.prototype.dispatchResized=function(){var t=this;setTimeout((function(){return t.ctrl.dispatchResized()}))},t.$inject=["$scope","$element"],t}()},373528:(t,e,n)=>{"use strict";n.d(e,{default:()=>c});var o=n(843766),i=n.n(o),r=n(739581),s=n(237216),a=n(852766),l=n(860493),d=n(478623),u=n(127113);function c(){(0,l.default)(),n(775950),(0,s.getRtbApp)().directive("rightSidebar",p)}function p(){var t=(0,a.default)().rightSidebar;return(0,d.default)({restrict:"E",template:i(),controller:u.default,controllerAs:"ctrl",link:function(e,n){e.isFeedActive=function(){return t.isPluginActive(r.InHousePluginIds.FEED)},e.isClusteringActive=function(){return t.isPluginActive(r.InHousePluginIds.CLUSTERING)},e.isVotingActive=function(){return t.isPluginActive(r.InHousePluginIds.VOTING)},e.isAwesomePluginsActive=function(){return t.isPluginActive(r.InHousePluginIds.AWESOME_PLUGINS)},e.isNotesPanelActive=function(){return t.isPluginActive(r.InHousePluginIds.NOTES)},e.isBreakoutRoomsPanelActive=function(){return t.isPluginActive(r.InHousePluginIds.BREAKOUT_ROOMS)},e.isHubspotChatPanelActive=function(){return t.isPluginActive(r.InHousePluginIds.HUBSPOT_CHAT)},e.ctrl.link(t)}})}},771006:(t,e,n)=>{"use strict";n.d(e,{dataChanged:()=>i,destroyed:()=>r,loaderHided:()=>s,loaderShowed:()=>a,cancelled:()=>l,rateToggled:()=>d,setData:()=>u,destroy:()=>c,setDemoData:()=>p,cancel:()=>h,onHideLoader:()=>f,onShowLoader:()=>g,toggleRate:()=>m});var o=n(285087),i=new o.default.Signal,r=new o.default.Signal,s=new o.default.Signal,a=new o.default.Signal,l=new o.default.Signal,d=new o.default.Signal;function u(t){i.dispatch(t)}function c(){r.dispatch()}function p(){u({fileOrUrl:n(655006)})}function h(){l.dispatch()}function f(){s.dispatch()}function g(){a.dispatch()}function m(){d.dispatch()}},913228:(t,e,n)=>{"use strict";n.d(e,{ViewerSourceTypes:()=>o,onInit:()=>f,onClose:()=>g,onError:()=>m,init:()=>I,close:()=>C});var o,i=n(285087),r=n(979341),s=n(500470),a=n(427655),l=n(123798);!function(t){t.URL="url",t.BASE64="base64"}(o||(o={}));var d,u,c,p,h,f=new i.default.Signal,g=new i.default.Signal,m=new i.default.Signal,_="RTB_PDFJS_VIEWER";function y(t){try{if("string"===typeof(null===t||void 0===t?void 0:t.data)){var e=JSON.parse(t.data);if(e.channel===_){if(e.event===u.INITIALIZED)(null===h||void 0===h?void 0:h.type)===o.BASE64&&(null===p||void 0===p?void 0:p.contentWindow)&&p.contentWindow.postMessage(JSON.stringify({channel:_,command:d.OPEN,args:{type:h.type,data:h.data}}),t.origin);switch(e.command){case c.CLOSE:C();break;case c.OPEN_LINK:var n=e.args.url;n&&r.getOpener().openInNewTab(n,s.DEFAULT_FEATURES)}}}}catch(t){}}function I(t){C(),window.addEventListener("message",y),h=t,(p=document.createElement("iframe")).style.position="absolute",p.style.top="0",p.style.left="0",p.style.width="100%",p.style.height="100%",p.style.zIndex="9999",p.style.border="none",p.style.backgroundColor="#999",p.classList.add("rtb-pdfjs-viewer-iframe"),p.onerror=O,p.src=function(t){var e=["messageChannel=".concat(encodeURIComponent(_)),"parentOrigin=".concat(encodeURIComponent(window.location.origin))];t.filename&&e.push("filename=".concat(encodeURIComponent(t.filename||"")));"url"===t.type?e.push("file=".concat(encodeURIComponent(t.fileUrl||""))):e.push("file=".concat(encodeURIComponent("")));l.bowser.mobileApp&&e.push("&openedInWebView=true");var n="".concat((0,a.getStaticPublicPath)(),"scripts/application/pdfjs/web/viewer.html");e.length>0&&(n+="?".concat(e.join("&")));return n}(t),t.appendTo.appendChild(p),f.dispatch(t)}function C(){h=void 0,window.removeEventListener("message",y),p&&(p.remove(),p=null,g.dispatch())}function O(){m.dispatch(),C()}!function(t){t.OPEN="OPEN"}(d||(d={})),function(t){t.INITIALIZED="INITIALIZED"}(u||(u={})),function(t){t.CLOSE="CLOSE",t.OPEN_LINK="OPEN_LINK"}(c||(c={}))},582078:(t,e,n)=>{"use strict";n.d(e,{prepareForFocusOnIOS:()=>r,prepareForFocusOnAndroid:()=>s});var o,i=n(123798);function r(){i.bowser.ios&&a()}function s(){i.bowser.android&&a()}function a(){o||((o=document.createElement("input")).style.position="absolute",o.style.top="0px",o.style.left="0px",o.style.width="100px",o.style.height="20px",o.style.zIndex="99999",o.style.transform="translate(-99999px, -99999px)",document.body.appendChild(o)),o.value="",o.focus()}},171108:(t,e,n)=>{"use strict";n.d(e,{onDidShow:()=>i,onDidHide:()=>r,___dismiss:()=>s,___androidKeyboardModeChanged:()=>a,setAndroidKeyboardMode:()=>l});var o=n(285087),i=new o.default.Signal,r=new o.default.Signal,s=new o.default.Signal,a=new o.default.Signal;function l(t){a.dispatch(t)}},380554:(t,e,n)=>{"use strict";n.d(e,{getDocumentChangesListener:()=>c});var o=n(285087),i=n(648398),r=n(582504),s=n(852766),a=n(739581),l=n(556091),d=function(){function t(){var t=this;this.subscribed=new o.default.Signal,this.changed=new o.default.Signal,this.hasChanges=!1,this.wasOpenedOnThisBoard=!1,this.initialized=!1,this.initListener=function(){t.initialized||(t.initialized=!0,t.documentChangesModel=i.adaptBoardToModel(r.I),t.documentChangesModel.setListener(t),(0,s.default)().rightSidebar.activePluginsChanged.add(t.sidebarPluginChanged,t),t.isNoteVisible()||t.subscribe())},this.deinitListener=function(){t.initialized&&(t.initialized=!1,t.prevPluginId="",(0,s.default)().rightSidebar.activePluginsChanged.remove(t.sidebarPluginChanged,t),t.unsubscribe())},i.doOnCanvasLoaded(this.initListener),i.onCanvasUnloading.add(this.deinitListener),i.onScopeDestroyed.add(this.onScopeDestroyed,this)}return t.prototype.sidebarPluginChanged=function(t,e){this.prevPluginId=e,this.isNoteVisible()?(this.wasOpenedOnThisBoard=!0,this.unsubscribe()):this.subscribe()},t.prototype.isNoteVisible=function(){return(0,s.default)().rightSidebar.activePluginId==a.InHousePluginIds.NOTES},t.prototype.subscribe=function(){this.subscribed.memorize=!0,this.changed.memorize=!0,this.documentChangesModel.subscribe()},t.prototype.unsubscribe=function(){this.subscribed.memorize=!1,this.changed.memorize=!1,this.subscribed.forget(),this.changed.forget(),this.reportChanges(!1),this.documentChangesModel.unsubscribe()},t.prototype.onScopeDestroyed=function(){this.wasOpenedOnThisBoard=!1},t.prototype.onSubscriptionConfirmed=function(t){var e=!t.documentLength||t.documentLength<30,n=t.closingDate?t.closingDate.getNumber():0,o=t.editingDate?t.editingDate.getNumber():0,i=this.wasOpenedOnThisBoard||n>0,r=this.prevPluginId!=a.InHousePluginIds.NOTES&&n{"use strict";n.r(e),n.d(e,{default:()=>tr});var o=n(759312),i=n(17197),r=n.n(i),s=n(650441),a=n(237216),l=n(478623),d=n(774588),u=n(799783),c=n(648398);function p(){return(0,l.default)({restrict:"E",template:r(),link:function(t){(0,c.setBoardUiRendered)(!0),t.$on("$destroy",(function(){(0,c.setBoardUiRendered)(!1)}))}})}var h,f=n(989155),g=n(971594),m=n(556653),_=n(943979),y=n(856397),I=n(851521),C=n(459278),O=n(921790),E=n(285087),v=n(828338),T=n.n(v),S=n(270204),A=n(73773);!function(t){t.LABEL="LABEL",t.BG_COLOR_HORIZ="BG_COLOR_HORIZ",t.BG_OPACITY_HORIZ="BG_OPACITY_HORIZ",t.ADDITIONAL="ADDITIONAL",t.SEPARATOR="SEPARATOR",t.BORDER_HORIZ="BORDER_HORIZ",t.DELETE_HORIZ="DELETE_HORIZ",t.DUPLICATE_HORIZ="DUPLICATE_HORIZ",t.FONT_SIZE_AUTO="FONT_SIZE_AUTO",t.FONT_SIZE_CAPTION="FONT_SIZE_CAPTION",t.FONT_SIZE="FONT_SIZE",t.LIST_TYPE_HORIZ="LIST_TYPE_HORIZ",t.MOCKUP_COLOR_HORIZ="MOCKUP_COLOR_HORIZ",t.OPEN_SOURCE="OPEN_SOURCE",t.STICKER_BG_COLOR_HORIZ="STICKER_BG_COLOR_HORIZ",t.STICKER_SIZE_HORIZ="STICKER_SIZE_HORIZ",t.STROKE_COLOR_HORIZ="STROKE_COLOR_HORIZ",t.TEXT_ALIGN_HORIZ="TEXT_ALIGN_HORIZ",t.TEXT_SIZE="TEXT_SIZE",t.TEXT_STYLE_HORIZ="TEXT_STYLE_HORIZ",t.TEXT_VALIGN_HORIZ="TEXT_VALIGN_HORIZ",t.UNLOCK_HORIZ="UNLOCK_HORIZ",t.LOCKED_HORIZ="LOCKED_HORIZ",t.GROUP_HORIZ="GROUP_HORIZ",t.UNGROUP_HORIZ="UNGROUP_HORIZ",t.PROTECT_LOCK_HORIZ="PROTECT_LOCK_HORIZ",t.WIDGET_TYPE="WIDGET_TYPE",t.TEXT_COLOR_CAPTION_HORIZ="TEXT_COLOR_CAPTION_HORIZ",t.LINK_LINE_TYPE_HORIZ="LINK_LINE_TYPE_HORIZ",t.CROP="CROP",t.GIF_PLAY_HORIZ="GIF_PLAY_HORIZ",t.GIF_LOOP_HORIZ="GIF_LOOP_HORIZ",t.DOCUMENT_VIEW="DOCUMENT_VIEW",t.CARD_EXPAND="CARD_EXPAND",t.CARD_COLOR="CARD_COLOR",t.EDIT_HORIZ="EDIT_HORIZ",t.EDIT_AS_PEN="EDIT_AS_PEN",t.DOWNLOAD_HORIZ="DOWNLOAD_HORIZ",t.FRAME_HIDING_HORIZ="FRAME_HIDING_HORIZ",t.USM_ADD_RELEASE="USM_ADD_RELEASE",t.KANBAN_ADD_COLUMN="KANBAN_ADD_COLUMN",t.KANBAN_ADD_SWIMLANE="KANBAN_ADD_SWIMLANE",t.GRID_ADD_ROW="GRID_ADD_ROW",t.GRID_ADD_COLUMN="GRID_ADD_COLUMN",t.GRID_REMOVE_COLUMN="GRID_REMOVE_COLUMN",t.GRID_REMOVE_ROW="GRID_REMOVE_ROW"}(h||(h={}));const R=h;var b;const L=((b={})[R.LABEL]="3.0.0",b[R.BG_COLOR_HORIZ]="3.11.0",b[R.BG_OPACITY_HORIZ]="3.11.0",b[R.ADDITIONAL]="3.0.0",b[R.SEPARATOR]="3.0.0",b[R.BORDER_HORIZ]="3.11.0",b[R.DELETE_HORIZ]="3.0.0",b[R.DUPLICATE_HORIZ]="3.0.0",b[R.FONT_SIZE_AUTO]="3.0.0",b[R.FONT_SIZE_CAPTION]="3.0.0",b[R.FONT_SIZE]="3.0.0",b[R.LIST_TYPE_HORIZ]="3.0.0",b[R.MOCKUP_COLOR_HORIZ]="3.0.0",b[R.OPEN_SOURCE]="3.0.0",b[R.STICKER_BG_COLOR_HORIZ]="3.0.0",b[R.STICKER_SIZE_HORIZ]="3.0.0",b[R.STROKE_COLOR_HORIZ]="3.0.0",b[R.TEXT_ALIGN_HORIZ]="3.0.0",b[R.TEXT_SIZE]="3.0.0",b[R.TEXT_STYLE_HORIZ]="3.0.0",b[R.TEXT_VALIGN_HORIZ]="3.0.0",b[R.UNLOCK_HORIZ]="3.0.0",b[R.LOCKED_HORIZ]="3.6.17",b[R.PROTECT_LOCK_HORIZ]="3.6.23",b[R.WIDGET_TYPE]="3.0.0",b[R.TEXT_COLOR_CAPTION_HORIZ]="3.0.0",b[R.LINK_LINE_TYPE_HORIZ]="3.0.0",b[R.CROP]="3.0.0",b[R.GIF_PLAY_HORIZ]="3.0.0",b[R.GIF_LOOP_HORIZ]="3.0.0",b[R.DOCUMENT_VIEW]="3.0.0",b[R.CARD_EXPAND]="3.0.4",b[R.CARD_COLOR]="3.0.4",b[R.EDIT_HORIZ]="3.0.4",b[R.EDIT_AS_PEN]="3.0.4",b[R.KANBAN_ADD_COLUMN]="3.0.9",b[R.KANBAN_ADD_SWIMLANE]="3.0.9",b[R.USM_ADD_RELEASE]="3.0.9",b[R.DOWNLOAD_HORIZ]="3.2.0",b[R.FRAME_HIDING_HORIZ]="3.6.20",b[R.GROUP_HORIZ]="3.16.0",b[R.UNGROUP_HORIZ]="3.16.0",b);var w=0;function P(t,e,n){var o=n.value;return n.value=function(){var t=e.replace("set","");return t=t.charAt(0).toLowerCase()+t.slice(1),this.changed.dispatch(this.getItemUid(),t,arguments[0]),o.apply(this,arguments)},n}const D=function(){function t(t){this.handlerDescriptors=[],this.changed=new E.default.Signal,this.itemType=t,this.uid=(w++).toString(10),this.isAvailable=(0,A.compareVersionNumbers)(S.default.appVersion,L[t])>-1||!1}return Object.defineProperty(t.prototype,"active",{get:function(){return this._active},set:function(t){this._active=t,this.changed.dispatch(this.getItemUid(),"active",t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this.changed.dispatch(this.getItemUid(),"disabled",t)},enumerable:!1,configurable:!0}),t.prototype.setItemId=function(t){this.id=t},t.prototype.getItemId=function(){return this.id},t.prototype.getItemUid=function(){return this.uid},t.prototype.getItemType=function(){return this.itemType},t.prototype.setItemProperties=function(t){this.props=t,(t.onClick||t.hideOnClick)&&this.setClickHandler(t.onClick||function(){},this,t.hideOnClick)},t.prototype.setTooltip=function(t){this.tooltip=t},t.prototype.setDisabledTooltip=function(t){this.disabledTooltip=t},t.prototype.getItemProps=function(){return(0,o.__assign)((0,o.__assign)({},this.getOwnProps()),{active:this._active,disabled:this.disabled,tooltip:this.tooltip,disabledTooltip:this.disabledTooltip})},t.prototype.getOwnProps=function(){var t=this.props,e={};for(var n in t)t.hasOwnProperty(n)&&!T()(t[n])&&(e[n]=t[n]);return e},t.prototype.setClickHandler=function(t,e,n,o){void 0===n&&(n=!1),this.registerHandler("UserClickHandler",t,e)},t.prototype.registerHandler=function(t,e,n){this.handlerDescriptors.push({name:t,handler:e,thisArg:n})},t.prototype.callHandler=function(t){for(var e=[],n=1;n1},t.prototype.getMapPoint=function(t){return"".concat(this.Lats[t],",").concat(this.Lons[t])},t.prototype.getFullUniversalUrl=function(){var t="";return t=this.hasDirection()?"dir/?".concat(Ao,"&origin=").concat(this.getMapPoint(1),"&destination=").concat(this.getMapPoint(2)):"@?".concat(Ao,"&map_action=map¢er=").concat(this.getMapPoint(0),"&zoom=14"),"".concat(So).concat(t)},t}(),bo=function(){function t(t){this.parts=t.split("!"),this.initLons(),this.initLats()}return t.prototype.getParts=function(t){return this.parts.filter((function(e){return 0===e.indexOf(t)})).map((function(t){return t.substr(2)}))},t.prototype.getPart=function(t,e){return this.getParts(t)[e]||""},t.prototype.initLons=function(){this.lons=this.getParts("2d")},t.prototype.getLons=function(){return this.lons},t.prototype.initLats=function(){var t;this.lats=[],this.lats.push(this.getPart("3d",0)),(t=this.lats).push.apply(t,this.getParts("1d").slice(1))},t.prototype.getLats=function(){return this.lats},t.prototype.getSize=function(){return this.getPart("1d",0)},t.prototype.getData=function(){return this.getPart("1s",0)},t}();function Lo(t){var e=t;if(t.indexOf("google.com/maps/embed")>-1){var n=new bo(t);e=new Ro(n).getFullUniversalUrl()}return e}var wo=n(496891),Po=n(556091),Do=m.getInjectionPoint(),Mo=function(){function t(){var t=this;this.selectionChanged=function(){c.mySelection.selection?t.sendSelectionProps():rn.default.selection.remote.changed(0)},this.sendSelectionProps=function(){t.clearListeners&&(t.clearListeners(),t.clearListeners=null);var e=!1,n=!1,o=!1,i=!1,r=!1,s="",a=c.mySelection.singleSelection;if(a){if(S.default.board.editWidgetInExternalEditor(a.widgetType)&&(e=Do().canDelete()),a.widgetType===yt.WidgetType.IMAGE)if((0,so.isGifWidget)(a)){var l=a;l.player.isPlaying()?r=!0:i=!0,t.clearListeners=function(){l.player.playbackStarted.remove(t.sendSelectionProps),l.player.playbackStopped.remove(t.sendSelectionProps)},l.player.playbackStarted.addOnce(t.sendSelectionProps),l.player.playbackStopped.addOnce(t.sendSelectionProps)}else n=Do().canDelete();if(a.widgetType===yt.WidgetType.DOCUMENT&&(o=!0),a.widgetType===yt.WidgetType.PREVIEW)s=Lo(a.url);if(a.widgetType===yt.WidgetType.EMBED)s=Lo(a.url)}var d={canEdit:e,canCrop:n,canView:o,canPlay:i,canStop:r,sourceUrl:s,canDelete:Do().canDelete(),canDuplicate:Do().canDuplicate(),canSendForward:Do().canSendForward(),canSendBackward:Do().canSendBackward(),isMulti:c.mySelection.isMultiSelectMode()};rn.default.selection.remote.changed(c.mySelection.selection.length,d)},c.mySelection.onSelectionChanged.add(this.selectionChanged,this),c.mySelection.multiSelectionTool.selectionStarted.add(this.toolSelectionStarted,this),c.mySelection.multiSelectionTool.selectionUpdated.add(this.toolSelectionChanged,this),c.mySelection.multiSelectionTool.selectionEnded.add(this.toolSelectionEnded,this)}return t.prototype.toolSelectionStarted=function(){rn.default.selection.remote.started()},t.prototype.toolSelectionChanged=function(t){rn.default.selection.remote.changed(t.length)},t.prototype.toolSelectionEnded=function(t){rn.default.selection.remote.ended(t.length)},t.prototype.stopEditMode=function(){var t=c.mySelection.singleSelection;return!(!t||!(0,xt.WidgetEditorAPI)().isEditMode(t))&&((0,xt.WidgetEditorAPI)().setEditMode(t,!1),!0)},t.prototype.clear=function(){c.mySelection.clearSelection()},t.prototype.remove=function(){c.selectionActions.remove()},t.prototype.edit=function(){var t=c.mySelection.singleSelection;(0,wo.switchWidgetToEditMode)(t)},t.prototype.crop=function(){this.stopEditMode()||(0,wo.switchWidgetToEditMode)(c.mySelection.singleSelection)},t.prototype.view=function(){c.mySelection.singleSelection.openInViewer()},t.prototype.play=function(){var t=c.mySelection.singleSelection;(0,so.isGifWidget)(t)&&(t.player.play(),this.sendSelectionProps())},t.prototype.stop=function(){c.mySelection.singleSelection.player.stop(),this.sendSelectionProps()},t.prototype.duplicate=function(){this.stopEditMode(),c.selectionActions.duplicate()},t.prototype.forward=function(){this.stopEditMode(),c.selectionActions.sendForward()},t.prototype.backward=function(){this.stopEditMode(),c.selectionActions.sendBackward()},t.prototype.enableBlurPropagation=function(){var t,e=c.mySelection.singleSelection;(0,xt.WidgetEditorAPI)().hasEditorComponentEditor(e)&&(null===(t=(0,xt.WidgetEditorAPI)().getEditorOnBlurSignal(e))||void 0===t||t.remove(this.widgetHaltBlur,this))},t.prototype.disableBlurPropagation=function(){var t,e=c.mySelection.singleSelection;(0,xt.WidgetEditorAPI)().hasEditorComponentEditor(e)&&(null===(t=(0,xt.WidgetEditorAPI)().getEditorOnBlurSignal(e))||void 0===t||t.add(this.widgetHaltBlur,this,S.default.topSignalPriority))},t.prototype.widgetHaltBlur=function(){var t,e=c.mySelection.singleSelection;(0,xt.WidgetEditorAPI)().hasEditorComponentEditor(e)&&(Po.log("[SelectionWVConnector] widgetHaltBlur","stop blur propagation by mobile app"),null===(t=(0,xt.WidgetEditorAPI)().getEditorOnBlurSignal(e))||void 0===t||t.halt())},t}();const No=Mo;var Ho=n(27233);const xo=function(){function t(t,e){var n=this;this.connector=e,Ho.default.editWidgetInExternalEditor.add((function(e){e.widgetType===t&&(n.widget=e,n.setEditMode(e))}))}return t.prototype.setEditMode=function(t){throw new Error("Abstract method")},t.prototype.open=function(){this.connector.open()},t.prototype.close=function(){this.widget=void 0,this.connector.close()},t.prototype.save=function(t){var e=this;if(this.widget){var n=this.widget;this.close(),setTimeout((function(){return e.saveWidget(n,t)}))}},t.prototype.saveWidget=function(t,e){throw new Error("Abstract method")},t}();var Bo=n(612830),Wo=n(411861),Uo=n(791219),Zo=n(43182),ko=n(133088),Fo=n(309996),zo=n(237439),Go=n(836522),Vo=n(178909),Ko=n(821174),Xo=n(228492),Qo=n(582078),Yo=n(10331),jo=n(273150),$o=n(468431),Jo=function(t){function e(){var e=t.call(this,yt.WidgetType.TEXT,rn.default.texts.remote)||this;return e.editorCalc=Zo.default.getInstance(),e}return(0,o.__extends)(e,t),e.prototype.setEditMode=function(t){var e=t.getStyle();rn.default.texts.remote.open({text:(0,Ko.prepareTextForEdit)(t.text),color:e[ce.Style.TEXT_COLOR],bgColor:e[ce.Style.BACKGROUND_COLOR]})},e.prototype.create=function(t){var e;this.close();var n=(t.text||"").trim();if(n){var i=(0,o.__assign)((0,o.__assign)({},(0,jo.default)().getLastUsedStyle($o.default.TEXT)),((e={})[ce.Style.FIXED_WIDTH]=0,e[ce.Style.TEXT_ALIGN]="l",e[ce.Style.BOLD]=-1,e[ce.Style.UNDERLINE]=-1,e[ce.Style.STRIKE]=-1,e[ce.Style.ITALIC]=-1,e[ce.Style.TEXT_COLOR]=t.color,e[ce.Style.BACKGROUND_COLOR]=t.bgColor,e)),r=(0,Ko.prepareTextForSave)(n),s=this.getMaxWidth(),a=(0,Yo.getDefaultOffsetForShape)(i[ce.Style.SHAPE_TYPE]||Vo.ShapeType.TEXT_RECT,zo.BG_OFFSET),l=c.textWidgetController.create({x:Wo.getScreenToCanvasX(document.documentElement.clientWidth/2-a.left),y:Wo.getScreenToCanvasY(50),canvasScale:c.textWidgetController.calcTextScaleByCanvasScale(c.canvasController.canvasScale),text:r,enableEditMode:!1,addToHistory:!0,style:i,maxWidth:s});c.mySelection.selectObject(l)}},e.prototype.createV2=function(){var t=this.getMaxWidth(),e=c.textWidgetController.getLastStyleWithoutBorderAndPadding(),n=c.textWidgetController.getLastSize(),o=(0,Yo.getDefaultOffsetForShape)(e[ce.Style.SHAPE_TYPE]||Vo.ShapeType.TEXT_RECT,zo.BG_OFFSET),i=n?Wo.textSizeToScale(n):void 0,r=c.textWidgetController.create({x:Wo.getScreenToCanvasX(document.documentElement.clientWidth/2-o.left),y:Wo.getScreenToCanvasY(document.documentElement.clientHeight/2),canvasScale:c.textWidgetController.calcTextScaleByCanvasScale(c.canvasController.canvasScale),style:e,textScale:i,maxWidth:t,enableEditMode:!1});(0,Xo.default)(r).then((function(){(0,Qo.prepareForFocusOnAndroid)(),c.textWidgetController.setSelectionAndEditMode(r)}))},e.prototype.saveWidget=function(t,e){e.text?this.updateWidget(t,e):(0,Bo.CanvasEngine)().presence.removeObjects([t.tokenizer])},e.prototype.updateWidget=function(t,e){var n=this;t.updateWithoutEditMode((function(){var o,i,r,s=t.getStyle(),a=s[ce.Style.FONT_FAMILY],l=(0,Ko.prepareTextForSave)(e.text);if(s[ce.Style.FIXED_WIDTH])r=1,i=t.width;else{var d=n.getWidthFor(l,a),u=n.getMaxWidth();d>=u?(r=1,i=u):(r=0,i=d)}t.text=l,(0,xt.WidgetEditorAPI)().addStyle(t,((o={})[ce.Style.FIXED_WIDTH]=r,o[ce.Style.TEXT_COLOR]=e.color,o[ce.Style.BACKGROUND_COLOR]=e.bgColor,o),!0,!0),t.setNewSize(i,n.getHeightFor(l,i,a),Uo.Direction.BOTTOM)}))},e.prototype.getMaxWidth=function(){return Math.min(.8*document.documentElement.clientWidth,zo.TEXT_WIDGET_MAX_WIDTH)},e.prototype.getWidthFor=function(t,e){var n=zo.DOUBLE_BG_OFFSET;if(this.widget){var o=this.widget.offset;n=o.left+o.right}return this.editorCalc.getWidth(t,Fo.SCALE_TO_SIZE,e,ko.default.getLineHeight(e),zo.TEXT_WIDGET_MAX_WIDTH)+n},e.prototype.getHeightFor=function(t,e,n){var o=zo.DOUBLE_BG_OFFSET;if(this.widget){var i=this.widget.offset;o=i.top+i.bottom}return this.editorCalc.getHeight(t,e,Fo.SCALE_TO_SIZE,n,ko.default.getLineHeight(n),zo.TEXT_WIDGET_MAX_WIDTH)+o},(0,o.__decorate)([(0,Go.ErrorTrackerTelemetry)("TextsWVConnector.saveWidget",!1)],e.prototype,"saveWidget",null),e}(xo);const qo=Jo;var ti=n(508107),ei=n(292145),ni=n(750895),oi=n(620579),ii=n(213784),ri=n.n(ii),si=n(412407),ai=function(t){function e(){return t.call(this,yt.WidgetType.SHAPE,rn.default.shapes.remote)||this}return(0,o.__extends)(e,t),e.prototype.create=function(t){var e;this.close();var n=(0,o.__assign)((0,o.__assign)({},(0,jo.default)().getLastUsedStyle($o.default.SHAPE)),((e={})[ce.Style.SHAPE_TYPE]=t.shape,e[ce.Style.FONT_SIZE]=Wo.scaleToTextSize(c.canvasController.canvasScale),e)),i=c.canvasController.canvasScaleInv,r=document.documentElement.clientWidth,s=document.documentElement.clientHeight-80,a=.4*(r>s?s:r)*i,l=(0,si.ShapeWidgetService)().createShapeData({x:Wo.getScreenToCanvasX(r/2),y:Wo.getScreenToCanvasY(s/2),width:a,height:a,rotation:0,style:n,text:t.text}),d=(0,si.ShapeWidgetService)().createFromData(l,!1);c.mySelection.selectObject(d),(0,jo.default)().updateLastStyle(d,n)},e.prototype.createV2=function(t){var e,n=document.documentElement.clientWidth,o=document.documentElement.clientHeight-80,i=ri()((0,jo.default)().getLastUsedStyle($o.default.SHAPE));i[ce.Style.SHAPE_TYPE]=t;var r=(0,si.ShapeWidgetService)().getLastShapeSize();e=t===(0,ni.getLastUsedShapeType)()?r:new oi.SizeData(r.height,r.height);var s=Wo.getScreenToCanvasX(n/2)-e.width/2,a=Wo.getScreenToCanvasY(o/2)-e.height/2,l=(0,si.ShapeWidgetService)().create({x:s,y:a,width:e.width,height:e.height,style:i,enableEditMode:!1});(0,Xo.default)(l).then((function(){(0,Qo.prepareForFocusOnAndroid)(),(0,si.ShapeWidgetService)().setSelectionAndEditMode(l)}))},e.prototype.setEditMode=function(t){var e=t.getStyle(),n={text:t.getPlainText(!0),color:e[ce.Style.TEXT_COLOR],bgColor:e[ce.Style.SHAPE_COLOR],shape:e[ce.Style.SHAPE_TYPE],style:e[ce.Style.SHAPE_STYLE]};ei.transparent!==e[ce.Style.BORDER_COLOR]?(n.style=e[ce.Style.BORDER_WIDTH]>=16?ti.ShapeStyle.STRONG:ti.ShapeStyle.NORMAL,n.bgColor=e[ce.Style.BORDER_COLOR]):(n.style=e[ce.Style.BACKGROUND_OPACITY]<1?ti.ShapeStyle.TRANSPARENT:ti.ShapeStyle.OPAQUE,n.bgColor=e[ce.Style.BACKGROUND_COLOR]),this.connector.open(n)},e.prototype.saveWidget=function(t,e){},e}(xo);const li=ai;var di=n(114338),ui=n(894565),ci=n.n(ui),pi=n(74412),hi=Bt.getInjectionPoint(),fi=function(t){function e(){return t.call(this,yt.WidgetType.STICKER,rn.default.stickers.remote)||this}return(0,o.__extends)(e,t),e.prototype.setEditMode=function(t){this.connector.open({text:(0,xt.WidgetEditorAPI)().getPlainText(t,!0),background:(0,xt.WidgetEditorAPI)().getStyle(t)[ce.Style.STICKER_BACKGROUND_COLOR]})},e.prototype.saveWidget=function(t,e){(0,xt.WidgetEditorAPI)().updateWithoutEditMode(t,(function(){var n;(0,xt.WidgetEditorAPI)().setEditableWidgetText(t,(0,di.nl2br)(ci()(e.text))),(0,xt.WidgetEditorAPI)().addStyle(t,((n={})[ce.Style.STICKER_BACKGROUND_COLOR]=e.background,n[ce.Style.FONT_SIZE_AUTO]=1,n),!0,!0)}))},e.prototype.createFromBulk=function(t){this.close(),(0,pi.StickerWidgetService)().createFromBulk(t)},e.prototype.create=function(){var t=(0,pi.StickerWidgetService)().getBuilder();t.setEditMode(!1),t.setSelection(!1);var e=t.build({x:Wo.getScreenToCanvasX(document.documentElement.clientWidth/2),y:Wo.getScreenToCanvasY(document.documentElement.clientHeight/2)},hi().stickerType);(0,Xo.default)(e).then((function(){(0,Qo.prepareForFocusOnAndroid)(),Ho.default.setEditMode(e)}))},e}(xo);const gi=fi;var mi,_i=n(802020),yi=n(771006);!function(t){t[t.TOOLS=1]="TOOLS",t[t.LOADER=2]="LOADER",t[t.CONTEXT_MENU=3]="CONTEXT_MENU",t[t.FRAMES=4]="FRAMES",t[t.HEADER=5]="HEADER",t[t.SEARCH=6]="SEARCH",t[t.COMMENT_MODE=7]="COMMENT_MODE",t[t.DRAWING_MODE=8]="DRAWING_MODE",t[t.SELECTION_MODE=9]="SELECTION_MODE",t[t.DOCUMENTS=10]="DOCUMENTS",t[t.EDITOR=11]="EDITOR",t[t.STICKERS_RECOGNITION=12]="STICKERS_RECOGNITION",t[t.HISTORY=13]="HISTORY",t[t.COMMENTS=14]="COMMENTS",t[t.BOTTOM_NOTIFICATIONS=15]="BOTTOM_NOTIFICATIONS",t[t.STICKERS_RECOGNITION_LOADER=999]="STICKERS_RECOGNITION_LOADER",t[t.MODALS=1e3]="MODALS"}(mi||(mi={}));var Ii=n(241443),Ci=n(896486),Oi=n(671021),Ei="stickers-recognition-canvas";const vi=function(t){function e(){var e=t.call(this)||this;return e.containerOffset={top:0,bottom:0},(0,Oi.addResizeEventListener)((function(){return e.tryUpdateContainerPositionAndSize()})),e}return(0,o.__extends)(e,t),e.prototype.getStickiesRecognitionModule=function(){return(0,Ci.default)().then((function(t){return t.stickersRecognitionModule()}))},e.prototype.open=function(){var t=this;Ti()?this.oldOpen():this.getStickiesRecognitionModule().then((function(){var e=[mi.HEADER,mi.TOOLS,mi.HISTORY];rn.default.board.remote.hideLayers(e,!1),yi.loaderHided.addOnce((function(){rn.default.stickersRecognition.remote.onHideLoader()})),yi.loaderShowed.addOnce((function(){rn.default.stickersRecognition.remote.onShowLoader()})),yi.cancelled.addOnce((function(){rn.default.stickersRecognition.remote.onCancel()})),yi.destroyed.addOnce((function(){rn.default.stickersRecognition.remote.onDestroy(),rn.default.board.remote.showLayers(e,!1),yi.rateToggled.remove(t.toggleRate)})),yi.rateToggled.add(t.toggleRate)}))},e.prototype.openDemo=function(){var t=this;this.getStickiesRecognitionModule().then((function(){t.open(),yi.setDemoData()}))},e.prototype.toggleRate=function(){rn.default.stickersRecognition.remote.toggleRate()},e.prototype.setSizes=function(t,e){this.containerOffset.top=t+e,this.containerOffset.bottom=t,this.tryUpdateContainerPositionAndSize()},e.prototype.tryUpdateContainerPositionAndSize=function(){var t,e,n;this.container&&(t=this.container,e=this.containerOffset.top,n=this.containerOffset.bottom,t.style.top="".concat(e,"px"),t.style.width="".concat(document.documentElement.clientWidth,"px"),t.style.height="".concat(document.documentElement.clientHeight-e-n,"px"))},e.prototype.saveContour=function(){this.contoursCanvasController&&this.contoursCanvasController.saveCurrentContour()},e.prototype.deleteContour=function(){this.contoursCanvasController&&this.contoursCanvasController.deleteCurrentContour()},e.prototype.oldOpen=function(){return(0,o.__awaiter)(this,void 0,void 0,(function(){return(0,o.__generator)(this,(function(t){return rn.default.stickersRecognition.remote.open(),[2]}))}))},e.prototype.close=function(){this.contoursCanvasController&&this.contoursCanvasController.cancel()},e.prototype.sendError=function(t){if(t){var e=t.message,n=t.status,o=t.statusText;0===n&&"error"===o&&(n=503);var i={message:e,status:n};rn.default.stickersRecognition.remote.showError(i)}else rn.default.stickersRecognition.remote.showError()},e.prototype.processReceivedData=function(t){var e=this;Ti()?this.getStickiesRecognitionModule().then((function(n){e.container=function(){var t=document.createElement("div");return t.id=Ei,document.getElementById("canvasContainer").appendChild(t),t}(),e.tryUpdateContainerPositionAndSize();var o=(0,po.default)().myUserId.toString();e.contoursCanvasController=new n.ContoursCanvasController({userId:o,accountId:(0,Ii.default)().getCurrentId(),offset:{top:e.containerOffset.top,bottom:e.containerOffset.bottom,left:0,right:0},onContourCreated:function(){},onContourEditStart:function(){rn.default.stickersRecognition.remote.setEditMode(!0)},onContourEditEnd:function(){rn.default.stickersRecognition.remote.setEditMode(!1)},textRecognitionIsSupported:!1,setTextRecognitionEnabled:function(){},notifyAboutTextRecognitionState:function(){},getTextRecognitionApproveFromUser:function(){return Promise.resolve(!1)},showTextRecognitionLimitsAreExceededError:function(){},showTextRecognitionUnavailableError:function(){},showError:function(t){e.sendError(t)},showLoader:function(){rn.default.stickersRecognition.remote.showLoader(!0)},hideLoader:function(){rn.default.stickersRecognition.remote.showLoader(!1)},destroy:function(){e.contoursCanvasController&&(e.contoursCanvasController=void 0),e.container&&(e.container.remove(),e.container=void 0),rn.default.stickersRecognition.remote.close(!1)},confirmLeave:function(){return Promise.resolve(!0)},insertCanvasToDOM:function(t){e.container&&e.container.insertBefore(t,e.container.children[0])},cancel:function(){}}),e.contoursCanvasController.init(t)})):this.getStickiesRecognitionModule().then((function(){yi.dataChanged.dispatch({fileOrUrl:t})}))},e.prototype.addToBoard=function(){this.contoursCanvasController&&this.contoursCanvasController.addToBoard()},e}(_i.default);function Ti(){return(0,A.compareVersionNumbers)(S.default.appVersion,"3.5.0")<0}var Si=Bt.getInjectionPoint();const Ai=function(){function t(){var t=this;this.onToolChanged=function(e){e!==Wt.ToolType.COMMENT?t.remoteTurnOff():t.prevTool!==Wt.ToolType.COMMENT&&t.remoteTurnOn(),t.prevTool=e},Si().toolChanged.add(this.onToolChanged)}return t.prototype.turnOn=function(){Si().toolChanged.remove(this.onToolChanged),Si().setTool(Wt.ToolType.COMMENT),Si().toolChanged.add(this.onToolChanged),this.remoteTurnOn()},t.prototype.turnOff=function(){Si().setDefaultTool(),rn.default.commentMode.remote.turnOff()},t.prototype.remoteTurnOn=function(){rn.default.commentMode.remote.turnOn()},t.prototype.remoteTurnOff=function(){rn.default.commentMode.remote.turnOff()},t}();var Ri=n(561549),bi=function(){function t(){(0,Bt.default)().toolChanged.add(this.onToolChanged,this),(0,Bt.default)().toolModifiersChanged.add(this.onToolOrModifiersChanged,this),(0,Bt.default)().penColorChanged.add(this.onColorChanged,this),(0,Bt.default)().penThicknessChanged.add(this.onThicknessChanged,this),(0,Bt.default)().penOpacityChanged.add(this.onOpacityChanged,this),c.widgetController.widgetsCreated.add((function(t,e,n){e&&n&&t.find((function(t){return t.widgetType===yt.WidgetType.CURVE}))&&rn.default.drawingMode.remote.onCurveCreated()})),(0,Bo.CanvasEngine)().presence.removeActionStarted.add((function(){(0,Bt.default)().testTools(Wt.ToolType.ERASER)&&rn.default.drawingMode.remote.onCurvesErased()}))}return t.prototype.withDrawingToolbar=function(t){(0,Ci.default)().then((function(t){return t.drawingToolbar})).then(t)},t.prototype.turnOff=function(){(0,Bt.default)().setDefaultTool()},t.prototype.setPen=function(t){var e=this;this.withDrawingToolbar((function(n){n.loadPresets(),e.changeTool(Wt.ToolType.PEN,t)}))},t.prototype.setEraser=function(){this.changeTool(Wt.ToolType.ERASER,[Ri.CommonModifiers.NO_MODIFIERS])},t.prototype.setLasso=function(){this.changeTool(Wt.ToolType.CURSOR,[Ri.CursorModifiers.LASSO])},t.prototype.setThickness=function(t){this.withDrawingToolbar((function(e){e.setToolThickness(t)}))},t.prototype.setColor=function(t){this.withDrawingToolbar((function(e){e.setToolColor(t)}))},t.prototype.setRecognitionMode=function(t){t?this.changeTool(Wt.ToolType.PEN,[Ri.PenModifiers.SMART]):this.setPen()},t.prototype.changeTool=function(t,e){this.prevTool=(0,Bt.default)().getTool(),this.withDrawingToolbar((function(n){n.setActiveTool(t,e||[Ri.CommonModifiers.NO_MODIFIERS])}))},t.prototype.onToolChanged=function(t){this.onToolChangedDeprecated(t),this.onToolOrModifiersChanged()},t.prototype.onToolOrModifiersChanged=function(){rn.default.drawingMode.remote.onToolOrModifiersChanged((0,Bt.default)().getTool(),(0,Bt.default)().getModifiers())},t.prototype.onColorChanged=function(t){rn.default.drawingMode.remote.onPenColorChanged(t)},t.prototype.onThicknessChanged=function(t){rn.default.drawingMode.remote.onPenThicknessChanged(t)},t.prototype.onOpacityChanged=function(t){rn.default.drawingMode.remote.onPenOpacityChanged(t)},t.prototype.turnOn=function(){this.setPen(),this.remoteTurnOn()},t.prototype.remoteTurnOff=function(){var t,e;null===(e=(t=rn.default.drawingMode.remote).turnOff)||void 0===e||e.call(t)},t.prototype.remoteTurnOn=function(){var t,e;null===(e=(t=rn.default.drawingMode.remote).turnOn)||void 0===e||e.call(t,(0,Bt.default)().testTools(Wt.ToolType.PEN),(0,Bt.default)().penThickness,(0,Bt.default)().penColor,(0,Bt.default)().hasModifiers(Ri.PenModifiers.SMART))},t.prototype.onToolChangedDeprecated=function(t){t!==Wt.ToolType.PEN&&t!==Wt.ToolType.ERASER?this.remoteTurnOff():this.prevTool!==Wt.ToolType.PEN&&this.prevTool!==Wt.ToolType.ERASER&&this.remoteTurnOn(),this.prevTool=t},t}();const Li=bi;var wi=n(548966),Pi=n(250399),Di=n(699772),Mi=n(488006),Ni=n(255773);const Hi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.fileLoaded=new E.default.Signal,e}return(0,o.__extends)(e,t),e.prototype.processReceivedData=function(t){this.dataUrl=t},e.prototype.createFileLoadingPromise=function(t){var e=this;return new Promise((function(n,o){var i=function(r,s,a){t.uid===r.uid&&(e.fileLoaded.remove(i),a?o(a):s?n(s):o(new Error("No resource")))};e.fileLoaded.add(i)}))},e.prototype.generateCreateImageParams=function(t,e){if(t.width&&t.height){var n=Mi.default.recalculateSize(t.width,t.height),o=e.getFilePosition(n);return{width:t.width,height:t.height,scale:n.scale,imageX:null===o||void 0===o?void 0:o.x,imageY:null===o||void 0===o?void 0:o.y}}},e.prototype.startFileLoading=function(t,e){var n=this.createFileLoadingPromise(t),o=this.generateCreateImageParams(t,e);(0,wi.default)().createWidgetFromResourcePromise(n,t.name,o)},e.prototype.startFilesLoading=function(t){var e=this,n=new Di.FilesAutoArrangeService;Pi.initPosition(),t.forEach((function(t){return e.startFileLoading(t,n)})),n.placeFilesToViewPort(15)},e.prototype.completeFileLoading=function(t,e){this.fileLoaded.dispatch(t,e)},e.prototype.rejectFileLoading=function(t,e){this.fileLoaded.dispatch(t,null,e)},e.prototype.pasteFromClipboard=function(t){t&&(0,Ni.UploadFromUrl)().upload(t)},e}(_i.default);const xi=function(){function t(){(0,Bo.CanvasEngine)().history.onChanged.add(this.onUndoRedoChanged,this)}return t.prototype.undo=function(){(0,Bo.CanvasEngine)().history.undo()},t.prototype.redo=function(){(0,Bo.CanvasEngine)().history.redo()},t.prototype.onUndoRedoChanged=function(t,e){rn.default.history.remote.update(t,e)},t}();var Bi=n(171108),Wi=n(846820);const Ui=function(){function t(){to.bowser.android&&Bi.___androidKeyboardModeChanged.add((function(t){rn.default.keyboard.remote.setAndroidKeyboardMode(t)})),Bi.___dismiss.add((function(){rn.default.keyboard.remote.dismiss()}))}return t.prototype.onDidHide=function(){clearTimeout(this.androidFixWidgetPositionInEditModeTimeoutId),Bi.onDidHide.dispatch()},t.prototype.onDidShow=function(t){var e=c.mySelection.singleSelection;e&&(0,xt.WidgetEditorAPI)().hasEditorComponent(e)&&(to.bowser.android?(clearTimeout(this.androidFixWidgetPositionInEditModeTimeoutId),this.androidFixWidgetPositionInEditModeTimeoutId=setTimeout((function(){Wi.setKeyboardOffsetToEditor(72,e)}),300)):Wi.setKeyboardOffsetToEditor(t,e)),Bi.onDidShow.dispatch(t)},t}();var Zi=n(799481),ki=n(852766),Fi=n(739581),zi=n(380554),Gi=n(174566),Vi=n(150742),Ki=n(411343),Xi=n(986030),Qi=n(714573),Yi=function(){function t(){var t=this;this.module=void 0,this.openedComment=void 0,this.isInitialized=!1,this.triggeredByMobileApp=!1,this.bindChangesListeners=function(){t.openedComment&&t.openedComment.cmtMessagesChanged.add(t.onMessagesChanged)},this.unbindChangesListeners=function(){t.openedComment&&t.openedComment.cmtMessagesChanged.remove(t.onMessagesChanged)},this.onMessagesChanged=function(){t.sendCommentData()},this.sendCommentData=function(){t.openedComment&&rn.default.notes.remote.setData(t.getCommentData(t.openedComment))};var e=(0,po.default)().myUserId;this.myUserId=e&&e.toString()||"",this.notesWidth=Math.min(window.innerWidth,window.innerHeight),S.default.board.allowRightSidebar&&(this.setupDocumentChangesListener(),(0,Ci.default)().then((function(t){return t.notesModule()})).then((function(e){t.setupNotes(e)})))}return t.prototype.setupDocumentChangesListener=function(){var t=(0,zi.getDocumentChangesListener)();t.subscribed.add(this.onSubscribed,this),t.changed.add(this.onNotesChanged,this)},t.prototype.setupNotes=function(t){this.isInitialized||(this.module=t,this.module.onPanelClose.add(this.onPanelClosed,this),this.module.onPanelOpen.add(this.onPanelOpened,this),this.isInitialized=!0)},t.prototype.onPanelClosed=function(){setTimeout((function(){rn.default.notes.remote.onNotesPanelAfterClose()}),300);var t=this.module,e=t.panelController,n=t.editor;if(n&&(n.modules.embedProcessor.hide(),n.modules.comments.hideAllComments(),n.modules.comments.commentOpened.remove(this.onCommentViewChanged)),e){var o=rn.default.notes.remote;e.closed.remove(o.onNotesPanelClose)}},t.prototype.onPanelOpened=function(){var t=this.triggeredByMobileApp;rn.default.notes.remote.onNotesPanelOpen(t),setTimeout((function(){rn.default.notes.remote.onNotesPanelAfterOpen(t)}),500);var e=this.module,n=e.panelController,o=e.editor;if(o&&o.modules.comments.commentOpened.add(this.onCommentViewChanged,this),n){var i=rn.default.notes.remote;n.closed.add(i.onNotesPanelClose,i)}this.triggeredByMobileApp=!1},t.prototype.onCommentViewChanged=function(t){if(t){if(this.openedComment=t.comments[0],this.openedComment){this.bindChangesListeners();var e=this.getCommentData(this.openedComment);e.canResolve=!1,rn.default.notes.remote.openComment(e),Qi.sendCommentThreadOpenedByCommentData(e,"note"),Qi.sendCommentMentionsShownByCommentData(e,"note")}}else this.closeComment()},t.prototype.onSubscribed=function(){rn.default.notes.remote.showNotesButton()},t.prototype.onNotesChanged=function(t){t?rn.default.notes.remote.showNotesHasChanges():rn.default.notes.remote.hideNotesHasChanges()},t.prototype.getCommentData=function(t){var e=this.module.editor;e.editor.blur();var n=(0,Vi.convertCommentData)(t,"view"!==e.editorMode,this.myUserId);return n.canResolve=!1,n.title=t.highlightedText,n},t.prototype.closeComment=function(){this.openedComment&&(this.openedComment.setCmtMode(!1),this.unbindChangesListeners(),rn.default.notes.remote.closeComment())},t.prototype.toggle=function(){var t=this;(0,Ci.default)().then((function(t){return t.notesModule()})).then((function(e){t.toggleNotes(e)}))},t.prototype.toggleNotes=function(t){(0,ki.default)().rightSidebar.isPluginActive(Fi.InHousePluginIds.NOTES)?t.closePanel(Ki.NotesDeactivateFromSource.BUTTON):(this.triggeredByMobileApp=!0,t.openPanel(Ki.NotesActivateFromSource.BUTTON,{width:this.notesWidth,minWidth:this.notesWidth,resizeable:!1}))},t.prototype.toggleResolved=function(){this.openedComment&&this.openedComment.canResolve()&&this.openedComment.toggleResolved()},t.prototype.setFollow=function(t,e){this.openedComment&&this.openedComment.changeSubscriptionMode(t,e)},t.prototype.addMessage=function(t){this.openedComment&&(this.openedComment.messages.length?this.openedComment.replyCreate(t):this.openedComment.commentCreateOnServer(t))},t.prototype.updateMessage=function(t,e,n){e=(0,Vi.prepareMessageForSave)(e),n=(0,Vi.prepareMessageForSave)(n);var o=this.getMessage(t);this.openedComment&&o&&(o.text=e,this.openedComment.replyUpdate(o,n))},t.prototype.removeMessage=function(t){var e=this.getMessage(t);this.openedComment&&e&&this.openedComment.replyDelete(e)},t.prototype.deleteThread=function(){this.openedComment&&this.openedComment.commentDelete(this.openedComment.created)},t.prototype.toggleEmoji=function(t,e){var n=this.getMessage(t);this.openedComment&&n&&this.openedComment.replyToggleEmoji(n,(0,Xi.replaceUnicodeWithEmoji)(e).replace(/:/g,""))},t.prototype.getMessage=function(t){return this.openedComment&&this.openedComment.messages.find((function(e){return(0,Gi.convertIdToString)(e.id)===t}))},t}();const ji=Yi;to.bowser.mobileApp&&(rn.default.highlightChanges.local.setClient(new oo),rn.default.search.local.setClient(new ao),rn.default.frames.local.setClient(new uo),rn.default.mentions.local.setClient(new _o),rn.default.documents.local.setClient(new Io),rn.default.boardSettings.local.setClient(new To),rn.default.selection.local.setClient(new No),rn.default.texts.local.setClient(new qo),rn.default.shapes.local.setClient(new li),rn.default.stickers.local.setClient(new gi),rn.default.stickersRecognition.local.setClient(new vi),rn.default.commentMode.local.setClient(new Ai),rn.default.drawingMode.local.setClient(new Li),rn.default.resources.local.setClient(new Hi),rn.default.history.local.setClient(new xi),rn.default.keyboard.local.setClient(new Ui),rn.default.clipboard.local.setClient(new Zi.default),rn.default.notes.local.setClient(new ji),rn.default.board.remote.requestSettings());var $i=(0,Xn.extendStore)((0,Qn.getBoardStore)(),Yn.boardUiStoreModule);(0,Sn.default)($i),(0,An.permanentMessagesActivationStage)(),(0,vn.default)(),kn.mapIfNeed(zn.getServiceKey(),new Fn.DialogServiceImpl),kn.mapIfNeed(Vn.getServiceKey(),new Gn.FormValidationServiceImpl),to.bowser.mobileApp&&((0,s.StickersRecognition)(),(0,u.subsribeOnFloatingPanels)(),(0,d.subscribeCanvasFocus)(),(0,a.getRtbApp)().directive("boardUi",p),function(){(0,g.setItemDefs)(hn),(0,In.register)(yn);var t=(0,In.create)(!0),e=(0,In.create)(!1);if((0,A.compareVersionNumbers)(S.default.appVersion,"3.0.9")<0){var n=new Cn,o=new Cn;n.registerMenu(t),o.registerMenu(e)}(0,m.default)().init(t),(0,f.default)().init(e,new On.default)}(),S.default.board.allowRightSidebar&&(0,En.default)()),$i.dispatch((0,qn.boardUiInit)());var Ji=[],qi={tutorialModule:Ln.default,notesModule:wn.default,screenVideoChatModule:Pn.default,stickersRecognitionModule:Dn.default,pluginsTriggerModule:Kn.default,onRouteMount:function(t){var e=this;(0,c.doOnceOnCurrentCanvasLoaded)((function(){return(0,o.__awaiter)(e,void 0,void 0,(function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return to.bowser.mobileApp?[4,Tn.init("webview")]:[3,2];case 1:e.sent(),e.label=2;case 2:return(0,Nn.default)().startInstalledOnAccountPlugins(Wn.UICurrentBoard.getInfo().account),Ji=(0,Bn.default)(t,{rightSidebar:!0,boardUI:to.bowser.mobileApp}),Mn.default.hide(),(0,Hn.runTasksForOpenedBoard)((function(t,e){var n=Rn.createTasks(t);n.setCompleteListener(e),n.runNextTask()})),Zn.sendMetricIfUserIsGuest(),(0,$n.hasInitUrlCommand)(Jn.InitUrlCommandParameter.MOBILE_AUTO_TEST,$i.getState().urlData.urlCommand)&&(0,jn.default)().then((function(t){t.onRouteMount()})),$i.dispatch((0,qn.boardUiMount)()),[2]}}))}))}))},onRouteUnmount:function(){(0,xn.default)(Ji),(0,$n.hasInitUrlCommand)(Jn.InitUrlCommandParameter.MOBILE_AUTO_TEST,$i.getState().urlData.urlCommand)&&(0,jn.default)().then((function(t){t.onRouteUnmount()})),$i.dispatch((0,qn.boardUiUnmount)())},__showKanbanColorPicker:function(){0},openMarketplace:function(){0},createBoardFromBoard:function(){},modals:new bn.default,selectionActions:{saveAsTemplate:Un.saveAsTemplate},insertTemplateToCurrentBoard:function(){return Promise.resolve()},drawingToolbar:new eo.default};const tr=qi},228492:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});var o=n(721715),i=n(622917);function r(t){var e=(0,i.getDeviceOffsets)(),n=function(t){var e;if(!(null===t||void 0===t?void 0:t.boardTopToolsHeight))return 104;var n=(null===(e=null===t||void 0===t?void 0:t.safeZones)||void 0===e?void 0:e.top)||0,o=(null===t||void 0===t?void 0:t.statusBarHeight)||0;return n+(null===t||void 0===t?void 0:t.boardTopToolsHeight)+o}(e),r=function(t){var e,n;if(!(null===t||void 0===t?void 0:t.boardSideToolsWidth))return 64;var o=(null===(e=null===t||void 0===t?void 0:t.safeZones)||void 0===e?void 0:e.right)||0,i=(null===(n=null===t||void 0===t?void 0:t.safeZones)||void 0===n?void 0:n.left)||0;return Math.max(o,i)+t.boardSideToolsWidth}(e),s=t.geometry.bounds.clone(),a={bottom:n,top:n,left:r,right:r};return s.height=2*(s.height+32),o.default.setViewport(s).calculateScreenOffset({customScreenOffset:a}).jumpWithAnimationPromise("move_viewport_to")}},457665:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});var o=n(390358),i=n.n(o),r=n(237216),s=n(478623),a=n(376947);const l=function(){function t(t,e,n){(0,a.default)().then((function(){t.visibility=!1;var o=e('')(t);n.append(o),t.safeApply(),t.visibility=!0,t.safeApply()}))}return t.$inject=["$scope","$compile","$element"],t}();function d(){n(59175),(0,r.getRtbApp)().directive("notesWrapper",u)}function u(){return(0,s.default)({restrict:"E",template:i(),controller:l,controllerAs:"ctrl"})}},650441:(t,e,n)=>{"use strict";n.d(e,{StickersRecognition:()=>h,StickersRecognitionPlugin:()=>A,getToolbarIcon:()=>v,trySelectImage:()=>S});var o=n(739581),i=n(837144),r=n(885689),s=n(494510),a=n.n(s),l=n(771006),d=n(852766),u=n(122747);const c=function(){function t(t,e){var n=this;this.$scope=t,this.$timeout=e,this.visible=!1,l.dataChanged.add(this.init,this),l.destroyed.add(this.hide,this),t.$on("$destroy",(function(){l.dataChanged.remove(n.init,n),l.destroyed.remove(n.hide,n),n.destroy()}))}return t.prototype.destroy=function(){this.data=void 0,this.visible=!1},t.prototype.init=function(t){var e=this;(0,d.default)().leftSidebar.deactivate(),(0,d.default)().rightSidebar.deactivate(),this.visible=!0,this.$scope.safeApply(),this.$timeout((function(){setTimeout((function(){(0,u.default)().then((function(){e.visible&&(e.data=t,e.$scope.safeApply())}))}),100)}))},t.prototype.hide=function(){this.destroy(),this.$scope.safeApply()},t.$inject=["$scope","$timeout"],t}();var p=n(237216);function h(){(0,p.getRtbApp)().directive("stickersRecognition",f)}function f(){return{replace:!0,restrict:"E",scope:{},template:a(),controller:c,controllerAs:"ctrl"}}var g=n(123798),m=n(766057),_=n(163204),y=n(903565),I=n(459449),C=n(569414),O=n(720116),E=n(400893);function v(){return C}function T(){return O}function S(t){var e=g.bowser.android?"camera":"";(0,i.default)("image/jpeg,image/png",e,r.DEVICE_PERMISSIONS_FOR_IMAGES).then((function(e){e&&t(e)}))}var A=function(){function t(t){var e=this;this.legacyExtensionPoints={toolBar:{title:_.boardTr.t("board.common.stickiesCapture"),getToolbarIcon:v,getCatalogIcon:T,onClick:function(t){m.ImageAutoOrientationChecker.checkAvailability(),S((function(t){(0,l.setData)({fileOrUrl:t})}))},isActive:function(){return!1}}},this.onStart=function(){e.addButton()},this.api=t}return t.prototype.activate=function(){this.api.legacyLayer.register(t.pluginId,this.legacyExtensionPoints,{onStart:this.onStart})},t.prototype.addButton=function(){var e=this.legacyExtensionPoints.toolBar;void 0!==e&&this.api.ui.add(I.InteractiveDisplayUIExtensionPointNames.BOTTOM_TOOLBAR,{buttons:(0,y.transformToolBarPlugin)(e,t.pluginId,(0,E.default)())})},t.pluginId=o.InHousePluginIds.STICKERS_RECOGNITION,t.type=y.PluginType.SYSTEM,t}()},766057:(t,e,n)=>{"use strict";n.d(e,{ImageAutoOrientationChecker:()=>o});var o=function(){function t(){}return t.checkAvailability=function(){return t.checkPromise||(t.checkPromise=this.createCheckPromise()),t.checkPromise},t.createCheckPromise=function(){return new Promise((function(t){var e=document.createElement("img");e.onload=function(){var n=2===e.width&&3===e.height;t(n)},e.onerror=function(){t(!1)},e.src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEASABIAAD/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAYAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAAAAABIAAAAAQAAAEgAAAAB/9sAQwABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB/9sAQwEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB/8AAEQgAAgADAwERAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A/v4oAP/Z"}))},t.checkPromise=null,t}()},655006:(t,e,n)=>{"use strict";t.exports=n.p+"static/src/general/shared-modules/board/img/demo.b75cf4.jpg"},720116:t=>{"use strict";t.exports='\n \n \n \n \n\n'},569414:t=>{"use strict";t.exports='\n \n \n \n\n'}}]); //# sourceMappingURL=https://miro.com/app/static/cmn~BoardUI.webview.95e009da1848b2bf.js.map