1(self["webpackChunkmy_ine_com"]=self["webpackChunkmy_ine_com"]||[]).push([[6639],{1908:function(t,e,n){"use strict";n.d(e,{A:function(){return co}});var o=n(95976),i=n(10160),r=n(29746);const s=["id"],a={class:"topic__aside"},l={class:"topic__card"},c={class:"topic__title"},u={class:"topic__input-wrapper"},d=["disabled"],p={key:"view",class:"topic__title-wrapper"},h={class:"topic__title"},f={key:"topicContent",class:"topic__notes-wrapper"},g={key:"topicDetail",class:"topic__detail"},v={class:"topic__data"},m={key:0,class:"topic__edit-container"};function y(t,e,n,y,b,_){const S=(0,o.g2)("XIcon"),T=(0,o.g2)("Errors"),E=(0,o.g2)("Edit2Icon"),A=(0,o.g2)("Notes"),w=(0,o.g2)("TopicProgress"),C=(0,o.g2)("TrashIcon"),k=(0,o.g2)("DotsIcon"),x=(0,o.g2)("Levels"),L=(0,o.gN)("focus"),I=(0,o.gN)("click-outside");return _.showTopic?(0,o.bo)(((0,o.uX)(),(0,o.CE)("div",{key:0,class:(0,i.C4)(["group__topic",_.isPlaylist&&["group__topic--modal","glass"]]),onMousedown:e[14]||(e[14]=t=>b.editTopicName&&_.closeEditInput())},[(0,o.Lk)("div",{id:n.topic.id,class:(0,i.C4)(["topic",_.isPlaylist&&["glass","topic--modal"],!_.hasContent&&"topic--no-content"])},[(0,o.Lk)("aside",a,[(0,o.Lk)("div",l,[(0,o.bF)(r.F,{name:"expand"},{default:(0,o.k6)(()=>[((0,o.uX)(),(0,o.CE)("div",{key:_.topicKey,class:"topic__details"},[(0,o.Lk)("div",c,[(0,o.bF)(r.eB,{name:"title-swap",mode:"out-in"},{default:(0,o.k6)(()=>[b.editTopicName?((0,o.uX)(),(0,o.CE)("div",{key:"edit",class:"topic__title-wrapper topic__title-wrapper--form",onKeydown:e[7]||(e[7]=(0,r.jR)((0,r.D$)((...t)=>_.closeEditInput&&_.closeEditInput(...t),["stop","prevent"]),["esc"]))},[(0,o.Lk)("div",u,[(0,o.bo)((0,o.Lk)("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>b.topicName=t),ref:"topicNameInput",placeholder:"Edit section name...",class:(0,i.C4)(["auth-form__form-control","ine-input",_.showTopicNameError&&"ine-input--error"]),onMousedown:e[1]||(e[1]=(0,r.D$)(()=>{},["stop"])),onClick:e[2]||(e[2]=(0,r.D$)(()=>{},["stop"])),onKeyup:e[3]||(e[3]=(0,r.jR)(t=>_.updateTopicName(b.topicName),["enter"]))},null,34),[[r.Jo,b.topicName],[L,b.editTopicName]]),_.editInputHasContent?((0,o.uX)(),(0,o.Wv)(S,{key:0,class:"topic__input-clear",size:"16",onMousedown:e[4]||(e[4]=(0,r.D$)(()=>{},["stop"])),onClick:_.clearEditInput},null,8,["onClick"])):(0,o.Q3)("",!0)]),_.showTopicNameError?((0,o.uX)(),(0,o.Wv)(T,{key:0,errors:"Topic name must be at least 3 characters long."})):(0,o.Q3)("",!0),(0,o.Lk)("button",{class:"btn btn--primary",disabled:_.topicNameError||b.topicName===n.topic.name||!b.topicName,onMousedown:e[5]||(e[5]=(0,r.D$)(()=>{},["stop"])),onClick:e[6]||(e[6]=(0,r.D$)(t=>_.updateTopicName(b.topicName),["stop"]))}," Apply ",40,d)],32)):((0,o.uX)(),(0,o.CE)("div",p,[n.isEditable?((0,o.uX)(),(0,o.Wv)(E,{key:0,size:"16",class:"topic__title-edit-icon",onClick:e[8]||(e[8]=t=>b.editTopicName=!0)})):(0,o.Q3)("",!0),(0,o.Lk)("div",h,(0,i.v_)(n.topic.name),1)]))]),_:1})]),n.isUser&&b.expand?((0,o.uX)(),(0,o.CE)("div",f,[(0,o.bF)(A,{content:n.topic.content},null,8,["content"])])):(0,o.Q3)("",!0)])),b.expand&&_.hasContent?((0,o.uX)(),(0,o.CE)("p",g,[e[15]||(e[15]=(0,o.Lk)("span",{class:"topic__lead"},"Activities:",-1)),(0,o.Lk)("span",v,(0,i.v_)(n.topic.content.length),1)])):(0,o.Q3)("",!0),n.isUser&&n.topicProgress&&b.expand&&_.hasContent?((0,o.uX)(),(0,o.Wv)(w,{key:"topicProgress",topicProgressCompleted:n.topicProgress.completed,topicContentLength:n.topic.content.length},null,8,["topicProgressCompleted","topicContentLength"])):(0,o.Q3)("",!0)]),_:1})]),_.hasContent?((0,o.uX)(),(0,o.CE)("div",{key:0,class:(0,i.C4)(["topic__toggle",_.isPlaylist&&"topic__toggle--modal"]),onClick:e[9]||(e[9]=(...t)=>_.handleToggleClick&&_.handleToggleClick(...t))},(0,i.v_)(_.toggleText),3)):(0,o.Q3)("",!0)])],10,s),(0,o.bF)(r.eB,{name:"component-fade",mode:"out-in"},{default:(0,o.k6)(()=>[b.expand?((0,o.uX)(),(0,o.CE)("div",{key:0,class:(0,i.C4)(["topic__level-wrapper",_.isPlaylist&&["topic__level-wrapper--modal","glass"]])},[n.isEditable&&n.displayTopicPanel?((0,o.uX)(),(0,o.CE)("div",m,[(0,o.Lk)("button",{class:"btn btn--tertiary btn--default-icon-color topic__edit-btn",onMousedown:e[10]||(e[10]=(0,r.D$)(()=>{},["stop"])),onClick:e[11]||(e[11]=(0,r.D$)(e=>t.$emit("delete-topic",n.topicIndex),["stop"]))},[(0,o.bF)(C,{class:"topic__edit-icon"})],32),(0,o.Lk)("div",{class:"topic__edit-btn topic__edit-btn--move topic__edit-handle",role:"button",tabindex:"0","aria-label":"Reorder topic",onClick:e[12]||(e[12]=(0,r.D$)(()=>{},["stop"])),onMousedown:e[13]||(e[13]=(0,r.D$)(()=>{},["stop"]))},[(0,o.bF)(k,{class:"topic__edit-icon topic__edit-handle-icon"})],32)])):(0,o.Q3)("",!0),(0,o.bF)(x,{key:"Levels",leaves:n.topic.content,progress:n.progress,contentFor:n.type,parentId:n.parentId,hideAction:n.hideAction,isEditable:n.isEditable,isReadOnly:n.isReadOnly,topicIndex:n.topicIndex,onLevelsChanged:_.handleLevelsChanged},null,8,["leaves","progress","contentFor","parentId","hideAction","isEditable","isReadOnly","topicIndex","onLevelsChanged"])],2)):n.isUser&&n.topicProgress?((0,o.uX)(),(0,o.Wv)(w,{key:"progress",class:(0,i.C4)(["topic-progress__centered",_.isPlaylist&&"topic-progress__centered--modal"]),topicProgressCompleted:n.topicProgress.completed,topicContentLength:n.topic.content.length},null,8,["class","topicProgressCompleted","topicContentLength"])):(0,o.Q3)("",!0)]),_:1})],34)),[[I,_.onClickOutsideEdit]]):(0,o.Q3)("",!0)}const b={key:0,class:"notes"},_={class:"notes__trigger-wrapper"},S={class:"notes__trigger--text"},T={class:"notes__note-wrapper"},E={class:"notes__note--video"},A=["onMouseover"],w=["onClick"],C={class:"notes__note-btn--time"},k={class:"notes__note-btn--text"};function x(t,e,n,r,s,a){const l=(0,o.g2)("NoteIndicator");return t.isAuthenticated&&a.topicBookmarks.length?((0,o.uX)(),(0,o.CE)("div",b,[(0,o.Lk)("div",_,[(0,o.Lk)("div",{class:"notes__trigger",onClick:e[0]||(e[0]=t=>s.isBookmarksShown=!s.isBookmarksShown)},[(0,o.Lk)("div",S," Bookmarks: "+(0,i.v_)(t.bookmarks.length),1)])]),(0,o.Lk)("div",T,[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(s.videosWithBookmarks,n=>((0,o.uX)(),(0,o.CE)("div",{key:n.id,class:"notes__notes"},[(0,o.Lk)("div",E,(0,i.v_)(n.name),1),((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(n.bookmarks,n=>((0,o.uX)(),(0,o.CE)("div",{key:n.id,class:"notes__note",onMouseover:t=>a.updateCurrentHover(n.video),onMouseleave:e[1]||(e[1]=t=>a.updateCurrentHover(""))},[(0,o.bF)(l,{class:"notes__note--icon"}),(0,o.Lk)("div",{class:"notes__note-btn",onClick:t=>a.loadBookmark(n)},[(0,o.Lk)("span",C,(0,i.v_)(t.$duration.mmss(n.time)),1),(0,o.Lk)("span",k," - "+(0,i.v_)(n.notes),1)],8,w)],40,A))),128))]))),128))])])):(0,o.Q3)("",!0)}var L=n(51449),I=n(54819),N={name:"Notes",components:{NoteIndicator:{...I.A,name:"NoteIndicator"}},props:{content:{type:Array,required:!0}},data(){return{isBookmarksShown:!1,videosWithBookmarks:[]}},computed:{...(0,L.aH)({isAuthenticated:t=>t.auth.isAuthenticated,currentVideos:t=>t.content.currentVideos,currentHoveredNote:t=>t.content.currentHoveredNote,currentCourseId:t=>t.courses.currentCourse.id}),...(0,L.L8)({bookmarks:"content/courseBookmarks"}),listOfContentVideos(){return this.content.map(t=>t.uuid)},videosByUUID(){return this.currentVideos.reduce((t,e)=>(t[e.id]=e,t),{})},topicBookmarks(){const t=[],{bookmarks:e,content:n}=this;return e.map(e=>{n.map(n=>
1{e.video===n.uuid&&t.push(e)})}),t}},watch:{bookmarks(){this.setVideosWithBookmarks()}},mounted(){this.setVideosWithBookmarks()},methods:{loadBookmark(t){t.video===this.playingVideoId?this.$store.dispatch("content/setPlayingVideoTime",t.time):(this.$store.dispatch("content/setPlayingVideoTime",t.time),this.$store.dispatch("content/setPlayingVideoId",t.video))},updateCurrentHover(t){this.$store.dispatch("content/setCurrentHoveredNote",t)},setVideosWithBookmarks(){var t;this.videosWithBookmarks=this.listOfContentVideos.reduce((t,e)=>{const n=this.topicBookmarks.filter(t=>t.video===e&&t.metadata.course_id===this.currentCourseId).sort((t,e)=>t.time-e.time);return null!==n&&void 0!==n&&n.length&&t.push({...this.videosByUUID[e],bookmarks:n}),t},[]),null!==(t=this.videosWithBookmarks)&&void 0!==t&&t.length&&this.$store.dispatch("content/saveVideosWithBookmarks",this.videosWithBookmarks)}}},O=n(1169);const P=(0,O.A)(N,[["render",x],["__scopeId","data-v-5b9749f8"]]);var D=P;const R={key:0,class:"level__edit-container"},q=["onClick"],B={key:0,class:"level__edit-container"},F=["onClick"],M={key:0,class:"level__dropzone-placeholder"};function U(t,e,n,i,s,a){const l=(0,o.g2)("TrashIcon"),c=(0,o.g2)("DotsIcon"),u=(0,o.g2)("Level"),d=(0,o.g2)("draggable");return(0,o.uX)(),(0,o.Wv)(d,{modelValue:s.preparedLevels,"onUpdate:modelValue":e[1]||(e[1]=t=>s.preparedLevels=t),group:{name:"shared-levels",pull:!0,put:a.canPutLevel},handle:".level__edit-btn--move",tag:"article",class:"group__level-wrapper group__level-wrapper--draggable",disabled:!n.isEditable,animation:200,"chosen-class":"level__chosen","item-key":"uuid",onChange:a.updateContentHandler},{item:(0,o.k6)(({element:i})=>[(0,o.bF)(u,(0,o.v6)({level:i,progress:n.progress,contentFor:n.contentFor||"",parentId:n.parentId,hideAction:n.hideAction,isEditable:n.isEditable,isReadOnly:n.isReadOnly,playlistsHasAccess:t.playlistHasAccess(i)},{onDeleteContent:a.deleteContentHandler}),{"delete-row":(0,o.k6)(({onDelete:t})=>[n.isEditable?((0,o.uX)(),(0,o.CE)("div",R,[(0,o.Lk)("button",{class:"btn btn--tertiary btn--default-icon-color level__edit-btn",onMousedown:e[0]||(e[0]=(0,r.D$)(()=>{},["stop"])),onClick:(0,r.D$)(t,["stop"])},[(0,o.bF)(l,{class:"level__edit-icon"})],40,q)])):(0,o.Q3)("",!0)]),"relocate-row":(0,o.k6)(({onRelocate:t})=>[n.isEditable?((0,o.uX)(),(0,o.CE)("div",B,[(0,o.Lk)("div",{class:"level__edit-btn--move level__relocate-btn",role:"button",tabindex:"0","aria-label":"Reorder level",onClick:(0,r.D$)(e=>t&&t(),["stop"])},[(0,o.bF)(c,{class:"level__relocate-icon"})],8,F)])):(0,o.Q3)("",!0)]),_:2},1040,["onDeleteContent"])]),footer:(0,o.k6)(()=>[0===s.preparedLevels.length?((0,o.uX)(),(0,o.CE)("div",M)):(0,o.Q3)("",!0)]),_:1},8,["modelValue","group","disabled","onChange"])}var $=n(36692),V=n.n($),H=n(30596),X=n(13767),j=n.n(X),z=n(99340);function Y(t,e,n,r,s,a){return a.content?((0,o.uX)(),(0,o.CE)("div",{key:0,class:(0,i.C4)(["level",[a.content.type,a.content.status]])},[((0,o.uX)(),(0,o.Wv)((0,o.$y)(a.componentType),(0,o.v6)(a.dynamicProps,{onToggleContent:a.updateContext,onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content",n.level.uuid)),onDelete:()=>t.$emit("delete-content",n.level.uuid),disabled:n.playlistsHasAccess}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onToggleContent","onDelete","disabled"]))],2)):(0,o.Q3)("",!0)}var W=n(58482);const Q={class:"video-level"},G={key:0,class:"video-level__content"},K={class:"video-level__content__video"},Z={key:0,class:"video-level__content__video__footer"},J={class:"video-level__req-lang-container"},tt={class:"video-level__req-lang-container__buttons-wrapper"},et=["disabled"];function nt(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow"),c=(0,o.g2)("ContentVideo"),u=(0,o.g2)("Dropdown"),d=(0,o.g2)("SlotedModal");return(0,o.uX)(),(0,o.CE)("div",Q,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess||a.isVideoFree(),contentType:a.contentType,contentId:n.video.id,status:n.videoStatus,statusText:a.statusText,parentStatus:n.parentStatus,title:n.title,plansLink:n.plansLink,isWatching:a.isWatching,details:a.videoDetails,progress:a.progress,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView,sourceContent:n.video},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.toggleVideo,onClick:a.toggleVideo}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)),void 0,!0)]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)),void 0,!0)]),_:3},16,["onDelete","onToggle","onClick"]),a.isWatching?((0,o.uX)(),(0,o.CE)("div",G,[(0,o.Lk)("div",K,[(0,o.bF)(c,{video:n.video,isWatching:a.isWatching,quizId:n.quiz&&n.quiz.id?n.quiz.id:"",hasPassedQuiz:a.isQuizFinished(n.quizStatus),nextVideo:n.nextVideo,videoStatus:n.videoStatus,onIsLoadingVideo:a.setLoa
1der,onToggleVideo:e[1]||(e[1]=e=>t.$emit("toggle-video")),onToggleWatched:e[2]||(e[2]=e=>t.$emit("toggle-watched"))},null,8,["video","isWatching","quizId","hasPassedQuiz","nextVideo","videoStatus","onIsLoadingVideo"]),s.access?((0,o.uX)(),(0,o.CE)("p",Z,[e[6]||(e[6]=(0,o.eW)(" Not seeing the closed captioning language youâre looking for? ",-1)),(0,o.Lk)("span",{class:"video-level__content__video__footer__btn",onClick:e[3]||(e[3]=(...t)=>a.toggleReqLang&&a.toggleReqLang(...t))}," Request new language ")])):(0,o.Q3)("",!0)])])):(0,o.Q3)("",!0),s.showReqLang?((0,o.uX)(),(0,o.Wv)(d,{key:1,onCloseModal:a.toggleReqLang},{default:(0,o.k6)(()=>[(0,o.Lk)("div",J,[1===s.langReqStep?((0,o.uX)(),(0,o.CE)(o.FK,{key:0},[e[7]||(e[7]=(0,o.Lk)("h2",{class:"video-level__req-lang-container__title alert__title"}," Request new closed captioning language ",-1)),e[8]||(e[8]=(0,o.Lk)("p",{class:"video-level__req-lang-container__text alert__subtitle"}," Missing a closed captioning language? We've got you covered! Request a new language, and we'll add it to our system. ",-1)),(0,o.bF)(u,{class:"video-level__req-lang-container__dropdown",options:s.languageOptions,handleSelection:a.dropdownHandler},null,8,["options","handleSelection"])],64)):(0,o.Q3)("",!0),2===s.langReqStep?((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[e[9]||(e[9]=(0,o.Lk)("h2",{class:"video-level__req-lang-container__title alert__title"}," Request processing ",-1)),e[10]||(e[10]=(0,o.Lk)("p",{class:"video-level__req-lang-container__text alert__subtitle"}," After a few minutes, refresh the page and you'll find the requested language available. We appreciate your input as we strive to make our content accessible to all. ",-1))],64)):(0,o.Q3)("",!0),(0,o.Lk)("div",tt,[1===s.langReqStep?((0,o.uX)(),(0,o.CE)("button",{key:0,class:"btn",disabled:!s.selectedLanguage,onClick:e[4]||(e[4]=(...t)=>a.sendLanguageRequest&&a.sendLanguageRequest(...t))}," Request new language ",8,et)):(0,o.Q3)("",!0),(0,o.Lk)("button",{class:(0,i.C4)(["btn",1===s.langReqStep&&"btn--secondary"]),onClick:e[5]||(e[5]=(...t)=>a.toggleReqLang&&a.toggleReqLang(...t))}," Close ",2)])])]),_:1},8,["onCloseModal"])):(0,o.Q3)("",!0)])}const ot={class:"level-row__icon-wrapper"},it={key:0},rt={key:1},st={class:"level__details-wrapper"},at={class:"level-row__title-wrapper"},lt={class:"level-row__progress-wrapper"},ct={class:"level-row__actions"},ut={key:0,class:"level-row__note"},dt={key:0,class:"level-row__note--number"},pt={key:2,class:"level__edit-container"},ht=["disabled"],ft={key:5,class:"level__edit-container"};function gt(t,e,n,r,s,a){const l=(0,o.g2)("GreenTickIcon"),c=(0,o.g2)("GrayTickIcon"),u=(0,o.g2)("QuizIcon"),d=(0,o.g2)("IFrameIcon"),p=(0,o.g2)("LabIcon"),h=(0,o.g2)("ExerciseIcon"),f=(0,o.g2)("VideoIcon"),g=(0,o.g2)("CourseIcon"),v=(0,o.g2)("LinkIcon"),m=(0,o.g2)("LearningPathIcon"),y=(0,o.g2)("Action"),b=(0,o.g2)("LevelTitle"),_=(0,o.g2)("NoteIndicator"),S=(0,o.g2)("PlaylistActionsButton"),T=(0,o.g2)("LevelControl"),E=(0,o.g2)("LockIcon"),A=(0,o.gN)("tooltip"),w=(0,o.gN)("follow-tooltip");return(0,o.bo)(((0,o.uX)(),(0,o.CE)("div",{class:(0,i.C4)(["level-row level__wrapper",[{"level__wrapper--opened":!n.disabled&&n.isWatching},{"level__wrapper--enabled":n.hasAccess},{"level-row--disabled":n.disabled},{"level-row--pl-disabled":a.isPlaylistSharedView&&!n.playlistsHasAccess&&!t.isContentAccessRestricted}]]),onMousedown:e[1]||(e[1]=(...t)=>a.onMouseDown&&a.onMouseDown(...t)),onMouseup:e[2]||(e[2]=(...t)=>a.onMouseUp&&a.onMouseUp(...t))},[(0,o.Lk)("div",ot,[(0,o.RG)(t.$slots,"icon",{},()=>[a.contentFinished?((0,o.uX)(),(0,o.CE)("span",it,[(0,o.bF)(l)])):((0,o.uX)(),(0,o.CE)("span",rt,[(0,o.bF)(c)]))],!0)]),(0,o.Lk)("div",st,[(0,o.Lk)("div",at,[(0,o.bo)(((0,o.uX)(),(0,o.Wv)(y,{ofType:"trigger",content:"",class:(0,i.C4)(["level-row__action",`level-row__action--${n.contentType}`]),disabled:a.actionDisabled,isLoading:s.isLoading},{icon:(0,o.k6)(()=>["quiz"===n.contentType?((0,o.uX)(),(0,o.Wv)(u,{key:0,class:"level-row__action-icon"})):(0,o.Q3)("",!0),"slides"===n.contentType?((0,o.uX)(),(0,o.Wv)(d,{key:1,class:"level-row__action-icon level-row__action-icon__iframe"})):(0,o.Q3)("",!0),"lab"===n.contentType?((0,o.uX)(),(0,o.Wv)(p,{key:2,class:"level-row__action-icon"})):(0,o.Q3)("",!0),"exercise"===n.contentType?((0,o.uX)(),(0,o.Wv)(h,{key:3,class:"level-row__action-icon"})):(0,o.Q3)("",!0),"video"===n.contentType?((0,o.uX)(),(0,o.Wv)(f,{key:4,class:"level-row__action-icon"})):(0,o.Q3)("",!0),"course"===n.contentType?((0,o.uX)(),(0,o.Wv)(g,{key:5,class:"level-row__action-icon level-row__action-icon__course"})):(0,o.Q3)("",!0),"link"===n.contentType?((0,o.uX)(),(0,o.Wv)(v,{key:6,class:"level-row__action-icon level-row__action-icon__link"})):(0,o.Q3)("",!0),"learning-path"===n.contentType?((0,o.uX)(),(0,o.Wv)(m,{key:7,class:"level-row__action-icon level-row__action-icon__learning-path"})):(0,o.Q3)("",!0),(0,o.Lk)("div",lt,[(0,o.Lk)("div",{class:"level-row__progress-bar",style:(0,i.Tr)(`width: ${n.progress}%`)},null,4)])]),_:1},8,["class","disabled","isLoading"])),[[A,{content:a.iconTooltipText,placement:"bottom-center"}]]),(0,o.bF)(b,(0,i._B)((0,o.Ng)({title:n.title,details:n.details,labType:n.labType,textClass:n.textClass,hasAccess:n.hasAccess,learningArea:n.learningArea,playlistsHasAccess:n.playlistsHasAccess})),null,16)]),(0,o.Lk)("div",ct,["video"!==n.contentType&&"lesson"!==n.contentType||!a.bookmarks.length?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",ut,[(0,o.bF)(_,{class:"level-row__note--icon"}),a.bookmarks.length>1?((0,o.uX)(),(0,o.CE)("span",dt,(0,i.v_)(a.bookmarks.length),1)):(0,o.Q3)("",!0)])),a.canAddContentToPlaylist?((0,o.uX)(),(0,o.Wv)(S,{key:1,class:"level__add-btn","show-tooltip":"",content:a.playlistContent,"button-classes":["btn--tertiary btn--small-square"],buttonDynamicStyles:{"--btn-width":"48px","--btn-height":"48px"}},null,8,["content"])):(0,o.Q3)("",!0),a.hasManageSlots?((0,o.uX)(),(0,o.CE)("div",pt,[(0,o.RG)(t.$slots,"delete-row",{onDelete:()=>t.$emit("delete-content")},void 0,!0)])):(0,o.Q3)("",!0),n.isReadOnly?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)(o.FK,{key:3},[n.hideAction||a.showRequestAccessButton?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.Wv)(T,(0,i._B)((0,o.v6)({key:0},{isLoading:s.isLoading,hasAccess:a.isPlaylistView?n.playlistsHasAccess:n.hasAccess,isContentActive:n.isWatching,statusText:n.statusText,status:n.status,plansLink:n.plansLink,parentStatus:n.parentStatus,contentType:n.contentType,contentId:n.contentId,title:n.title,sourceContent:n.sourceContent})),null,16))],64)),a.showRequestAccessButton?(0,o.bo)(((0,o.uX)(),(0,o.CE)("button",{key:4,disabled:t.isRequestingRestrictedAccess,type:"button",class:"btn btn--secondary level-row__request-access-btn",onClick:e[0]||(e[0]=(...t)=>a.handleRequestAccess&&a.handleRequestAccess(...t))},[(0,o.bF)(E),e[3]||(e[3]=(0,o.eW)(" Request access ",-1))],8,ht)),[[w,a.requestAccessTooltipConfig]]):(0,o.Q3)("",!0),a.hasManageSlots?((0,o.uX)(),(0,o.CE)("div",ft,[(0,o.RG)(t.$slots,"relocate-row",{onRelocate:()=>t.$emit("relocated-content")},void 0,!0)])):(0,o.Q3)("",!0)])])],34)),[[w,a.rowTooltipConfig]])}var vt=n(88798),mt=n(53159),yt=n(99039);const bt={width:"20",height:"14",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tickIcon"};function _t(t,e){return(0,o.uX)(),(0,o.CE)("svg",bt,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M18 1.5l-11 11-5-5"},null,-1)]))}const St={},Tt=(0,O.A)(St,[["render",_t]]);var Et=Tt;const At={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wt(t,e){return(0,o.uX)(),(0,o.CE)("svg",At,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M14.25 14.25h9M14.25 19.215H18",stroke:"#AFB0BF","stroke-width":"2","stroke-linecap":"round"},null,-1),(0,o.Lk)("path",{stroke:"#AFB0BF","stroke-width":"2","stroke-linejoin":"round",d:"M1.5 1.5h8.25v8.25H1.5zM1.5 14.25h8.25v8.25H1.5z"},null,-1),(0,o.Lk)("path",{d:"M14.25 1.5h9M14.25 6.465H18",stroke:"#AFB0BF","stroke-width":"2","stroke-linecap":"round"},null,-1)]))}const Ct={},kt=(0,O.A)(Ct,[["render",wt]]);var xt=kt;const Lt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23.93 23.99"};function It(t,e){return(0,o.uX)(),(0,o.CE)("svg",Lt,e[0]||(e[0]=[(0,o.Lk)("g",{"data-name":"Layer 2"},[(0,o.Lk)("path",{d:"M21.68 10.74h-2.79V7.95a2.25 2.25 0 00-2.25-2.25h-3.39V2.25A2.25 2.25 0 0011 0H2.25A2.25 2.25 0 000 2.25V11a2.25 2.25 0 002.25 2.25h3.43v3.49a2.25 2.25 0 002.21 2.21h2.75v2.75a2.25 2.25 0 002.25 2.25h8.75a2.25 2.25 0 002.25-2.21v-8.79a2.25 2.25 0 00-2.21-2.21zm-16-2.79v3.3H2.25A.25.25 0 012 11V2.25A.25.25 0 012.25 2H11a.25.25 0 01.25.25v3.49H7.89a2.25 2.25 0 00-2.21 2.21zm5 5v4H7.89a.25.25 0 01-.25-.25V7.95a.25.25 0 01.25-.21h8.75a.25.25 0 01.25.21v2.75h-4a2.25 2.25 0 00-2.21 2.25zm11.21 8.79a.25.25 0 01-.25.25h-8.75a.25.25 0 01-.25-.25v-8.79a.25.25 0 01.25-.25h8.75a.25.25 0 01.25.25z",fill:"#afb0bf","data-name":"Layer 1"})],-1)]))}const Nt={},Ot=(0,O.A)(Nt,[["render",It]]);var Pt=Ot;const Dt={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Rt(t,e){return(0,o.uX)(),(0,o.CE)("svg",Dt,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M4 17l6-6-6-6M12 19h8",stroke:"#AFB0BF","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const qt={},Bt=(0,O.A)(qt,[["render",Rt]]);var Ft=Bt,Mt=n(64528);const Ut={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $t(t,e){return(0,o.uX)(),(0,o.CE)("svg",Ut,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M23 7l-7 5 7 5V7zM14 5H3a2 2 0 00-2 2v10a2 2 0 002 2h11a2 2 0 002-2V7a2 2 0 00-2-2z",stroke:"#AFB0BF","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Vt={},Ht=(0,O.A)(Vt,[["render",$t]]);var Xt=Ht;const jt={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function zt(t,e){return(0,o.uX)(),(0,o.CE)("svg",jt,e[0]||(e[0]=[(0,o.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M25 14.995a2 2 0 00-2-2h-7a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2v-7zm-9 0h7v7h-7v-7zM23.971 11.005h-9a1 1 0 01-.786-1.618l4.282-5.454V1.972a1 1 0 01.257-1.967H20.217a1 1 0 01.258 1.966v1.962l4.283 5.454a1 1 0 01-.787 1.618zm-4.5-5.112l-2.443 3.112h4.887L19.47 5.893zM.474 10.855a1 1 0 01-.474-.85v-9A1 1 0 011.447.11l9 4.5a1 1 0 010 1.79l-9 4.5a1 1 0 01-.973-.045zm7.29-5.35L2 2.623v5.764l5.764-2.882z",fill:"#AFB0BF"},null,-1),(0,o.Lk)("path",{d:"M0 14.476c0-.53.43-.961.961-.961h.078a.961.961 0 110 1.922H.96a.961.961 0 01-.961-.96zM0 18.495c0-.53.43-.961.961-.961h.078a.961.961 0 010 1.922H.96a.961.961 0 01-.961-.96zM0 22.515c0-.531.43-.962.961-.962h.078a.961.961 0 110 1.923H.96A.961.961 0 010 22.515z",fill:"#AFB0BF"},null,-1),(0,o.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3 14.524a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 18.44a1 1 0 011-1h3a1 1 0 110 2H4a1 1 0 01-1-1zM3 22.514a1 1 0 011-1h3a1 1 0 110 2H4a1 1 0 01-1-1z",fill:"#AFB0BF"},null,-1)]))}const Yt={},Wt=(0,O.A)(Yt,[["render",zt]]);var Qt=Wt;const Gt={width:"22",height:"24",viewBox:"0 0 22 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Kt(t,e){return(0,o.uX)(),(0,o.CE)("svg",Gt,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M4.607 8A3.99 3.99 0 011.93 6.968 4.003 4.003 0 013.802.082 3.998 3.998 0 018.418 2.8h7.708a4.056 4.056 0 013.218 1.607 4.07 4.07 0 01-1.712 6.225L5.251 15.6a1.663 1.663 0 00.615 3.2h7.713a3.997 3.997 0 012.552-2.596 3.989 3.989 0 013.595.552 4.002 4.002 0 010 6.488 3.989 3.989 0 01-3.595.552 3.997 3.997 0 01-2.552-2.596H5.87a4.056 4.056 0 01-3.218
1-1.607 4.07 4.07 0 011.712-6.225l12.382-4.96a1.663 1.663 0 00.688-2.538 1.661 1.661 0 00-1.303-.662H8.418A3.998 3.998 0 014.608 8zm14.379 12a1.6 1.6 0 00-1.598-1.6 1.597 1.597 0 00-1.597 1.6 1.601 1.601 0 001.597 1.6 1.597 1.597 0 001.598-1.6zM3.01 4a1.601 1.601 0 001.597 1.6A1.597 1.597 0 006.205 4a1.601 1.601 0 00-1.598-1.6A1.596 1.596 0 003.01 4z",fill:"#AFB0BF"},null,-1)]))}const Zt={},Jt=(0,O.A)(Zt,[["render",Kt]]);var te=Jt,ee=n(90860);const ne={class:"level__title-wrapper"},oe={class:"level__title"},ie={class:"level__title-text-wrapper"},re={key:0,class:"level__title__label"},se=["innerHTML"];function ae(t,e,n,r,s,a){const l=(0,o.g2)("LockIcon");return(0,o.uX)(),(0,o.CE)("div",ne,[(0,o.Lk)("div",oe,[(0,o.Lk)("div",ie,[(0,o.Lk)("span",null,(0,i.v_)(n.title),1),a.isPlaylistView&&!n.playlistsHasAccess?((0,o.uX)(),(0,o.Wv)(l,{key:0,class:"level__title-lock-icon"})):(0,o.Q3)("",!0)]),n.hasAccess?((0,o.uX)(),(0,o.CE)("label",re,[n.learningArea?((0,o.uX)(),(0,o.CE)("span",{key:0,class:"level__title__label-learningArea",style:(0,i.Tr)({"--area-color":a.getLearningAreaSnipeColor(n.learningArea)})},(0,i.v_)(n.learningArea),5)):(0,o.Q3)("",!0),((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(a.filteredDetails,(t,e)=>((0,o.uX)(),(0,o.CE)("span",{key:e,class:(0,i.C4)(["level__title__label-detail",n.textClass?`level__title__label-detail--${n.textClass}`:""]),innerHTML:t},null,10,se))),128))])):(0,o.Q3)("",!0)])])}var le=n(84113),ce={name:"LevelTitle",components:{LockIcon:le.A},props:{title:{type:String,required:!0},details:{type:Array,required:!1,default:()=>[]},learningArea:{type:String,required:!1},textClass:{type:String,required:!1},hasAccess:{type:Boolean,required:!0},playlistsHasAccess:{type:Boolean,required:!1,default:!1}},computed:{filteredDetails(){return(this.details||[]).filter(t=>"string"===typeof t?t.trim().length>0:Boolean(t))},isPlaylistView(){return this.$route.name===z.A.PLAYLIST_TYPES.BASE_SINGULAR||this.$route.name===z.A.PLAYLIST_TYPES.BASE_PLURAL}},methods:{getLearningAreaSnipeColor:W.O3}};const ue=(0,O.A)(ce,[["render",ae]]);var de=ue;const pe={key:0,class:"level__resume"},he={key:0,id:"stop",class:"btn btn--secondary level__btn-sub"},fe={key:1,id:"state-control",class:"btn btn--secondary level__btn-sub"},ge={key:1,class:"level__resume"},ve=["disabled"],me=["href"];function ye(t,e,n,r,s,a){const l=(0,o.g2)("ActionLoader"),c=(0,o.g2)("LockIcon"),u=(0,o.g2)("UpgradePlanModal"),d=(0,o.gN)("follow-tooltip");return n.hasAccess?((0,o.uX)(),(0,o.CE)("div",pe,[n.isLoading?((0,o.uX)(),(0,o.Wv)(l,{key:0,loaderClass:"level__loading-spinner",name:"ball-clip-rotate"})):((0,o.uX)(),(0,o.CE)(o.FK,{key:1},[n.isContentActive?((0,o.uX)(),(0,o.CE)("button",he," Close ")):((0,o.uX)(),(0,o.CE)("button",fe,(0,i.v_)(a.buttonText),1))],64))])):((0,o.uX)(),(0,o.CE)("div",ge,["coming soon"!==n.parentStatus?(0,o.bo)(((0,o.uX)(),(0,o.CE)("button",{key:0,disabled:t.isRequestingRestrictedAccess,id:"premium-upgrade",class:"btn btn--secondary level__btn-unsub",onClick:e[0]||(e[0]=(...t)=>a.handleGetAccess&&a.handleGetAccess(...t))},[(0,o.bF)(c),(0,o.eW)(" "+(0,i.v_)(a.getAccessButtonText),1)],8,ve)),[[d,a.requestAccessTooltipConfig]]):((0,o.uX)(),(0,o.CE)("a",{key:1,id:"ine-link",class:"btn btn--secondary level__btn-unsub",href:`//${n.plansLink}`},[(0,o.bF)(c),(0,o.eW)(" "+(0,i.v_)("coming soon"===n.parentStatus?"Coming soon":"Get access"),1)],8,me)),s.isPremiumUpgradeModalShown?((0,o.uX)(),(0,o.Wv)(u,{key:2,isPremiumOnlyModal:!0,subscriptionId:s.planToBeUpgraded.id,onToggleUpgradeModal:e[1]||(e[1]=t=>s.isPremiumUpgradeModalShown=!1)},null,8,["subscriptionId"])):(0,o.Q3)("",!0)]))}var be=n(26656),_e=n(52059),Se=n(3118),Te={name:"LevelControl",mixins:[Se.Mh],components:{UpgradePlanModal:be.A,LockIcon:{...mt.A,name:"LockIcon"},ActionLoader:_e.A},props:{isLoading:{type:Boolean,required:!0},isContentActive:{type:Boolean,required:!0},statusText:{type:String,required:!1},hasAccess:{type:Boolean,required:!0},status:{type:String,required:!1,default:z.A.CONTENT_USER_STATUS.UNSTARTED},plansLink:{type:String,required:!0},parentStatus:{type:String,required:!0},contentType:{type:String,required:!0},contentId:{type:String,required:!1,default:""},title:{type:String,required:!1,default:""},sourceContent:{type:Object,required:!1,default:()=>({})}},data(){return{planToBeUpgraded:{},isPremiumUpgradeModalShown:!1}},computed:{...(0,L.L8)({usersSubscriptions:"subscriptions/usersSubscriptions",isBusinessUser:"business/isBusinessUser",isContentAccessRestricted:"auth/isContentAccessRestricted"}),getAccessButtonText(){return this.isContentAccessRestricted?"Request access":"Get access"},requestAccessTooltipConfig(){return this.isContentAccessRestricted?{content:z.A.PLAYLIST_MESSAGES.NEED_RESTRICTED_ACCESS_TOOLTIP,placement:"top",hideOnTargetClick:!1,html:!0,textAlign:"center"}:null},buttonText(){return this.statusText?this.statusText:this.status===z.A.CONTENT_USER_STATUS.STARTED?`Resume ${this.contentType}`:this.status===z.A.CONTENT_USER_STATUS.FINISHED?`Retake ${this.contentType}`:`Start ${this.contentType}`}},methods:{...(0,L.i0)({getAccessAction:"playlists/getAccessAction",setError:"app/setError"}),getPreferredPersonalPlan(){const{personalPlans:t=[]}=this.usersSubscriptions||{},e=[z.A.SKILL_DIVE.SKILL_DIVE_ANNUAL,z.A.SKILL_DIVE.SKILL_DIVE_PTA],n=(t={})=>e.includes(t.plan_code),o=t=>{if(!t)return-1;const e=t.state===z.A.SUBSCRIPTIONS.ACTIVE_STATE,o=n(t);return e&&!o?3:e||o?e&&o?1:0:2},i=t.reduce((t,e)=>o(e)>o(t)?e:t,null);return i||{}},ensureFallbackPlan(){var t;null!==(t=this.planToBeUpgraded)&&void 0!==t&&t.id||(this.planToBeUpgraded=this.getPreferredPersonalPlan())},async handleGetAccess(){this.ensureFallbackPlan();try{await this.getAccessAction({onRedirect:t=>this.$router.push(t),onExternalRedirect:t=>{window.location.href=t},onRequestAccess:()=>this.requestRestrictedAccess(this.buildRequestAccessPayload()),setPlanToBeUpgraded:t=>{this.planToBeUpgraded=t||{}},setIsPremiumUpgradeModalShown:t=>{this.isPremiumUpgradeModalShown=!1!==t}}),this.ensureFallbackPlan()}catch(t){this.setError("We could not process your access request. Please try again.")}finally{this.ensureFallbackPlan()}},buildRequestAccessPayload(){const{contentId:t,contentType:e,title:n,sourceContent:o}=this,i={content_uuid:t,content_name:n,content_type:e};try{const n=this.$router.resolve(this.$buildContentLink(e,{...o,id:t}));i.content_url=`${window.location.origin}${n.href}`}catch(r){}return i}}};const Ee=(0,O.A)(Te,[["render",ye],["__scopeId","data-v-418f748b"]]);var Ae=Ee,we=n(10500);const{PLAYLIST_MESSAGES:Ce,PLAYLIST_TYPES:ke,CONTENT_AUDIENCE_TYPES:xe}=z.A;var Le={name:"LevelRow",mixins:[Se.Mh],components:{LevelTitle:de,LevelControl:Ae,Action:ee.A,GreenTickIcon:yt.A,GrayTickIcon:Et,QuizIcon:xt,IFrameIcon:Pt,LabIcon:Mt.A,ExerciseIcon:Ft,VideoIcon:Xt,CourseIcon:Qt,LinkIcon:vt.A,LockIcon:{...mt.A,name:"LockIcon"},NoteIndicator:I.A,LearningPathIcon:te,PlaylistActionsButton:we.A},props:{parentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},status:{type:String,required:!1,default:""},title:{type:String,required:!0},rowTooltip:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1},plansLink:{type:String,required:!0},contentType:{type:String,required:!0},contentId:{type:String,required:!0},statusText:{type:String,required:!1,default:""},isWatching:{type:Boolean,required:!1,default:!1},details:{type:Array,required:!1,default:()=>[]},progress:{type:Number,required:!1,default:0},labType:{type:String,required:!1,default:""},textClass:{type:String,required:!1,default:""},learningArea:{type:String,required:!1,default:""},hideAction:{type:Boolean,required:!1,default:()=>!1},exercises:{type:Array,required:!1,default:()=>[]},isTrackable:{type:Boolean,required:!1,default:()=>!1},contentFor:{type:String,required:!1,default:""},isReadOnly:{type:Boolean,required:!1,default:!1},playlistsHasAccess:{type:Boolean,required:!1,default:!1},isSkillDiveContent:{type:Boolean,required:!1,default:!1},sourceContent:{type:Object,required:!1,default:()=>({})}},data(){return{isLoading:!1}},computed:{...(0,L.L8)({allVideosWithBookmarks:"content/allVideosWithBookmarks",currentCourse:"courses/currentCourse",isContentAccessRestricted:"auth/isContentAccessRestricted"}),rowTooltipConfig(){return this.isPlaylistView&&!this.playlistsHasAccess?this.isContentAccessRestricted?null:{content:this.isSkillDiveContent?Ce.NEED_SD_LICENSE_TOOLTIP:Ce.NEED_LICENSE_TOOLTIP,placement:"right",hideOnTargetClick:!1,html:!0,textAlign:"left"}:this.rowTooltip?{content:this.rowTooltip,placement:"bottom-end"}:null},hasManageSlots(){const t=this.$slots||this.$scopedSlots||{};return Boolean(t["relocate-row"]||t["delete-row"])},labIcon(){return this.contentFinished?yt.A:Et},iconClass(){return"custom"===this.ofType?"":`action__${this.ofType}--icon`},contentFinished(){const{FINISHED:t,VISITED:e,STARTED:n}=z.A.CONTENT_USER_STATUS;if([e,t].includes(this.status))return!0;const{SLIDES:o,LAB:i,EXERCISE:r}=z.A.CONTENT_TYPES;switch(this.contentType){case o:return n===this.status;case i:return t===this.status||!this.isTrackable&&n===this.status;case r:if(this.contentType===z.A.CONTENT_TYPES.EXERCISE&&this.exercises.length>0){const t=this.exercises.map(t=>t.user_status)||[];return t.every(t=>[z.A.CONTENT_USER_STATUS.FINISHED,z.A.CONTENT_USER_STATUS.STARTED].includes(t))}break;default:return!1}return!1},iconTooltipText(){const{EXERCISE:t}=z.A.CONTENT_TYPES;let e="";switch(this.contentType){case t:e=this.exercisesActivityState();break;default:e=`Open ${this.contentType}`;break}return e},bookmarks(){var t,e,n;const o=null!==(t=null===(e=this.allVideosWithBookmarks)||void 0===e||null===(n=e[this.contentId])||void 0===n?void 0:n.bookmarks)&&void 0!==t?t:[];return o.length?o.filter(({metadata:t})=>{var e;return(null===t||void 0===t?void 0:t.course_id)===(null===(e=this.currentCourse)||void 0===e?void 0:e.id)}):o}
1,canAddContentToPlaylist(){const{COURSE:t,VIDEO:e,LAB:n,LEARNING_PATH:o}=z.A.CONTENT_TYPES;return!![t,o].includes(this.contentFor)&&(!this.isCustomVideoContent&&[t,e,n].includes(this.contentType))},isCustomVideoContent(){var t;return this.contentType===z.A.CONTENT_TYPES.VIDEO&&(null===(t=this.sourceContent)||void 0===t?void 0:t.audience_type)===xe.CUSTOM},isPlaylistView(){return this.$route.name===ke.BASE_SINGULAR||this.$route.name===ke.BASE_PLURAL},isPlaylistSharedView(){var t,e;if(!this.isPlaylistView)return!1;const n=null===(t=this.$route)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.type;return[ke.SHARED].includes(n)},isRestrictedSharedPlaylistAccess(){return this.isPlaylistSharedView&&!this.playlistsHasAccess&&this.isContentAccessRestricted},showRequestAccessButton(){return this.isRestrictedSharedPlaylistAccess},requestAccessTooltipConfig(){return{content:Ce.NEED_RESTRICTED_ACCESS_TOOLTIP,placement:"top",hideOnTargetClick:!1,html:!0,textAlign:"center"}},playlistContent(){var t,e;return{id:this.contentId,uuid:this.contentId,content_type:this.contentType,audience_type:null===(t=this.sourceContent)||void 0===t?void 0:t.audience_type,access_type:null===(e=this.sourceContent)||void 0===e?void 0:e.access_type,is_custom_content:this.isCustomVideoContent||void 0}},actionDisabled(){return this.isPlaylistView?!this.playlistsHasAccess:!this.hasAccess},shouldDisplayLevelControl(){return this.isPlaylistView?!this.isReadOnly&&this.playlistsHasAccess:!this.hideAction}},methods:{async emitToggle(){this.$emit("toggle")},setLoader(t){this.isLoading=t},exercisesActivityState(){const{EXERCISE:t}=z.A.CONTENT_TYPES;if(this.contentType===t&&this.exercises.length>0){const t={};this.exercises.forEach(e=>{t[e.user_status]?t[e.user_status]++:t[e.user_status]=1});const e=this.exercises.length,n=t[z.A.CONTENT_USER_STATUS.FINISHED]||0,o=t[z.A.CONTENT_USER_STATUS.STARTED]||0;return n===e||o===e||n+o===e?"All started":n>0||o>0?"Some started":"None started"}return!1},onMouseDown(t){t.target.closest(".level__add-btn")||this.isReadOnly},onMouseUp(){this.isReadOnly},async handleRequestAccess(){await this.$store.dispatch("playlists/getAccessAction",{onRequestAccess:()=>this.requestRestrictedAccess(this.buildRequestAccessPayload())})},buildRequestAccessPayload(){const{contentId:t,contentType:e,title:n,sourceContent:o}=this,i={content_uuid:t,content_name:n,content_type:e};try{const n=this.$router.resolve(this.$buildContentLink(e,{...o,id:t}));i.content_url=`${window.location.origin}${n.href}`}catch(r){}return i}}};const Ie=(0,O.A)(Le,[["render",gt],["__scopeId","data-v-5e292385"]]);var Ne=Ie;const Oe={class:"course-video"},Pe={class:"course-video__details"},De={key:0,class:"toggle-icons"},Re={key:0,class:"course-video__player-wrapper"},qe={key:0,class:"course-video__attachments"};function Be(t,e,n,i,s,a){const l=(0,o.g2)("MediaDelegate"),c=(0,o.g2)("Files");return(0,o.uX)(),(0,o.CE)("div",Oe,[(0,o.Lk)("div",Pe,[s.access?((0,o.uX)(),(0,o.CE)("div",De,[a.shouldShowReportIssue?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"course-video__report-issue",onClick:e[0]||(e[0]=(0,r.D$)((...t)=>a.startIssue&&a.startIssue(...t),["stop"]))},e[1]||(e[1]=[(0,o.Lk)("span",{class:"course-video__report-issue__text"},"Report an issue",-1)]))):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)]),n.isWatching?((0,o.uX)(),(0,o.CE)("div",Re,[(0,o.bF)(l,(0,o.v6)({ref:"mediaDelegate"},{parentType:a.parentType,content:{...n.video,type:"video"},nextMedia:a.nextContent,userCompletionStatus:n.videoStatus},{onAdvanceMedia:a.playNextContent,onIsLoading:a.updateLoader}),null,16,["onAdvanceMedia","onIsLoading"]),n.video.files&&n.video.files.length&&s.access?((0,o.uX)(),(0,o.CE)("div",qe,[e[2]||(e[2]=(0,o.Lk)("span",{class:"course-video__attachments-label"}," Video attachment(s): ",-1)),(0,o.bF)(c,{class:"video-files",content:n.video,canOpen:!1,transparent:!0},null,8,["content"])])):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)])}var Fe=n(54610),Me=n(43572),Ue={name:"ContentVideo",components:{MediaDelegate:Fe.A,Files:Me.A},mixins:[Se.yW],props:{video:{type:Object,required:!0},isWatching:{type:Boolean,required:!0},videoStatus:{type:String,required:!0},quizId:{type:String,required:!1,default:null},hasPassedQuiz:{type:Boolean,required:!1},nextVideo:{type:[Object,null],required:!1,default:null}},data(){return{isLoading:!1,access:!0}},computed:{...(0,L.aH)({profile:t=>t.auth.userProfile,currentParent:t=>t.content.currentParent,videoLimit:t=>t.content.rateLimits.video,recaptchaRequired:t=>t.content.recaptchaRequired.video}),nextContent(){return this.quizId&&this.quizId.length&&!this.hasPassedQuiz?"quiz":this.nextVideo?"video":""},hasWatched(){return this.videoStatus===z.A.CONTENT_USER_STATUS.FINISHED},parentType(){var t;return null===(t=this.currentParent)||void 0===t?void 0:t.type},shouldShowReportIssue(){return this.parentType===z.A.PARENT_CONTENT_TYPES_KEYS.COURSE}},methods:{updateLoader(t){this.$emit("is-loading-video",t)},playNextContent(){const{nextContent:t,quizId:e,nextVideo:n}=this;switch(t){case"quiz":this.$store.dispatch("content/setPlayingVideoId",""),this.$store.dispatch("content/setCurrentQuizId",e);break;case"video":this.$store.dispatch("content/setPlayingVideoTime",0),this.$store.dispatch("content/setPlayingVideoId",n.uuid);break;default:break}},async updateVideoStatus(t,e){this.isLoading=!0,await this.$store.dispatch("content/updateVideoStatus",{videoId:t,status:e}),this.isLoading=!1},startIssue(){this.$store.dispatch("content/saveContentIssue",{content_type:"video",content_subtype:this.video.type,content_name:this.video.name,content_id:this.video.id,parent_id:this.currentParent.id,parent_type:this.currentParent.type,extra_args:{video_player_time:this.$refs.mediaDelegate.$refs.currentVideo.currentTime,video_player_status:this.videoStatus}})},updateAccess(t){this.access=!t}},watch:{videoLimit:"updateAccess",recaptchaRequired:"updateAccess"}};const $e=(0,O.A)(Ue,[["render",Be]]);var Ve=$e,He=n(8554),Xe=n(95975),je={name:"VideoLevel",components:{LevelRow:Ne,Dropdown:Xe.A,ContentVideo:Ve,SlotedModal:He.A},props:{parentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},nextVideo:{type:Object,required:!0},plansLink:{type:String,required:!0},quiz:{type:Object,required:!1,default:null},quizStatus:{type:String,required:!0},title:{type:String,required:!0},video:{type:Object,required:!0},videoStatus:{type:String,required:!0},instructorName:{type:String,required:!1,default:""},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!1},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1,showReqLang:!1,langReqStep:1,languageOptions:z.A.LANGUAGE_CODES,selectedLanguage:null,access:!0}},computed:{...(0,L.aH)({playingVideoId:t=>t.content.playingVideoId,currentHoveredNote:t=>t.content.currentHoveredNote,currentCourseId:t=>t.courses.currentCourse.id,videoLimit:t=>t.content.rateLimits.video,recaptchaRequired:t=>t.content.recaptchaRequired.video}),...(0,L.L8)({courseBookmarks:"content/courseBookmarks"}),isViewingLevelNote(){if(this.levelBookmarks&&this.levelBookmarks.length){const t=this.levelBookmarks.map(t=>t.video);return t.includes(this.currentHoveredNote)}return!1},isWatching(){return this.video.id===this.playingVideoId},levelBookmarks(){return this.courseBookmarks.filter(t=>t.video===this.video.id&&t.metadata.course_id===this.currentCourseId)},contentType(){return z.A.CONTENT_TYPES.VIDEO},progress(){return this.videoStatus===z.A.CONTENT_USER_STATUS.STARTED?50:this.videoStatus===z.A.CONTENT_USER_STATUS.FINISHED?100:0},statusText(){return this.videoStatus===z.A.CONTENT_USER_STATUS.STARTED?"Resume video":this.videoStatus===z.A.CONTENT_USER_STATUS.FINISHED?"Restart video":"Start video"},videoDetails(){const t=this.instructorName?[this.instructorName,this.getDuration()]:[this.getDuration()];return t}},methods:{...(0,L.i0)({postVideoLanguageRequest:"content/postVideoLanguageRequest"}),dropdownHandler(t){this.selectedLanguage=t.value},async sendLanguageRequest(){const{video:t,selectedLanguage:e}=this,{parent_id:n}=t,o=await this.postVideoLanguageRequest({course_id:n,language:e});o&&(this.langReqStep=2)},toggleReqLang(){this.langReqStep=1,this.selectedLanguage=null,this.showReqLang=!this.showReqLang},async toggleVideo(){if((!this.isPlaylistView||this.playlistsHasAccess)&&this.hasAccess&&!this.isLoading){this.isLoading=!0;const{playingVideoId:t,video:e}=this;t===e.id?(this.$store.dispatch("content/setPlayingVideoId",""),this.$store.dispatch("content/setPlayingVideoTime",0)):(this.$store.dispatch("content/setPlayingVideoTime",0),this.$store.dispatch("content/setPlayingVideoId",e.id),this.$emit("toggle-content",z.A.CONTENT_TYPES.VIDEO)),this.isLoading=!1}},toggleNextContent(){if(this.isPlaylistView&&!this.playlistsHasAccess)return;const{nextVideo:t}=this;t&&(this.$store.dispatch("content/setPlayingVideoId",t.uuid),this.$store.dispatch("content/setPlayingVideoTime",0))},isVideoFree(){return(0,W.QF)(this.video)}
1,setLoader(t){this.isLoading=t},isQuizFinished(t){return z.A.CONTENT_USER_STATUS.FINISHED===t},getDuration(){var t;return this.$duration.durationFromSecs((null===(t=this.video)||void 0===t?void 0:t.duration_in_seconds)||0,"seconds")},updateAccess(t){this.access=!t}},watch:{videoLimit:"updateAccess",recaptchaRequired:"updateAccess"}};const ze=(0,O.A)(je,[["render",nt],["__scopeId","data-v-9a9635cc"]]);var Ye=ze;const We={class:"level"};function Qe(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow");return(0,o.uX)(),(0,o.CE)("div",We,[(0,o.bF)(l,(0,o.v6)({rowTooltip:a.rowTooltip,hasAccess:n.hasAccess,hideAction:a.labNotAvailable,contentType:"lab",contentId:n.content.id,labType:n.contentType,status:n.contentStatus,parentStatus:n.parentStatus,title:n.title,learningArea:a.learningArea,plansLink:n.plansLink,isWatching:!1,details:a.labDetails,disabled:a.isDisabled,textClass:a.textClass,progress:a.progress,isTrackable:a.isTrackable,contentFor:n.contentFor,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isSkillDiveContent:Boolean(n.content&&n.content.is_lab_experience),isPlaylistView:n.isPlaylistView},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.openLab,onClick:a.openLab}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"])])}var Ge={name:"LabLevel",components:{LevelRow:Ne},props:{parentId:{type:String,required:!0},parentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},content:{type:Object,required:!0},contentStatus:{type:String,required:!0},contentType:{type:String,required:!0},plansLink:{type:String,required:!0},title:{type:String,required:!0},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!1},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1}},computed:{...(0,L.aH)({focusedLabId:t=>t.labs.focusedLabId,runningLabSession:t=>t.labs.runningLabSession,availablePasses:t=>t.auth.available_passes}),...(0,L.L8)({isOnTrialSubscription:"subscriptions/isOnTrialSubscription",isCourtesyTrialUser:"subscriptions/isCourtesyTrialUser",isSkillDiveB2BUser:"auth/isSkillDiveB2BUser"}),isDisabled(){return!(!this.content.is_lab_experience||this.isSkillDiveB2BUser||"playlists"!==this.$route.name)},isTrackable(){var t;return null===(t=this.content)||void 0===t?void 0:t.is_trackable},rowTooltip(){return this.isDisabled?"<div>\n <p>\n <strong>Skill Dive License Required.</strong>\n <br />\n To access this lab, please get in touch with your account owner\n for acquiring the necessary license.\n </p>\n </div>":null},isLabFinished(){return this.contentStatus===z.A.CONTENT_USER_STATUS.FINISHED},learningArea(){var t,e;return null===(t=this.content.learning_areas)||void 0===t||null===(e=t[0])||void 0===e?void 0:e.name},labNotAvailable(){return this.isOnTrialSubscription&&this.content.is_web_access&&!this.isCourtesyTrialUser||this.isDisabled},labDetails(){var t,e;let n=null;return n=(null===(t=this.runningLabSession)||void 0===t?void 0:t.lab_id)===this.content.id?"Lab running":n,n=(null===(e=this.content.session)||void 0===e?void 0:e.status)===z.A.LABS.SESSION_STATUS.STOPPED?"Lab stopped":n,n=this.labNotAvailable?'This lab is not available during the trial period. <a class="level__title__label-detail-link" href="mailto:[email protected]">Contact INE</a> to start your paid subscription now.':n,n=this.isDisabled?"Skill Dive":n,n?[n]:null},textClass(){var t,e;return this.labNotAvailable?"warning":(null===(t=this.content.session)||void 0===t?void 0:t.status)===z.A.LABS.SESSION_STATUS.STARTED?"green":(null===(e=this.content.session)||void 0===e?void 0:e.status)===z.A.LABS.SESSION_STATUS.STOPPED?"red":""},progress(){const{STARTED:t,FINISHED:e}=z.A.CONTENT_USER_STATUS;return e===this.contentStatus?100:t!==this.contentStatus?0:this.isTrackable?50:100}},methods:{async openLab(){if((!this.isPlaylistView||this.playlistsHasAccess)&&!this.labNotAvailable&&this.hasAccess){this.$emit("toggle-content",z.A.CONTENT_TYPES.LAB);let t=`${this.$route.name}-lab`;"playlist"===this.$route.name&&(t="playlists-lab");const e={labId:this.content.id};e.id=this.parentId,this.$router.push({name:t,params:e})}}}};const Ke=(0,O.A)(Ge,[["render",Qe]]);var Ze=Ke;const Je={class:"level"},tn={key:0,class:"level__content"};
1function en(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow"),c=(0,o.g2)("MediaDelegate");return(0,o.uX)(),(0,o.CE)("div",Je,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess,contentType:n.content.type,contentId:n.content.id,status:n.contentStatus,statusText:a.statusText,parentStatus:n.courseStatus,title:n.title,plansLink:n.plansLink,isWatching:a.isWatching,details:a.iFrameDetails,progress:a.progress,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.toggleIFrame,onClick:a.toggleIFrame}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"]),a.isWatching?((0,o.uX)(),(0,o.CE)("div",tn,[(0,o.bF)(c,(0,o.v6)({parentType:"course",content:n.content,userCompletionStatus:n.contentStatus},{onIsLoading:a.setLoader}),null,16,["onIsLoading"])])):(0,o.Q3)("",!0)])}var nn={name:"IFrameLevel",data(){return{isLoading:!1}},components:{MediaDelegate:Fe.A,LevelRow:Ne},props:{courseId:{type:String,required:!0},courseStatus:{type:String,required:!0},content:{type:Object,required:!0},contentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},plansLink:{type:String,required:!0},title:{type:String,required:!0},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!0},isPlaylistView:{type:Boolean,default:!1}}
1,computed:{...(0,L.L8)({playingIFrameId:"iframes/playingIFrameId"}),isWatching(){return this.content.id===this.playingIFrameId},iFrameDetails(){var t;const e=null!==(t=this.content.metadata)&&void 0!==t&&t.slides_count?this.content.metadata.slides_count:0;return 0===e?[]:1===e?[`${e} slide`]:[`${e} slides`]},progress(){return this.contentStatus===z.A.CONTENT_USER_STATUS.STARTED||this.contentStatus===z.A.CONTENT_USER_STATUS.FINISHED?100:0},statusText(){return this.contentStatus===z.A.CONTENT_USER_STATUS.STARTED?"Resume slides":this.contentStatus===z.A.CONTENT_USER_STATUS.FINISHED?"Restart slides":"Start slides"}},methods:{...(0,L.i0)({setPlayingIFrameId:"iframes/setPlayingIFrameId"}),async toggleIFrame(){this.isPlaylistView&&!this.playlistsHasAccess||this.hasAccess&&!this.isLoading&&(this.playingIFrameId===this.content.id?this.setPlayingIFrameId(""):this.setPlayingIFrameId(this.content.id),this.$emit("toggle-content",z.A.CONTENT_TYPES.IFRAME))},isContentSelected(){return this.isLoading?"level__trigger level__trigger--disabled":this.isWatching?"level__trigger level__trigger--selected":"level__trigger"},setLoader(t){this.isLoading=t}}};const on=(0,O.A)(nn,[["render",en]]);var rn=on;const sn={class:"level"},an={key:0,class:"level__content"},ln={class:"content__quiz"};function cn(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow"),c=(0,o.g2)("MediaDelegate");return(0,o.uX)(),(0,o.CE)("div",sn,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess,contentType:a.contentType,contentId:n.content?n.content.id:"",status:n.contentStatus,parentStatus:a.statusText,title:n.title,plansLink:n.plansLink,isWatching:a.isTakingQuiz(),statusText:a.statusText,details:a.quizDetails,progress:a.progress,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.toggleQuiz,onClick:a.toggleQuiz}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"]),a.isTakingQuiz()?((0,o.uX)(),(0,o.CE)("div",an,[(0,o.Lk)("div",ln,[(0,o.bF)(c,(0,o.v6)({parentType:"course",content:{id:n.content.id,type:"quiz"},userCompletionStatus:n.contentStatus,contentTitle:n.title,nextMedia:n.nextVideo,canStartIssue:!0},{onIsLoading:a.setLoader}),null,16,["onIsLoading"])])])):(0,o.Q3)("",!0)])}var un={name:"QuizLevel",components:{MediaDelegate:Fe.A,LevelRow:Ne},props:{courseStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},content:{type:Object,required:!1},contentStatus:{type:String,required:!1},title:{type:String,required:!0},plansLink:{type:String,required:!0},nextVideo:{type:Object,required:!1},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!1},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1}},computed:{...(0,L.aH)({currentQuizId:t=>t.content.currentQuizId}),statusText(){return this.contentStatus===z.A.CONTENT_USER_STATUS.STARTED?"Resume quiz":this.contentStatus===z.A.CONTENT_USER_STATUS.FINISHED?"Retake quiz":"Start quiz"},iconClass(){return"custom"===this.ofType?"":`action__${this.ofType}--icon`},contentType(){return z.A.CONTENT_TYPES.QUIZ},quizDetails(){return this.content?this.content.number_of_questions>1?[`${this.content.number_of_questions} questions`]:[`${this.content.number_of_questions} question`]:""},progress(){return this.contentStatus===z.A.CONTENT_USER_STATUS.STARTED?50:this.contentStatus===z.A.CONTENT_USER_STATUS.FINISHED?100:0}},methods:{async toggleQuiz(){if((!this.isPlaylistView||this.playlistsHasAccess)&&this.hasAccess&&!this.isLoading){this.isLoading=!0;const{currentQuizId:t,content:e}=this;t===e.id?this.$store.dispatch("content/setCurrentQuizId",""):(this.$store.dispatch("content/setCurrentQuizId",e.id),this.$emit("toggle-content",z.A.CONTENT_TYPES.QUIZ)),this.isLoading=!1}},hasCompleted(){return this.hasAccess?this.contentStatus===z.A.CONTENT_USER_STATUS.FINISHED?"#00DEA0":"#808080":"#3A3A3A"},setLoader(t){this.isLoading=t},isTakingQuiz(){return!!this.content&&this.content.id===this.currentQuizId}}};const dn=(0,O.A)(un,[["render",cn]]);var pn=dn;const hn={class:"level"},fn={key:0,class:"level__content"},gn={class:"content__exercises"},vn={key:0,class:"content__loader-wrapper"};
1function mn(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow"),c=(0,o.g2)("MediaDelegate"),u=(0,o.g2)("ActionLoader");return(0,o.uX)(),(0,o.CE)("div",hn,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess,contentType:a.contentType,contentId:n.content.uuid,status:n.contentStatus,parentStatus:n.courseStatus,title:n.title,plansLink:n.plansLink,isWatching:a.isWatching,details:a.exerciseDetails,progress:a.progress,exercises:n.content.exercises,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.toggleExercise,onClick:a.toggleExercise}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"]),a.isWatching?((0,o.uX)(),(0,o.CE)("div",fn,[(0,o.Lk)("div",gn,[(0,o.bF)(c,(0,i._B)((0,o.Ng)({parentType:"course",content:{type:a.contentType,media:n.content.exercises},userCompletionStatus:n.contentStatus,hasAccess:n.hasAccess})),null,16)]),s.isLoading?((0,o.uX)(),(0,o.CE)("div",vn,[(0,o.bF)(u,{loaderClass:"content__loader",name:"ball-clip-rotate"})])):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)])}var yn={name:"ExercisesLevel",components:{LevelRow:Ne,MediaDelegate:Fe.A,ActionLoader:_e.A},props:{courseStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},content:{type:Object,required:!1,default:()=>({})},contentStatus:{type:String,required:!1,default:""},title:{type:String,required:!0},plansLink:{type:String,required:!0},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!1},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1}},computed:{...(0,L.aH)({currentExercisesId:t=>t.content.currentExercisesId}),contentType(){return z.A.CONTENT_TYPES.EXERCISE},exerciseDetails(){return this.content.exercises.length>1?[`${this.content.exercises.length} exercises`]:[`${this.content.exercises.length} exercise`]},progress(){const t=this.content.exercises.reduce((t,e)=>e&&e.user_status&&[z.A.CONTENT_USER_STATUS.STARTED,z.A.CONTENT_USER_STATUS.FINISHED].includes(e.user_status)?++t:t,0);return this.content.exercises.length>0?100*t/this.content.exercises.length:0},isWatching(){return this.content.uuid===this.currentExercisesId}},methods:{async toggleExercise(){if((!this.isPlaylistView||this.playlistsHasAccess)&&this.hasAccess&&!this.isLoading){this.isLoading=!0;const{currentExercisesId:t,content:e}=this;t===e.uuid?this.$store.dispatch("content/setCurrentExercisesId",""):this.$store.dispatch("content/setCurrentExercisesId",e.uuid),this.$emit("toggle-content",z.A.CONTENT_TYPES.EXERCISE_GROUP),this.isLoading=!1}},hasCompleted(){return this.hasAccess?this.exerciseStatus===z.A.CONTENT_USER_STATUS.FINISHED?"#00DEA0":"#808080":"#3A3A3A"}}};const bn=(0,O.A)(yn,[["render",mn]]);var _n=bn;const Sn={class:"level"};function Tn(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow");return(0,o.uX)(),(0,o.CE)("div",Sn,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess,contentType:"course",contentId:n.courseId,status:n.content.status,parentStatus:n.parentStatus,title:n.title,plansLink:n.plansLink,isWatching:!1,details:a.courseDetails,learningArea:n.content.learningArea,progress:a.progress,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView,statusText:a.statusText},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.openCourse,onClick:a.openCourse}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"])])}var En={name:"CourseLevel",components:{LevelRow:Ne},props:{courseId:{type:String,required:!0},parentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},content:{type:Object,required:!0},plansLink:{type:String,required:!0},title:{type:String,required:!0},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!1},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1}},computed:{courseDetails(){return[this.content.instructor,this.content.activities]},progress(){return 100*this.content.progress},statusText(){return!1===this.content.has_trackable_content&&this.content.status===z.A.CONTENT_USER_STATUS.STARTED?"Started course":""}},methods:{async openCourse(){this.isPlaylistView&&!this.playlistsHasAccess||this.hasAccess&&(this.$emit("toggle-content",z.A.PLAYLIST_CONTENT_TYPES.COURSE),this.$router.push(this.$buildContentLink("c
1ourse",{id:this.courseId,slug:this.content.slug,learning_areas:[{name:this.content.learningArea}]})))}}};const An=(0,O.A)(En,[["render",Tn]]);var wn=An;const Cn={class:"level"};function kn(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow");return(0,o.uX)(),(0,o.CE)("div",Cn,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess,contentType:"link",contentId:n.content.uuid,status:n.contentStatus,statusText:a.statusText,parentStatus:n.parentStatus,title:n.content.name,plansLink:n.plansLink,isWatching:!1,details:[n.content.link],progress:a.progress,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.openUrl,onClick:a.openUrl}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"])])}var xn={name:"LinkLevel",components:{LevelRow:Ne},mixins:[Se.rO],props:{parentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},content:{type:Object,required:!0},contentStatus:{type:String,required:!0},contentType:{type:String,required:!0},plansLink:{type:String,required:!0},title:{type:String,required:!0},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!1},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1}},computed:{...(0,L.aH)({currentParent:t=>t.content.currentParent}),isLinkVisited(){return this.contentStatus&&this.contentStatus===z.A.CONTENT_USER_STATUS.VISITED},progress(){return this.isLinkVisited?100:0},statusText(){return this.contentStatus===z.A.CONTENT_USER_STATUS.VISITED?"Revisit URL":"Visit URL"},mixpanelEventPayload(){var t,e;const n={link_id:this.content.uuid,link_name:this.content.name,link_context:z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST,link_status:this.content.status,playlist_id:null===(t=this.currentParent)||void 0===t?void 0:t.id,playlist_name:null===(e=this.currentParent)||void 0===e?void 0:e.name,type:this.content.type};return n}},methods:{...(0,L.i0)("playlists",["getPlaylistById"]),async setLinkStatus(t=z.A.CONTENT_USER_STATUS.VISITED){var e;try{await this.$store.dispatch("content/updateLinkStatus",{linkId:this.content.uuid,status:t}),this.sendMixpanelEvent(this.eventsConstants.CONTENT_LINK_VISITED,this.mixpanelEventPayload)}catch(o){return o}const{PLAYLIST:n}=z.A.PARENT_CONTENT_TYPES_KEYS;(null===(e=this.currentParent)||void 0===e?void 0:e.type)===n&&this.fetchPlaylist()},async openUrl(){this.isPlaylistView&&!this.playlistsHasAccess||this.hasAccess&&(this.$emit("toggle-content",z.A.PLAYLIST_CONTENT_TYPES.LINK),this.setLinkStatus(),window.open(this.content.link,"_blank"))}}};const Ln=(0,O.A)(xn,[["render",kn]]);var In=Ln;const Nn={class:"level level-learning-path"};function On(t,e,n,r,s,a){const l=(0,o.g2)("LevelRow");return(0,o.uX)(),(0,o.CE)("div",Nn,[(0,o.bF)(l,(0,o.v6)({hasAccess:n.hasAccess,contentType:n.content.type,contentId:n.learningPathId,status:a.isFinished,statusText:a.statusText,parentStatus:n.parentStatus,title:n.title,plansLink:n.plansLink,isWatching:!1,details:a.learningPathDetails,learningArea:n.content.learningArea,progress:a.progress,contentFor:n.contentFor,hideAction:n.hideAction,isReadOnly:n.isReadOnly,playlistsHasAccess:n.playlistsHasAccess,isPlaylistView:n.isPlaylistView},{onDeleteContent:e[0]||(e[0]=e=>t.$emit("delete-content")),onDelete:n.onDelete,onToggle:a.openLearningPath,onClick:a.openLearningPath}),{"delete-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"delete-row",(0,i._B)((0,o.Ng)(e)))]),"relocate-row":(0,o.k6)(e=>[(0,o.RG)(t.$slots,"relocate-row",(0,i._B)((0,o.Ng)(e)))]),_:3},16,["onDelete","onToggle","onClick"])])}var Pn={name:"LearningPathLevel",components:{LevelRow:Ne},props:{learningPathId:{type:String,required:!0},parentStatus:{type:String,required:!0},hasAccess:{type:Boolean,required:!0},content:{type:Object,required:!0},plansLink:{type:String,required:!0},title:{type:String,required:!0},contentFor:{type:String,required:!1},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},onDelete:{type:Function,default:()=>{}},playlistsHasAccess:{type:Boolean,default:!0},isPlaylistView:{type:Boolean,default:!1}},data(){return{isLoading:!1}},computed:{learningPathDetails(){return this.content.instructor&&this.content.duration?[this.content.instructor,this.content.duration]:null},progress(){return 100*this.content.progress},isFinished(){return 1===this.content.progress?z.A.CONTENT_USER_STATUS.FINISHED:z.A.CONTENT_USER_STATUS.STARTED},statusText(){const t=1===this.content.progress,e=this.content.status;return e!==z.A.CONTENT_USER_STATUS.STARTED||t?t?"Restart":"Start":"Resume"}},methods:{async openLearningPath(){this.isPlaylistView&&!this.playlistsHasAccess||this.hasAccess&&(this.$emit("toggle-content",z.A.PLAYLIST_CONTENT_TYPES.LEARNING_PATH),this.$router.push(this.$buildContentLink("path",{id:this.learningPathId,slug:this.content.slug,learning_areas:[{name:this.content.learningArea}]})))}}};const Dn=(0,O.A)(Pn,[["render",On]]);
1var Rn=Dn,qn={name:"Level",components:{VideoLevel:Ye,LabLevel:Ze,IFrameLevel:rn,QuizLevel:pn,ExercisesLevel:_n,CourseLevel:wn,LinkLevel:In,LearningPathLevel:Rn},props:{level:{type:Object,required:!0},contentFor:{type:String,required:!0},parentId:{type:String,required:!0},hideAction:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},playlistsHasAccess:{type:Boolean,default:!1}},data(){return{defaultStatus:z.A.CONTENT_USER_STATUS.UNSTARTED}},computed:{...(0,L.aH)({course:t=>t.courses.currentCourse,courseLabs:t=>t.content.currentLabs,courseIFrames:t=>t.content.currentIFrames,courseVideos:t=>t.content.currentVideos,courseQuizzes:t=>t.content.currentQuizzes,courseExercises:t=>t.content.currentExercises,currentHoveredNote:t=>t.content.currentHoveredNote,currentLinks:t=>t.content.currentLinks,allLevels:t=>t.courses.currentLevels,plansLink:t=>t.app.plansLink,isAdmin:t=>t.auth.isAdmin,isContentCreator:t=>t.auth.isContentCreator,playlistCache:t=>t.playlists.playlistCache}),...(0,L.L8)({courseBookmarks:"content/courseBookmarks"}),componentType(){var t;const e={video:"VideoLevel",lab:"LabLevel",iframe:"IFrameLevel",quiz:"QuizLevel",exercise_group:"ExercisesLevel",course:"CourseLevel",link:"LinkLevel","learning-path":"LearningPathLevel"};return e[null===(t=this.content)||void 0===t?void 0:t.type]||null},isPlaylistView(){return this.$route.name===z.A.PLAYLIST_TYPES.BASE_SINGULAR||this.$route.name===z.A.PLAYLIST_TYPES.BASE_PLURAL},dynamicProps(){try{if(!this.content)return{};const t={hasAccess:"boolean"===typeof this.content.hasAccess&&this.content.hasAccess,plansLink:this.plansLink,hideAction:this.hideAction,contentFor:this.contentFor,isReadOnly:this.isReadOnly,playlistsHasAccess:this.playlistsHasAccess,isPlaylistView:this.isPlaylistView};switch(this.content.type){case"video":return{...t,parentStatus:this.currentParent.status,nextVideo:this.nextVideo,quiz:this.content.quiz||null,quizStatus:this.content.quiz?this.content.quiz.status:"",title:this.content.file.name,video:this.content.file,videoStatus:this.content.status||this.defaultStatus,instructorName:this.content.instructorName||null};case"lab":return{...t,parentId:this.currentParent.id,parentStatus:this.currentParent.status,content:this.content.file,contentStatus:this.content.status||this.defaultStatus,contentType:this.content.labType,title:this.content.file.name};case"iframe":return{...t,courseId:this.course.id,courseStatus:this.course.status,content:this.content.file,contentStatus:this.content.status||this.defaultStatus,title:this.content.file.name};case"quiz":return{...t,courseId:this.course.id,courseStatus:this.course.status,content:this.content.file,contentStatus:this.content.status||this.defaultStatus,title:this.lastActivityContentName,nextVideo:this.nextVideo};case"exercise_group":return{...t,content:this.content,courseStatus:this.course.status,title:this.lastActivityContentName,contentStatus:this.content.status||this.defaultStatus};case"course":return{...t,courseId:this.level.uuid,parentStatus:this.content.status,content:this.content,contentType:"course",title:this.level.name||""};case"link":return{...t,parentStatus:this.content.status,content:this.content,contentStatus:this.content.status||this.defaultStatus,contentType:"link",title:this.level.name};case"learning-path":return{...t,learningPathId:this.level.uuid,parentStatus:this.content.status,content:this.content,contentType:this.content.type,title:this.level.name};default:return{}}}catch(t){return{}}},showLabLevel(){return this.content.file.status===z.A.CONTENT_STATUS.PUBLISHED||this.isAdmin||this.isContentCreator},nextVideo(){const t=this.allLevels.indexOf(this.level)+1;return t===this.allLevels.length?{}:this.allLevels.slice(t).find(t=>t.content_type===z.A.CONTENT_TYPES.VIDEO)||{}},lastActivityContentName(){let t={};if(this.level.last_activity){const{level:{last_activity:{content_type:e,uuid:n}}}=this;return e===z.A.CONTENT_TYPES.VIDEO&&(t=this.courseVideos.find(t=>t.id===n)),e===z.A.CONTENT_TYPES.IFRAME&&(t=this.courseIFrames.find(t=>t.id===n)),e===z.A.CONTENT_TYPES.LAB&&(t=this.courseLabs.find(t=>t.id===n)),`Test your knowledge: ${t.name}`}return"Test your knowledge"},content(){const{level:{content_type:t}}=this;return t===z.A.CONTENT_TYPES.VIDEO?this.createVideo():t===z.A.CONTENT_TYPES.QUIZ?this.createQuiz():t===z.A.CONTENT_TYPES.EXERCISE_GROUP?this.createExerciseGroup():t===z.A.CONTENT_TYPES.IFRAME?this.createIframe():t===z.A.CONTENT_TYPES.LAB?this.createLab():t===z.A.PLAYLIST_CONTENT_TYPES.COURSE?this.createCourse():t===z.A.PLAYLIST_CONTENT_TYPES.LINK?this.createLink():t===z.A.PLAYLIST_CONTENT_TYPES.LEARNING_PATH?this.createLearningPath():void 0},currentParent(){return this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST?this.playlistCache.find(t=>
1t.id===this.parentId):this.course}},methods:{...(0,L.PY)({setParentContent:"content/CURRENT_PARENT"}),createVideo(){const{content_type:t,uuid:e,quiz:n=null}=this.level,o={type:t,uuid:e};o.instructorName=this.level.instructor_name;const i=this.courseVideos.find(t=>{var n;return t.id===e&&t.parent_id===(null===(n=this.currentParent)||void 0===n?void 0:n.id)});if(!i)return null;const{user_status:r}=i;if(n){const t=this.courseQuizzes.find(t=>t.id===n.uuid);t&&(o.quiz={...t,status:t.user_status})}return o.file=i,o.status=r,o.hasAccess=this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST||(0,W.Mg)({parent:this.course,content:o}),o},createQuiz(){const{content_type:t,uuid:e}=this.level,n={type:t,uuid:e},o=this.courseQuizzes.find(t=>t.id===e),{user_status:i}=o||{};return n.file=o,n.status=i,n.hasAccess=(0,W.Mg)({parent:this.course,content:n}),n},createExerciseGroup(){const{content_type:t,uuid:e,exercises:n}=this.level,o={type:t,uuid:e},i=n.reduce((t,e)=>(t.push(this.courseExercises.find(t=>t.id===e.uuid)),t),[]);return o.exercises=i,o.file=i[0],o.status=this.getExercisesGroupStatus(n),o.hasAccess=(0,W.Mg)({parent:this.course,content:o}),o},createIframe(){const{content_type:t,uuid:e}=this.level,n={type:t,uuid:e},o=this.courseIFrames.find(t=>t.id===e),{user_status:i}=o;return n.file=o,n.status=i,n.hasAccess=(0,W.Mg)({parent:this.course,content:n}),n},createLab(){const{content_type:t,uuid:e}=this.level,n={type:t,uuid:e},o=this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST?this.courseLabs.find(t=>{var e;return t.id===this.level.uuid&&t.parent_id===(null===(e=this.currentParent)||void 0===e?void 0:e.id)}):this.courseLabs.find(t=>t.id===this.level.uuid),{user_status:i,lab_type:r}=o;return n.file=o,n.status=i,n.labType=r,n.hasAccess=this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST||(0,W.Mg)({parent:this.currentParent,content:n}),n},createCourse(){var t,e,n,o,i,r,s;const{content_type:a,uuid:l,slug:c,status:u}=this.level,d={type:a,uuid:l,slug:c,status:u};d.learningArea=this.level.main_learning_area?this.level.main_learning_area:null!==(t=null===(e=this.level.learning_areas)||void 0===e?void 0:e.pop())&&void 0!==t?t:"";const p=null!==(n=this.level.instructors)&&void 0!==n&&n.length?this.level.instructors[0].name:"";d.instructor=(null===(o=this.level.instructors)||void 0===o?void 0:o.length)>1?`${p} +${(null===(i=this.level.instructors)||void 0===i?void 0:i.length)-1}`:p;const h=this.level.user_status?this.level.user_status.total_exercises+this.level.user_status.total_iframes+this.level.user_status.total_labs+this.level.user_status.total_quizzes+this.level.user_status.total_videos:0;d.activities=`${h} activities`,d.progress=null!==(r=null===(s=this.level.user_status)||void 0===s?void 0:s.progress)&&void 0!==r?r:0;const{FINISHED:f,STARTED:g,UNSTARTED:v}=z.A.CONTENT_USER_STATUS,m=d.progress,y=!1===this.level.has_trackable_content&&this.level.is_started;return d.status=m>=1?f:m>0||y?g:v,d.has_trackable_content=this.level.has_trackable_content,d.hasAccess=!0,d},createLearningPath(){var t,e,n,o,i,r,s;const{content_type:a,uuid:l,slug:c,status:u,main_learning_area:d,duration_in_seconds:p}=this.level,h={type:a,uuid:l,slug:c,status:u};h.learningArea=d||(null!==(t=null===(e=this.level.learning_areas)||void 0===e?void 0:e.pop())&&void 0!==t?t:"");const f=null!==(n=this.level.instructors)&&void 0!==n&&n.length?this.level.instructors[0].name:"";return h.instructor=(null===(o=this.level.instructors)||void 0===o?void 0:o.length)>1?`${f} +${(null===(i=this.level.instructors)||void 0===i?void 0:i.length)-1}`:f,h.duration=W.p0.durationFromSecs(p,"zeros").replace("h","h "),h.progress=null!==(r=null===(s=this.level.user_status)||void 0===s?void 0:s.progress)&&void 0!==r?r:0,h.progress&&h.progress>0?h.status=h.progress<100?z.A.CONTENT_USER_STATUS.STARTED:z.A.CONTENT_USER_STATUS.FINISHED:h.status=z.A.CONTENT_USER_STATUS.UNSTARTED,h.hasAccess=!0,h},createLink(){const t=this.currentLinks.find(t=>{var e;return t.uuid===this.level.uuid&&t.parent_id===(null===(e=this.currentParent)||void 0===e?void 0:e.id)}),{content_type:e,uuid:n,link_url:o,name:i,user_status:r}
1=t,s={type:e,uuid:n,link:o,name:i,status:r};return s.hasAccess=this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST||(0,W.Mg)({parent:this.currentParent,content:s}),s},getExercisesGroupStatus(t){let e=null;const n=t.reduce((t,n)=>(e=this.courseExercises.find(t=>t.id===n.uuid),t[e.user_status]?t[e.user_status]+=1:t[e.user_status]=1,t),{});return n[z.A.CONTENT_USER_STATUS.FINISHED]&&n[z.A.CONTENT_USER_STATUS.FINISHED]===t.length?z.A.CONTENT_USER_STATUS.FINISHED:n[z.A.CONTENT_USER_STATUS.STARTED]||n[z.A.CONTENT_USER_STATUS.FINISHED]?z.A.CONTENT_USER_STATUS.STARTED:z.A.CONTENT_USER_STATUS.UNSTARTED},updateContext(t){this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST&&this.setParentContent({...this.currentParent,type:"playlist"}),t!==z.A.CONTENT_TYPES.VIDEO&&(this.$store.dispatch("content/setPlayingVideoId",""),this.$store.dispatch("content/setPlayingVideoTime",0)),t!==z.A.CONTENT_TYPES.QUIZ&&this.$store.dispatch("content/setCurrentQuizId",""),t!==z.A.CONTENT_TYPES.EXERCISE_GROUP&&this.$store.dispatch("content/setCurrentExercisesId",""),t!==z.A.CONTENT_TYPES.IFRAME&&this.$store.dispatch("iframes/setPlayingIFrameId","")}}};const Bn=(0,O.A)(qn,[["render",Y]]);var Fn=Bn;const Mn={width:"24",height:"25",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"};function Un(t,e){return(0,o.uX)(),(0,o.CE)("svg",Mn,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M9 13.5a1 1 0 100-2 1 1 0 000 2zM9 6.5a1 1 0 100-2 1 1 0 000 2zM9 20.5a1 1 0 100-2 1 1 0 000 2zM15 13.5a1 1 0 100-2 1 1 0 000 2zM15 6.5a1 1 0 100-2 1 1 0 000 2zM15 20.5a1 1 0 100-2 1 1 0 000 2z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const $n={},Vn=(0,O.A)($n,[["render",Un]]);var Hn=Vn,Xn=n(35567),jn=n.n(Xn),zn=n(17766),Yn={name:"Levels",mixins:[zn.Ay],components:{Level:Fn,TrashIcon:H.A,DotsIcon:Hn,draggable:jn()},props:{leaves:{type:Array,required:!0},progress:{type:[Object,String],required:!1},contentFor:{type:String,required:!0},parentId:{type:String,required:!0},hideAction:{type:Boolean,default:!1},isEditable:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},topicIndex:{type:Number,required:!1}},data(){return{preparedLevels:[],newLevels:[]}},computed:{...(0,L.aH)({currentLevels:t=>t.courses.currentLevels}),...(0,L.L8)({businessUser:"business/getBusinessUser",currentPlaylist:"playlists/currentPlaylist"})},mounted(){this.prepareLevels()},methods:{canPutLevel(t,e,n){return n&&n.content_type&&!Array.isArray(n.content)},prepareLevels(){const t=[];let e=[],n=null;for(let o=0;o<this.leaves.length;o++){const i=V()(this.leaves[o]),{content_type:r}=i,s={};r===z.A.CONTENT_TYPES.EXERCISE&&e.push(i),!e.length||r===z.A.CONTENT_TYPES.EXERCISE&&o!==this.leaves.length-1||(s.uuid=`u${j()()}`,s.content_type=z.A.CONTENT_TYPES.EXERCISE_GROUP,s.last_activity=n,s.exercises=e,this.currentLevels.includes(s)||this.$store.dispatch("courses/updateCurrentLevels",s),t.push(s),e=[]),this.currentLevels.includes(i)||r===z.A.CONTENT_TYPES.EXERCISE||(r===z.A.CONTENT_TYPES.QUIZ&&(i.last_activity=n),r===z.A.CONTENT_TYPES.VIDEO&&o<this.leaves.length-1&&this.leaves[o+1].content_type===z.A.CONTENT_TYPES.QUIZ&&(i.quiz=this.leaves[o+1]),this.contentFor===z.A.PARENT_CONTENT_TYPES_KEYS.COURSE&&this.$store.dispatch("courses/updateCurrentLevels",i),t.push(i)),[z.A.CONTENT_TYPES.VIDEO,z.A.CONTENT_TYPES.IFRAME,z.A.CONTENT_TYPES.SLIDES].includes(r)&&(n=i)}this.preparedLevels=t},deleteContentHandler(t){this.newLevels=this.preparedLevels.filter(e=>e.uuid!==t),this.onContentChange("removed")},updateContentHandler(t){this.newLevels=this.preparedLevels,this.onContentChange(t)},onContentChange(t){this.$emit("levels-changed",{event:t,topicIndex:this.topicIndex,newLevels:this.newLevels})}},watch:{currentPlaylist:{handler(){this.prepareLevels()},deep:!0},leaves:{handler(){this.prepareLevels()},deep:!0}}};const Wn=(0,O.A)(Yn,[["render",U],["__scopeId","data-v-4e1bee03"]]);var Qn=Wn;const Gn={class:"topic-progress"},Kn={key:0},Zn={class:"topic-progress__progress-count"};function Jn(t,e,n,r,s,a){const l=(0,o.g2)("GreenTickIcon"),c=(0,o.g2)("RadialProgressBar");return(0,o.uX)(),(0,o.CE)("div",Gn,[n.topicProgressCompleted===n.topicContentLength?((0,o.uX)(),(0,o.CE)("span",Kn,[(0,o.bF)(l)])):((0,o.uX)(),(0,o.Wv)(c,{key:1,diameter:30,strokeWidth:3,innerStrokeColor:"#444444",startColor:"#70FFD4",stopColor:"#70FFD4","completed-steps":n.topicProgressCompleted,"total-steps":n.topicContentLength},null,8,["completed-steps","total-steps"])),(0,o.Lk)("p",Zn,(0,i.v_)(a.progressText),1)])}var to=n(57962),eo={name:"TopicProgress",components:{RadialProgressBar:to.A,GreenTickIcon:yt.A},props:{topicProgressCompleted:{type:Number,required:!0},topicContentLength:{type:Number,reuqired:!0}},computed:{progressText(){return this.topicProgressCompleted===this.topicContentLength?"Section finished":`${this.topicProgressCompleted}/${this.topicContentLength} items finished`}}};const no=(0,O.A)(eo,[["render",Jn],["__scopeId","data-v-239f7ff3"]]);var oo=no,io=n(93876),ro=n(15254),so=n(36215),ao={name:"Topic",components:{TopicProgress:oo,Notes:D,Levels:Qn,TrashIcon:H.A,DotsIcon:Hn,Edit2Icon:io.A,XIcon:ro.A,Errors:so.A},props:{topicIndex:{type:Number,required:!1},isUser:{required:!1,type:Boolean},topic:{required:!0,type:Object},topicProgress:{required:!1,type:Object},progress:{type:[Object,String],required:!1},type:{type:String,required:!0},parentId:{type:String,required:!0},hideAction:{type:Boolean,default:!1},isEditable:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1}
1,displayTopicPanel:{type:Boolean,default:!1},showEmptyWhenReadOnly:{type:Boolean,default:!1}},data(){return{expand:this.topicProgress.completed<this.topic.content.length||!this.topic.content.length,topicName:"",editTopicName:!1,showTopicNameErrors:!1}},computed:{showTopic(){return!(!this.isEditable&&!this.showEmptyWhenReadOnly)||this.hasContent},hasContent(){var t,e;return(null===(t=this.topic)||void 0===t||null===(e=t.content)||void 0===e?void 0:e.length)>0},toggleText(){return this.expand?"Hide details":"Show details"},topicKey(){const{topic:t}=this;return null!==t&&void 0!==t&&t.id?`${t.id}-${t.uuid||t.name}`:`${t.uuid||t.name}`},isPlaylist(){return this.type===z.A.PARENT_CONTENT_TYPES_KEYS.PLAYLIST},editInputHasContent(){return this.topicName.trim().length>0},topicNameError(){return!this.topicName||!this.editInputHasContent},showTopicNameError(){return this.showTopicNameErrors&&this.topicNameError}},methods:{handleToggleClick(){this.expand=!this.expand},handleLevelsChanged({event:t,topicIndex:e,newLevels:n}){this.$emit("levels-changed",{event:t,topicIndex:e,newLevels:n})},updateTopicName(t){this.topicNameError?this.showTopicNameErrors=!0:(this.$emit("update-topic-name",this.topicIndex,t),this.showTopicNameErrors=!1,this.editTopicName=!1,this.topicName="")},clearEditInput(){this.topicName=""},closeEditInput(){this.editTopicName=!1,this.topicName="",this.showTopicNameErrors=!1},onClickOutsideEdit(){this.editTopicName&&this.closeEditInput()}},directives:{focus:{mounted(t,e){!1!==(null===e||void 0===e?void 0:e.value)&&requestAnimationFrame(()=>{t&&"function"===typeof t.focus&&(t.focus(),"function"===typeof t.select&&t.select())})},updated(t,e){null===e||void 0===e||!e.value||null!==e&&void 0!==e&&e.oldValue||requestAnimationFrame(()=>{t&&"function"===typeof t.focus&&(t.focus(),"function"===typeof t.select&&t.select())})}},clickOutside:{mounted(t,e){const n=n=>{t.contains(n.target)||"function"===typeof e.value&&e.value(n)};t.__vueClickOutside__=n,document.addEventListener("mousedown",n)},unmounted(t){document.removeEventListener("mousedown",t.__vueClickOutside__),delete t.__vueClickOutside__}}}};const lo=(0,O.A)(ao,[["render",y],["__scopeId","data-v-690b0dbd"]]);var co=lo},8554:function(t,e,n){"use strict";n.d(e,{A:function(){return p}});var o=n(95976);const i={class:"alert"},r={class:"alert__modal"},s={class:"alert__container"};function a(t,e,n,a,l,c){const u=(0,o.g2)("XIcon");return(0,o.uX)(),(0,o.CE)("div",i,[(0,o.Lk)("div",r,[(0,o.Lk)("div",s,[n.showClose?((0,o.uX)(),(0,o.CE)("button",{key:0,class:"alert__close",onClick:e[0]||(e[0]=e=>t.$emit("close-modal"))},[(0,o.bF)(u,{class:"alert__close--icon"})])):(0,o.Q3)("",!0),(0,o.RG)(t.$slots,"default",{},void 0,!0)])])])}var l=n(15254),c={name:"AlertModal",components:{XIcon:l.A},props:{showClose:{type:Boolean,default:!0}}},u=n(1169);const d=(0,u.A)(c,[["render",a],["__scopeId","data-v-3a15d9d4"]]);var p=d},35567:function(t,e,n){(function(e,o){t.exports=o(n(43311),n(89771))})("undefined"!==typeof self&&self,function(t,e){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var o=n("b622"),i=o("toStringTag"),r={};r[i]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,n){var o=n("1c0b");t.exports=function(t,e,n){if(o(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,i){return t.call(e,n,o,i)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var o=n("fc6a"),i=n("241c").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==r.call(t)?a(t):i(o(t))}},"06cf":function(t,e,n){var o=n("83ab"),i=n("d1e7"),r=n("5c6c"),s=n("fc6a"),a=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=o?u:function(t,e){if(t=s(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(l(t,e))return r(!i.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var o=n("83ab"),i=n("d039"),r=n("cc12");t.exports=!o&&!i(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},"13d5":function(t,e,n){"use strict";
1var o=n("23e7"),i=n("d58f").left,r=n("a640"),s=n("ae40"),a=r("reduce"),l=s("reduce",{1:0});o({target:"Array",proto:!0,forced:!a||!l},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,n){var o=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var r=n.call(t,e);if("object"!==typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==o(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159b":function(t,e,n){var o=n("da84"),i=n("fdbc"),r=n("17c2"),s=n("9112");for(var a in i){var l=o[a],c=l&&l.prototype;if(c&&c.forEach!==r)try{s(c,"forEach",r)}catch(u){c.forEach=r}}},"17c2":function(t,e,n){"use strict";var o=n("b727").forEach,i=n("a640"),r=n("ae40"),s=i("forEach"),a=r("forEach");t.exports=s&&a?[].forEach:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}},"1be4":function(t,e,n){var o=n("d066");t.exports=o("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var o=n("b622"),i=o("iterator"),r=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(l){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(l){}return n}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var o=n("d039"),i=n("b622"),r=n("2d00"),s=i("species");t.exports=function(t){return r>=51||!o(function(){var e=[],n=e.constructor={};return n[s]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},"23cb":function(t,e,n){var o=n("a691"),i=Math.max,r=Math.min;t.exports=function(t,e){var n=o(t);return n<0?i(n+e,0):r(n,e)}},"23e7":function(t,e,n){var o=n("da84"),i=n("06cf").f,r=n("9112"),s=n("6eeb"),a=n("ce4e"),l=n("e893"),c=n("94ca");t.exports=function(t,e){var n,u,d,p,h,f,g=t.target,v=t.global,m=t.stat;if(u=v?o:m?o[g]||a(g,{}):(o[g]||{}).prototype,u)for(d in e){if(h=e[d],t.noTargetGet?(f=i(u,d),p=f&&f.value):p=u[d],n=c(v?d:g+(m?".":"#")+d,t.forced),!n&&void 0!==p){if(typeof h===typeof p)continue;l(h,p)}(t.sham||p&&p.sham)&&r(h,"sham",!0),s(u,d,h,t)}}},"241c":function(t,e,n){var o=n("ca84"),i=n("7839"),r=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,r)}},"25f0":function(t,e,n){"use strict";var o=n("6eeb"),i=n("825a"),r=n("d039"),s=n("ad6d"),a="toString",l=RegExp.prototype,c=l[a],u=r(function(){return"/a/b"!=c.call({source:"a",flags:"b"})}),d=c.name!=a;(u||d)&&o(RegExp.prototype,a,function(){var t=i(this),e=String(t.source),n=t.flags,o=String(void 0===n&&t instanceof RegExp&&!("flags"in l)?s.call(t):n);return"/"+e+"/"+o},{unsafe:!0})},"2ca0":function(t,e,n){"use strict";var o=n("23e7"),i=n("06cf").f,r=n("50c4"),s=n("5a34"),a=n("1d80"),l=n("ab13"),c=n("c430"),u="".startsWith,d=Math.min,p=l("startsWith"),h=!c&&!p&&!!function(){var t=i(String.prototype,"startsWith");return t&&!t.writable}();o({target:"String",proto:!0,forced:!h&&!p},{startsWith:function(t){var e=String(a(this));s(t);var n=r(d(arguments.length>1?arguments[1]:void 0,e.length)),o=String(t);return u?u.call(e,o,n):e.slice(n,n+o.length)===o}})},"2d00":function(t,e,n){var o,i,r=n("da84"),s=n("342f"),a=r.process,l=a&&a.versions,c=l&&l.v8;c?(o=c.split("."),i=o[0]+o[1]):s&&(o=s.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=s.match(/Chrome\/(\d+)/),o&&(i=o[1]))),t.exports=i&&+i},"342f":function(t,e,n){var o=n("d066");t.exports=o("navigator","userAgent")||""},"35a1":function(t,e,n){var o=n("f5df"),i=n("3f8c"),r=n("b622"),s=r("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||i[o(t)]}},"37e8":function(t,e,n){var o=n("83ab"),i=n("9bf2"),r=n("825a"),s=n("df75");t.exports=o?Object.defineProperties:function(t,e){r(t);var n,o=s(e),a=o.length,l=0;while(a>l)i.f(t,n=o[l++],e[n]);return t}},"3bbe":function(t,e,n){var o=n("861d");t.exports=function(t){if(!o(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var o=n("6547").charAt,i=n("69f3"),r=n("7dd0"),s="String Iterator",a=i.set,l=i.getterFor(s);r(String,"String",function(t){a(this,{type:s,string:String(t),index:0})},function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=o(n,i),e.index+=t.length,{value:t,done:!1})})},"3f8c":function(t,e){t.exports={}},4160:function(t,e,n){"use strict";var o=n("23e7"),i=n("17c2");o({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i}
vendor: 4,804 bytes, line 1
1)},"428f":function(t,e,n){var o=n("da84");t.exports=o},"44ad":function(t,e,n){var o=n("d039"),i=n("c6b6"),r="".split;t.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==i(t)?r.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var o=n("b622"),i=n("7c73"),r=n("9bf2"),s=o("unscopables"),a=Array.prototype;void 0==a[s]&&r.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},"44e7":function(t,e,n){var o=n("861d"),i=n("c6b6"),r=n("b622"),s=r("match");t.exports=function(t){var e;return o(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==i(t))}},4930:function(t,e,n){var o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())})},"4d64":function(t,e,n){var o=n("fc6a"),i=n("50c4"),r=n("23cb"),s=function(t){return function(e,n,s){var a,l=o(e),c=i(l.length),u=r(s,c);if(t&&n!=n){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(t,e,n){"use strict";var o=n("23e7"),i=n("b727").filter,r=n("1dde"),s=n("ae40"),a=r("filter"),l=s("filter");o({target:"Array",proto:!0,forced:!a||!l},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var o=n("0366"),i=n("7b0b"),r=n("9bdd"),s=n("e95a"),a=n("50c4"),l=n("8418"),c=n("35a1");t.exports=function(t){var e,n,u,d,p,h,f=i(t),g="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:void 0,y=void 0!==m,b=c(f),_=0;if(y&&(m=o(m,v>2?arguments[2]:void 0,2)),void 0==b||g==Array&&s(b))for(e=a(f.length),n=new g(e);e>_;_++)h=y?m(f[_],_):f[_],l(n,_,h);else for(d=b.call(f),p=d.next,n=new g;!(u=p.call(d)).done;_++)h=y?r(d,m,[u.value,_],!0):u.value,l(n,_,h);return n.length=_,n}},"4fad":function(t,e,n){var o=n("23e7"),i=n("6f53").entries;o({target:"Object",stat:!0},{entries:function(t){return i(t)}})},"50c4":function(t,e,n){var o=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(o(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5319:function(t,e,n){"use strict";var o=n("d784"),i=n("825a"),r=n("7b0b"),s=n("50c4"),a=n("a691"),l=n("1d80"),c=n("8aa5"),u=n("14c3"),d=Math.max,p=Math.min,h=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,v=function(t){return void 0===t?t:String(t)};o("replace",2,function(t,e,n,o){var m=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=o.REPLACE_KEEPS_$0,b=m?"$":"$0";return[function(n,o){var i=l(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i,o):e.call(String(i),n,o)},function(t,o){if(!m&&y||"string"===typeof o&&-1===o.indexOf(b)){var r=n(e,t,this,o);if(r.done)return r.value}var l=i(t),h=String(this),f="function"===typeof o;f||(o=String(o));var g=l.global;if(g){var S=l.unicode;l.lastIndex=0}var T=[];while(1){var E=u(l,h);if(null===E)break;if(T.push(E),!g)break;var A=String(E[0]);""===A&&(l.lastIndex=c(h,s(l.lastIndex),S))}for(var w="",C=0,k=0;k<T.length;k++){E=T[k];for(var x=String(E[0]),L=d(p(a(E.index),h.length),0),I=[],N=1;N<E.length;N++)I.push(v(E[N]));var O=E.groups;if(f){var P=[x].concat(I,L,h);void 0!==O&&P.push(O);var D=String(o.apply(void 0,P))}else D=_(x,h,L,I,O,o);L>=C&&(w+=h.slice(C,L)+D,C=L+x.length)}return w+h.slice(C)}];function _(t,n,o,i,s,a){var l=o+t.length,c=i.length,u=g;return void 0!==s&&(s=r(s),u=f),e.call(a,u,function(e,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":a=s[r.slice(1,-1)];break;default:var u=+r;if(0===u)return e;if(u>c){var d=h(u/10);return 0===d?e:d<=c?void 0===i[d-1]?r.charAt(1):i[d-1]+r.charAt(1):e}a=i[u-1]}return void 0===a?"":a})}})},5692:function(t,e,n){var o=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var o=n("d066"),i=n("241c"),r=n("7418"),s=n("825a");t.exports=o("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=r.f;return n?e.concat(n(t)):e}},"5a34":function(t,e,n){var o=n("44e7");t.exports=function(t){if(o(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5db7":function(t,e,n){"use strict";var o=n("23e7"),i=n("a2bf"),r=n("7b0b"),s=n("50c4"),a=n("1c0b"),l=n("65f0");o({target:"Array",proto:!0},{flatMap:function(t){var e,n=r(this),o=s(n.length);return a(t),e=l(n,0),e.length=i(e,n,n,o,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},6547:function(t,e,n){var o=n("a691"),i=n("1d80"),r=function(t){return function(e,n){var r,s,a=String(i(e)),l=o(n),c=a.length;return l<0||l>
vendor: 4,644 bytes, line 1
1=c?t?"":void 0:(r=a.charCodeAt(l),r<55296||r>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):r:t?a.slice(l,l+2):s-56320+(r-55296<<10)+65536)}};t.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(t,e,n){var o=n("861d"),i=n("e8b5"),r=n("b622"),s=r("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var o,i,r,s=n("7f9a"),a=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("f772"),p=n("d012"),h=a.WeakMap,f=function(t){return r(t)?i(t):o(t,{})},g=function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(s){var v=new h,m=v.get,y=v.has,b=v.set;o=function(t,e){return b.call(v,t,e),e},i=function(t){return m.call(v,t)||{}},r=function(t){return y.call(v,t)}}else{var _=d("state");p[_]=!0,o=function(t,e){return c(t,_,e),e},i=function(t){return u(t,_)?t[_]:{}},r=function(t){return u(t,_)}}t.exports={set:o,get:i,has:r,enforce:f,getterFor:g}},"6eeb":function(t,e,n){var o=n("da84"),i=n("9112"),r=n("5135"),s=n("ce4e"),a=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(t.exports=function(t,e,n,a){var l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||r(n,"name")||i(n,"name",e),u(n).source=d.join("string"==typeof e?e:"")),t!==o?(l?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:s(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||a(this)})},"6f53":function(t,e,n){var o=n("83ab"),i=n("df75"),r=n("fc6a"),s=n("d1e7").f,a=function(t){return function(e){var n,a=r(e),l=i(a),c=l.length,u=0,d=[];while(c>u)n=l[u++],o&&!s.call(a,n)||d.push(t?[n,a[n]]:a[n]);return d}};t.exports={entries:a(!0),values:a(!1)}},"73d9":function(t,e,n){var o=n("44d2");o("flatMap")},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var o=n("428f"),i=n("5135"),r=n("e538"),s=n("9bf2").f;t.exports=function(t){var e=o.Symbol||(o.Symbol={});i(e,t)||s(e,t,{value:r.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var o=n("1d80");t.exports=function(t){return Object(o(t))}},"7c73":function(t,e,n){var o,i=n("825a"),r=n("37e8"),s=n("7839"),a=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=">",p="<",h="prototype",f="script",g=u("IE_PROTO"),v=function(){},m=function(t){return p+f+d+t+p+"/"+f+d},y=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=c("iframe"),n="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},_=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(e){}_=o?y(o):b();var t=s.length;while(t--)delete _[h][s[t]];return _()};a[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[h]=i(t),n=new v,v[h]=null,n[g]=t):n=_(),void 0===e?n:r(n,e)}},"7dd0":function(t,e,n){"use strict";var o=n("23e7"),i=n("9ed3"),r=n("e163"),s=n("d2bb"),a=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),p=n("3f8c"),h=n("ae93"),f=h.IteratorPrototype,g=h.BUGGY_SAFARI_ITERATORS,v=u("iterator"),m="keys",y="values",b="entries",_=function(){return this};t.exports=function(t,e,n,u,h,S,T){i(n,e,u);var E,A,w,C=function(t){if(t===h&&N)return N;if(!g&&t in L)return L[t];switch(t){case m:return function(){return new n(this,t)};case y:return function(){return new n(this,t)};case b:return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",x=!1,L=t.prototype,I=L[v]||L["@@iterator"]||h&&L[h],N=!g&&I||C(h),O="Array"==e&&L.entries||I;if(O&&(E=r(O.call(new t)),f!==Object.prototype&&E.next&&(d||r(E)===f||(s?s(E,f):"function"!=typeof E[v]&&l(E,v,_)),a(E,k,!0,!0),d&&(p[k]=_))),h==y&&I&&I.name!==y&&(x=!0,N=function(){return I.call(this)}),d&&!T||L[v]===N||l(L,v,N),p[e]=N,h)if(A={values:C(y),keys:S?N:C(m),entries:C(b)},T)for(w in A)(g||x||!(w in L))&&c(L,w,A[w]);else o({target:e,proto:!0,forced:g||x},A);return A}},"7f9a":function(t,e,n){var o=n("da84"),i=n("8925"),r=o.WeakMap;t.exports="function"===typeof r&&/native code/.test(i(r))},"825a":function(t,e,n){var o=n("861d");t.exports=function(t){if(!o(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var o=n("d039");t.exports=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
1)[1]})},8418:function(t,e,n){"use strict";var o=n("c04e"),i=n("9bf2"),r=n("5c6c");t.exports=function(t,e,n){var s=o(e);s in t?i.f(t,s,r(0,n)):t[s]=n}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var o,i,r;(function(n,s){i=[],o=s,r="function"===typeof o?o.apply(e,i):o,void 0===r||(t.exports=r)})("undefined"!==typeof self&&self,function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var n,o,i,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=r.exec(h.stack)||s.exec(h.stack),l=a&&a[1]||!1,c=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");l===u&&(n=document.documentElement.outerHTML,o=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(o,"$1").trim());for(var p=0;p<d.length;p++){if("interactive"===d[p].readyState)return d[p];if(d[p].src===l)return d[p];if(l===u&&d[p].innerHTML&&d[p].innerHTML.trim()===i)return d[p]}return null}}return t})},8925:function(t,e,n){var o=n("c6cd"),i=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(t){return i.call(t)}),t.exports=o.inspectSource},"8aa5":function(t,e,n){"use strict";var o=n("6547").charAt;t.exports=function(t,e,n){return e+(n?o(t,e).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,o=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+o).toString(36)}},9112:function(t,e,n){var o=n("83ab"),i=n("9bf2"),r=n("5c6c");t.exports=o?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var o=n("ad6d"),i=n("9f7f"),r=RegExp.prototype.exec,s=String.prototype.replace,a=r,l=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),c=i.UNSUPPORTED_Y||i.BROKEN_CARET,u=void 0!==/()??/.exec("")[1],d=l||u||c;d&&(a=function(t){var e,n,i,a,d=this,p=c&&d.sticky,h=o.call(d),f=d.source,g=0,v=t;return p&&(h=h.replace("y",""),-1===h.indexOf("g")&&(h+="g"),v=String(t).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==t[d.lastIndex-1])&&(f="(?: "+f+")",v=" "+v,g++),n=new RegExp("^(?:"+f+")",h)),u&&(n=new RegExp("^"+f+"$(?!\\s)",h)),l&&(e=d.lastIndex),i=r.call(p?n:d,v),p?i?(i.input=i.input.slice(g),i[0]=i[0].slice(g),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:l&&i&&(d.lastIndex=d.global?i.index+i[0].length:e),u&&i&&i.length>1&&s.call(i[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i}),t.exports=a},"94ca":function(t,e,n){var o=n("d039"),i=/#|\.prototype\./,r=function(t,e){var n=a[s(t)];return n==c||n!=l&&("function"==typeof e?o(e):!!e)},s=r.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";t.exports=r},"99af":function(t,e,n){"use strict";var o=n("23e7"),i=n("d039"),r=n("e8b5"),s=n("861d"),a=n("7b0b"),l=n("50c4"),c=n("8418"),u=n("65f0"),d=n("1dde"),p=n("b622"),h=n("2d00"),f=p("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",m=h>=51||!i(function(){var t=[];return t[f]=!1,t.concat()[0]!==t}),y=d("concat"),b=function(t){if(!s(t))return!1;var e=t[f];return void 0!==e?!!e:r(t)},_=!m||!y;o({target:"Array",proto:!0,forced:_},{concat:function(t){var e,n,o,i,r,s=a(this),d=u(s,0),p=0;for(e=-1,o=arguments.length;e<o;e++)if(r=-1===e?s:arguments[e],b(r)){if(i=l(r.length),p+i>g)throw TypeError(v);for(n=0;n<i;n++,p++)n in r&&c(d,p,r[n])}else{if(p>=g)throw TypeError(v);c(d,p++,r)}return d.length=p,d}})},"9bdd":function(t,e,n){var o=n("825a");t.exports=function(t,e,n,i){try{return i?e(o(n)[0],n[1]):e(n)}catch(s){var r=t["return"];throw void 0!==r&&o(r.call(t)),s}}},"9bf2":function(t,e,n){var o=n("83ab"),i=n("0cfb"),r=n("825a"),s=n("c04e"),a=Object.defineProperty;e.f=o?a:function(t,e,n){if(r(t),e=s(e,!0),r(n),i)try{return a(t,e,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var o=n("ae93").IteratorPrototype,i=n("7c73"),r=n("5c6c"),s=n("d44e"),a=n("3f8c"),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(o,{next:r(1,n)}),s(t,c,!1,!0),a[c]=l,t}},"9f7f":function(t,e,n){"use strict";var o=n("d039");function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=o(function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),e.BROKEN_CARET=o(function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},a2bf:function(t,e,n){"use strict";var o=n("e8b5"),i=n("50c4"),r=n("0366"),s=function(t,e,n,a,l,c,u,d){var p,h=l,f=0,g=!!u&&r(u,d,3);while(f<a){if(f in n){if(p=g?g(n[f],f,e):n[f],c>0&&o(p))h=s(t,e,p,i(p.length),h,c-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[h]=p}h++}f++}return h};t.exports=s},a352:function(t,n){t.exports=e},a434:function(t,e,n){"use strict";var o=n("23e7"),i=n("23cb"),r=n("a691"),s=n("50c4"),a=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),d=n("ae40"),p=u("splice"),h=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,g=Math.min,v=9007199254740991,m="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var n,o,u,d,p,h,y=a(this),b=s(y.length),_=i(t,b),S=arguments.length;if(0===S?n=o=0:1===S?(n=0,o=b-_):(n=S-2,o=g(f(r(e),0),b-_)),b+n-o>v)throw TypeError(m);for(u=l(y,o),d=0;d<o;d++)p=_+d,p in y&&c(u,d,y[p]);if(u.length=o,n<o){for(d=_;d<b-o;d++)p=d+o,h=d+n,p in y?y[h]=y[p]:delete y[h];for(d=b;d>b-o+n;d--)delete y[d-1]}else if(n>o)for(d=b-o;d>_;d--)p=d+o-1,h=d+n-1,p in y?y[h]=y[p]:delete y[h];for(d=0;d<n;d++)y[d+_]=arguments[d+2];return y.length=b-o+n,u}})},a4d3:function(t,e,n){"use strict";var o=n("23e7"),i=n("da84"),r=n("d066"),s=n("c430"),a=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),d=n("5135"),p=n("e8b5"),h=n("861d"),f=n("825a"),g=n("7b0b"),v=n("fc6a"),m=n("c04e"),y=n("5c6c"),b=n("7c73"),_=n("df75"),S=n("241c"),T=n("057f"),E=n("7418"),A=n("06cf"),w=n("9bf2"),C=n("d1e7"),k=n("9112"),x=n("6eeb"),L=n("5692"),I=n("f772"),N=n("d012"),O=n("90e3"),P=n("b622"),D=n("e538"),R=n("746f"),q=n("d44e"),B=n("69f3"),F=n("b727").forEach,M=I("hidden"),U="Symbol",$="prototype",V=P("toPrimitive"),H=B.set,X=B.getterFor(U),j=Object[$],z=i.Symbol,Y=r("JSON","stringify"),W=A.f,Q=w.f,G=T.f,K=C.f,Z=L("symbols"),J=L("op-symbol
1s"),tt=L("string-to-symbol-registry"),et=L("symbol-to-string-registry"),nt=L("wks"),ot=i.QObject,it=!ot||!ot[$]||!ot[$].findChild,rt=a&&u(function(){return 7!=b(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?function(t,e,n){var o=W(j,e);o&&delete j[e],Q(t,e,n),o&&t!==j&&Q(j,e,o)}:Q,st=function(t,e){var n=Z[t]=b(z[$]);return H(n,{type:U,tag:t,description:e}),a||(n.description=e),n},at=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof z},lt=function(t,e,n){t===j&<(J,e,n),f(t);var o=m(e,!0);return f(n),d(Z,o)?(n.enumerable?(d(t,M)&&t[M][o]&&(t[M][o]=!1),n=b(n,{enumerable:y(0,!1)})):(d(t,M)||Q(t,M,y(1,{})),t[M][o]=!0),rt(t,o,n)):Q(t,o,n)},ct=function(t,e){f(t);var n=v(e),o=_(n).concat(ft(n));return F(o,function(e){a&&!dt.call(n,e)||lt(t,e,n[e])}),t},ut=function(t,e){return void 0===e?b(t):ct(b(t),e)},dt=function(t){var e=m(t,!0),n=K.call(this,e);return!(this===j&&d(Z,e)&&!d(J,e))&&(!(n||!d(this,e)||!d(Z,e)||d(this,M)&&this[M][e])||n)},pt=function(t,e){var n=v(t),o=m(e,!0);if(n!==j||!d(Z,o)||d(J,o)){var i=W(n,o);return!i||!d(Z,o)||d(n,M)&&n[M][o]||(i.enumerable=!0),i}},ht=function(t){var e=G(v(t)),n=[];return F(e,function(t){d(Z,t)||d(N,t)||n.push(t)}),n},ft=function(t){var e=t===j,n=G(e?J:v(t)),o=[];return F(n,function(t){!d(Z,t)||e&&!d(j,t)||o.push(Z[t])}),o};if(l||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=O(t),n=function(t){this===j&&n.call(J,t),d(this,M)&&d(this[M],e)&&(this[M][e]=!1),rt(this,e,y(1,t))};return a&&it&&rt(j,e,{configurable:!0,set:n}),st(e,t)},x(z[$],"toString",function(){return X(this).tag}),x(z,"withoutSetter",function(t){return st(O(t),t)}),C.f=dt,w.f=lt,A.f=pt,S.f=T.f=ht,E.f=ft,D.f=function(t){return st(P(t),t)},a&&(Q(z[$],"description",{configurable:!0,get:function(){return X(this).description}}),s||x(j,"propertyIsEnumerable",dt,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:z}),F(_(nt),function(t){R(t)}),o({target:U,stat:!0,forced:!l},{for:function(t){var e=String(t);if(d(tt,e))return tt[e];var n=z(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(d(et,t))return et[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!a},{create:ut,defineProperty:lt,defineProperties:ct,getOwnPropertyDescriptor:pt}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ht,getOwnPropertySymbols:ft}),o({target:"Object",stat:!0,forced:u(function(){E.f(1)})},{getOwnPropertySymbols:function(t){return E.f(g(t))}}),Y){var gt=!l||u(function(){var t=z();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))});o({target:"JSON",stat:!0,forced:gt},{stringify:function(t,e,n){var o,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(o=e,(h(e)||void 0!==t)&&!at(t))return p(e)||(e=function(t,e){if("function"==typeof o&&(e=o.call(this,t,e)),!at(e))return e}),i[1]=e,Y.apply(null,i)}})}z[$][V]||k(z[$],V,z[$].valueOf),q(z,U),N[M]=!0},a630:function(t,e,n){var o=n("23e7"),i=n("4df4"),r=n("1c7e"),s=!r(function(t){Array.from(t)});o({target:"Array",stat:!0,forced:s},{from:i})},a640:function(t,e,n){"use strict";var o=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&o(function(){n.call(null,e||function(){throw 1},1)})}},a691:function(t,e){var n=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},ab13:function(t,e,n){var o=n("b622"),i=o("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(o){}}return!1}},ac1f:function(t,e,n){"use strict";var o=n("23e7"),i=n("9263");o({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var o=n("825a");t.exports=function(){var t=o(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,n){var o=n("83ab"),i=n("d039"),r=n("5135"),s=Object.defineProperty,a={},l=function(t){throw t};t.exports=function(t,e){if(r(a,t))return a[t];e||(e={});var n=[][t],c=!!r(e,"ACCESSORS")&&e.ACCESSORS,u=r(e,0)?e[0]:l,d=r(e,1)?e[1]:void 0;return a[t]=!!n&&!i(function(){if(c&&!o)return!0;var t={length:-1};c?s(t,1,{enumerable:!0,get:l}):t[1]=1,n.call(t,u,d)})}},ae93:function(t,e,n){"use strict";var o,i,r,s=n("e163"),a=n("9112"),l=n("5135"),c=n("b622"),u=n("c430"),d=c("iterator"),p=!1,h=function(){return this};[].keys&&(r=[].keys(),"next"in r?(i=s(s(r)),i!==Object.prototype&&(o=i)):p=!0),void 0==o&&(o={}),u||l(o,d)||a(o,d,h),t.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:p}},b041:function(t,e,n){"use strict";var o=n("00ee"),i=n("f5df");t.exports=o?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var o=n("83ab"),i=n("9bf2").f,r=Function.prototype,s=r.toString,a=/^\s*function ([^ (]*)/,l="name";o&&!(l in r)&&i(r,l,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b622:function(t,e,n){var o=n("da84"),i=n("5692"),r=n("5135"),s=n("90e3"),a=n("4930"),l=n("fdbf"),c=i("wks"),u=o.Symbol,d=l?u:u&&u.withoutSetter||s;t.exports=function(t){return r(c,t)||(a&&r(u,t)?c[t]=u[t]:c[t]=d("Symbol."+t)),c[t]}},b64b:function(t,e,n){var o=n("23e7"),i=n("7b0b"),r=n("df75"),s=n("d039"),a=s(function(){r(1)});o({target:"Object",stat:!0,forced:a},{keys:function(t){return r(i(t))}})},b727:function(t,e,n){var o=n("0366"),i=n("44ad"),r=n("7b0b"),s=n("50c4"),a=n("65f0"),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,d=6==t,p=5==t||d;return function(h,f,g,v){for(var m,y,b=r(h),_=i(b),S=o(f,g,3),T=s(_.length),E=0,A=v||a,w=e?A(h,T):n?A(h,0):void 0;T>E;E++)if((p||E in _)&&(m=_[E],y=S(m,E,b),t))if(e)w[E]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l.call(w,m)}else if(u)return!1;return d?-1:c||u?u:w}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},c04e:function(t,e,n){var o=n("861d");t.exports=function(t,e){if(!o(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!o(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!o(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!o(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var o=n("da84"),i=n("ce4e"),r="__core-js_shared__",s=o[r]||i(r,{});t.exports=s},c740:function(t,e,n){"use strict";var o=n("23e7"),i=n("b727").findIndex,r=n("44d2"),s=n("ae40"),a="findIndex",l=!0,c=s(a);a in[]&&Array(1)[a](function(){l=!1}),o({target:"Array",proto:!0,forced:l||!c},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(a)},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}t.exports=n},c975:function(t,e,n){"use strict";var o=n("23e7"),i=n("4d64").indexOf,r=n("a640"),s=n("ae40"),a=[].indexOf,l=!!a&&1/[1].indexOf(1,-0)<0,
vendor: 1,545 bytes, line 1
1c=r("indexOf"),u=s("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(t){return l?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,e,n){var o=n("5135"),i=n("fc6a"),r=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=i(t),l=0,c=[];for(n in a)!o(s,n)&&o(a,n)&&c.push(n);while(e.length>l)o(a,n=e[l++])&&(~r(c,n)||c.push(n));return c}},caad:function(t,e,n){"use strict";var o=n("23e7"),i=n("4d64").includes,r=n("44d2"),s=n("ae40"),a=s("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:!a},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")},cc12:function(t,e,n){var o=n("da84"),i=n("861d"),r=o.document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},ce4e:function(t,e,n){var o=n("da84"),i=n("9112");t.exports=function(t,e){try{i(o,t,e)}catch(n){o[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var o=n("428f"),i=n("da84"),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(o[t])||r(i[t]):o[t]&&o[t][e]||i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var o={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!o.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:o},d28b:function(t,e,n){var o=n("746f");o("iterator")},d2bb:function(t,e,n){var o=n("825a"),i=n("3bbe");
vendor: 4,404 bytes, line 1
1t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(r){}return function(n,r){return o(n),i(r),e?t.call(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var o=n("00ee"),i=n("6eeb"),r=n("b041");o||i(Object.prototype,"toString",r,{unsafe:!0})},d44e:function(t,e,n){var o=n("9bf2").f,i=n("5135"),r=n("b622"),s=r("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,s)&&o(t,s,{configurable:!0,value:e})}},d58f:function(t,e,n){var o=n("1c0b"),i=n("7b0b"),r=n("44ad"),s=n("50c4"),a=function(t){return function(e,n,a,l){o(n);var c=i(e),u=r(c),d=s(c.length),p=t?d-1:0,h=t?-1:1;if(a<2)while(1){if(p in u){l=u[p],p+=h;break}if(p+=h,t?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:d>p;p+=h)p in u&&(l=n(l,u[p],p,c));return l}};t.exports={left:a(!1),right:a(!0)}},d784:function(t,e,n){"use strict";n("ac1f");var o=n("6eeb"),i=n("d039"),r=n("b622"),s=n("9263"),a=n("9112"),l=r("species"),c=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),u=function(){return"$0"==="a".replace(/./,"$0")}(),d=r("replace"),p=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),h=!i(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,d){var f=r(t),g=!i(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),v=g&&!i(function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e});if(!g||!v||"replace"===t&&(!c||!u||p)||"split"===t&&!h){var m=/./[f],y=n(f,""[t],function(t,e,n,o,i){return e.exec===s?g&&!i?{done:!0,value:m.call(e,n,o)}:{done:!0,value:t.call(n,e,o)}:{done:!1}},{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=y[0],_=y[1];o(String.prototype,t,b),o(RegExp.prototype,f,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}d&&a(RegExp.prototype[f],"sham",!0)}},d81d:function(t,e,n){"use strict";var o=n("23e7"),i=n("b727").map,r=n("1dde"),s=n("ae40"),a=r("map"),l=s("map");o({target:"Array",proto:!0,forced:!a||!l},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(t,e,n){var o=n("23e7"),i=n("83ab"),r=n("56ef"),s=n("fc6a"),a=n("06cf"),l=n("8418");o({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){var e,n,o=s(t),i=a.f,c=r(o),u={},d=0;while(c.length>d)n=i(o,e=c[d++]),void 0!==n&&l(u,e,n);return u}})},dbf1:function(t,e,n){"use strict";(function(t){function o(){return"undefined"!==typeof window?window.console:t.console}n.d(e,"a",function(){return i});var i=o()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var o=n("da84"),i=n("fdbc"),r=n("e260"),s=n("9112"),a=n("b622"),l=a("iterator"),c=a("toStringTag"),u=r.values;for(var d in i){var p=o[d],h=p&&p.prototype;if(h){if(h[l]!==u)try{s(h,l,u)}catch(g){h[l]=u}if(h[c]||s(h,c,d),i[d])for(var f in r)if(h[f]!==r[f])try{s(h,f,r[f])}catch(g){h[f]=r[f]}}}},df75:function(t,e,n){var o=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return o(t,i)}},e01a:function(t,e,n){"use strict";var o=n("23e7"),i=n("83ab"),r=n("da84"),s=n("5135"),a=n("861d"),l=n("9bf2").f,c=n("e893"),u=r.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};c(p,u);var h=p.prototype=u.prototype;h.constructor=p;var f=h.toString,g="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;l(h,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=f.call(t);if(s(d,t))return"";var n=g?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),o({global:!0,forced:!0},{Symbol:p})}},e163:function(t,e,n){var o=n("5135"),i=n("7b0b"),r=n("f772"),s=n("e177"),a=r
1("IE_PROTO"),l=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=i(t),o(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,n){var o=n("d039");t.exports=!o(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},e260:function(t,e,n){"use strict";var o=n("fc6a"),i=n("44d2"),r=n("3f8c"),s=n("69f3"),a=n("7dd0"),l="Array Iterator",c=s.set,u=s.getterFor(l);t.exports=a(Array,"Array",function(t,e){c(this,{type:l,target:o(t),index:0,kind:e})},function(){var t=u(this),e=t.target,n=t.kind,o=t.index++;return!e||o>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:e[o],done:!1}:{value:[o,e[o]],done:!1}},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},e439:function(t,e,n){var o=n("23e7"),i=n("d039"),r=n("fc6a"),s=n("06cf").f,a=n("83ab"),l=i(function(){s(1)}),c=!a||l;o({target:"Object",stat:!0,forced:c,sham:!a},{getOwnPropertyDescriptor:function(t,e){return s(r(t),e)}})},e538:function(t,e,n){var o=n("b622");e.f=o},e893:function(t,e,n){var o=n("5135"),i=n("56ef"),r=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=i(e),a=s.f,l=r.f,c=0;c<n.length;c++){var u=n[c];o(t,u)||a(t,u,l(e,u))}}},e8b5:function(t,e,n){var o=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==o(t)}},e95a:function(t,e,n){var o=n("b622"),i=n("3f8c"),r=o("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[r]===t)}},f5df:function(t,e,n){var o=n("00ee"),i=n("c6b6"),r=n("b622"),s=r("toStringTag"),a="Arguments"==i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=o?i:function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=Object(t),s))?n:a?i(e):"Object"==(o=i(e))&&"function"==typeof e.callee?"Arguments":o}},f772:function(t,e,n){var o=n("5692"),i=n("90e3"),r=o("keys");t.exports=function(t){return r[t]||(r[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var o=window.document.currentScript,i=n("8875");o=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var r=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(n.p=r[1])}n("99af"),n("4de4"),n("4160"),n("c975"),n("d81d"),n("a434"),n("159b"),n("a4d3"),n("e439"),n("dbb4"),n("b64b");function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach(function(e){s(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function c(t){if(Array.isArray(t))return t}n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");function u(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],o=!0,i=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(o=(s=a.next()).done);o=!0)if(n.push(s.value),e&&n.length===e)break}catch(l){i=!0,r=l}finally{try{o||null==a["return"]||a["return"]()}finally{if(i)throw r}}return n}}n("a630"),n("fb6a"),n("b0c0"),n("25f0");function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function p(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,e){return c(t)||u(t,e)||p(t,e)||h()}function g(t){if(Array.isArray(t))return d(t)}function v(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(t){return g(t)||v(t)||p(t)||m()}var b=n("a352"),_=n.n(b);function S(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function T(t,e,n){var o=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,o)}var E=n("dbf1");n("13d5"),n("4fad"),n("ac1f"),n("5319");function A(t){var e=Object.create(null);return function(n){var o=e[n];return o||(e[n]=t(n))}}var w=/-(\w)/g,C=A(function(t){return t.replace(w,function(t,e){return e.toUpperCase()})}),k=(n("5db7"),n("73d9"),["Start","Add","Remove","Update","End"]),x=["Choose","Unchoose","Sort","Filter","Clone"],L=["Move"],I=[L,k,x].flatMap(function(t){return t}).map(function(t){return"on".concat(t)}),N={manage:L,manageAndEmit:k,emit:x};function O(t){return-1!==I.indexOf(t)}n("caad"),n("2ca0");var P=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function D(t){return P.includes(t)}function R(t){return["transition-group","TransitionGroup"].includes(t)}function q(t){return["id","class","role","style"].includes(t)||t.startsWith("data-")||t.startsWith("aria-")||t.startsWith("on")}function B(t){return t.reduce(function(t,e){var n=f(e,2),o=n[0],i=n[1];return t[o]=i,t},{})}function F(t){var e=t.$attrs,n=t.componentData,o=void 0===n?{}:n,i=B(Object.entries(e).filter(function(t){var e=f(t,2),n=e[0];e[1];return q(n)}));return l(l({},i),o)}function M(t){var e=t.$attrs,n=t.callBackBuilder,o=B(U(e));
1Object.entries(n).forEach(function(t){var e=f(t,2),n=e[0],i=e[1];N[n].forEach(function(t){o["on".concat(t)]=i(t)})});var i="[data-draggable]".concat(o.draggable||"");return l(l({},o),{},{draggable:i})}function U(t){return Object.entries(t).filter(function(t){var e=f(t,2),n=e[0];e[1];return!q(n)}).map(function(t){var e=f(t,2),n=e[0],o=e[1];return[C(n),o]}).filter(function(t){var e=f(t,2),n=e[0];e[1];return!O(n)})}n("c740");function $(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function H(t,e,n){return e&&V(t.prototype,e),n&&V(t,n),t}var X=function(t){var e=t.el;return e},j=function(t,e){return t.__draggable_context=e},z=function(t){return t.__draggable_context},Y=function(){function t(e){var n=e.nodes,o=n.header,i=n.default,r=n.footer,s=e.root,a=e.realList;$(this,t),this.defaultNodes=i,this.children=[].concat(y(o),y(i),y(r)),this.externalComponent=s.externalComponent,this.rootTransition=s.transition,this.tag=s.tag,this.realList=a}return H(t,[{key:"render",value:function(t,e){var n=this.tag,o=this.children,i=this._isRootComponent,r=i?{default:function(){return o}}:o;return t(n,e,r)}},{key:"updated",value:function(){var t=this.defaultNodes,e=this.realList;t.forEach(function(t,n){j(X(t),{element:e[n],index:n})})}},{key:"getUnderlyingVm",value:function(t){return z(t)}},{key:"getVmIndexFromDomIndex",value:function(t,e){var n=this.defaultNodes,o=n.length,i=e.children,r=i.item(t);if(null===r)return o;var s=z(r);if(s)return s.index;if(0===o)return 0;var a=X(n[0]),l=y(i).findIndex(function(t){return t===a});return t<l?0:o}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),t}(),W=n("8bbf");function Q(t,e){var n=t[e];return n?n():[]}function G(t){var e=t.$slots,n=t.realList,o=t.getKey,i=n||[],r=["header","footer"].map(function(t){return Q(e,t)}),s=f(r,2),a=s[0],c=s[1],u=e.item;if(!u)throw new Error("draggable element must have an item slot");var d=i.flatMap(function(t,e){return u({element:t,index:e}).map(function(e){return e.key=o(t),e.props=l(l({},e.props||{}),{},{"data-draggable":!0}),e})});if(d.length!==i.length)throw new Error("Item slot must have only one child");return{header:a,footer:c,default:d}}function K(t){var e=R(t),n=!D(t)&&!e;return{transition:e,externalComponent:n,tag:n?Object(W["resolveComponent"])(t):e?W["TransitionGroup"]:t}}function Z(t){var e=t.$slots,n=t.tag,o=t.realList,i=t.getKey,r=G({$slots:e,realList:o,getKey:i}),s=K(n);return new Y({nodes:r,root:s,realList:o})}function J(t,e){var n=this;Object(W["nextTick"])(function(){return n.$emit(t.toLowerCase(),e)})}function tt(t){var e=this;return function(n,o){if(null!==e.realList)return e["onDrag".concat(t)](n,o)}}function et(t){var e=this,n=tt.call(this,t);return function(o,i){n.call(e,o,i),J.call(e,t,o)}}var nt=null,ot={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(t){return t}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},it=["update:modelValue","change"].concat(y([].concat(y(N.manageAndEmit),y(N.emit)).map(function(t){return t.toLowerCase()}))),rt=Object(W["defineComponent"])({name:"draggable",inheritAttrs:!1,props:ot,emits:it,data:function(){return{error:!1}},render:function(){try{this.error=!1;var t=this.$slots,e=this.$attrs,n=this.tag,o=this.componentData,i=this.realList,r=this.getKey,s=Z({$slots:t,tag:n,realList:i,getKey:r});this.componentStructure=s;var a=F({$attrs:e,componentData:o});return s.render(W["h"],a)}catch(l){return this.error=!0,Object(W["h"])("pre",{style:{color:"red"}},l.stack)}},created:function(){null!==this.list&&null!==this.modelValue&&E["a"].error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var t=this;if(!this.error){var e=this.$attrs,n=this.$el,o=this.componentStructure;o.updated();var i=M({$attrs:e,callBackBuilder:{manageAndEmit:function(e){return et.call(t,e)},emit:function(e){return J.bind(t,e)},manage:function(e){return tt.call(t,e)}}}),r=1===n.nodeType?n:n.parentElement;this._sortable=new _.a(r,i),this.targetDomElement=r,r.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{realList:function(){var t=this.list;return t||this.modelValue},getKey:function(){var t=this.itemKey;return"function"===typeof t?t:function(e){return e[t]}}},watch:{$attrs:{handler:function(t){var e=this._sortable;e&&U(t).forEach(function(t){var n=f(t,2),o=n[0],i=n[1];e.option(o,i)})},deep:!0}},methods:{getUnderlyingVm:function(t){return this.componentStructure.getUnderlyingVm(t)||null},getUnderlyingPotencialDraggableComponent:function(t){return t.__draggable_component__},emitChanges:function(t){var e=this;Object(W["nextTick"])(function(){return e.$emit("change",t)})},alterList:function(t){if(this.list)t(this.list);else{var e=y(this.modelValue);t(e),this.$emit("update:modelValue",e)}}
1,spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,y(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,o=this.getUnderlyingPotencialDraggableComponent(e);if(!o)return{component:o};var i=o.realList,r={list:i,component:o};if(e!==n&&i){var s=o.getUnderlyingVm(n)||{};return l(l({},s),r)}return r},getVmIndexFromDomIndex:function(t){return this.componentStructure.getVmIndexFromDomIndex(t,this.targetDomElement)},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),nt=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){S(t.item);var n=this.getVmIndexFromDomIndex(t.newIndex);this.spliceList(n,0,e);var o={element:e,newIndex:n};this.emitChanges({added:o})}},onDragRemove:function(t){if(T(this.$el,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context,n=e.index,o=e.element;this.spliceList(n,1);var i={element:o,oldIndex:n};this.emitChanges({removed:i})}else S(t.clone)},onDragUpdate:function(t){S(t.item),T(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndexFromDomIndex(t.newIndex);this.updatePosition(e,n);var o={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:o})},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=y(e.to.children).filter(function(t){return"none"!==t.style["display"]}),o=n.indexOf(e.related),i=t.component.getVmIndexFromDomIndex(o),r=-1!==n.indexOf(nt);return r||!e.willInsertAfter?i:i+1},onDragMove:function(t,e){var n=this.move,o=this.realList;if(!n||!o)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.computeFutureIndex(i,t),s=l(l({},this.context),{},{futureIndex:r}),a=l(l({},t),{},{relatedContext:i,draggedContext:s});return n(a,e)},onDragEnd:function(){nt=null}}}),st=rt;e["default"]=st},fb6a:function(t,e,n){"use strict";var o=n("23e7"),i=n("861d"),r=n("e8b5"),s=n("23cb"),a=n("50c4"),l=n("fc6a"),c=n("8418"),u=n("b622"),d=n("1dde"),p=n("ae40"),h=d("slice"),f=p("slice",{ACCESSORS:!0,0:0,1:2}),g=u("species"),v=[].slice,m=Math.max;o({target:"Array",proto:!0,forced:!h||!f},{slice:function(t,e){var n,o,u,d=l(this),p=a(d.length),h=s(t,p),f=s(void 0===e?p:e,p);if(r(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)?i(n)&&(n=n[g],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return v.call(d,h,f);for(o=new(void 0===n?Array:n)(m(f-h,0)),u=0;h<f;h++,u++)h in d&&c(o,u,d[h]);return o.length=u,o}})},fc6a:function(t,e,n){var o=n("44ad"),i=n("1d80");t.exports=function(t){return o(i(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var o=n("4930");t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]})},53159:function(t,e,n){"use strict";n.d(e,{A:function(){return c}});var o=n(95976);const i={width:"24",height:"24",viewBox:"0 0 24 24","fill-rule":"evenodd","clip-rule":"evenodd",fill:"#1E1E1E"};function r(t,e){return(0,o.uX)(),(0,o.CE)("svg",i,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M5 11.5a1 1 0 00-1 1v7a1 1 0 001 1h14a1 1 0 001-1v-7a1 1 0 00-1-1H5zm-3 1a3 3 0 013-3h14a3 3 0 013 3v7a3 3 0 01-3 3H5a3 3 0 01-3-3v-7z"},null,-1),(0,o.Lk)("path",{d:"M12 2.5a4 4 0 00-4 4v4a1 1 0 11-2 0v-4a6 6 0 1112 0v4a1 1 0 11-2 0v-4a4 4 0 00-4-4z"},null,-1)]))}var s=n(1169);const a={},l=(0,s.A)(a,[["render",r]]);var c=l},54819:function(t,e,n){"use strict";n.d(e,{A:function(){return c}});var o=n(95976);const i={xmlns:"http://www.w3.org/2000/svg",width:"22.066",height:"22.066",viewBox:"0 0 22.066 22.066"};function r(t,e){return(0,o.uX)(),(0,o.CE)("svg",i,e[0]||(e[0]=[(0,o.Lk)("path",{class:"a",d:"M22.066 0H0v8.158l6.968 6.94 7.089 6.968h8.01z"}
1,null,-1),(0,o.Lk)("path",{d:"M13.937 8.13H0l13.937 13.937z",fill:"#eebd02"},null,-1)]))}var s=n(1169);const a={},l=(0,s.A)(a,[["render",r]]);var c=l},64528:function(t,e,n){"use strict";n.d(e,{A:function(){return c}});var o=n(95976);const i={width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function r(t,e){return(0,o.uX)(),(0,o.CE)("svg",i,e[0]||(e[0]=[(0,o.Lk)("path",{d:"M7.5 1h6.998M1 19h20l-8-9.46V1H9v8.54L1 19z",stroke:"#AFB0BF","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}var s=n(1169);const a={},l=(0,s.A)(a,[["render",r]]);var c=l},84113:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var o=n(78902),i=n(67930),r=n.n(i),s={name:"LockIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var n="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",o=e.data.attrs||{};return o.width=o.width||n,o.height=o.height||n,e.data.attrs=o,t("svg",r()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-lock"},e.data]),[t("rect",{attrs:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}}),t("path",{attrs:{d:"M7 11V7a5 5 0 0 1 10 0v4"}})])}},a=(0,o.A)(s)},88798:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var o=n(78902),i=n(67930),r=n.n(i),s={name:"LinkIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var n="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",o=e.data.attrs||{};return o.width=o.width||n,o.height=o.height||n,e.data.attrs=o,t("svg",r()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-link"},e.data]),[t("path",{attrs:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}}),t("path",{attrs:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}})])}},a=(0,o.A)(s)},89771:function(t,e,n){"use strict"; 2/**! 3 * Sortable 1.14.0 4 * @author RubaXa <[email protected]> 5 * @author owenm <[email protected]> 6 * @license MIT 7 */ 8function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){s(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,o,i={},r=Object.keys(t);for(o=0;o<r.length;o++)n=r[o],e.indexOf(n)>=0||(i[n]=t[n]);return i}function c(t,e){if(null==t)return{};var n,o,i=l(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n=r[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){return d(t)||p(t)||h(t)||g()}function d(t){if(Array.isArray(t))return f(t)}function p(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function h(t,e){if(t){if("string"===typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.r(e),n.d(e,{MultiDrag:function(){return He},Sortable:function(){return ne},Swap:function(){return Ne}});var v="1.14.0";function m(t){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var y=m(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),b=m(/Edge/i),_=m(/firefox/i),S=m(/safari/i)&&
8!m(/chrome/i)&&!m(/android/i),T=m(/iP(ad|od|hone)/i),E=m(/chrome/i)&&m(/android/i),A={capture:!1,passive:!1};function w(t,e,n){t.addEventListener(e,n,!y&&A)}function C(t,e,n){t.removeEventListener(e,n,!y&&A)}function k(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function x(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function L(t,e,n,o){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&k(t,e):k(t,e))||o&&t===n)return t;if(t===n)break}while(t=x(t))}return null}var I,N=/\s+/g;function O(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var o=(" "+t.className+" ").replace(N," ").replace(" "+e+" "," ");t.className=(o+(n?" "+e:"")).replace(N," ")}}function P(t,e,n){var o=t&&t.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in o||-1!==e.indexOf("webkit")||(e="-webkit-"+e),o[e]=n+("string"===typeof n?"":"px")}}function D(t,e){var n="";if("string"===typeof t)n=t;else do{var o=P(t,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function R(t,e,n){if(t){var o=t.getElementsByTagName(e),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function q(){var t=document.scrollingElement;return t||document.documentElement}function B(t,e,n,o,i){if(t.getBoundingClientRect||t===window){var r,s,a,l,c,u,d;if(t!==window&&t.parentNode&&t!==q()?(r=t.getBoundingClientRect(),s=r.top,a=r.left,l=r.bottom,c=r.right,u=r.height,d=r.width):(s=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(e||n)&&t!==window&&(i=i||t.parentNode,!y))do{if(i&&i.getBoundingClientRect&&("none"!==P(i,"transform")||n&&"static"!==P(i,"position"))){var p=i.getBoundingClientRect();s-=p.top+parseInt(P(i,"border-top-width")),a-=p.left+parseInt(P(i,"border-left-width")),l=s+r.height,c=a+r.width;break}}while(i=i.parentNode);if(o&&t!==window){var h=D(i||t),f=h&&h.a,g=h&&h.d;h&&(s/=g,a/=f,d/=f,u/=g,l=s+u,c=a+d)}return{top:s,left:a,bottom:l,right:c,width:d,height:u}}}function F(t,e,n){var o=X(t,!0),i=B(t)[e];while(o){var r=B(o)[n],s=void 0;if(s="top"===n||"left"===n?i>=r:i<=r,!s)return o;if(o===q())break;o=X(o,!1)}return!1}function M(t,e,n,o){var i=0,r=0,s=t.children;while(r<s.length){if("none"!==s[r].style.display&&s[r]!==ne.ghost&&(o||s[r]!==ne.dragged)&&L(s[r],n.draggable,t,!1)){if(i===e)return s[r];i++}r++}return null}function U(t,e){var n=t.lastElementChild;while(n&&(n===ne.ghost||"none"===P(n,"display")||e&&!k(n,e)))n=n.previousElementSibling;return n||null}function $(t,e){var n=0;if(!t||!t.parentNode)return-1;while(t=t.previousElementSibling)"TEMPLATE"===t.nodeName.toUpperCase()||t===ne.clone||e&&!k(t,e)||n++;return n}function V(t){var e=0,n=0,o=q();if(t)do{var i=D(t),r=i.a,s=i.d;e+=t.scrollLeft*r,n+=t.scrollTop*s}while(t!==o&&(t=t.parentNode));return[e,n]}function H(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var o in e)if(e.hasOwnProperty(o)&&e[o]===t[n][o])return Number(n);return-1}function X(t,e){if(!t||!t.getBoundingClientRect)return q();var n=t,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=P(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return q();if(o||e)return n;o=!0}}}while(n=n.parentNode);return q()}function j(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function z(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function Y(t,e){return function(){if(!I){var n=arguments,o=this;1===n.length?t.call(o,n[0]):t.apply(o,n),I=setTimeout(function(){I=void 0},e)}}}function W(){clearTimeout(I),I=void 0}function Q(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function G(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function K(t,e){P(t,"position","absolute"),P(t,"top",e.top),P(t,"left",e.left),P(t,"width",e.width),P(t,"height",e.height)}function Z(t){P(t,"position",""),P(t,"top",""),P(t,"left",""),P(t,"width",""),P(t,"height","")}var J="Sortable"+(new Date).getTime();function tt(){var t,e=[];return{captureAnimationState:function(){if(e=[],this.options.animation){var t=[].slice.call(this.el.children);t.forEach(function(t){if("none"!==P(t,"display")&&t!==ne.ghost){e.push({target:t,rect:B(t)});var n=i({},e[e.length-1].rect);if(t.thisAnimationDuration){var o=D(t,!0);o&&(n.top-=o.f,n.left-=o.e)}t.fromRect=n}})}},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(H(e,{target:t}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(t),void("function"===typeof n&&n());var i=!1,r=0;e.forEach(function(t){var e=0,n=t.target,s=n.fromRect,a=B(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,d=D(n,!0);d&&(a.top-=d.f,a.left-=d.e),n.toRect=a,n.thisAnimationDuration&&z(l,a)&&!z(s,a)&&(u.top-a.top)/(u.left-a.left)===(s.top-a.top)/(s.left-a.left)&&(e=nt(u,l,c,o.options)),z(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=o.options.animation),o.animate(n,u,a,e)),e&&(i=!0,r=Math.max(r,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},e),n.thisAnimationDuration=e)}),clearTimeout(t),i?t=setTimeout(function(){"function"===typeof n&&n()},r):"function"===typeof n&&n(),e=[]},animate:function(t,e,n,o){if(o){P(t,"transition",""),P(t,"transform","");var i=D(this.el),r=i&&i.a,s=i&&i.d,a=(e.left-n.left)/(r||1),l=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!l,P(t,"transform","translate3d("+a+"px,"+l+"px,0)"),this.forRepaintDummy=et(t),P(t,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),P(t,"transform","translate3d(0,
80,0)"),"number"===typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout(function(){P(t,"transition",""),P(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},o)}}}}function et(t){return t.offsetWidth}function nt(t,e,n,o){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*o.animation}var ot=[],it={initializeByDefault:!0},rt={mount:function(t){for(var e in it)it.hasOwnProperty(e)&&!(e in t)&&(t[e]=it[e]);ot.forEach(function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),ot.push(t)},pluginEvent:function(t,e,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var r=t+"Global";ot.forEach(function(o){e[o.pluginName]&&(e[o.pluginName][r]&&e[o.pluginName][r](i({sortable:e},n)),e.options[o.pluginName]&&e[o.pluginName][t]&&e[o.pluginName][t](i({sortable:e},n)))})},initializePlugins:function(t,e,n,o){for(var i in ot.forEach(function(o){var i=o.pluginName;if(t.options[i]||o.initializeByDefault){var r=new o(t,e,t.options);r.sortable=t,r.options=t.options,t[i]=r,a(n,r.defaults)}}),t.options)if(t.options.hasOwnProperty(i)){var r=this.modifyOption(t,i,t.options[i]);"undefined"!==typeof r&&(t.options[i]=r)}},getEventProperties:function(t,e){var n={};return ot.forEach(function(o){"function"===typeof o.eventProperties&&a(n,o.eventProperties.call(e[o.pluginName],t))}),n},modifyOption:function(t,e,n){var o;return ot.forEach(function(i){t[i.pluginName]&&i.optionListeners&&"function"===typeof i.optionListeners[e]&&(o=i.optionListeners[e].call(t[i.pluginName],n))}),o}};function st(t){var e=t.sortable,n=t.rootEl,o=t.name,r=t.targetEl,s=t.cloneEl,a=t.toEl,l=t.fromEl,c=t.oldIndex,u=t.newIndex,d=t.oldDraggableIndex,p=t.newDraggableIndex,h=t.originalEvent,f=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[J],e){var v,m=e.options,_="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||y||b?(v=document.createEvent("Event"),v.initEvent(o,!0,!0)):v=new CustomEvent(o,{bubbles:!0,cancelable:!0}),v.to=a||n,v.from=l||n,v.item=r||n,v.clone=s,v.oldIndex=c,v.newIndex=u,v.oldDraggableIndex=d,v.newDraggableIndex=p,v.originalEvent=h,v.pullMode=f?f.lastPutMode:void 0;var S=i(i({},g),rt.getEventProperties(o,e));for(var T in S)v[T]=S[T];n&&n.dispatchEvent(v),m[_]&&m[_].call(e,v)}}var at=["evt"],lt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,r=c(n,at);rt.pluginEvent.bind(ne)(t,e,i({dragEl:ut,parentEl:dt,ghostEl:pt,rootEl:ht,nextEl:ft,lastDownEl:gt,cloneEl:vt,cloneHidden:mt,dragStarted:It,putSortable:Et,activeSortable:ne.active,originalEvent:o,oldIndex:yt,oldDraggableIndex:_t,newIndex:bt,newDraggableIndex:St,hideGhostForTarget:Zt,unhideGhostForTarget:Jt,cloneNowHidden:function(){mt=!0},cloneNowShown:function(){mt=!1},dispatchSortableEvent:function(t){ct({sortable:e,name:t,originalEvent:o})}},r))};function ct(t){st(i({putSortable:Et,cloneEl:vt,targetEl:ut,rootEl:ht,oldIndex:yt,oldDraggableIndex:_t,newIndex:bt,newDraggableIndex:St},t))}var ut,dt,pt,ht,ft,gt,vt,mt,yt,bt,_t,St,Tt,Et,At,wt,Ct,kt,xt,Lt,It,Nt,Ot,Pt,Dt,Rt=!1,qt=!1,Bt=[],Ft=!1,Mt=!1,Ut=[],$t=!1,Vt=[],Ht="undefined"!==typeof document,Xt=T,jt=b||y?"cssFloat":"float",zt=Ht&&!E&&!T&&"draggable"in document.createElement("div"),Yt=function(){if(Ht){if(y)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}
8(),Wt=function(t,e){var n=P(t),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=M(t,0,e),r=M(t,1,e),s=i&&P(i),a=r&&P(r),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+B(i).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+B(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&s["float"]&&"none"!==s["float"]){var u="left"===s["float"]?"left":"right";return!r||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return i&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=o&&"none"===n[jt]||r&&"none"===n[jt]&&l+c>o)?"vertical":"horizontal"},Qt=function(t,e,n){var o=n?t.left:t.top,i=n?t.right:t.bottom,r=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return o===s||i===a||o+r/2===s+l/2},Gt=function(t,e){var n;return Bt.some(function(o){var i=o[J].options.emptyInsertThreshold;if(i&&!U(o)){var r=B(o),s=t>=r.left-i&&t<=r.right+i,a=e>=r.top-i&&e<=r.bottom+i;return s&&a?n=o:void 0}}),n},Kt=function(t){function e(t,n){return function(o,i,r,s){var a=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(o,i,r,s),n)(o,i,r,s);var l=(n?o:i).options.group.name;return!0===t||"string"===typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},o=t.group;o&&"object"==r(o)||(o={name:o}),n.name=o.name,n.checkPull=e(o.pull,!0),n.checkPut=e(o.put),n.revertClone=o.revertClone,t.group=n},Zt=function(){!Yt&&pt&&P(pt,"display","none")},Jt=function(){!Yt&&pt&&P(pt,"display","")};Ht&&document.addEventListener("click",function(t){if(qt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),qt=!1,!1},!0);var te=function(t){if(ut){t=t.touches?t.touches[0]:t;var e=Gt(t.clientX,t.clientY);if(e){var n={};for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[J]._onDragOver(n)}}},ee=function(t){ut&&ut.parentNode[J]._isOutsideThisEl(t.target)};function ne(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=a({},e),t[J]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Wt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ne.supportPointer&&"PointerEvent"in window&&!S,emptyInsertThreshold:5};for(var o in rt.initializePlugins(this,t,n),n)!(o in e)&&(e[o]=n[o]);for(var i in Kt(e),this)"_"===i.charAt(0)&&"function"===typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&zt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?w(t,"pointerdown",this._onTapStart):(w(t,"mousedown",this._onTapStart),w(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(w(t,"dragover",this),w(t,"dragenter",this)),Bt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),a(this,tt())}function oe(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function ie(t,e,n,o,i,r,s,a){var l,c,u=t[J],d=u.options.onMove;return!window.CustomEvent||y||b?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=o,l.related=i||e,l.relatedRect=r||B(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),d&&(c=d.call(u,l,s)),c}function re(t){t.draggable=!1}function se(){$t=!1}function ae(t,e,n){var o=B(M(n.el,0,n.options,!0)),i=10;
8return e?t.clientX<o.left-i||t.clientY<o.top&&t.clientX<o.right:t.clientY<o.top-i||t.clientY<o.bottom&&t.clientX<o.left}function le(t,e,n){var o=B(U(n.el,n.options.draggable)),i=10;return e?t.clientX>o.right+i||t.clientX<=o.right&&t.clientY>o.bottom&&t.clientX>=o.left:t.clientX>o.right&&t.clientY>o.top||t.clientX<=o.right&&t.clientY>o.bottom+i}function ce(t,e,n,o,i,r,s,a){var l=o?t.clientY:t.clientX,c=o?n.height:n.width,u=o?n.top:n.left,d=o?n.bottom:n.right,p=!1;if(!s)if(a&&Pt<c*i){if(!Ft&&(1===Ot?l>u+c*r/2:l<d-c*r/2)&&(Ft=!0),Ft)p=!0;else if(1===Ot?l<u+Pt:l>d-Pt)return-Ot}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return ue(e);return p=p||s,p&&(l<u+c*r/2||l>d-c*r/2)?l>u+c/2?1:-1:0}function ue(t){return $(ut)<$(t)?1:-1}function de(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,o=0;while(n--)o+=e.charCodeAt(n);return o.toString(36)}function pe(t){Vt.length=0;var e=t.getElementsByTagName("input"),n=e.length;while(n--){var o=e[n];o.checked&&Vt.push(o)}}function he(t){return setTimeout(t,0)}function fe(t){return clearTimeout(t)}ne.prototype={constructor:ne,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Nt=null)},_getDirection:function(t,e){return"function"===typeof this.options.direction?this.options.direction.call(this,t,e,ut):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,o=this.options,i=o.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=o.filter;if(pe(n),!ut&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||o.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!S||!a||"SELECT"!==a.tagName.toUpperCase())&&(a=L(a,o.draggable,n,!1),(!a||!a.animated)&>!==a)){if(yt=$(a),_t=$(a,o.draggable),"function"===typeof c){if(c.call(this,t,a,this))return ct({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),lt("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some(function(o){if(o=L(l,o.trim(),n,!1),o)return ct({sortable:e,rootEl:o,name:"filter",targetEl:a,fromEl:n,toEl:n}),lt("filter",e,{evt:t}),!0}),c))return void(i&&t.cancelable&&t.preventDefault());o.handle&&!L(l,o.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var o,i=this,r=i.el,s=i.options,a=r.ownerDocument;if(n&&!ut&&n.parentNode===r){var l=B(n);if(ht=r,ut=n,dt=ut.parentNode,ft=ut.nextSibling,gt=n,Tt=s.group,ne.dragged=ut,At={target:ut,clientX:(e||t).clientX,clientY:(e||t).clientY},xt=At.clientX-l.left,Lt=At.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,ut.style["will-change"]="all",o=function(){lt("delayEnded",i,{evt:t}),ne.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!_&&i.nativeDraggable&&(ut.draggable=!0),i._triggerDragStart(t,e),ct({sortable:i,name:"choose",originalEvent:t}),O(ut,s.chosenClass,!0))},s.ignore.split(",").forEach(function(t){R(ut,t.trim(),re)}),w(a,"dragover",te),w(a,"mousemove",te),w(a,"touchmove",te),w(a,"mouseup",i._onDrop),w(a,"touchend",i._onDrop),w(a,"touchcancel",i._onDrop),_&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ut.draggable=!0),lt("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(b||y))o();else{if(ne.eventCanceled)return void this._onDrop();w(a,"mouseup",i._disableDelayedDrag),w(a,"touchend",i._disableDelayedDrag),w(a,"touchcancel",i._disableDelayedDrag),w(a,"mousemove",i._delayedDragTouchMoveHandler),w(a,"touchmove",i._delayedDragTouchMoveHandler),s.supportPointer&&w(a,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ut&&re(ut),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;C(t,"mouseup",this._disableDelayedDrag),C(t,"touchend",this._disableDelayedDrag),C(t,"touchcancel",this._disableDelayedDrag),C(t,"mousemove",this._delayedDragTouchMoveHandler),C(t,"touchmove",this._delayedDragTouchMoveHandler),C(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?w(document,"pointermove",this._onTouchMove):w(document,e?"touchmove":"mousemove",this._onTouchMove):(w(ut,"dragend",this),w(ht,"dragstart",this._onDragStart));try{document.selection?he(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(Rt=!1,ht&&ut){lt("dragStarted",this,{evt:e}),this.nativeDraggable&&w(document,"dragover",ee);var n=this.options;!t&&O(ut,n.dragClass,!1),O(ut,n.ghostClass,!0),ne.active=this,t&&this._appendGhost(),ct({sortable:this,name:"start",originalEvent:e})}
8else this._nulling()},_emulateDragOver:function(){if(wt){this._lastX=wt.clientX,this._lastY=wt.clientY,Zt();var t=document.elementFromPoint(wt.clientX,wt.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(wt.clientX,wt.clientY),t===e)break;e=t}if(ut.parentNode[J]._isOutsideThisEl(t),e)do{if(e[J]){var n=void 0;if(n=e[J]._onDragOver({clientX:wt.clientX,clientY:wt.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Jt()}},_onTouchMove:function(t){if(At){var e=this.options,n=e.fallbackTolerance,o=e.fallbackOffset,i=t.touches?t.touches[0]:t,r=pt&&D(pt,!0),s=pt&&r&&r.a,a=pt&&r&&r.d,l=Xt&&Dt&&V(Dt),c=(i.clientX-At.clientX+o.x)/(s||1)+(l?l[0]-Ut[0]:0)/(s||1),u=(i.clientY-At.clientY+o.y)/(a||1)+(l?l[1]-Ut[1]:0)/(a||1);if(!ne.active&&!Rt){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(pt){r?(r.e+=c-(Ct||0),r.f+=u-(kt||0)):r={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");P(pt,"webkitTransform",d),P(pt,"mozTransform",d),P(pt,"msTransform",d),P(pt,"transform",d),Ct=c,kt=u,wt=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!pt){var t=this.options.fallbackOnBody?document.body:ht,e=B(ut,!0,Xt,!0,t),n=this.options;if(Xt){Dt=t;while("static"===P(Dt,"position")&&"none"===P(Dt,"transform")&&Dt!==document)Dt=Dt.parentNode;Dt!==document.body&&Dt!==document.documentElement?(Dt===document&&(Dt=q()),e.top+=Dt.scrollTop,e.left+=Dt.scrollLeft):Dt=q(),Ut=V(Dt)}pt=ut.cloneNode(!0),O(pt,n.ghostClass,!1),O(pt,n.fallbackClass,!0),O(pt,n.dragClass,!0),P(pt,"transition",""),P(pt,"transform",""),P(pt,"box-sizing","border-box"),P(pt,"margin",0),P(pt,"top",e.top),P(pt,"left",e.left),P(pt,"width",e.width),P(pt,"height",e.height),P(pt,"opacity","0.8"),P(pt,"position",Xt?"absolute":"fixed"),P(pt,"zIndex","100000"),P(pt,"pointerEvents","none"),ne.ghost=pt,t.appendChild(pt),P(pt,"transform-origin",xt/parseInt(pt.style.width)*100+"% "+Lt/parseInt(pt.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,o=t.dataTransfer,i=n.options;lt("dragStart",this,{evt:t}),ne.eventCanceled?this._onDrop():(lt("setupClone",this),ne.eventCanceled||(vt=G(ut),vt.draggable=!1,vt.style["will-change"]="",this._hideClone(),O(vt,this.options.chosenClass,!1),ne.clone=vt),n.cloneId=he(function(){lt("
8clone",n),ne.eventCanceled||(n.options.removeCloneOnHide||ht.insertBefore(vt,ut),n._hideClone(),ct({sortable:n,name:"clone"}))}),!e&&O(ut,i.dragClass,!0),e?(qt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(C(document,"mouseup",n._onDrop),C(document,"touchend",n._onDrop),C(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,ut)),w(document,"drop",n),P(ut,"transform","translateZ(0)")),Rt=!0,n._dragStartId=he(n._dragStarted.bind(n,e,t)),w(document,"selectstart",n),It=!0,S&&P(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,o,r,s=this.el,a=t.target,l=this.options,c=l.group,u=ne.active,d=Tt===c,p=l.sort,h=Et||u,f=this,g=!1;if(!$t){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=L(a,l.draggable,s,!0),N("dragOver"),ne.eventCanceled)return g;if(ut.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||f._ignoreWhileAnimating===a)return R(!1);if(qt=!1,u&&!l.disabled&&(d?p||(o=dt!==ht):Et===this||(this.lastPutMode=Tt.checkPull(this,u,ut,t))&&c.checkPut(this,u,ut,t))){if(r="vertical"===this._getDirection(t,a),e=B(ut),N("dragOverValid"),ne.eventCanceled)return g;if(o)return dt=ht,D(),this._hideClone(),N("revert"),ne.eventCanceled||(ft?ht.insertBefore(ut,ft):ht.appendChild(ut)),R(!0);var v=U(s,l.draggable);if(!v||le(t,r,this)&&!v.animated){if(v===ut)return R(!1);if(v&&s===t.target&&(a=v),a&&(n=B(a)),!1!==ie(ht,s,ut,e,a,n,t,!!a))return D(),s.appendChild(ut),dt=s,q(),R(!0)}else if(v&&ae(t,r,this)){var m=M(s,0,l,!0);if(m===ut)return R(!1);if(a=m,n=B(a),!1!==ie(ht,s,ut,e,a,n,t,!1))return D(),s.insertBefore(ut,m),dt=s,q(),R(!0)}else if(a.parentNode===s){n=B(a);var y,b,_=0,S=ut.parentNode!==s,T=!Qt(ut.animated&&ut.toRect||e,a.animated&&a.toRect||n,r),E=r?"top":"left",A=F(a,"top","top")||F(ut,"top","top"),w=A?A.scrollTop:void 0;if(Nt!==a&&(y=n[E],Ft=!1,Mt=!T&&l.invertSwap||S),_=ce(t,a,n,r,T?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Mt,Nt===a),0!==_){var C=$(ut);do{C-=_,b=dt.children[C]}while(b&&("none"===P(b,"display")||b===pt))}if(0===_||b===a)return R(!1);Nt=a,Ot=_;var k=a.nextElementSibling,x=!1;x=1===_;var I=ie(ht,s,ut,e,a,n,t,x);if(!1!==I)return 1!==I&&-1!==I||(x=1===I),$t=!0,setTimeout(se,30),D(),x&&!k?s.appendChild(ut):a.parentNode.insertBefore(ut,x?k:a),A&&Q(A,0,w-A.scrollTop),dt=ut.parentNode,void 0===y||Mt||(Pt=Math.abs(y-B(a)[E])),q(),R(!0)}if(s.contains(ut))return R(!1)}return!1}function N(l,c){lt(l,f,i({evt:t,isOwner:d,axis:r?"vertical":"horizontal",revert:o,dragRect:e,targetRect:n,canSort:p,fromSortable:h,target:a,completed:R,onMove:function(n,o){return ie(ht,s,ut,e,n,B(n),t,o)},changed:q},c))}function D(){N("dragOverAnimationCapture"),f.captureAnimationState(),f!==h&&h.captureAnimationState()}function R(e){return N("dragOverCompleted",{insertion:e}),e&&(d?u._hideClone():u._showClone(f),f!==h&&(O(ut,Et?Et.options.ghostClass:u.options.ghostClass,!1),O(ut,l.ghostClass,!0)),Et!==f&&f!==ne.active?Et=f:f===ne.active&&Et&&(Et=null),h===f&&(f._ignoreWhileAnimating=a),f.animateAll(function(){N("dragOverAnimationComplete"),f._ignoreWhileAnimating=null}),f!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(a===ut&&!ut.animated||a===s&&!a.animated)&&(Nt=null),l.dragoverBubble||t.rootEl||a===document||(ut.parentNode[J]._isOutsideThisEl(t.target),!e&&te(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),g=!0}function q(){bt=$(ut),St=$(ut,l.draggable),ct({sortable:f,name:"change",toEl:s,newIndex:bt,newDraggableIndex:St,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){C(document,"mousemove",this._onTouchMove),C(document,"touchmove",this._onTouchMove),C(document,"pointermove",this._onTouchMove),C(document,"dragover",te),C(document,"mousemove",te),C(document,"touchmove",te)},_offUpEvents:function(){var t=this.el.ownerDocument;C(t,"mouseup",this._onDrop),C(t,"touchend",this._onDrop),C(t,"pointerup",this._onDrop),C(t,"touchcancel",this._onDrop),C(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;bt=$(ut),St=$(ut,n.draggable),lt("drop",this,{evt:t}),dt=ut&&ut.parentNode,bt=$(ut),St=$(ut,n.draggable),ne.eventCanceled||(Rt=!1,Mt=!1,Ft=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),fe(this.cloneId),fe(this._dragStartId),this.nativeDraggable&&(C(document,"drop",this),C(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),S&&P(document.body,"user-select",""),P(ut,"transform",""),t&&(It&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),pt&&pt.parentNode&&pt.parentNode.removeChild(pt),(ht===dt||Et&&"clone"!==Et.lastPutMode)&&vt&&vt.parentNode&&vt.parentNode.removeChild(vt),ut&&(this.nativeDraggable&&C(ut,"dragend",this),re(ut),ut.style["will-change"]="",It&&!Rt&&O(ut,Et?Et.options.ghostClass:this.options.ghostClass,!1),O(ut,this.options.chosenClass,!1),ct({sortable:this,name:"unchoose",toEl:dt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ht!==dt?(bt>
vendor: 4,810 bytes, line 8
8=0&&(ct({rootEl:dt,name:"add",toEl:dt,fromEl:ht,originalEvent:t}),ct({sortable:this,name:"remove",toEl:dt,originalEvent:t}),ct({rootEl:dt,name:"sort",toEl:dt,fromEl:ht,originalEvent:t}),ct({sortable:this,name:"sort",toEl:dt,originalEvent:t})),Et&&Et.save()):bt!==yt&&bt>=0&&(ct({sortable:this,name:"update",toEl:dt,originalEvent:t}),ct({sortable:this,name:"sort",toEl:dt,originalEvent:t})),ne.active&&(null!=bt&&-1!==bt||(bt=yt,St=_t),ct({sortable:this,name:"end",toEl:dt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){lt("nulling",this),ht=ut=dt=pt=ft=vt=gt=mt=At=wt=It=bt=St=yt=_t=Nt=Ot=Et=Tt=ne.dragged=ne.ghost=ne.clone=ne.active=null,Vt.forEach(function(t){t.checked=!0}),Vt.length=Ct=kt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ut&&(this._onDragOver(t),oe(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,o=0,i=n.length,r=this.options;o<i;o++)t=n[o],L(t,r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||de(t));return e},sort:function(t,e){var n={},o=this.el;this.toArray().forEach(function(t,e){var i=o.children[e];L(i,this.options.draggable,o,!1)&&(n[t]=i)},this),e&&this.captureAnimationState(),t.forEach(function(t){n[t]&&(o.removeChild(n[t]),o.appendChild(n[t]))}),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return L(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var o=rt.modifyOption(this,t,e);n[t]="undefined"!==typeof o?o:e,"group"===t&&Kt(n)},destroy:function(){lt("destroy",this);var t=this.el;t[J]=null,C(t,"mousedown",this._onTapStart),C(t,"touchstart",this._onTapStart),C(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(C(t,"dragover",this),C(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Bt.splice(Bt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!mt){if(lt("hideClone",this),ne.eventCanceled)return;P(vt,"display","none"),this.options.removeCloneOnHide&&vt.parentNode&&vt.parentNode.removeChild(vt),mt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(mt){if(lt("showClone",this),ne.eventCanceled)return;ut.parentNode!=ht||this.options.group.revertClone?ft?ht.insertBefore(vt,ft):ht.appendChild(vt):ht.insertBefore(vt,ut),this.options.group.revertClone&&this.animate(ut,vt),P(vt,"display",""),mt=!1}}else this._hideClone()}},Ht&&w(document,"touchmove",function(t){(ne.active||Rt)&&t.cancelable&&t.preventDefault()}),ne.utils={on:w,off:C,css:P,find:R,is:function(t,e){return!!L(t,e,t,!1)},extend:j,throttle:Y,closest:L,toggleClass:O,clone:G,index:$,nextTick:he,cancelNextTick:fe,detectDirection:Wt,getChild:M},ne.get=function(t){return t[J]},ne.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(ne.utils=i(i({},ne.utils),t.utils)),rt.mount(t)})},ne.create=function(t,e){return new ne(t,e)},ne.version=v;var ge,ve,me,ye,be,_e,Se=[],Te=!1;function Ee(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"===typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):this.options.supportPointer?w(document,"pointermove",this._handleFallbackAutoScroll):e.touches?w(document,"touchmove",this._handleFallbackAutoScroll):w(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?C(document,"dragover",this._handleAutoScroll):(C(document,"pointermove",this._handleFallbackAutoScroll),C(document,"touchmove",this._handleFallbackAutoScroll),C(document,"mousemove",this._handleFallbackAutoScroll)),we(),Ae(),W()},nulling:function(){be=ve=ge=Te=_e=me=ye=null,Se.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,o=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(o,i);if(be=t,e||this.options.forceAutoScrollFallback||b||y||S){ke(t,this.options,r,e);var s=X(r,!0);!Te||_e&&o===me&&i===ye||(_e&&we(),_e=setInterval(function(){var r=X(document.elementFromPoint(o,i),!0);
8r!==s&&(s=r,Ae()),ke(t,n.options,r,e)},10),me=o,ye=i)}else{if(!this.options.bubbleScroll||X(r,!0)===q())return void Ae();ke(t,this.options,X(r,!1),!1)}}},a(t,{pluginName:"scroll",initializeByDefault:!0})}function Ae(){Se.forEach(function(t){clearInterval(t.pid)}),Se=[]}function we(){clearInterval(_e)}var Ce,ke=Y(function(t,e,n,o){if(e.scroll){var i,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=q(),u=!1;ve!==n&&(ve=n,Ae(),ge=e.scroll,i=e.scrollFn,!0===ge&&(ge=X(n,!0)));var d=0,p=ge;do{var h=p,f=B(h),g=f.top,v=f.bottom,m=f.left,y=f.right,b=f.width,_=f.height,S=void 0,T=void 0,E=h.scrollWidth,A=h.scrollHeight,w=P(h),C=h.scrollLeft,k=h.scrollTop;h===c?(S=b<E&&("auto"===w.overflowX||"scroll"===w.overflowX||"visible"===w.overflowX),T=_<A&&("auto"===w.overflowY||"scroll"===w.overflowY||"visible"===w.overflowY)):(S=b<E&&("auto"===w.overflowX||"scroll"===w.overflowX),T=_<A&&("auto"===w.overflowY||"scroll"===w.overflowY));var x=S&&(Math.abs(y-r)<=a&&C+b<E)-(Math.abs(m-r)<=a&&!!C),L=T&&(Math.abs(v-s)<=a&&k+_<A)-(Math.abs(g-s)<=a&&!!k);if(!Se[d])for(var I=0;I<=d;I++)Se[I]||(Se[I]={});Se[d].vx==x&&Se[d].vy==L&&Se[d].el===h||(Se[d].el=h,Se[d].vx=x,Se[d].vy=L,clearInterval(Se[d].pid),0==x&&0==L||(u=!0,Se[d].pid=setInterval(function(){o&&0===this.layer&&ne.active._onTouchMove(be);var e=Se[this.layer].vy?Se[this.layer].vy*l:0,n=Se[this.layer].vx?Se[this.layer].vx*l:0;"function"===typeof i&&"continue"!==i.call(ne.dragged.parentNode[J],n,e,t,be,Se[this.layer].el)||Q(Se[this.layer].el,n,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&p!==c&&(p=X(p,!1)));Te=u}},30),xe=function(t){var e=t.originalEvent,n=t.putSortable,o=t.dragEl,i=t.activeSortable,r=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||i;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(r("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function Le(){}function Ie(){}function Ne(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;Ce=e},dragOverValid:function(t){var e=t.completed,n=t.target,o=t.onMove,i=t.activeSortable,r=t.changed,s=t.cancel;if(i.options.swap){var a=this.sortable.el,l=this.options;if(n&&n!==a){var c=Ce;!1!==o(n)?(O(n,l.swapClass,!0),Ce=n):Ce=null,c&&c!==Ce&&O(c,l.swapClass,!1)}r(),e(!0),s()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,o=t.dragEl,i=n||this.sortable,r=this.options;Ce&&O(Ce,r.swapClass,!1),Ce&&(r.swap||n&&n.options.swap)&&o!==Ce&&(i.captureAnimationState(),i!==e&&e.captureAnimationState(),Oe(o,Ce),i.animateAll(),i!==e&&e.animateAll())},nulling:function(){Ce=null}},a(t,{pluginName:"swap",eventProperties:function(){return{swapItem:Ce}}})}function Oe(t,e){var n,o,i=t.parentNode,r=e.parentNode;i&&r&&!i.isEqualNode(e)&&!r.isEqualNode(t)&&(n=$(t),o=$(e),i.isEqualNode(r)&&n<o&&o++,i.insertBefore(e,i.children[n]),r.insertBefore(t,r.children[o]))}Le.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=M(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(e,o):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:xe},a(Le,{pluginName:"revertOnSpill"}),Ie.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,o=n||this.sortable;o.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),o.animateAll()},drop:xe},a(Ie,{pluginName:"removeOnSpill"});var Pe,De,Re,qe,Be,Fe=[],Me=[],Ue=!1,$e=!1,Ve=!1;function He(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?w(document,"pointerup",this._deselectMultiDrag):(w(document,"mouseup",this._deselectMultiDrag),w(document,"touchend",this._deselectMultiDrag)),w(document,"keydown",this._checkKeyDown),w(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,
vendor: 4,500 bytes, line 8
8setData:function(e,n){var o="";Fe.length&&De===t?Fe.forEach(function(t,e){o+=(e?", ":"")+t.textContent}):o=n.textContent,e.setData("Text",o)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;Re=e},delayEnded:function(){this.isMultiDrag=~Fe.indexOf(Re)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var o=0;o<Fe.length;o++)Me.push(G(Fe[o])),Me[o].sortableIndex=Fe[o].sortableIndex,Me[o].draggable=!1,Me[o].style["will-change"]="",O(Me[o],this.options.selectedClass,!1),Fe[o]===Re&&O(Me[o],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,o=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Fe.length&&De===e&&(je(!0,n),o("clone"),i()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,o=t.cancel;this.isMultiDrag&&(je(!1,n),Me.forEach(function(t){P(t,"display","")}),e(),Be=!1,o())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),o=t.cancel;this.isMultiDrag&&(Me.forEach(function(t){P(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),Be=!0,o())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&De&&De.multiDrag._deselectMultiDrag(),Fe.forEach(function(t){t.sortableIndex=$(t)}),Fe=Fe.sort(function(t,e){return t.sortableIndex-e.sortableIndex}),Ve=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){Fe.forEach(function(t){t!==Re&&P(t,"position","absolute")});var o=B(Re,!1,!0,!0);Fe.forEach(function(t){t!==Re&&K(t,o)}),$e=!0,Ue=!0}n.animateAll(function(){$e=!1,Ue=!1,e.options.animation&&Fe.forEach(function(t){Z(t)}),e.options.sort&&ze()})}},dragOver:function(t){var e=t.target,n=t.completed,o=t.cancel;$e&&~Fe.indexOf(e)&&(n(!1),o())},revert:function(t){var e=t.fromSortable,n=t.rootEl,o=t.sortable,i=t.dragRect;Fe.length>1&&(Fe.forEach(function(t){o.addAnimationState({target:t,rect:$e?B(t):i}),Z(t),t.fromRect=i,e.removeAnimationState(t)}),$e=!1,Xe(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,o=t.insertion,i=t.activeSortable,r=t.parentEl,s=t.putSortable,a=this.options;if(o){if(n&&i._hideClone(),Ue=!1,a.animation&&Fe.length>1&&($e||!n&&!i.options.sort&&!s)){var l=B(Re,!1,!0,!0);Fe.forEach(function(t){t!==Re&&(K(t,l),r.appendChild(t))}),$e=!0}if(!n)if($e||ze(),Fe.length>1){var c=Be;i._showClone(e),i.options.animation&&!Be&&c&&Me.forEach(function(t){i.addAnimationState({target:t,rect:qe}),t.fromRect=qe,t.thisAnimationDuration=null})}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,o=t.activeSortable;if(Fe.forEach(function(t){t.thisAnimationDuration=null}),o.options.animation&&!n&&o.multiDrag.isMultiDrag){qe=a({},e);var i=D(Re,!0);qe.top-=i.f,qe.left-=i.e}},dragOverAnimationComplete:function(){$e&&($e=!1,ze())},drop:function(t){var e=t.originalEvent,n=t.rootEl,o=t.parentEl,i=t.sortable,r=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,l=a||this.sortable;if(e){var c=this.options,u=o.children;if(!Ve)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),O(Re,c.selectedClass,!~Fe.indexOf(Re)),~Fe.indexOf(Re))Fe.splice(Fe.indexOf(Re),1),Pe=null,st({sortable:i,rootEl:n,name:"deselect",targetEl:Re,originalEvt:e});else{if(Fe.push(Re),st({sortable:i,rootEl:n,name:"select",targetEl:Re,originalEvt:e}),e.shiftKey&&Pe&&i.el.contains(Pe)){var d,p,h=$(Pe),f=$(Re);if(~h&&~f&&h!==f)for(f>h?(p=h,d=f):(p=f,d=h+1);p<d;p++)~Fe.indexOf(u[p])||(O(u[p],c.selectedClass,!0),Fe.push(u[p]),st({sortable:i,rootEl:n,name:"select",targetEl:u[p],originalEvt:e}))}else Pe=Re;De=l}if(Ve&&this.isMultiDrag){if($e=!1,(o[J].options.sort||o!==n)&&Fe.length>1){var g=B(Re),v=$(Re,":not(."+this.options.selectedClass+")");if(!Ue&&c.animation&&(Re.thisAnimationDuration=null),l.captureAnimationState(),!Ue&&(c.animation&&(Re.fromRect=g,Fe.forEach(function(t){if(t.thisAnimationDuration=null,t!==Re){var e=$e?B(t):g;t.fromRect=e,l.addAnimationState({target:t,rect:e})}})),ze(),Fe.forEach(function(t){u[v]?o.insertBefore(t,u[v]):o.appendChild(t),v++}),s===$(Re))){var m=!1;Fe.forEach(function(t){t.sortableIndex===$(t)||(m=!0)}),m&&r("update")}Fe.forEach(function(t){Z(t)}),l.animateAll()}De=l}(n===o||a&&"clone"!==a.lastPutMode)&&Me.forEach(function(t){t.parentNode&&t.parentNode.removeChild(t)})}},nullingGlobal:function(){this.isMultiDrag=Ve=!1,Me.length=0}
8,destroyGlobal:function(){this._deselectMultiDrag(),C(document,"pointerup",this._deselectMultiDrag),C(document,"mouseup",this._deselectMultiDrag),C(document,"touchend",this._deselectMultiDrag),C(document,"keydown",this._checkKeyDown),C(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(("undefined"===typeof Ve||!Ve)&&De===this.sortable&&(!t||!L(t.target,this.options.draggable,this.sortable.el,!1))&&(!t||0===t.button))while(Fe.length){var e=Fe[0];O(e,this.options.selectedClass,!1),Fe.shift(),st({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},a(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[J];e&&e.options.multiDrag&&!~Fe.indexOf(t)&&(De&&De!==e&&(De.multiDrag._deselectMultiDrag(),De=e),O(t,e.options.selectedClass,!0),Fe.push(t))},deselect:function(t){var e=t.parentNode[J],n=Fe.indexOf(t);e&&e.options.multiDrag&&~n&&(O(t,e.options.selectedClass,!1),Fe.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return Fe.forEach(function(o){var i;e.push({multiDragElement:o,index:o.sortableIndex}),i=$e&&o!==Re?-1:$e?$(o,":not(."+t.options.selectedClass+")"):$(o),n.push({multiDragElement:o,index:i})}),{items:u(Fe),clones:[].concat(Me),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),"ctrl"===t?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function Xe(t,e){Fe.forEach(function(n,o){var i=e.children[n.sortableIndex+(t?Number(o):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function je(t,e){Me.forEach(function(n,o){var i=e.children[n.sortableIndex+(t?Number(o):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function ze(){Fe.forEach(function(t){t!==Re&&t.parentNode&&t.parentNode.removeChild(t)})}ne.mount(new Ee),ne.mount(Ie,Le),e["default"]=ne},90860:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var o=n(95976),i=n(10160);function r(t,e,n,r,s,a){const l=(0,o.g2)("ActionLoader");return(0,o.uX)(),(0,o.Wv)((0,o.$y)(n.tag),{disabled:n.disabled||n.isLoading,class:(0,i.C4)(["action",a.parentClass,n.customClass,a.disabledClass]),href:n.href,to:n.to},{default:(0,o.k6)(()=>[n.isLoading?((0,o.uX)(),(0,o.Wv)(l,{key:0,loaderClass:a.loaderClass,name:"ball-clip-rotate"},null,8,["loaderClass"])):(0,o.RG)(t.$slots,"icon",{key:1},()=>[n.materialIcon?((0,o.uX)(),(0,o.CE)("span",{key:0,class:(0,i.C4)(["material-icons",a.iconClass])},(0,i.v_)(n.materialIcon),3)):(0,o.Q3)("",!0)],!0),(0,o.eW)(" "+(0,i.v_)(n.content),1)]),_:3},8,["disabled","class","href","to"])}var s=n(52059),a={name:"Action",components:{ActionLoader:s.A},props:{tag:{type:String,required:!1,default:"button"},ofType:{type:String,required:!0,default:"medium",validator:t=>-1!==["large","medium","small","trigger","form-submit","auth","custom"].indexOf(t)},content:{type:String,required:!0},materialIcon:{type:String,required:!1},customClass:{type:String,required:!1},href:{type:String,required:!1},to:{type:Object,required:!1},isLoading:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1}},computed:{parentClass(){return"custom"===this.ofType?"":"large"===this.ofType?"btn btn--primary":`action__${this.ofType}`},iconClass(){return"custom"===this.ofType||"large"===this.ofType?"":`action__${this.ofType}--icon`},loaderClass(){return"custom"===this.ofType||"large"===this.ofType?"":`action__${this.ofType}--loader`},disabledClass(){return"trigger"!==this.ofType?"":this.disabled||this.isLoading?"action__trigger--disabled":""}}},l=n(1169);const c=(0,l.A)(a,[["render",r],["__scopeId","data-v-231b9d2c"]]);var u=c},93876:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var o=n(78902),i=n(67930),r=n.n(i),s={name:"Edit2Icon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var n="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",o=e.data.attrs||{};return o.width=o.width||n,o.height=o.height||n,e.data.attrs=o,t("svg",r()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-edit-2"},e.data]),[t("path",{attrs:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"}})])}},a=(0,o.A)(s)}}]);
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.