1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="61c98cc6-f57d-5625-b5e6-ccd84badccfe")}catch(e){}}(); 3(globalThis.webpackChunksat_monorepo=globalThis.webpackChunksat_monorepo||[]).push([[2043],{39703(e,t,o){o.d(t,{n:()=>r,z:()=>a});var i=o(84283),n=o(3598);async function r(){try{const e=await i.X.get("/api/users/marketing-consent");return!0===e?.data?.consent}catch(e){return n.q.log("marketing consent - failed to fetch state"),null}}async function a(){await i.X.post("/api/users/claim-marketing-consent")}},82043(e,t,o){o.d(t,{h:()=>dn});var i=o(49347);const n={class:"vue-uploadbox-error-text-container"},r={class:"font-size-150 font-weight-bold"},a=["innerHTML"],l={class:"d-flex flex-column flex-wrap"},s={class:"description-list"},d=["innerHTML"],p={key:0,class:"d-flex flex-wrap mb-n2 gap-10"},c={key:1,class:"gap-1 d-flex"},C={class:"mb-0 mt-2"};o(74423);var m=o(88049),u=o(77065),g=o(86496),h=o(84992),f=o(31653),w=o(33115),v=o(37176),b=o(39476);const x={name:"ErrorGenericView",components:{ButtonWithLoadingState:u.A},inject:["background"],mixins:[h.CC,f.A,w.A,m.A],props:{title:{type:String,required:!0},description:{type:Array,required:!0},buttonText:{type:String,required:!0},buttonClass:{type:String,default:""},backButtonText:{type:String,required:!0},canDismiss:{type:Boolean,default:!0},isStateLoading:{type:Boolean,default:!1},showTryPremiumButton:{type:Boolean,default:!0},showSignUpButton:{type:Boolean,default:!1},showStartButton:{type:Boolean,default:!0},showReferralButton:{type:Boolean,default:!1},showSurveyButton:{type:Boolean,default:!1},showMarketingConsentButton:{type:Boolean,default:!1}},data:()=>({emitValue:""}),mounted(){},methods:{clickLoginButton(){(0,b.sx)("cta_click",{cta_type:"login_error_view"},["user"]),this.store.userPaymentModal.setSkipPayment(!0),v.p.openLogin()}},computed:{premiumButtonClass(){let e=window.pageConfig.operation;return g.Q.isEbook2edit()||g.Q.isPdf2go()&&["edit system thumbnail","merge system thumbnail","split system thumbnail","rearrange system thumbnail","rotate system thumbnail","create system thumbnail"].includes(e)?this.buttonClass+" border-dark":this.buttonClass}}};var V=o(66262);const k=(0,V.A)(x,[["render",function(e,t,o,m,u,g){const h=(0,i.resolveComponent)("ButtonWithLoadingState");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(["p-5 bg-premium-dark w-100 h-100 br-8 d-flex align-items-center justify-content-start text-white error-view-z-index",g.background])},[(0,i.createElementVNode)("div",n,[(0,i.createElementVNode)("div",r,[(0,i.renderSlot)(e.$slots,"before-title"),(0,i.createElementVNode)("span",{innerHTML:o.title},null,8,a),(0,i.renderSlot)(e.$slots,"after-title")]),(0,i.createElementVNode)("div",l,[(0,i.renderSlot)(e.$slots,"before-description"),(0,i.createElementVNode)("ul",s,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(o.description,e=>((0,i.openBlock)(),(0,i.createElementBlock)("li",{innerHTML:e},null,8,d))),256))]),(0,i.renderSlot)(e.$slots,"after-description")]),o.showTryPremiumButton?((0,i.openBlock)(),(0,i.createElementBlock)("div",p,[(0,i.createVNode)(h,{"data-limit-error-box-btn-get-premium":"","is-state-loading":o.isStateLoading,text:o.buttonText,icon:"m-l-5 fa fa-arrow-right","show-icon-after-text":!0,class:(0,i.normalizeClass)(["btn btn-lg btn-warning text-dark font-weight-bold mb-2 try-premium-button",g.premiumButtonClass]),onClick:t[0]||(t[0]=(0,i.withModifiers)(t=>e.$emit("generic-action",t),["stop","prevent"])),ref:"buttonPremium"},null,8,["is-state-loading","text","class"]),o.showSignUpButton?((0,i.openBlock)(),(0,i.createBlock)(h,{key:0,"data-limit-error-box-btn-sign-up":"","is-state-loading":o.isStateLoading,text:"Sign Up",icon:"m-l-5 fa fa-arrow-right","show-icon-after-text":!0,class:(0,i.normalizeClass)(["btn submit-btn btn-blue font-weight-bold mb-2 sign-up-button",g.premiumButtonClass]),onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("sign-up",t),["stop","prevent"]))},null,8,["is-state-loading","class"])):(0,i.createCommentVNode)("v-if",!0),o.showReferralButton?((0,i.openBlock)(),(0,i.createBlock)(h,{key:1,"data-limit-error-box-btn-referral":"","is-state-loading":o.isStateLoading,text:"Refer a friend",icon:"m-l-5 fa fa-arrow-right","show-icon-after-text":!0,class:(0,i.normalizeClass)(["btn submit-btn btn-blue font-weight-bold mb-2 sign-up-button",g.premiumButtonClass]),onClick:t[2]||(t[2]=(0,i.withModifiers)(t=>e.$emit("refer-a-friend",t),["stop","prevent"]))},null,8,["is-state-loading","class"])):(0,i.createCommentVNode)("v-if",!0),o.showMarketingConsentButton?((0,i.openBlock)(),(0,i.createBlock)(h,{key:2,"data-limit-error-box-btn-marketing-consent":"","is-state-loading":o.isStateLoading,text:e.translate("Get email updates"),icon:"m-l-5 fa fa-arrow-right","show-icon-after-text":!0,class:(0,i.normalizeClass)(["btn submit-btn btn-blue font-weight-bold mb-2 sign-up-button",g.premiumButtonClass]),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("marketing-consent",t),["stop","prevent"]))},null,8,["is-state-loading","text","class"])):(0,i.createCommentVNode)("v-if",!0),o.showSurveyButton?((0,i.openBlock)(),(0,i.createBlock)(h,{key:3,"data-limit-error-box-btn-survey":"","is-state-loading":o.isStateLoading,text:"Complete a survey",icon:"m-l-5 fa fa-arrow-right","show-icon-after-text":!0,class:(0,i.normalizeClass)(["btn submit-btn btn-blue font-weight-bold mb-2 sign-up-button",g.premiumButtonClass]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("complete-a-survey",t),["stop","prevent"]))},null,8,["is-state-loading","class"])):(0,i.createCommentVNode)("v-if",!0),o.canDismiss&&o.showStartButton?((0,i.openBlock)(),(0,i.createBlock)(h,{key:4,"data-limit-error-box-btn-start-task":"","
3is-state-loading":o.isStateLoading,text:e.translate("Start"),icon:"m-l-5 fa fa-arrow-right","show-icon-after-text":!0,class:"btn btn-lg font-weight-bold mb-2 submit-btn btn-blue text-uppercase try-premium-button",onClick:t[5]||(t[5]=(0,i.withModifiers)(t=>e.$emit("start-task",t),["stop","prevent"])),ref:"buttonStartTask"},null,8,["is-state-loading","text"])):(0,i.createCommentVNode)("v-if",!0)])):(0,i.createCommentVNode)("v-if",!0),!e.isRegisteredUser&&o.showTryPremiumButton?((0,i.openBlock)(),(0,i.createElementBlock)("div",c,[(0,i.createElementVNode)("p",C,[(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("Or"))+" ",1),(0,i.createElementVNode)("a",{title:"Login",class:"font-md text-white cursor-pointer text-decoration-underline",onClick:t[6]||(t[6]=function(){return g.clickLoginButton&&g.clickLoginButton(...arguments)})},(0,i.toDisplayString)(e.translate("Log In")),1),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("if you already have a premium account")),1)])])):(0,i.createCommentVNode)("v-if",!0)]),(0,i.createVNode)(i.Transition,{name:"fade-fast"},{default:(0,i.withCtx)(()=>[o.canDismiss?((0,i.openBlock)(),(0,i.createElementBlock)("span",{key:0,"data-limit-error-box-btn-dismiss":"",class:(0,i.normalizeClass)(["position-absolute cursor-pointer d-block font-size-300 top-0 right-0 pt-3 pr-3 line-height-1ch",{"opacity-65":o.isStateLoading}]),onClick:t[7]||(t[7]=(0,i.withModifiers)(t=>e.$emit("dismiss",t),["stop","prevent"]))},"Ã",2)):(0,i.createCommentVNode)("v-if",!0)]),_:1})],2)}]]),E=k;var N=o(20548);class D{constructor(e,t){this.target=performance.now(),this.interval=1e3*e,this.callback=t,this.stopped=!1,this.frame=0,this.tick(this)}tick(e){if(e.stopped)return;const t=performance.now(),o=e.target,i=(e.target+=e.interval)-t;setTimeout(e.tick,i,e),e.callback(e.frame++,t,o,e)}stop(){return this.stopped=!0,this.frame}adapt(e){this.interval=1e3*e}redefine(e){this.callback=e}}let y=null;const B={name:"ErrorCountdownView",components:{ErrorGenericView:E},mixins:[m.A],props:{isStateLoading:{type:Boolean,default:!1},currentError:{type:Object,required:!0},showTryPremiumButton:{type:Boolean,default:!0},showSignUpButton:{type:Boolean,default:!1},showReferralButton:{type:Boolean,default:!1},showSurveyButton:{type:Boolean,default:!1},showMarketingConsentButton:{type:Boolean,default:!1}},mounted(){this.currentError.data.currentTtl<=0?this.$parent&&"function"==typeof this.$parent.dismiss&&this.$parent.dismiss():(this.timerCount=this.currentError.data.currentTtl,y=new D(1,this.timerCountDown))},computed:{description(){if((0,N.Rp)(this.currentError.description))return[];return this.currentError.description.map(e=>e.includes("%time%")?e.replace("%time%",`<strong>${this.readableCounter}</strong>`):e)},readableCounter(){return this.timerCount>172800?(e=this.timerCount,`${Math.floor(e/86400)} `+Translator.trans("days")):function(e){let t=e%60,o=Math.floor(e/60)%60,i=Math.floor(e/60/60);return t<=9&&(t="0"+t),o<=9&&(o="0"+o),i<=9&&(i="0"+i),`${i}:${o}:${t}`}(this.timerCount);var e}},methods:{timerCountDown(){if(this.timerCount<=0)return y.stop(),void(this.$parent&&"function"==typeof this.$parent.dismiss&&this.$parent.dismiss());this.timerCount--}},data:()=>({timerCount:0})},T=(0,V.A)(B,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("ErrorGenericView");return(0,i.openBlock)(),(0,i.createBlock)(l,{title:o.currentError.title,description:a.description,"button-text":e.translate("Go Premium"),"back-button-text":e.translate("No thanks"),"can-dismiss":!1,"is-state-loading":o.isStateLoading,onGenericAction:t[0]||(t[0]=(0,i.withModifiers)(t=>e.$emit("generic-action",t),["stop","prevent"])),onSignUp:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("sign-up",t),["stop","prevent"])),onReferAFriend:t[2]||(t[2]=(0,i.withModifiers)(t=>e.$emit("refer-a-friend",t),["stop","prevent"])),onCompleteASurvey:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("complete-a-survey",t),["stop","prevent"])),onMarketingConsent:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("marketing-consent",t),["stop","prevent"])),"show-try-premium-button":o.showTryPremiumButton,"show-sign-up-button":o.showSignUpButton,"show-referral-button":o.showReferralButton,"show-survey-button":o.showSurveyButton,"show-marketing-consent-button":o.showMarketingConsentButton},null,8,["title","description","button-text","back-button-text","is-state-loading","show-try-premium-button","show-sign-up-button","show-referral-button","show-survey-button","show-marketing-consent-button"])}]]);var S=o(89736),L=o(3598);const M={GENERIC:"error-type-generic",COUNTDOWN:"error-type-countdown"};var U=o(66298),F=o(2698),z=o(60611),H=o(34908),O=o(81863),A=o(29711),_=o(49972);var Z=o(84283),P=o(39703),R=o(99191);async function $(e){(0,F.ys)(e);const t=e[e.length-1];(0,F.B$)(t,"origin"),(0,F.B$)(t,"limits"),(0,F.ys)(t.limits);let o=function(e){if((0,N.Rp)(e.limits))return null;const t=e.origin;let o=null;
3return e.limits.forEach(e=>{if(!((0,N.X4)(e.expiresAt)&&e.expiresAt<=Date.now())&&(!(0,N.X4)(e.hit)||e.hit)&&null===o&&(t!==z.Ft||"conversion_option"!==e.constraintType)){if("conversion_operation"===e.constraintType){if(!e.hit)return;if(!(0,N.gN)(e.triggeredBy))return;if(globalThis.pageConfig?.operation!==e.triggeredBy)return}o=e}}),o}(t);if(null===o)return null;const i=await async function(e){e.type===S.nx&&(L.q.log("upload box show error - unknown"),e.type=S._j);const t=H.N.getCurrentUserFromStore();let o=!1,i=!1,n=!1;t&&(i=t.isPremium(),n=t.isEducational(),o=t.isRegistered()&&(!i||!n));!1===i&&!0===t.isWasPremium()&&(e.type=S.qu);const r={name:e.type,data:e,type:M.GENERIC,title:null,description:[],origin:null,canDismiss:!0,showTryPremiumButton:!0,showStartButton:!0,showSignUpButton:!1,showReferralButton:!1,showSurveyButton:!1,showMarketingConsentButton:!1};switch(e.type){case S.qu:r.title=(0,U.T)("Not Enough Credits Left");let a=t?t.getDaysUntilRenewal():0,l=a<=1?(0,U.T)("%days% day").replace("%days%",a):(0,U.T)("%days% days").replace("%days%",a),s=(0,U.T)("Your subscription ran out of Credits and will renew in %time%. Get a Credit add-on for instant renewal.");r.description.push(s.replace("%time%",l)),r.canDismiss=!0;break;case S._j:r.title=(0,U.T)("Upgrade your account"),r.description.push((0,U.T)("For this action, you require a premium account. Upgrade to get full access to all our tools."));break;case S.qO:if(_.d.isCreditsEnabled())if(i||n){r.type=M.COUNTDOWN,r.title=(0,U.T)("Not Enough Credits Left");let e=t?t.getDaysUntilRenewal():0,o=e<=1?(0,U.T)("%days% day").replace("%days%",e):(0,U.T)("%days% days").replace("%days%",e),i=(0,U.T)("Your subscription ran out of Credits and will renew in %time%. Get a Credit add-on for instant renewal.");r.description.push(i.replace("%time%",o)),r.canDismiss=!1}else if(o){r.type=M.COUNTDOWN,r.canDismiss=!1,r.showSignUpButton=!1,e.type===S.nx&&(L.q.log("upload box show error - unknown"),e.type=S._j);const o=await Z.X.get("/api/survey");let i="";if(o?.data?.credits_reward&&t)r.showSurveyButton=!0,i=(0,U.T)("Or <strong>complete a survey</strong> - Earn "+o.data.credits_reward+" Credits by answering a few questions!");else{!1===await(0,P.n)()&&Math.random()<.5?r.showMarketingConsentButton=!0:r.showReferralButton=!0}const n=_.d.getAccountUrl(),a=(0,R.O)("/user/referral"),l=n.endsWith("/")?n+a.substring(1):n+a;r.title=(0,U.T)("Not Enough Credits Left");const s=r.showMarketingConsentButton?(0,U.T)("Or <strong>get email updates</strong> - Earn Credits by subscribing to our emails!"):(0,U.T)(`Or <strong><a href="${l}">refer a friend</a></strong> - Earn Credits for each successful referral!`);r.description=""!==i&&r.showSurveyButton?[(0,U.T)("But don't worry, here are your options:"),(0,U.T)('<strong><a target="_blank" href="/pricing">Upgrade to Premium</a></strong> â Unlock instant access and exclusive features.'),i,s,(0,U.T)("Or <strong>come back in %time%</strong> and get a fresh set of free Credits!")]:[(0,U.T)("But don't worry, here are your options:"),(0,U.T)('<strong><a target="_blank" href="/pricing">Upgrade to Premium</a></strong> â Unlock instant access and exclusive features.'),s,(0,U.T)("Or <strong>come back in %time%</strong> and get a fresh set of free Credits!")]}else{await A.Z.getPricingInformation(!0).then(e=>{O.W.setConfigFromPricingInformation(e)});const e=await O.W.getFreeItems();r.type=M.COUNTDOWN,r.canDismiss=!1,r.showSignUpButton=!0,r.title=(0,U.T)("Not Enough Credits Left"),r.description=[(0,U.T)("But don't worry, here are your options:"),(0,U.T)('<strong><a target="_blank" href="/pricing">Upgrade to Premium</a></strong> â Unlock instant access and exclusive features.'),(0,U.T)(`Or <strong><a target="_blank" href="/register">sign up now</a></strong> â Get ${e?.welcome_credits} Welcome Credits to continue testing <strong>(no payment details requiered)</strong>`),(0,U.T)("Or <strong>come back in %time%</strong> and get a fresh set of free Credits!")]}else i||n?(r.title=(0,U.T)("Maximum number of tasks reached"),r.description.push((0,U.T)("You have reached the maximum amount of tasks you can do. Come back in %time% to work on more tasks.")),r.showTryPremiumButton=!1):(r.title=(0,U.T)("Do you need to do more?"),r.description.push((0,U.T)("Upgrade to a premium account or come back in %time% to work on more files.")));break;case S.vu:if(i||n)r.title=(0,U.T)("Maximum number of files reached"),r.description.push((0,U.T)("The maximum amount of processed files has been reached")),r.showTryPremiumButton=!1;else{r.title=(0,U.T)("Upgrade and process more files at once!");let t=(0,U.T)("Processing more than %count% files in a single task is only available for our premium users.");r.description.push(t.replace("%count%",e.maxValue))}break;case S.qt:r.title=(0,U.T)("Upgrade to premium for batch processing"),r.description.push((0,U.T)("Batch processing is only available for premium users. Upgrade to process multiple files."));break;case S.md:i||n?(r.title=(0,U.T)("Filesize limit reached"),r.description.push((0,U.T)("The maximum file size amount has been reached.")),r.showTryPremiumButton=!1):(r.title=(0,U.T)("Filesize limit reached"),r.description.push((0,U.T)("Processing of large files is only available for premium users. Upgrade your account to process large files.")));break;case S.lE:i||n?(r.title=(0,U.T)("Filesize limit reached"),r.description.push((0,U.T)("You have reached the maximum file size for this tool.")),r.showTryPremiumButton=!1):(r.title=(0,U.T)("Filesize limit reached"),r.description.push((0,U.T)("Processing of large files is only available for premium users. Upgrade your account to process large files.")));break;case S.mA:r.title=(0,U.T)("An account upgrade is needed"),r.description.push((0,U.T)("For this feature, you require a premium account. Upgrade to get full access to all our tools."));break;case S.C$:r.title=(0,U.T)("Not done using OCR yet?"),r.description.push((0,U.T)("Processing files with OCR is only available for premium users. Upgrade your account to get full access to OCR."));break;case S.$W:r.type=M.COUNTDOWN,r.canDismiss=!1,r.title=(0,U.T)("Do you need to do more?"),r.description.push((0,U.T)("To continue using this feature, you need to upgrade your account or come back in %time% to work on more files."));break;case S.JX:r.canDismiss=!0,i||n?(r.title=(0,U.T)("You are processing too many tasks at the same time"),r.description.push((0,U.T)("To continue using this feature, you need to wait for your current tasks to finish.")),r.showTryPremiumButton=!1):(r.title=(0,U.T)("You are processing too many tasks at the same time"),r.description.push((0,U.T)("To continue using this feature, you need to wait for your current tasks to finish."+(0,U.T)("Upgrade to Premium to convert more files at once."))),r.showStartButton=!1);break;case S.gl:r.type=M.COUNTDOWN,r.canDismiss=!1,i||n?(r.title=(0,U.T)("Maximum number of tasks reached"),r.description.push((0,U.T)("You have reached the maximum amount of tasks you can do. Come back in %time% to work on more tasks.")),r.showTryPremiumButton=!1):(r.title=(0,U.T)("Do you need to do more?"),r.description.push((0,U.T)("Upgrade to a premium account or come back in %time% to work on more files.")));break;case S.FI:r.canDismiss=!1,r.title=(0,U.T)("Suspicious activity detected"),r.description.push((0,U.T)("We have detected certain activity that may violate our terms. Please come back in")+" "+function(e){let t=e%60,o=Math.floor(e/60)%60,i=Math.floor(e/60/60);return t<=9&&(t="0"+t),o<=9&&(o="0"+o),i<=9&&(i="0"+i),`${i}:${o}:${t}`}(e.ttl)),r.showTryPremiumButton=!1,window.qgUploader.disable();break;case S.MT:r.canDismiss=!1,r.title=(0,U.T)("You have discovered a premium feature"),r.description.push((0,U.T)("This feature is only available for premium users. Upgrade your account to get full access to all our tools.")),(0,N.h7)(globalThis.pageConfig?.example_file)||(r.description.push((0,U.T)("This feature is only available for premium users. Upgrade your account to get full access to all our tools.")),r.description.push((0,U.T)('Click on "Add example file" to test it for free.'))),window.qgUploader.disable();break;case S.SX:r.canDismiss=!0,r.showTryPremiumButton=!1,r.title=(0,U.T)("Feature restricted"),r.description.push((0,U.T)("This feature has been disabled by your team administrator. Please contact your team admin to request access."));break;default:L.q.log("limit - unknown limit",JSON.stringify(e)),r.title=(0,U.T)("Upgrade your account"),r.description.push((0,U.T)("For this action, you require a premium account. Upgrade to get full access to all our tools."))}return r}(o);return i.origin=t.origin,i}var G=o(39465),j=o(71995),I=o(74692);const W={name:"ErrorContainer",components:{ErrorCountdownView:T,ErrorGenericView:E},props:{mode:{type:String,default:""}},mixins:[m.A,h.CC],computed:{currentLimits(){return this.store.limits.getLimits},onErrorClick(e){e.target.closest("a")||(e.stopPropagation(),e.preventDefault())},premiumText(){let e=!1,t=!1,o=G.x.getUserDataFromSessionStorage();const i=H.N.getCurrentUserFromStore();return i&&(t=i.isPremium()),null!==o&&o.isEligibleForFreeTrial&&(e=!0),_.d.getEnableFreeTrial()&&e?(0,U.T)("Try premium for %count% days free").replace("%count%",_.d.getFreeTrialPeriod()):_.d.isCreditsEnabled&&this.currentError?.name===S.qO&&t?(0,U.T)("Get Add-on"):(0,U.T)("Go Premium")},premiumClass(){let e=!1,t=!1,o=G.x.getUserDataFromSessionStorage();const i=H.N.getCurrentUserFromStore();return i&&(t=i.isPremium()),null!==o&&void 0!==o.isEligibleForFreeTrial&&o.isEligibleForFreeTrial&&(e=!0),_.d.getEnableFreeTrial()&&e?"qa-try-premium":_.d.isCreditsEnabled&&this.currentError?.name===S.qO&&t?"qa-get-addon":"qa-go-premium"}},mounted(){(0,i.watch)(()=>this.store.limits.getLimits,async e=>{if(null===this.currentError&&!(0,N.kZ)(e)&&!(0,N.Rp)(e))try{const t=await $(e);if((0,N.kZ)(t))return;this.store.uploader.setDisplayLimitError(t),this.currentError=t}catch(e){console.error("Error getting display error data:",e)}},{deep:!0,immediate:!0})},watch:{currentError:{handler(e){I(".submit-btn");this.log(e),null!==e?this.$emit("error-visibility-changed",!0):this.$emit("error-visibility-changed",!1)},deep:!0}},methods:{startConversion(){this.isStateLoading=!0,I(".submit-btn").click(),L.q.log("error box - start task"),setTimeout(()=>{this.isStateLoading=!1},2e4)},dismiss(){this.isStateLoading||(this.store.uploader.setDisplayLimitError(null),this.currentError=null)},async handlePayment(){this.isStateLoading=!0,this.currentError&&this.currentError.name&&j.A.trackCtaClickU
3pgrade(this.currentError.name,window.pageConfig,"page_tool");await H.N.getUser();_.d.isCreditsInAllSatsEnabled(),v.p.openUpgrade(),this.isStateLoading=!1;const e=this.currentError.name.replace("limit-","");L.q.log(`error box - click payment button ${e}`)},signUp(){v.p.openForPricingFree()},referAFriend(){window.location=_.d.getAccountUrl()+(0,R.O)("/user/referral")},completeSurvey(){(0,b.sx)("cta_click",{cta_type:"survey_error_view"},["engagement"]);const e=_.d.getLocale(),t="en"===e?"/survey":`/${e}/survey`;window.location=_.d.getMainUrl()+t},async claimMarketingConsent(){if(!this.isStateLoading){this.isStateLoading=!0;try{await(0,P.z)(),L.q.log("error box - marketing consent claimed"),window.location.reload()}catch(e){L.q.log("error box - marketing consent claim failed"),this.isStateLoading=!1}}},log(e){let t="error box - unknown limit";if(null===e)t="error box - dismiss";else if(o=e.name,(0,N.gN)(o)&&(0,N.eA)(S.b1,o)){t=`error box - ${e.name.replace("limit-","")}`}var o;L.q.log(t)}},data:()=>({currentError:null,isStateLoading:!1,ERROR_TYPE:M})},q=(0,V.A)(W,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("ErrorGenericView"),s=(0,i.resolveComponent)("ErrorCountdownView");return(0,i.openBlock)(),(0,i.createBlock)(i.Transition,{name:"fade-fast"},{default:(0,i.withCtx)(()=>[null!==r.currentError?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(["error-view-z-index w-100 position-absolute top-0 left-0",{"br-8 border-white border-dashed border-1 h-100":o.mode,"h-100":!o.mode}]),onClick:t[0]||(t[0]=function(){return a.onErrorClick&&a.onErrorClick(...arguments)})},[r.currentError.type===r.ERROR_TYPE.GENERIC?((0,i.openBlock)(),(0,i.createBlock)(l,{key:0,title:r.currentError.title,description:r.currentError.description,"can-dismiss":r.currentError.canDismiss,"show-try-premium-button":r.currentError.showTryPremiumButton,"show-start-button":r.currentError.showStartButton,"show-sign-up-button":r.currentError.showSignUpButton,"show-referral-button":r.currentError.showReferralButton,"show-survey-button":r.currentError.showSurveyButton,"show-marketing-consent-button":r.currentError.showMarketingConsentButton,"is-state-loading":r.isStateLoading,"button-text":a.premiumText,"button-class":a.premiumClass,"back-button-text":e.translate("No thanks"),onDismiss:(0,i.withModifiers)(a.dismiss,["stop","prevent"]),onGenericAction:(0,i.withModifiers)(a.handlePayment,["stop","prevent"]),onStartTask:(0,i.withModifiers)(a.startConversion,["stop","prevent"]),onSignUp:(0,i.withModifiers)(a.signUp,["stop","prevent"]),onReferAFriend:(0,i.withModifiers)(a.referAFriend,["stop","prevent"]),onCompleteASurvey:(0,i.withModifiers)(a.completeSurvey,["stop","prevent"]),onMarketingConsent:(0,i.withModifiers)(a.claimMarketingConsent,["stop","prevent"])},null,8,["title","description","can-dismiss","show-try-premium-button","show-start-button","show-sign-up-button","show-referral-button","show-survey-button","show-marketing-consent-button","is-state-loading","button-text","button-class","back-button-text","onDismiss","onGenericAction","onStartTask","onSignUp","onReferAFriend","onCompleteASurvey","onMarketingConsent"])):r.currentError.type===r.ERROR_TYPE.COUNTDOWN?((0,i.openBlock)(),(0,i.createBlock)(s,{key:1,"is-state-loading":r.isStateLoading,"show-try-premium-button":r.currentError.showTryPremiumButton,"show-start-button":r.currentError.showStartButton,"show-sign-up-button":r.currentError.showSignUpButton,"show-referral-button":r.currentError.showReferralButton,"show-survey-button":r.currentError.showSurveyButton,"show-marketing-consent-button":r.currentError.showMarketingConsentButton,"current-error":r.currentError,onDismiss:(0,i.withModifiers)(a.dismiss,["stop","prevent"]),onGenericAction:(0,i.withModifiers)(a.handlePayment,["stop","prevent"]),onSignUp:(0,i.withModifiers)(a.signUp,["stop","prevent"]),onReferAFriend:(0,i.withModifiers)(a.referAFriend,["stop","prevent"]),onCompleteASurvey:(0,i.withModifiers)(a.completeSurvey,["stop","prevent"]),onMarketingConsent:(0,i.withModifiers)(a.claimMarketingConsent,["stop","prevent"])},null,8,["is-state-loading","show-try-premium-button","show-start-button","show-sign-up-button","show-referral-button","show-survey-button","show-marketing-consent-button","current-error","onDismiss","onGenericAction","onSignUp","onReferAFriend","onCompleteASurvey","onMarketingConsent"])):(0,i.createCommentVNode)("v-if",!0)],2)):(0,i.createCommentVNode)("v-if",!0)]),_:1})}]]),Y={name:"UploadBox",components:{ErrorContainer:q},props:{mode:{type:String,default:"default"},background:{type:String,default:"bg-main-5"}},provide(){return{mode:this.mode,background:this.background}},mounted(){this.classes=this.background,"no_upload"===this.mode&&(this.classes+=" vue-uploadbox-no-upload");let e="file-upload";"remote_url"===this.mode?e="remote-url":"no_upload"===this.mode?e="no-upload":"aigeneration"===this.mode&&(e="aigeneration"),this.$router.push({name:e})},data:()=>({classes:"",isErrorShowing:!1}),methods:{onErrorVisibilityChanged(e){this.isErrorShowing=e}}},X=(0,V.A)(Y,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterView"),s=(0,i.resolveComponent)("ErrorContainer");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{id:"uploadBoxMainWrapper",class:(0,i.normalizeClass)(["vue-uploadbox-wrap br-8 position-relative",[r.classes,{"p-10 bg-lighten darken-on-hover":"aigeneration"!==o.mode}]])},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["d-flex br-8 fg-white w-100",[o.background,{"border-white border-dashed border-1 h-100 darken-on-hover cursor-pointer p-3":"aigeneration"!==o.mode&&!r.isErrorShowing}]])},[(0,i.createVNode)(l),(0,i.createVNode)(s,{mode:"aigeneration",onErrorVisibilityChanged:a.onErrorVisibilityChanged},null,8,["onErrorVisibilityChanged"])],2)],2)}]]);var Q=o(35974);const K={class:"w-100 h-100 d-flex flex-column justify-content-center align-items-center"},J={key:0,class:"vue-uploadbox-drive-links w-100 d-none d-sm-flex justify-content-end align-items-center gap-10 pr-1 uploader-drive-link-container"},ee=["title"],te=["title"],oe=["title"],ie=["title"],ne=["title"],re=["title"];const ae={class:"d-flex flex-column align-items-center font-size-125 gap-20"},le={class:"d-flex gap-10 flex-wrap"},se={class:"btn-group"},de={class:"dropdown-item px-0"},pe=["title"],ce={class:"dropdown-item px-0"},Ce=["title"],me=["title"],ue=["title"],ge={class:"dropdown-item px-0"},he=["title","onClick"],fe={class:"dropdown-item px-0"},we=["title"];const ve={mixins:[m.A],name:"FileUploadDefaultView",props:{disableOnedriveButton:Boolean,disableGdriveButton:Boolean,showDropdown:Boolean},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}
3,hasClientId:()=>window.sat?.onedriveConfig?.clientId}},be=(0,V.A)(ve,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink");return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.createElementVNode)("div",ae,[t[20]||(t[20]=(0,i.createStaticVNode)('<svg width="120" height="78" viewBox="0 0 120 78" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_49_1383)"><path d="M76.7455 43.1092C76.41 43.5371 75.995 43.8933 75.5242 44.1575C75.0535 44.4218 74.5363 44.5889 74.0021 44.6492C73.468 44.7096 72.9274 44.6621 72.4112 44.5093C71.8951 44.3566 71.4136 44.1017 70.9943 43.7592L64.0166 38.0598V57.1688C64.0166 58.2737 63.5858 59.3334 62.8191 60.1147C62.0523 60.896 61.0124 61.335 59.9281 61.335C58.8437 61.335 57.8038 60.896 57.037 60.1147C56.2703 59.3334 55.8396 58.2737 55.8396 57.1688V38.0598L48.8509 43.7592C48.0037 44.4494 46.9221 44.7684 45.844 44.646C44.766 44.5236 43.7798 43.9698 43.1025 43.1065C42.4251 42.2431 42.1121 41.141 42.2322 40.0424C42.3523 38.9439 42.8958 37.939 43.743 37.2488L57.355 26.15C58.0817 25.5516 58.9883 25.226 59.9226 25.2279H59.9335C60.9148 25.2279 61.8088 25.5834 62.512 26.1723L76.1077 37.2488C76.5275 37.5907 76.8771 38.0135 77.1364 38.4932C77.3957 38.9729 77.5597 39.4999 77.6189 40.0443C77.6782 40.5886 77.6315 41.1394 77.4816 41.6654C77.3318 42.1913 77.0816 42.6819 76.7455 43.1092Z" fill="#fff"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M40.1888 13.807C43.5529 8.47181 48.4871 4.3578 54.2851 2.05373C60.0831 -0.250342 66.4478 -0.626361 72.4683 0.979486C78.4888 2.58533 83.8565 6.09073 87.8031 10.994C91.7498 15.8973 94.0731 21.9471 94.4406 28.2776C97.6955 28.1214 100.948 28.6308 104.007 29.7759C107.066 30.9209 109.868 32.6784 112.25 34.9447C114.631 37.211 116.544 39.9402 117.874 42.9714C119.204 46.0027 119.925 49.2746 119.994 52.5944C120.064 55.9141 119.481 59.2144 118.279 62.3007C117.077 65.387 115.28 68.1969 112.996 70.5646C110.711 72.9323 107.985 74.81 104.977 76.087C101.969 77.364 98.7403 78.0143 95.4818 77.9998H31.9845C27.433 77.9937 22.935 76.999 18.7904 75.0822C14.6458 73.1654 10.9497 70.3703 7.94856 66.8834C4.9474 63.3965 2.71008 59.2978 1.38572 54.8604C0.
30613673 50.4231 -0.319604 45.7491 0.268202 41.1499C0.856007 36.5507 2.39909 32.1321 4.79459 28.1884C7.1901 24.2447 10.383 20.8666 14.1605 18.2793C17.938 15.692 22.2133 13.9548 26.7015 13.1837C31.1896 12.4125 35.7876 12.625 40.1888 13.807ZM65.0033 8.32983C60.9897 8.3288 57.0574 9.48255 53.6589 11.6583C50.2603 13.834 47.5337 16.9434 45.7928 20.6284C45.3457 21.5721 44.566 22.3094 43.6093 22.6934C42.6525 23.0774 41.5889 23.0799 40.6303 22.7004C37.365 21.4125 33.8614 20.8729 30.3684 21.1202C26.8753 21.3674 23.4786 22.3954 20.4193 24.131C17.3601 25.8667 14.7134 28.2674 12.6673 31.1628C10.6212 34.0582 9.22578 37.3772 8.58023 40.884C7.93469 44.3908 8.05482 47.9994 8.9321 51.4536C9.80938 54.9078 11.4223 58.1227 13.6563 60.8702C15.8902 63.6176 18.6905 65.8301 21.8581 67.3505C25.0258 68.8709 28.4831 69.6619 31.9845 69.6674H95.4818C97.792 69.6666 100.075 69.1633 102.179 68.1913C104.284 67.2193 106.16 65.8009 107.683 64.0308C109.206 62.2608 110.341 60.1799 111.011 57.9272C111.682 55.6744 111.873 53.3018 111.572 50.9678C111.271 48.6338 110.484 46.3922 109.265 44.3928C108.045 42.3934 106.421 40.6822 104.501 39.3736C102.58 38.065 100.408 37.1891 98.1287 36.8045C95.8496 36.4199 93.5161 36.5354 91.2843 37.1432C90.6395 37.3193 89.9621 37.3318 89.3115 37.1797C88.6608 37.0275 88.0566 36.7153 87.5517 36.2704C87.0467 35.8254 86.6564 35.2612 86.4147 34.6271C86.1731 33.993 86.0875 33.3082 86.1654 32.6326C86.5229 29.5847 86.2423 26.4941 85.3421 23.5647C84.4419 20.6353 82.9426 17.9336 80.943 15.6378C78.9434 13.3419 76.4889 11.5041 73.7414 10.2453C70.9939 8.98663 68.0157 8.33012 65.0033 8.32983Z" fill="#fff"></path></g><defs><clipPath id="clip0_49_1383"><rect width="120" height="78" fill="white"></rect></clipPath></defs></svg>',1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},(0,i.toDisplayString)(e.translate("Drop files or click here")),3),(0,i.createElementVNode)("div",le,[(0,i.createElementVNode)("div",se,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[0]||(t[0]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[7]||(t[7]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Choose File")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[8]||(t[8]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",de,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[2]||(t[2]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[9]||(t[9]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From Device")),1)],8,pe)]),t[15]||(t[15]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",ce,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[10]||(t[10]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,Ce)]),t[16]||(t[16]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[11]||(t[11]=(0,i.createStaticVNode)('<span class="px-75"><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da"></path>
3<path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47"></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335"></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d"></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc"></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00"></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,me)],2),t[17]||(t[17]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableOnedriveButton}]),onClick:t[5]||(t[5]=(0,i.withModifiers)(t=>e.$emit("open-one-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"onedriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from OneDrive")},[t[12]||(t[12]=(0,i.createStaticVNode)('<span class="px-75"><svg data-v-b2efc490="" width="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 5.5 32 20.5"><g data-v-b2efc490="" id="STYLE_COLOR"><path data-v-b2efc490="" d="M12.20245,11.19292l.00031-.0011,6.71765,4.02379,4.00293-1.68451.00018.00068A6.4768,6.4768,0,0,1,25.5,13c.14764,0,.29358.0067.43878.01639a10.00075,10.00075,0,0,0-18.041-3.01381C7.932,10.00215,7.9657,10,8,10A7.96073,7.96073,0,0,1,12.20245,11.19292Z" fill="#0364b8"></path> <path data-v-b2efc490="" d="M12.20276,11.19182l-.00031.0011A7.96073,7.96073,0,0,0,8,10c-.0343,0-.06805.00215-.10223.00258A7.99676,7.99676,0,0,0,1.43732,22.57277l5.924-2.49292,2.63342-1.10819,5.86353-2.46746,3.06213-1.28859Z" fill="#0078d4"></path> <path data-v-b2efc490="" d="M25.93878,13.01639C25.79358,13.0067,25.64764,13,25.5,13a6.4768,6.4768,0,0,0-2.57648.53178l-.00018-.00068-4.00293,1.68451,1.16077.69528L23.88611,18.19l1.66009.99438,5.67633,3.40007a6.5002,6.5002,0,0,0-5.28375-9.56805Z" fill="#1490df"></path> <path data-v-b2efc490="" d="M25.5462,19.18437,23.88611,18.19l-3.80493-2.2791-1.16077-.69528L15.85828,16.5042,9.99475,18.97166,7.36133,20.07985l-5.924,2.49292A7.98889,7.98889,0,0,0,8,26H25.5a6.49837,6.49837,0,0,0,5.72253-3.41556Z" fill="#28a8ea"></path></g></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From OneDrive")),1)],8,ue)],2)):(0,i.createCommentVNode)("v-if",!0),t[18]||(t[18]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",ge,[(0,i.createVNode)(l,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[13]||(t[13]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,he)]}),_:1})]),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",fe,[(0,i.createElementVNode)("span",{id:"copyFromClipboard",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Copy From Clipboard"),onClick:t[6]||(t[6]=(0,i.withModifiers)(t=>e.$emit("copy-from-clipboard",t),["stop","prevent"]))},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M4.8 13.3C4.36 13.3 3.98347 13.1435 3.6704 12.8304C3.35733 12.5173 3.20053 12.1405 3.2 11.7V2.1C3.2 1.66 3.3568 1.28347 3.6704 0.9704C3.984 0.657333 4.36053 0.500533 4.8 0.5H12C12.44 0.5 12.8168 0.6568 13.1304 0.9704C13.444 1.284 13.6005 1.66053 13.6 2.1V11.7C13.6 12.14 13.4435 12.5168 13.1304 12.8304C12.8173 13.144 12.4405 13.3005 12 13.3H4.8ZM4.8 11.7H12V2.1H4.8V11.7ZM1.6 16.5C1.16 16.5 0.783467 16.3435 0.4704 16.0304C0.157333 15.7173 0.000533333 15.3405 0 14.9V4.5C0 4.27333 0.0768001 4.08347 0.2304 3.9304C0.384 3.77733 0.573867 3.70053 0.8 3.7C1.02667 3.7 1.2168 3.7768 1.3704 3.9304C1.524 4.084 1.60053 4.27387 1.6 4.5V14.9H9.6C9.82666 14.9 10.0168 14.9768 10.1704 15.1304C10.324 15.284 10.4005 15.4739 10.4 15.7C10.4 15.9267 10.3232 16.1168 10.1696 16.2704C10.016 16.424 9.82613 16.5005 9.6 16.5H1.6Z",fill:"#2E2E2E"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Clipboard")),1)],8,we)])],2)])])])])}]]),xe={class:"d-flex flex-column align-items-center font-size-125 gap-20"},Ve={class:"d-flex gap-10 flex-wrap justify-content-center"},ke={class:"d-flex gap-10 flex-wrap justify-content-center"},Ee={class:"btn-group adjust-button"},Ne={class:"dropdown-item px-0"},De=["title"],ye={class:"dropdown-item px-0"},Be=["title"],Te=["title"],Se=["title"],Le={class:"dropdown-item px-0"},Me=["title","onClick"],Ue={class:"dropdown-item px-0"},Fe=["title"],ze={key:1,class:"btn-group uploader-submit-button adjust-button"},He=["disabled"],Oe={class:"text-uppercase convert_to uploader-submit-button"},Ae={key:0,class:"fa lh-inherit fa-spin btn-loading-animation lh-small"},_e={key:1,class:"fa fa-arrow-right lh-inherit uploader-submit-button"};const Ze={class:"btn-group uploader-submit-button adjust-button"};var Pe=o(74692);const Re={name:"SettingsButton",mixins:[m.A],methods:{scrollTo(){Pe("#page_function_container").get(0).scrollIntoView({behavior:"smooth"})}}},$e=(0,V.A)(Re,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",Ze,[(0,i.createElementVNode)("button",{class:"btn btn-light font-size-125 font-weight-bold text-nowrap position-static d-flex align-items-center justify-content-center gap-10 adjust-button",onClick:t[0]||(t[0]=(0,i.withModifiers)(function(){return a.scrollTo&&a.scrollTo(...arguments)},["stop","prevent"])),style:{padding:"10px 20px"}},[t[1]||(t[1]=(0,i.createStaticVNode)('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_270_487)"><path d="M8.40311 8.99532C8.40311 8.33282 8.16874 7.76719 7.69999 7.29844C7.23124 6.82969 6.66561 6.59532 6.00311 6.59532C5.34061 6.59532 4.77499 6.82969 4.30624 7.29844C3.83749 7.76719 3.60311 8.33282 3.60311 8.99532C3.60311 9.65782 3.83749 10.2234 4.30624 10.6922C4.77499 11.1609 5.34061 11.3953 6.00311 11.3953C6.66561 11.3953 7.23124 11.1609 7.69999 10.6922C8.16874 10.2234 8.40311 9.65782 8.40311 8.99532ZM15.6031 13.7953C15.6031 13.4703 15.4844 13.1891 15.2469 12.9516C15.0094 12.7141 14.7281 12.5953 14.4031 12.5953C14.0781 12.5953 13.7969 12.7141 13.5594 12.9516C13.3219 13.1891 13.2031 13.4703 13.2031 13.7953C13.2031 14.12
366 13.3203 14.4094 13.5547 14.6438C13.7891 14.8781 14.0719 14.9953 14.4031 14.9953C14.7344 14.9953 15.0172 14.8781 15.2516 14.6438C15.4859 14.4094 15.6031 14.1266 15.6031 13.7953ZM15.6031 4.19532C15.6031 3.87032 15.4844 3.58907 15.2469 3.35157C15.0094 3.11407 14.7281 2.99532 14.4031 2.99532C14.0781 2.99532 13.7969 3.11407 13.5594 3.35157C13.3219 3.58907 13.2031 3.87032 13.2031 4.19532C13.2031 4.52657 13.3203 4.80938 13.5547 5.04375C13.7891 5.27813 14.0719 5.39532 14.4031 5.39532C14.7344 5.39532 15.0172 5.27813 15.2516 5.04375C15.4859 4.80938 15.6031 4.52657 15.6031 4.19532ZM12.0031 8.14219V9.87657C12.0031 9.93907 11.9812 10 11.9375 10.0594C11.8937 10.1188 11.8437 10.1516 11.7875 10.1578L10.3344 10.3828C10.2656 10.6016 10.1656 10.8391 10.0344 11.0953C10.2469 11.3953 10.5281 11.7547 10.8781 12.1734C10.9219 12.2422 10.9437 12.3047 10.9437 12.3609C10.9437 12.4359 10.9219 12.4953 10.8781 12.5391C10.7344 12.7266 10.4766 13.0063 10.1047 13.3781C9.7328 13.75 9.48749 13.9359 9.36874 13.9359C9.29999 13.9359 9.23436 13.9141 9.17186 13.8703L8.09374 13.0266C7.86249 13.1453 7.62186 13.2422 7.37186 13.3172C7.30311 13.9922 7.23124 14.4766 7.15624 14.7703C7.11249 14.9203 7.01874 14.9953 6.87499 14.9953H5.13124C5.06249 14.9953 4.99999 14.9719 4.94374 14.925C4.88749 14.8781 4.85624 14.8234 4.84999 14.7609L4.63436 13.3266C4.42186 13.2641 4.18749 13.1672 3.93124 13.0359L2.82499 13.8703C2.78124 13.9141 2.71874 13.9359 2.63749 13.9359C2.56874 13.9359 2.50311 13.9109 2.44061 13.8609C1.54061 13.0297 1.09061 12.5297 1.09061 12.3609C1.09061 12.3047 1.11249 12.2453 1.15624 12.1828C1.21874 12.0953 1.34686 11.9297 1.54061 11.6859C1.73436 11.4422 1.88124 11.2516 1.98124 11.1141C1.83749 10.8391 1.72811 10.5828 1.65311 10.3453L0.228113 10.1203C0.165613 10.1141 0.112488 10.0844 0.0687378 10.0313C0.0249878 9.97813 0.00311279 9.91719 0.00311279 9.84844V8.11407C0.00311279 8.05157 0.0249878 7.99063 0.0687378 7.93125C0.112488 7.87188 0.162488 7.83907 0.218738 7.83282L1.67186 7.60782C1.74061 7.38907 1.84061 7.15157 1.97186 6.89532C1.75936 6.59532 1.47811 6.23594 1.12811 5.81719C1.08436 5.74844 1.06249 5.68594 1.06249 5.62969C1.06249 5.55469 1.08436 5.49219 1.12811 5.44219C1.26561 5.25469 1.52186 4.97657 1.89686 4.60782C2.27186 4.23907 2.51874 4.05469 2.63749 4.05469C2.70624 4.05469 2.77186 4.07657 2.83436 4.12032L3.91249 4.96407C4.12499 4.85157 4.36561 4.75157 4.63436 4.66407C4.70311 3.98907 4.77499 3.50782 4.84999 3.22032C4.89374 3.07032 4.98749 2.99532 5.13124 2.99532H6.87499C6.94374 2.99532 7.00624 3.01875 7.06249 3.06563C7.11874 3.1125 7.14999 3.16719 7.15624 3.22969L7.37186 4.66407C7.58436 4.72657 7.81874 4.82344 8.07499 4.95469L9.18124 4.12032C9.23124 4.07657 9.29374 4.05469 9.36874 4.05469C9.43749 4.05469 9.50311 4.07969 9.56561 4.12969C10.4656 4.96094 10.9156 5.46094 10.9156 5.62969C10.9156 5.67969 10.8937 5.73907 10.85 5.80782C10.775 5.90782 10.6437 6.07657 10.4562 6.31407C10.2687 6.55157 10.1281 6.73907 10.0344 6.87657C10.1781 7.17657 10.2844 7.43282 10.3531 7.64532L11.7781 7.86094C11.8406 7.87344 11.8937 7.90625 11.9375 7.95938C11.9812 8.0125 12.0031 8.07344 12.0031 8.14219ZM18.0031 13.1391V14.4516C18.0031 14.5516 17.5375 14.6484 16.6062 14.7422C16.5312 14.9109 16.4375 15.0734 16.325 15.2297C16.6437 15.9359 16.8031 16.3672 16.8031 16.5234C16.8031 16.5484 16.7906 16.5703 16.7656 16.5891C16.0031 17.0328 15.6156 17.2547 15.6031 17.2547C15.5531 17.2547 15.4094 17.1078 15.1719 16.8141C14.9344 16.5203 14.7719 16.3078 14.6844 16.1766C14.5594 16.1891 14.4656 16.1953 14.4031 16.1953C14.3406 16.1953 14.2469 16.1891 14.1219 16.1766C14.0344 16.3078 13.8719 16.5203 13.6344 16.8141C13.3969 17.1078 13.2531 17.2547 13.2031 17.2547C13.1906 17.2547 12.8031 17.0328 12.0406 16.5891C12.0156 16.5703 12.0031 16.5484 12.0031 16.5234C12.0031 16.3672 12.1625 15.9359 12.4812 15.2297C12.3687 15.0734 12.275 14.9109 12.2 14.7422C11.2687 14.6484 10.8031 14.5516 10.8031 14.4516V13.1391C10.8031 13.0391 11.2687 12.9422 12.2 12.8484C12.2812 12.6672 12.375 12.5047 12.4812 12.3609C12.1625 11.6547 12.0031 11.2234 12.0031 11.0672C12.0031 11.0422 12.0156 11.0203 12.0406 11.0016C12.0656 10.9891 12.175 10.9266 12.3687 10.8141C12.5625 10.7016 12.7469 10.5953 12.9219 10.4953C13.0969 10.3953 13.1906 10.3453 13.2031 10.3453C13.2531 10.3453 13.3969 10.4906 13.6344 10.7813C13.8719 11.0719 14.0344 11.2828 14.1219 11.4141C14.2469 11.4016 14.3406 11.3953 14.4031 11.3953C14.4656 11.3953 14.5594 11.4016 14.6844 11.4141C15.0031 10.9703 15.2906 10.6203 15.5469 10.3641L15.6031 10.3453C15.6281 10.3453 16.0156 10.5641 16.7656 11.0016C16.7906 11.0203 16.8031 11.0422 16.8031 11.0672C16.8031 11.2234 16.6437 11.6547 16.325 12.3609C16.4312 12.5047 16.525 12.6672 16.6062 12.8484C17.5375 12.9422 18.0031 13.0391 18.0031 13.1391ZM18.0031 3.53907V4.85157C18.0031 4.95157 17.5375 5.04844 16.6062 5.14219C16.5312 5.31094 16.4375 5.47344 16.325 5.62969C16.6437 6.33594 16.8031 6.76719 16.8031 6.92344C16.8031 6.94844 16.7906 6.97032 16.7656 6.98907C16.0031 7.43282 15.6156 7.65469 15.6031 7.65469C15.5531 7.
365469 15.4094 7.50782 15.1719 7.21407C14.9344 6.92032 14.7719 6.70782 14.6844 6.57657C14.5594 6.58907 14.4656 6.59532 14.4031 6.59532C14.3406 6.59532 14.2469 6.58907 14.1219 6.57657C14.0344 6.70782 13.8719 6.92032 13.6344 7.21407C13.3969 7.50782 13.2531 7.65469 13.2031 7.65469C13.1906 7.65469 12.8031 7.43282 12.0406 6.98907C12.0156 6.97032 12.0031 6.94844 12.0031 6.92344C12.0031 6.76719 12.1625 6.33594 12.4812 5.62969C12.3687 5.47344 12.275 5.31094 12.2 5.14219C11.2687 5.04844 10.8031 4.95157 10.8031 4.85157V3.53907C10.8031 3.43907 11.2687 3.34219 12.2 3.24844C12.2812 3.06719 12.375 2.90469 12.4812 2.76094C12.1625 2.05469 12.0031 1.62344 12.0031 1.46719C12.0031 1.44219 12.0156 1.42032 12.0406 1.40157C12.0656 1.38907 12.175 1.32657 12.3687 1.21407C12.5625 1.10157 12.7469 0.995316 12.9219 0.895316C13.0969 0.795316 13.1906 0.745316 13.2031 0.745316C13.2531 0.745316 13.3969 0.890628 13.6344 1.18125C13.8719 1.47188 14.0344 1.68282 14.1219 1.81407C14.2469 1.80157 14.3406 1.79532 14.4031 1.79532C14.4656 1.79532 14.5594 1.80157 14.6844 1.81407C15.0031 1.37032 15.2906 1.02032 15.5469 0.764066L15.6031 0.745316C15.6281 0.745316 16.0156 0.964066 16.7656 1.40157C16.7906 1.42032 16.8031 1.44219 16.8031 1.46719C16.8031 1.62344 16.6437 2.05469 16.325 2.76094C16.4312 2.90469 16.525 3.06719 16.6062 3.24844C17.5375 3.34219 18.0031 3.43907 18.0031 3.53907Z" fill="#2E2E2E"></path></g><defs><clipPath id="clip0_270_487"><rect width="18" height="16.5094" fill="white" transform="translate(0.00311279 0.745316)"></rect></clipPath></defs></svg>',1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Settings")),1)])])}]]),Ge=$e,je={class:"upload-progress-container"},Ie={class:"d-flex justify-content-between align-items-center"},We={class:"text-white"};var qe=o(3956);const Ye={name:"UploadProgress",props:{files:{type:Array,default:()=>[]}},data:()=>({currentProgress:0,updateInterval:null}),mounted(){this.updateProgress(),this.updateInterval=setInterval(()=>{this.updateProgress()},100)},beforeUnmount(){this.updateInterval&&clearInterval(this.updateInterval)},methods:{updateProgress(){const e=this.getFilesToProcess();if(!e.length)return void(this.currentProgress=0);const t=this.getTargetFiles(e);t.length?this.currentProgress=this.calculateProgress(t):this.currentProgress=0},getFilesToProcess(){return window.uploadProgressManager&&window.uploadProgressManager.files?window.uploadProgressManager.files:this.files||[]},getTargetFiles(e){const t=e.filter(e=>e?.type===qe.L5&&(e.status===qe.cW||e.status===qe.Nl||e.status===qe.gQ));return t.length>0?t:e.filter(e=>e?.progressPercent>0)},calculateProgress(e){const t=this.calculateByteProgress(e);return null!==t?t:this.calculatePercentageProgress(e)},calculateByteProgress(e){let t=0,o=0;for(const i of e)i.bytesLoaded&&i.bytesTotal&&i.bytesTotal>0&&(t+=i.bytesLoaded,o+=i.bytesTotal);if(o>0){const e=Math.round(t/o*100);return Math.min(e,100)}return null},calculatePercentageProgress(e){const t=e.filter(e=>e?.progressPercent>0);if(0===t.length)return 0;const o=t.reduce((e,t)=>e+t.progressPercent,0);return Math.round(o/t.length)}}},Xe=(0,V.A)(Ye,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",je,[(0,i.createElementVNode)("div",Ie,[(0,i.createElementVNode)("span",We,(0,i.toDisplayString)(r.currentProgress)+"% ",1)])])}]]),Qe={components:{SettingsButton:Ge,UploadProgress:Xe},mixins:[m.A],name:"UploadInProgressView",props:{disableGdriveButton:Boolean,showDropdown:Boolean,startClicked:Boolean,showSubmitBtn:Boolean,showSettingsBtn:Boolean,files:{type:Array,default:()=>[]}},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor},hasClientId:()=>window.sat?.onedriveConfig?.clientId}},Ke=(0,V.A)(Qe,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("UploadProgress"),s=(0,i.resolveComponent)("RouterLink"),d=(0,i.resolveComponent)("settings-button");return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.createElementVNode)("div",xe,[t[21]||(t[21]=(0,i.createStaticVNode)('<div class="position-relative" data-v-3cdbf841><span class="spin-circle-basic spin-circle-white spin-circle-thick spin-circle-225" id="feature-upload-icon-spinner" data-v-3cdbf841></span><svg class="position-relative" width="120" height="78" viewBox="0 0 120 78" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-3cdbf841><g clip-path="url(#clip0_71_2894)" data-v-3cdbf841><path fill-rule="evenodd" clip-rule="evenodd" d="M40.1888 13.807C43.5529 8.47181 48.4871 4.3578 54.2851 2.05373C60.0831 -0.250342 66.4478 -0.626361 72.4683 0.979486C78.4888 2.58533 83.8565 6.09073 87.8031 10.994C91.7498 15.8973 94.0731 21.9471 94.4406 28.2776C97.6955 28.1214 100.948 28.6308 104.007 29.7759C107.066 30.9209 109.868 32.6784 112.25 34.9447C114.631 37.211 116.544 39.9402 117.874 42.9714C119.204 46.0027 119.925 49.2746 119.994 52.5944C120.064 55.9141 119.481 59.2144 118.279 62.3007C117.077 65.387 115.28 68.1969 112.996 70.5646C110.711 72.9323 107.985 74.81 104.977 76.087C101.969 77.364 98.7403 78.0143 95.4818 77.9998H31.9845C27.433 77.9937 22.935 76.999 18.7904 75.0822C14.6458 73.1654 10.9497 70.3703 7.94856 66.8834C4.94739 63.3965 2.71008 59.2978 1.38572 54.8604C0.
30613674 50.4231 -0.319604 45.7491 0.268202 41.1499C0.856007 36.5507 2.39909 32.1321 4.79459 28.1884C7.1901 24.2447 10.383 20.8666 14.1605 18.2793C17.938 15.692 22.2133 13.9548 26.7015 13.1837C31.1896 12.4125 35.7875 12.625 40.1888 13.807ZM65.0033 8.32983C60.9897 8.3288 57.0574 9.48255 53.6589 11.6583C50.2603 13.834 47.5337 16.9434 45.7928 20.6284C45.3457 21.5721 44.566 22.3094 43.6093 22.6934C42.6525 23.0774 41.5889 23.0799 40.6303 22.7004C37.365 21.4125 33.8614 20.8729 30.3684 21.1202C26.8753 21.3674 23.4786 22.3954 20.4193 24.131C17.3601 25.8667 14.7134 28.2674 12.6673 31.1628C10.6212 34.0582 9.22578 37.3772 8.58023 40.884C7.93469 44.3908 8.05482 47.9994 8.9321 51.4536C9.80938 54.9078 11.4223 58.1227 13.6563 60.8702C15.8902 63.6176 18.6905 65.8301 21.8581 67.3505C25.0258 68.8709 28.4831 69.6619 31.9845 69.6674H95.4818C97.792 69.6666 100.075 69.1633 102.179 68.1913C104.284 67.2193 106.16 65.8009 107.683 64.0308C109.206 62.2608 110.341 60.1799 111.011 57.9272C111.682 55.6744 111.873 53.3018 111.572 50.9678C111.271 48.6338 110.484 46.3922 109.265 44.3928C108.045 42.3934 106.421 40.6822 104.501 39.3736C102.58 38.065 100.408 37.1891 98.1287 36.8045C95.8496 36.4199 93.5161 36.5354 91.2843 37.1432C90.6394 37.3193 89.9621 37.3318 89.3115 37.1797C88.6608 37.0275 88.0566 36.7153 87.5517 36.2704C87.0467 35.8254 86.6564 35.2612 86.4147 34.6271C86.1731 33.993 86.0875 33.3082 86.1654 32.6326C86.5229 29.5847 86.2423 26.4941 85.3421 23.5647C84.4419 20.6353 82.9426 17.9336 80.943 15.6378C78.9434 13.3419 76.4889 11.5041 73.7414 10.2453C70.9939 8.98663 68.0157 8.33012 65.0033 8.32983Z" fill="#fff" data-v-3cdbf841></path></g><defs data-v-3cdbf841><clipPath id="clip0_71_2894" data-v-3cdbf841><rect width="120" height="78" fill="white" data-v-3cdbf841></rect></clipPath></defs></svg></div>',1)),(0,i.createElementVNode)("div",Ve,[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},(0,i.toDisplayString)(e.translate("Upload in progress...")),3),(0,i.createVNode)(l,{files:o.files},null,8,["files"])]),(0,i.createElementVNode)("div",ke,[(0,i.createElementVNode)("div",Ee,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[0]||(t[0]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[8]||(t[8]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Add more files")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[9]||(t[9]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 br-4 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",Ne,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[2]||(t[2]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[10]||(t[10]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Device")),1)],8,De)]),t[16]||(t[16]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",ye,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[11]||(t[11]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,Be)]),t[17]||(t[17]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[12]||(t[12]=(0,i.createStaticVNode)('<span class="px-75" data-v-3cdbf841><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg" data-v-3cdbf841><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da" data-v-3cdbf841></path>
3<path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47" data-v-3cdbf841></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335" data-v-3cdbf841></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d" data-v-3cdbf841></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc" data-v-3cdbf841></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00" data-v-3cdbf841></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,Te)],2),t[18]||(t[18]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:"dropdown-item px-0",onClick:t[5]||(t[5]=(0,i.withModifiers)(t=>e.$emit("open-one-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"onedriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from OneDrive")},[t[13]||(t[13]=(0,i.createStaticVNode)('<span class="px-75" data-v-3cdbf841><svg data-v-b2efc490="" width="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 5.5 32 20.5" data-v-3cdbf841><g data-v-b2efc490="" id="STYLE_COLOR" data-v-3cdbf841><path data-v-b2efc490="" d="M12.20245,11.19292l.00031-.0011,6.71765,4.02379,4.00293-1.68451.00018.00068A6.4768,6.4768,0,0,1,25.5,13c.14764,0,.29358.0067.43878.01639a10.00075,10.00075,0,0,0-18.041-3.01381C7.932,10.00215,7.9657,10,8,10A7.96073,7.96073,0,0,1,12.20245,11.19292Z" fill="#0364b8" data-v-3cdbf841></path> <path data-v-b2efc490="" d="M12.20276,11.19182l-.00031.0011A7.96073,7.96073,0,0,0,8,10c-.0343,0-.06805.00215-.10223.00258A7.99676,7.99676,0,0,0,1.43732,22.57277l5.924-2.49292,2.63342-1.10819,5.86353-2.46746,3.06213-1.28859Z" fill="#0078d4" data-v-3cdbf841></path> <path data-v-b2efc490="" d="M25.93878,13.01639C25.79358,13.0067,25.64764,13,25.5,13a6.4768,6.4768,0,0,0-2.57648.53178l-.00018-.00068-4.00293,1.68451,1.16077.69528L23.88611,18.19l1.66009.99438,5.67633,3.40007a6.5002,6.5002,0,0,0-5.28375-9.56805Z" fill="#1490df" data-v-3cdbf841></path> <path data-v-b2efc490="" d="M25.5462,19.18437,23.88611,18.19l-3.80493-2.2791-1.16077-.69528L15.85828,16.5042,9.99475,18.97166,7.36133,20.07985l-5.924,2.49292A7.98889,7.98889,0,0,0,8,26H25.5a6.49837,6.49837,0,0,0,5.72253-3.41556Z" fill="#28a8ea" data-v-3cdbf841></path></g></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From OneDrive")),1)],8,Se)])):(0,i.createCommentVNode)("v-if",!0),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Le,[(0,i.createVNode)(s,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,Me)]}),_:1})]),t[20]||(t[20]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Ue,[(0,i.createElementVNode)("span",{id:"copyFromClipboard",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Copy From Clipboard"),onClick:t[6]||(t[6]=(0,i.withModifiers)(t=>e.$emit("copy-from-clipboard"),["stop","prevent"]))},[t[15]||(t[15]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M4.8 13.3C4.36 13.3 3.98347 13.1435 3.6704 12.8304C3.35733 12.5173 3.20053 12.1405 3.2 11.7V2.1C3.2 1.66 3.3568 1.28347 3.6704 0.9704C3.984 0.657333 4.36053 0.500533 4.8 0.5H12C12.44 0.5 12.8168 0.6568 13.1304 0.9704C13.444 1.284 13.6005 1.66053 13.6 2.1V11.7C13.6 12.14 13.4435 12.5168 13.1304 12.8304C12.8173 13.144 12.4405 13.3005 12 13.3H4.8ZM4.8 11.7H12V2.1H4.8V11.7ZM1.6 16.5C1.16 16.5 0.783467 16.3435 0.4704 16.0304C0.157333 15.7173 0.000533333 15.3405 0 14.9V4.5C0 4.27333 0.0768001 4.08347 0.2304 3.9304C0.384 3.77733 0.573867 3.70053 0.8 3.7C1.02667 3.7 1.2168 3.7768 1.3704 3.9304C1.524 4.084 1.60053 4.27387 1.6 4.5V14.9H9.6C9.82666 14.9 10.0168 14.9768 10.1704 15.1304C10.324 15.284 10.4005 15.4739 10.4 15.7C10.4 15.9267 10.3232 16.1168 10.1696 16.2704C10.016 16.424 9.82613 16.5005 9.6 16.5H1.6Z",fill:"#2E2E2E"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Clipboard")),1)],8,Fe)])],2)]),o.showSettingsBtn?((0,i.openBlock)(),(0,i.createBlock)(d,{key:0})):(0,i.createCommentVNode)("v-if",!0),o.showSubmitBtn?((0,i.openBlock)(),(0,i.createElementBlock)("div",ze,[(0,i.createElementVNode)("button",{type:"button",class:"btn btn-lg submit-btn btn-blue white-space-nowrap mb-0 d-flex align-items-center justify-content-center gap-10 w-100 uploader-submit-button",onClick:t[7]||(t[7]=t=>e.$emit("startClicked")),disabled:o.startClicked},[(0,i.createElementVNode)("strong",Oe,(0,i.toDisplayString)(e.translate("Start")),1),o.startClicked?((0,i.openBlock)(),(0,i.createElementBlock)("i",Ae)):((0,i.openBlock)(),(0,i.createElementBlock)("i",_e))],8,He)])):(0,i.createCommentVNode)("v-if",!0)])])])}],["__scopeId","data-v-3cdbf841"]]),Je={class:"d-flex flex-column align-items-center font-size-125 gap-20"},et={class:"d-flex gap-10 flex-wrap justify-content-center"},tt={class:"btn-group"},ot={class:"dropdown-item px-0"},it=["title"],nt={class:"dropdown-item px-0"},rt=["title"],at=["title"],lt={class:"dropdown-item px-0"},st=["title","onClick"],dt=["title"],pt={class:"dropdown-item px-0"},ct=["title"],Ct={key:0,class:"btn-group add-example-file"},mt={type:"button",class:"btn btn-lg add-example-file btn-default white-space-nowrap mb-0 d-flex align-items-center gap-10 w-100"},ut={class:"add-example-file"},gt={key:0,class:"text-center"};const ht={mixins:[m.A],name:"AddFileView",props:{disableGdriveButton:Boolean,showDropdown:Boolean},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor},hasExampleFile(){if(window.pageConfig.example_file)return!0},hasClientId:()=>window.sat?.onedriveConfig?.clientId}},ft=(0,V.A)(ht,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink");return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.createElementVNode)("div",Je,[t[21]||(t[21]=(0,i.createElementVNode)("svg",{width:"68",height:"78",viewBox:"0 0 68 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M65.9548 21.4933L45.7326 1.27111C45.3301 0.868177 44.8522 0.548517 44.3262 0.33041C43.8001 0.112303 43.2362 2.65509e-05 42.6667 0H8.00005C6.0846 0 4.2476 0.76091 2.89317 2.11534C1.53874 3.46977 0.777832 5.30677 0.777832 7.22222V70.7778C0.777832 72.6932 1.53874 74.5302 2.89317 75.8847C4.2476 77.2391 6.0846 78 8.00005 78H60.0001C61.9155 78 63.7525 77.2391 65.1069 75.8847C66.4614 74.5302 67.2223 72.6932 67.2223 70.7778V24.5556C67.2222 23.4072 66.7663 22.3058 65.9548 21.4933ZM53.8612 21.6667H45.5556V13.3611L53.8612 21.6667ZM9.4445 69.3333V8.66667H36.8889V26C36.8889 27.1493 37.3455 28.2515 38.1581 29.0641C38.9708 29.8768 40.073 30.3333 41.2223 30.3333H58.5556V69.3333H9.4445ZM45.7326 42.0658L40.1389 47.6667L45.7434 53.2675C46.5575 54.0816 47.0148 55.1857 47.0148 56.3369C47.0148 57.4882 46.5575 58.5923 45.7434 59.4064C44.9293 60.2205 43.8252 60.6778 42.6739 60.6778C41.5227 60.6778 40.4186 60.2205 39.6045 59.4064L34.0001 53.8056L28.3992 59.41C27.5852 60.2241 26.481 60.6814 25.3298 60.6814C24.1785 60.6814 23.0744 60.2241 22.2603 59.41C21.4463 58.5959 20.9889 57.4918 20.9889 56.3406C20.9889 55.1893 21.4463 54.0852 22.2603 53.2711L27.8612 47.6667L22.2676 42.0658C21.8645 41.6628 21.5447 41.1842 21.3266 40.6576C21.1084 40.1309 20.9961 39.5664 20.9961 38.9964C20.9961 38.4263 21.1084 37.8619 21.3266 37.3352C21.5447 36.8086 21.8645 36.33 22.2676 35.9269C22.6706 35.5239 23.1492 35.2041 23.6758 34.986C24.2025 34.7678 24.767 34.6555 25.337 34.6555C25.907 34.6555 26.4715 34.7678 26.9982 34.986C27.5248 35.2041 28.0034 35.5239 28.4064 35.9269L34.0001 41.5278L39.6009 35.9233C40.004 35.5202 40.4825 35.2005 41.0092 34.9824C41.5358 34.7642 42.1003 34.6519 42.6703 34.6519C43.2404 34.6519 43.8048 34.7642 44.3315 34.9824C44.8582 35.2005 45.3367 35.5202 45.7398 35.9233C46.1429 36.3264 46.4626 36.8049 46.6808 37.3316C46.8989 37.8583 47.0112 38.4227 47.0112 38.9928C47.0112 39.5628 46.8989 40.1273 46.6808 40.6539C46.4626 41.1806 46.1429 41.6591 45.7398 42.0622L45.7326 42.0658Z",fill:"#fff"})],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},(0,i.toDisplayString)(e.translate("Add a file to continue")),3),(0,i.createElementVNode)("div",et,[(0,i.createElementVNode)("div",tt,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[0]||(t[0]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[7]||(t[7]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Choose File")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[8]||(t[8]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 br-4 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",ot,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[2]||(t[2]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[9]||(t[9]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Device")),1)],8,it)]),t[15]||(t[15]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",nt,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[10]||(t[10]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,rt)]),t[16]||(t[16]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[11]||(t[11]=(0,i.createStaticVNode)('<span class="px-75" data-v-8a571526><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg" data-v-8a571526><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da" data-v-8a571526></path>
3<path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47" data-v-8a571526></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335" data-v-8a571526></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d" data-v-8a571526></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc" data-v-8a571526></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00" data-v-8a571526></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,at)],2),t[17]||(t[17]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",lt,[(0,i.createVNode)(l,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[12]||(t[12]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,st)]}),_:1})]),t[18]||(t[18]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":e.disableOnedriveButton}]),onClick:t[5]||(t[5]=(0,i.withModifiers)(function(){return e.openOnedriveDialog&&e.openOnedriveDialog(...arguments)},["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"onedriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from OneDrive")},[t[13]||(t[13]=(0,i.createStaticVNode)('<span class="px-75" data-v-8a571526><svg data-v-b2efc490="" width="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 5.5 32 20.5" data-v-8a571526><g data-v-b2efc490="" id="STYLE_COLOR" data-v-8a571526><path data-v-b2efc490="" d="M12.20245,11.19292l.00031-.0011,6.71765,4.02379,4.00293-1.68451.00018.00068A6.4768,6.4768,0,0,1,25.5,13c.14764,0,.29358.0067.43878.01639a10.00075,10.00075,0,0,0-18.041-3.01381C7.932,10.00215,7.9657,10,8,10A7.96073,7.96073,0,0,1,12.20245,11.19292Z" fill="#0364b8" data-v-8a571526></path> <path data-v-b2efc490="" d="M12.20276,11.19182l-.00031.0011A7.96073,7.96073,0,0,0,8,10c-.0343,0-.06805.00215-.10223.00258A7.99676,7.99676,0,0,0,1.43732,22.57277l5.924-2.49292,2.63342-1.10819,5.86353-2.46746,3.06213-1.28859Z" fill="#0078d4" data-v-8a571526></path> <path data-v-b2efc490="" d="M25.93878,13.01639C25.79358,13.0067,25.64764,13,25.5,13a6.4768,6.4768,0,0,0-2.57648.53178l-.00018-.00068-4.00293,1.68451,1.16077.69528L23.88611,18.19l1.66009.99438,5.67633,3.40007a6.5002,6.5002,0,0,0-5.28375-9.56805Z" fill="#1490df" data-v-8a571526></path> <path data-v-b2efc490="" d="M25.5462,19.18437,23.88611,18.19l-3.80493-2.2791-1.16077-.69528L15.85828,16.5042,9.99475,18.97166,7.36133,20.07985l-5.924,2.49292A7.98889,7.98889,0,0,0,8,26H25.5a6.49837,6.49837,0,0,0,5.72253-3.41556Z" fill="#28a8ea" data-v-8a571526></path></g></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From OneDrive")),1)],8,dt)],2)):(0,i.createCommentVNode)("v-if",!0),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",pt,[(0,i.createElementVNode)("span",{id:"copyFromClipboard",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Copy From Clipboard"),onClick:t[6]||(t[6]=(0,i.withModifiers)(t=>e.$emit("copy-from-clipboard"),["stop","prevent"]))},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M4.8 13.3C4.36 13.3 3.98347 13.1435 3.6704 12.8304C3.35733 12.5173 3.20053 12.1405 3.2 11.7V2.1C3.2 1.66 3.3568 1.28347 3.6704 0.9704C3.984 0.657333 4.36053 0.500533 4.8 0.5H12C12.44 0.5 12.8168 0.6568 13.1304 0.9704C13.444 1.284 13.6005 1.66053 13.6 2.1V11.7C13.6 12.14 13.4435 12.5168 13.1304 12.8304C12.8173 13.144 12.4405 13.3005 12 13.3H4.8ZM4.8 11.7H12V2.1H4.8V11.7ZM1.6 16.5C1.16 16.5 0.783467 16.3435 0.4704 16.0304C0.157333 15.7173 0.000533333 15.3405 0 14.9V4.5C0 4.27333 0.0768001 4.08347 0.2304 3.9304C0.384 3.77733 0.573867 3.70053 0.8 3.7C1.02667 3.7 1.2168 3.7768 1.3704 3.9304C1.524 4.084 1.60053 4.27387 1.6 4.5V14.9H9.6C9.82666 14.9 10.0168 14.9768 10.1704 15.1304C10.324 15.284 10.4005 15.4739 10.4 15.7C10.4 15.9267 10.3232 16.1168 10.1696 16.2704C10.016 16.424 9.82613 16.5005 9.6 16.5H1.6Z",fill:"#2E2E2E"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Clipboard")),1)],8,ct)])],2)]),a.hasExampleFile?((0,i.openBlock)(),(0,i.createElementBlock)("div",Ct,[(0,i.createElementVNode)("button",mt,[t[20]||(t[20]=(0,i.createElementVNode)("i",{class:"fa fa-plus add-example-file"},null,-1)),(0,i.createElementVNode)("strong",ut,(0,i.toDisplayString)(e.translate("Add sample file")),1)])])):(0,i.createCommentVNode)("v-if",!0)]),a.hasExampleFile?((0,i.openBlock)(),(0,i.createElementBlock)("div",gt,(0,i.toDisplayString)(e.translate("Add a file or test us for free with our sample file")),1)):(0,i.createCommentVNode)("v-if",!0)])])}],["__scopeId","data-v-8a571526"]]),wt=ft,vt={class:"w-100 d-flex flex-column align-items-center"},bt={class:"d-flex flex-column align-items-center font-size-125 gap-20"},xt={class:"d-flex gap-10 flex-wrap justify-content-center"},Vt={class:"btn-group adjust-button"},kt={class:"text-uppercase"},Et={class:"btn-group adjust-button"},Nt={class:"text-uppercase"};const Dt={mixins:[m.A],name:"AuthRequiredView",props:{},data:()=>({}),methods:{openLogin(){(0,b.sx)("cta_click",{cta_type:"login_auth_required_view"},["user"]),v.p.openLogin()},openRegister(){(0,b.sx)("cta_click",{cta_type:"register_auth_required_view"},["user"]),v.p.openRegister()}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}}},yt=(0,V.A)(Dt,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",vt,[(0,i.createElementVNode)("div",bt,[t[4]||(t[4]=(0,i.createElementVNode)("div",{class:"position-relative"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"78",height:"78",viewBox:"0 0 78 78",fill:"none"},[(0,i.createElementVNode)("path",{d:"M70.9548 21.4933L50.7326 1.27111C50.3301 0.868177 49.8522 0.548517 49.3262 0.33041C48.8001 0.112303 48.2362 2.65509e-05 47.6667 0H13.0001C11.0846 0 9.2476 0.76091 7.89317 2.11534C6.53874 3.46977 5.77783 5.30677 5.77783 7.22222V70.7778C5.77783 72.6932 6.53874 74.5302 7.89317 75.8847C9.2476 77.2391 11.0846 78 13.0001 78H65.0001C66.9155 78 68.7525 77.2391 70.1069 75.8847C71.4614 74.5302 72.2223 72.6932 72.2223 70.7778V24.5556C72.2222 23.4072 71.7663 22.3058 70.9548 21.4933ZM58.8612 21.6667H50.5556V13.3611L58.8612 21.6667ZM14.4445 69.3333V8.66667H41.8889V26C41.8889 27.1493 42.3455 28.2515 43.1581 29.0641C43.9708 29.8768 45.073 30.3333 46.2223 30.3333H63.5556V69.3333H14.4445ZM50.7326 42.0658L45.1389 47.6667L50.7434 53.2675C51.5575 54.0816 52.0148 55.1857 52.0148 56.3369C52.0148 57.4882 51.5575 58.5923 50.7434 59.4064C49.9293 60.2205 48.8252 60.6778 47.6739 60.6778C46.5227 60.6778 45.4186 60.2205 44.6045 59.4064L39.0001 53.8056L33.3992 59.41C32.5852 60.2241 31.481 60.6814 30.3298 60.6814C29.1785 60.6814 28.0744 60.2241 27.2603 59.41C26.4463 58.5959 25.9889 57.4918 25.9889 56.3406C25.9889 55.1893 26.4463 54.0852 27.2603 53.2711L32.8612 47.6667L27.2676 42.0658C26.8645 41.6628 26.5447 41.1842 26.3266 40.6576C26.1084 40.1309 25.9961 39.5664 25.9961 38.9964C25.9961 38.4263 26.1084 37.8619 26.3266 37.3352C26.5447 36.8086 26.8645 36.33 27.2676 35.9269C27.6706 35.5239 28.1492 35.2041 28.6758 34.986C29.2025 34.7678 29.767 34.6555 30.337 34.6555C30.907 34.6555 31.4715 34.7678 31.9982 34.986C32.5248 35.2041 33.0034 35.5239 33.4064 35.9269L39.0001 41.5278L44.6009 35.9233C45.004 35.5202 45.4825 35.2005 46.0092 34.9824C46.5358 34.7642 47.1003 34.6519 47.6703 34.6519C48.2404 34.6519 48.8048 34.7642 49.3315 34.9824C49.8582 35.2005 50.3367 35.5202 50.7398 35.9233C51.1429 36.3264 51.462
36 36.8049 51.6808 37.3316C51.8989 37.8583 52.0112 38.4227 52.0112 38.9928C52.0112 39.5628 51.8989 40.1273 51.6808 40.6539C51.4626 41.1806 51.1429 41.6591 50.7398 42.0622L50.7326 42.0658Z",fill:"#E8EAED"})])],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},(0,i.toDisplayString)(e.translate("Please Log In or Sign Up to share PDFs.")),3),(0,i.createElementVNode)("div",xt,[(0,i.createElementVNode)("div",Vt,[(0,i.createElementVNode)("button",{class:"btn btn-lg submit-btn white-space-nowrap mb-0 d-flex align-items-center justify-content-center gap-10 w-100",onClick:t[0]||(t[0]=(0,i.withModifiers)(function(){return a.openLogin&&a.openLogin(...arguments)},["stop","prevent"]))},[(0,i.createElementVNode)("strong",kt,(0,i.toDisplayString)(e.translate("Log In")),1),t[2]||(t[2]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit"},null,-1))])]),(0,i.createElementVNode)("div",Et,[(0,i.createElementVNode)("button",{type:"button",class:"btn btn-lg submit-btn white-space-nowrap mb-0 d-flex align-items-center justify-content-center gap-10 w-100",onClick:t[1]||(t[1]=(0,i.withModifiers)(function(){return a.openRegister&&a.openRegister(...arguments)},["stop","prevent"]))},[(0,i.createElementVNode)("strong",Nt,(0,i.toDisplayString)(e.translate("Sign Up")),1),t[3]||(t[3]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit"},null,-1))])])])])])}]]),Bt=yt,Tt={class:"w-100 d-flex flex-column align-items-center"},St={class:"d-flex flex-column align-items-center font-size-125 gap-20"},Lt={class:"d-flex gap-10 flex-wrap justify-content-center"},Mt={class:"btn-group adjust-button"},Ut={class:"dropdown-item px-0"},Ft=["title"],zt={class:"dropdown-item px-0"},Ht=["title"],Ot=["title"],At=["title"],_t={class:"dropdown-item px-0"},Zt=["title","onClick"],Pt={class:"dropdown-item px-0"},Rt=["title"],$t={class:"text-center"};const Gt={components:{SettingsButton:Ge},mixins:[m.A],name:"NoSettingView",props:{disableGdriveButton:Boolean,showDropdown:Boolean,startClicked:Boolean,showSettingsBtn:Boolean},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor},hasClientId:()=>window.sat?.onedriveConfig?.clientId}},jt=(0,V.A)(Gt,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink"),s=(0,i.resolveComponent)("settings-button");return(0,i.openBlock)(),(0,i.createElementBlock)("div",Tt,[(0,i.createElementVNode)("div",St,[t[20]||(t[20]=(0,i.createElementVNode)("div",{class:"position-relative"},[(0,i.createElementVNode)("svg",{width:"68",height:"78",viewBox:"0 0 68 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M65.9548 21.4933L45.7326 1.27111C45.3301 0.868177 44.8522 0.548517 44.3262 0.33041C43.8001 0.112303 43.2362 2.65509e-05 42.6667 0H8.00005C6.0846 0 4.2476 0.76091 2.89317 2.11534C1.53874 3.46977 0.777832 5.30677 0.777832 7.22222V70.7778C0.777832 72.6932 1.53874 74.5302 2.89317 75.8847C4.2476 77.2391 6.0846 78 8.00005 78H60.0001C61.9155 78 63.7525 77.2391 65.1069 75.8847C66.4614 74.5302 67.2223 72.6932 67.2223 70.7778V24.5556C67.2222 23.4072 66.7663 22.3058 65.9548 21.4933ZM53.8612 21.6667H45.5556V13.3611L53.8612 21.6667ZM9.4445 69.3333V8.66667H36.8889V26C36.8889 27.1493 37.3455 28.2515 38.1581 29.0641C38.9708 29.8768 40.073 30.3333 41.2223 30.3333H58.5556V69.3333H9.4445ZM45.7326 42.0658L40.1389 47.6667L45.7434 53.2675C46.5575 54.0816 47.0148 55.1857 47.0148 56.3369C47.0148 57.4882 46.5575 58.5923 45.7434 59.4064C44.9293 60.2205 43.8252 60.6778 42.6739 60.6778C41.5227 60.6778 40.4186 60.2205 39.6045 59.4064L34.0001 53.8056L28.3992 59.41C27.5852 60.2241 26.481 60.6814 25.3298 60.6814C24.1785 60.6814 23.0744 60.2241 22.2603 59.41C21.4463 58.5959 20.9889 57.4918 20.9889 56.3406C20.9889 55.1893 21.4463 54.0852 22.2603 53.2711L27.8612 47.6667L22.2676 42.0658C21.8645 41.6628 21.5447 41.1842 21.3266 40.6576C21.1084 40.1309 20.9961 39.5664 20.9961 38.9964C20.9961 38.4263 21.1084 37.8619 21.3266 37.3352C21.5447 36.8086 21.8645 36.33 22.2676 35.9269C22.6706 35.5239 23.1492 35.2041 23.6758 34.986C24.2025 34.7678 24.767 34.6555 25.337 34.6555C25.907 34.6555 26.4715 34.7678 26.9982 34.986C27.5248 35.2041 28.0034 35.5239 28.4064 35.9269L34.0001 41.5278L39.6009 35.9233C40.004 35.5202 40.4825 35.2005 41.0092 34.9824C41.5358 34.7642 42.1003 34.6519 42.6703 34.6519C43.2404 34.6519 43.8048 34.7642 44.3315 34.9824C44.8582 35.2005 45.3367 35.5202 45.7398 35.9233C46.1429 36.3264 46.4626 36.8049 46.6808 37.3316C46.8989 37.8583 47.0112 38.4227 47.0112 38.9928C47.0112 39.5628 46.8989 40.1273 46.6808 40.6539C46.4626 41.1806 46.1429 41.6591 45.7398 42.0622L45.7326 42.0658Z",fill:"#fff"})])],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text font-size-125",a.darkText]),"data-testid":"no-setting-selected"}
3,(0,i.toDisplayString)(e.translate("No Setting Selected")),3),(0,i.createElementVNode)("div",Lt,[(0,i.createElementVNode)("div",Mt,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[0]||(t[0]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[7]||(t[7]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Add more files")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[8]||(t[8]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",Ut,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[2]||(t[2]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[9]||(t[9]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Device")),1)],8,Ft)]),t[15]||(t[15]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",zt,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[10]||(t[10]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,Ht)]),t[16]||(t[16]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[11]||(t[11]=(0,i.createStaticVNode)('<span class="px-75"><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da"></path>
3<path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47"></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335"></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d"></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc"></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00"></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,Ot)],2),t[17]||(t[17]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":e.disableOnedriveButton}]),onClick:t[5]||(t[5]=(0,i.withModifiers)(t=>e.$emit("open-one-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"onedriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from OneDrive")},[t[12]||(t[12]=(0,i.createStaticVNode)('<span class="px-75"><svg data-v-b2efc490="" width="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 5.5 32 20.5"><g data-v-b2efc490="" id="STYLE_COLOR"><path data-v-b2efc490="" d="M12.20245,11.19292l.00031-.0011,6.71765,4.02379,4.00293-1.68451.00018.00068A6.4768,6.4768,0,0,1,25.5,13c.14764,0,.29358.0067.43878.01639a10.00075,10.00075,0,0,0-18.041-3.01381C7.932,10.00215,7.9657,10,8,10A7.96073,7.96073,0,0,1,12.20245,11.19292Z" fill="#0364b8"></path> <path data-v-b2efc490="" d="M12.20276,11.19182l-.00031.0011A7.96073,7.96073,0,0,0,8,10c-.0343,0-.06805.00215-.10223.00258A7.99676,7.99676,0,0,0,1.43732,22.57277l5.924-2.49292,2.63342-1.10819,5.86353-2.46746,3.06213-1.28859Z" fill="#0078d4"></path> <path data-v-b2efc490="" d="M25.93878,13.01639C25.79358,13.0067,25.64764,13,25.5,13a6.4768,6.4768,0,0,0-2.57648.53178l-.00018-.00068-4.00293,1.68451,1.16077.69528L23.88611,18.19l1.66009.99438,5.67633,3.40007a6.5002,6.5002,0,0,0-5.28375-9.56805Z" fill="#1490df"></path> <path data-v-b2efc490="" d="M25.5462,19.18437,23.88611,18.19l-3.80493-2.2791-1.16077-.69528L15.85828,16.5042,9.99475,18.97166,7.36133,20.07985l-5.924,2.49292A7.98889,7.98889,0,0,0,8,26H25.5a6.49837,6.49837,0,0,0,5.72253-3.41556Z" fill="#28a8ea"></path></g></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From OneDrive")),1)],8,At)],2)):(0,i.createCommentVNode)("v-if",!0),t[18]||(t[18]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",_t,[(0,i.createVNode)(l,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[13]||(t[13]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,Zt)]}),_:1})]),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Pt,[(0,i.createElementVNode)("span",{id:"copyFromClipboard",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Copy From Clipboard"),onClick:t[6]||(t[6]=(0,i.withModifiers)(t=>e.$emit("copy-from-clipboard"),["stop","prevent"]))},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M4.8 13.3C4.36 13.3 3.98347 13.1435 3.6704 12.8304C3.35733 12.5173 3.20053 12.1405 3.2 11.7V2.1C3.2 1.66 3.3568 1.28347 3.6704 0.9704C3.984 0.657333 4.36053 0.500533 4.8 0.5H12C12.44 0.5 12.8168 0.6568 13.1304 0.9704C13.444 1.284 13.6005 1.66053 13.6 2.1V11.7C13.6 12.14 13.4435 12.5168 13.1304 12.8304C12.8173 13.144 12.4405 13.3005 12 13.3H4.8ZM4.8 11.7H12V2.1H4.8V11.7ZM1.6 16.5C1.16 16.5 0.783467 16.3435 0.4704 16.0304C0.157333 15.7173 0.000533333 15.3405 0 14.9V4.5C0 4.27333 0.0768001 4.08347 0.2304 3.9304C0.384 3.77733 0.573867 3.70053 0.8 3.7C1.02667 3.7 1.2168 3.7768 1.3704 3.9304C1.524 4.084 1.60053 4.27387 1.6 4.5V14.9H9.6C9.82666 14.9 10.0168 14.9768 10.1704 15.1304C10.324 15.284 10.4005 15.4739 10.4 15.7C10.4 15.9267 10.3232 16.1168 10.1696 16.2704C10.016 16.424 9.82613 16.5005 9.6 16.5H1.6Z",fill:"#2E2E2E"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Clipboard")),1)],8,Rt)])],2)]),(0,i.createVNode)(s)]),(0,i.createElementVNode)("div",$t,(0,i.toDisplayString)(e.translate("Please enter a value or choose another resize feature.")),1)])])}]]),It={class:"w-100 d-flex flex-column align-items-center"},Wt={class:"d-flex flex-column align-items-center font-size-125 gap-20"},qt={class:"d-flex gap-10 flex-wrap justify-content-center"},Yt={class:"btn-group adjust-button"},Xt={class:"dropdown-item px-0"},Qt=["title"],Kt={class:"dropdown-item px-0"},Jt=["title"],eo=["title"],to=["title"],oo={class:"dropdown-item px-0"},io=["title","onClick"],no={class:"dropdown-item px-0"},ro=["title"],ao={key:1,class:"btn-group uploader-submit-button adjust-button"},lo={class:"text-uppercase convert_to uploader-submit-button"};const so={components:{SettingsButton:Ge},mixins:[m.A],name:"FileAddedView",props:{disableGdriveButton:Boolean,disableOnedriveButton:Boolean,showDropdown:Boolean,startClicked:Boolean,showSubmitBtn:Boolean,showSettingsBtn:Boolean},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{fileAddedMessage:()=>window.pageConfig?.fileAddedMessage?window.pageConfig.fileAddedMessage:(0,U.T)("File added! Start task or add more files"),darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}
3,hasClientId:()=>window.sat?.onedriveConfig?.clientId}},po=(0,V.A)(so,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink"),s=(0,i.resolveComponent)("settings-button");return(0,i.openBlock)(),(0,i.createElementBlock)("div",It,[(0,i.createElementVNode)("div",Wt,[t[22]||(t[22]=(0,i.createElementVNode)("div",{class:"position-relative"},[(0,i.createElementVNode)("svg",{width:"64",height:"78",viewBox:"0 0 64 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M63.2001 27.066C63.1594 26.7077 63.081 26.3548 62.9661 26.013V25.662C62.7785 25.261 62.5284 24.8924 62.2251 24.57L38.8251 1.17C38.5027 0.866643 38.1341 0.616516 37.7331 0.429C37.6166 0.412464 37.4985 0.412464 37.3821 0.429C36.9859 0.201791 36.5483 0.0559424 36.0951 0H12.5C9.39702 0 6.42108 1.23268 4.2269 3.42685C2.03272 5.62103 0.800049 8.59697 0.800049 11.7V66.3C0.800049 69.403 2.03272 72.379 4.2269 74.5732C6.42108 76.7673 9.39702 78 12.5 78H51.5001C54.6031 78 57.579 76.7673 59.7732 74.5732C61.9674 72.379 63.2001 69.403 63.2001 66.3V27.3V27.066ZM39.8001 13.299L49.9011 23.4H43.7001C42.6657 23.4 41.6737 22.9891 40.9423 22.2577C40.2109 21.5263 39.8001 20.5343 39.8001 19.5V13.299ZM55.4001 66.3C55.4001 67.3343 54.9892 68.3263 54.2578 69.0577C53.5264 69.7891 52.5344 70.2 51.5001 70.2H12.5C11.4657 70.2 10.4737 69.7891 9.74233 69.0577C9.01094 68.3263 8.60005 67.3343 8.60005 66.3V11.7C8.60005 10.6657 9.01094 9.67368 9.74233 8.94228C10.4737 8.21089 11.4657 7.8 12.5 7.8H32.0001V19.5C32.0001 22.603 33.2327 25.579 35.4269 27.7732C37.6211 29.9673 40.597 31.2 43.7001 31.2H55.4001V66.3ZM40.9311 40.131L28.1001 53.001L23.0691 47.931C22.3347 47.1966 21.3386 46.784 20.3001 46.784C19.2615 46.784 18.2654 47.1966 17.531 47.931C16.7967 48.6654 16.3841 49.6614 16.3841 50.7C16.3841 51.7386 16.7967 52.7346 17.531 53.469L25.3311 61.269C25.6936 61.6345 26.125 61.9247 26.6002 62.1227C27.0755 62.3207 27.5852 62.4226 28.1001 62.4226C28.6149 62.4226 29.1246 62.3207 29.5999 62.1227C30.0752 61.9247 30.5065 61.6345 30.8691 61.269L46.4691 45.669C47.2034 44.9346 47.616 43.9386 47.616 42.9C47.616 41.8614 47.2034 40.8654 46.4691 40.131C45.7347 39.3966 44.7386 38.984 43.7001 38.984C42.6615 38.984 41.6654 39.3966 40.9311 40.131Z",fill:"#fff"})])],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text font-size-125",a.darkText])},(0,i.toDisplayString)(a.fileAddedMessage),3),(0,i.createElementVNode)("div",qt,[(0,i.createElementVNode)("div",Yt,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[0]||(t[0]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[8]||(t[8]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Add more files")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[9]||(t[9]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",Xt,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[2]||(t[2]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[10]||(t[10]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Device")),1)],8,Qt)]
3),t[16]||(t[16]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Kt,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[11]||(t[11]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,Jt)]),t[17]||(t[17]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[12]||(t[12]=(0,i.createStaticVNode)('<span class="px-75"><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da"></path><path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47"></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335"></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d"></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc"></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00"></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,eo)],2),t[18]||(t[18]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableOnedriveButton}]),onClick:t[5]||(t[5]=(0,i.withModifiers)(t=>e.$emit("open-one-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"onedriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from OneDrive")},[t[13]||(t[13]=(0,i.createStaticVNode)('<span class="px-75"><svg data-v-b2efc490="" width="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 5.5 32 20.5"><g data-v-b2efc490="" id="STYLE_COLOR"><path data-v-b2efc490="" d="M12.20245,11.19292l.00031-.0011,6.71765,4.02379,4.00293-1.68451.00018.00068A6.4768,6.4768,0,0,1,25.5,13c.14764,0,.29358.0067.43878.01639a10.00075,10.00075,0,0,0-18.041-3.01381C7.932,10.00215,7.9657,10,8,10A7.96073,7.96073,0,0,1,12.20245,11.19292Z" fill="#0364b8"></path> <path data-v-b2efc490="" d="M12.20276,11.19182l-.00031.0011A7.96073,7.96073,0,0,0,8,10c-.0343,0-.06805.00215-.10223.00258A7.99676,7.99676,0,0,0,1.43732,22.57277l5.924-2.49292,2.63342-1.10819,5.86353-2.46746,3.06213-1.28859Z" fill="#0078d4"></path> <path data-v-b2efc490="" d="M25.93878,13.01639C25.79358,13.0067,25.64764,13,25.5,13a6.4768,6.4768,0,0,0-2.57648.53178l-.00018-.00068-4.00293,1.68451,1.16077.69528L23.88611,18.19l1.66009.99438,5.67633,3.40007a6.5002,6.5002,0,0,0-5.28375-9.56805Z" fill="#1490df"></path> <path data-v-b2efc490="" d="M25.5462,19.18437,23.88611,18.19l-3.80493-2.2791-1.16077-.69528L15.85828,16.5042,9.99475,18.97166,7.36133,20.07985l-5.924,2.49292A7.98889,7.98889,0,0,0,8,26H25.5a6.49837,6.49837,0,0,0,5.72253-3.41556Z" fill="#28a8ea"></path></g></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From OneDrive")),1)],8,to)],2)):(0,i.createCommentVNode)("v-if",!0),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",oo,[(0,i.createVNode)(l,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,io)]}),_:1})]),t[20]||(t[20]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",no,[(0,i.createElementVNode)("span",{id:"copyFromClipboard",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("C
3opy From Clipboard"),onClick:t[6]||(t[6]=(0,i.withModifiers)(t=>e.$emit("copy-from-clipboard"),["stop","prevent"]))},[t[15]||(t[15]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M4.8 13.3C4.36 13.3 3.98347 13.1435 3.6704 12.8304C3.35733 12.5173 3.20053 12.1405 3.2 11.7V2.1C3.2 1.66 3.3568 1.28347 3.6704 0.9704C3.984 0.657333 4.36053 0.500533 4.8 0.5H12C12.44 0.5 12.8168 0.6568 13.1304 0.9704C13.444 1.284 13.6005 1.66053 13.6 2.1V11.7C13.6 12.14 13.4435 12.5168 13.1304 12.8304C12.8173 13.144 12.4405 13.3005 12 13.3H4.8ZM4.8 11.7H12V2.1H4.8V11.7ZM1.6 16.5C1.16 16.5 0.783467 16.3435 0.4704 16.0304C0.157333 15.7173 0.000533333 15.3405 0 14.9V4.5C0 4.27333 0.0768001 4.08347 0.2304 3.9304C0.384 3.77733 0.573867 3.70053 0.8 3.7C1.02667 3.7 1.2168 3.7768 1.3704 3.9304C1.524 4.084 1.60053 4.27387 1.6 4.5V14.9H9.6C9.82666 14.9 10.0168 14.9768 10.1704 15.1304C10.324 15.284 10.4005 15.4739 10.4 15.7C10.4 15.9267 10.3232 16.1168 10.1696 16.2704C10.016 16.424 9.82613 16.5005 9.6 16.5H1.6Z",fill:"#2E2E2E"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Clipboard")),1)],8,ro)])],2)]),o.showSettingsBtn?((0,i.openBlock)(),(0,i.createBlock)(s,{key:0})):(0,i.createCommentVNode)("v-if",!0),o.showSubmitBtn?((0,i.openBlock)(),(0,i.createElementBlock)("div",ao,[(0,i.createElementVNode)("button",{type:"button",class:"btn btn-lg submit-btn btn-blue white-space-nowrap mb-0 d-flex align-items-center justify-content-center gap-10 w-100 uploader-submit-button",onClick:t[7]||(t[7]=t=>e.$emit("startClicked"))},[(0,i.createElementVNode)("strong",lo,(0,i.toDisplayString)(e.translate("Start")),1),t[21]||(t[21]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit uploader-submit-button"},null,-1))])])):(0,i.createCommentVNode)("v-if",!0)])])])}]]),co={class:"d-flex flex-column align-items-center font-size-125 gap-20"},Co={class:"d-flex gap-10 flex-wrap justify-content-center"},mo={class:"text-center"},uo={class:"w-50"};const go={components:{UploadProgress:Xe},mixins:[m.A],name:"WaitingForUploadView",props:{disableGdriveButton:Boolean,showDropdown:Boolean,files:[]},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}}},ho=(0,V.A)(go,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("UploadProgress");return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.createElementVNode)("div",co,[t[1]||(t[1]=(0,i.createStaticVNode)('<div class="position-relative" data-v-31ddf1c5><span class="spin-circle-basic spin-circle-white spin-circle-thick spin-circle-225 spin-circle-offset" id="feature-upload-icon-spinner" data-v-31ddf1c5></span><svg class="position-relative" width="120" height="78" viewBox="0 0 120 78" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-31ddf1c5><g clip-path="url(#clip0_71_2894)" data-v-31ddf1c5><path fill-rule="evenodd" clip-rule="evenodd" d="M40.1888 13.807C43.5529 8.47181 48.4871 4.3578 54.2851 2.05373C60.0831 -0.250342 66.4478 -0.626361 72.4683 0.979486C78.4888 2.58533 83.8565 6.09073 87.8031 10.994C91.7498 15.8973 94.0731 21.9471 94.4406 28.2776C97.6955 28.1214 100.948 28.6308 104.007 29.7759C107.066 30.9209 109.868 32.6784 112.25 34.9447C114.631 37.211 116.544 39.9402 117.874 42.9714C119.204 46.0027 119.925 49.2746 119.994 52.5944C120.064 55.9141 119.481 59.2144 118.279 62.3007C117.077 65.387 115.28 68.1969 112.996 70.5646C110.711 72.9323 107.985 74.81 104.977 76.087C101.969 77.364 98.7403 78.0143 95.4818 77.9998H31.9845C27.433 77.9937 22.935 76.999 18.7904 75.0822C14.6458 73.1654 10.9497 70.3703 7.94856 66.8834C4.94739 63.3965 2.71008 59.2978 1.38572 54.8604C0.
30613674 50.4231 -0.319604 45.7491 0.268202 41.1499C0.856007 36.5507 2.39909 32.1321 4.79459 28.1884C7.1901 24.2447 10.383 20.8666 14.1605 18.2793C17.938 15.692 22.2133 13.9548 26.7015 13.1837C31.1896 12.4125 35.7875 12.625 40.1888 13.807ZM65.0033 8.32983C60.9897 8.3288 57.0574 9.48255 53.6589 11.6583C50.2603 13.834 47.5337 16.9434 45.7928 20.6284C45.3457 21.5721 44.566 22.3094 43.6093 22.6934C42.6525 23.0774 41.5889 23.0799 40.6303 22.7004C37.365 21.4125 33.8614 20.8729 30.3684 21.1202C26.8753 21.3674 23.4786 22.3954 20.4193 24.131C17.3601 25.8667 14.7134 28.2674 12.6673 31.1628C10.6212 34.0582 9.22578 37.3772 8.58023 40.884C7.93469 44.3908 8.05482 47.9994 8.9321 51.4536C9.80938 54.9078 11.4223 58.1227 13.6563 60.8702C15.8902 63.6176 18.6905 65.8301 21.8581 67.3505C25.0258 68.8709 28.4831 69.6619 31.9845 69.6674H95.4818C97.792 69.6666 100.075 69.1633 102.179 68.1913C104.284 67.2193 106.16 65.8009 107.683 64.0308C109.206 62.2608 110.341 60.1799 111.011 57.9272C111.682 55.6744 111.873 53.3018 111.572 50.9678C111.271 48.6338 110.484 46.3922 109.265 44.3928C108.045 42.3934 106.421 40.6822 104.501 39.3736C102.58 38.065 100.408 37.1891 98.1287 36.8045C95.8496 36.4199 93.5161 36.5354 91.2843 37.1432C90.6394 37.3193 89.9621 37.3318 89.3115 37.1797C88.6608 37.0275 88.0566 36.7153 87.5517 36.2704C87.0467 35.8254 86.6564 35.2612 86.4147 34.6271C86.1731 33.993 86.0875 33.3082 86.1654 32.6326C86.5229 29.5847 86.2423 26.4941 85.3421 23.5647C84.4419 20.6353 82.9426 17.9336 80.943 15.6378C78.9434 13.3419 76.4889 11.5041 73.7414 10.2453C70.9939 8.98663 68.0157 8.33012 65.0033 8.32983Z" fill="#fff" data-v-31ddf1c5></path></g><defs data-v-31ddf1c5><clipPath id="clip0_71_2894" data-v-31ddf1c5><rect width="120" height="78" fill="white" data-v-31ddf1c5></rect></clipPath></defs></svg></div>',1)),(0,i.createElementVNode)("div",Co,[(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText]),"data-testid":"uploader-waiting-text"},(0,i.toDisplayString)(e.translate("Waiting for upload...")),3),(0,i.createVNode)(l,{files:o.files},null,8,["files"])]),(0,i.createElementVNode)("div",mo,[(0,i.createElementVNode)("span",uo,[(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("Your task will start automatically once the upload is finished.")),1),t[0]||(t[0]=(0,i.createElementVNode)("br",null,null,-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Please donât close your browser.")),1)])])])])}],["__scopeId","data-v-31ddf1c5"]]),fo={class:"pre-processing-file-view"},wo={class:"d-flex flex-column align-items-center font-size-125 gap-20"},vo={class:"w-50"};const bo={mixins:[m.A],name:"PreprocessingFileView",props:{},data:()=>({}),methods:{},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}}},xo=(0,V.A)(bo,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",fo,[(0,i.createElementVNode)("div",wo,[t[1]||(t[1]=(0,i.createStaticVNode)('<div class="position-relative"><span class="spin-circle-basic spin-circle-white spin-circle-thick spin-circle-225 spin-circle-offset" id="feature-upload-icon-spinner"></span><svg class="position-relative" width="120" height="78" viewBox="0 0 120 78" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_71_2894)"><path fill-rule="evenodd" clip-rule="evenodd" d="M40.1888 13.807C43.5529 8.47181 48.4871 4.3578 54.2851 2.05373C60.0831 -0.250342 66.4478 -0.626361 72.4683 0.979486C78.4888 2.58533 83.8565 6.09073 87.8031 10.994C91.7498 15.8973 94.0731 21.9471 94.4406 28.2776C97.6955 28.1214 100.948 28.6308 104.007 29.7759C107.066 30.9209 109.868 32.6784 112.25 34.9447C114.631 37.211 116.544 39.9402 117.874 42.9714C119.204 46.0027 119.925 49.2746 119.994 52.5944C120.064 55.9141 119.481 59.2144 118.279 62.3007C117.077 65.387 115.28 68.1969 112.996 70.5646C110.711 72.9323 107.985 74.81 104.977 76.087C101.969 77.364 98.7403 78.0143 95.4818 77.9998H31.9845C27.433 77.9937 22.935 76.999 18.7904 75.0822C14.6458 73.1654 10.9497 70.3703 7.94856 66.8834C4.94739 63.3965 2.71008 59.2978 1.38572 54.8604C0.
30613674 50.4231 -0.319604 45.7491 0.268202 41.1499C0.856007 36.5507 2.39909 32.1321 4.79459 28.1884C7.1901 24.2447 10.383 20.8666 14.1605 18.2793C17.938 15.692 22.2133 13.9548 26.7015 13.1837C31.1896 12.4125 35.7875 12.625 40.1888 13.807ZM65.0033 8.32983C60.9897 8.3288 57.0574 9.48255 53.6589 11.6583C50.2603 13.834 47.5337 16.9434 45.7928 20.6284C45.3457 21.5721 44.566 22.3094 43.6093 22.6934C42.6525 23.0774 41.5889 23.0799 40.6303 22.7004C37.365 21.4125 33.8614 20.8729 30.3684 21.1202C26.8753 21.3674 23.4786 22.3954 20.4193 24.131C17.3601 25.8667 14.7134 28.2674 12.6673 31.1628C10.6212 34.0582 9.22578 37.3772 8.58023 40.884C7.93469 44.3908 8.05482 47.9994 8.9321 51.4536C9.80938 54.9078 11.4223 58.1227 13.6563 60.8702C15.8902 63.6176 18.6905 65.8301 21.8581 67.3505C25.0258 68.8709 28.4831 69.6619 31.9845 69.6674H95.4818C97.792 69.6666 100.075 69.1633 102.179 68.1913C104.284 67.2193 106.16 65.8009 107.683 64.0308C109.206 62.2608 110.341 60.1799 111.011 57.9272C111.682 55.6744 111.873 53.3018 111.572 50.9678C111.271 48.6338 110.484 46.3922 109.265 44.3928C108.045 42.3934 106.421 40.6822 104.501 39.3736C102.58 38.065 100.408 37.1891 98.1287 36.8045C95.8496 36.4199 93.5161 36.5354 91.2843 37.1432C90.6394 37.3193 89.9621 37.3318 89.3115 37.1797C88.6608 37.0275 88.0566 36.7153 87.5517 36.2704C87.0467 35.8254 86.6564 35.2612 86.4147 34.6271C86.1731 33.993 86.0875 33.3082 86.1654 32.6326C86.5229 29.5847 86.2423 26.4941 85.3421 23.5647C84.4419 20.6353 82.9426 17.9336 80.943 15.6378C78.9434 13.3419 76.4889 11.5041 73.7414 10.2453C70.9939 8.98663 68.0157 8.33012 65.0033 8.32983Z" fill="#fff"></path></g><defs><clipPath id="clip0_71_2894"><rect width="120" height="78" fill="white"></rect></clipPath></defs></svg></div>',1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText]),"data-testid":"uploader-completed-text"},(0,i.toDisplayString)(e.translate("Upload completed! Preprocessing your files...")),3),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},[(0,i.createElementVNode)("span",vo,[(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("Your task will start automatically once the upload is finished.")),1),t[0]||(t[0]=(0,i.createElementVNode)("br",null,null,-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Please donât close your browser.")),1)])],2)])])}]]),Vo={class:"w-100 d-flex flex-column align-items-center",id:"uploadboxCompareView"},ko={class:"d-flex flex-column align-items-center font-size-125 gap-20"},Eo={class:"position-relative"},No={key:0,width:"218",height:"78",viewBox:"0 0 218 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Do={key:1,width:"64",height:"78",viewBox:"0 0 64 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yo={class:"d-flex gap-10 flex-wrap justify-content-center"},Bo={key:0,class:"btn-group adjust-button"},To={class:"dropdown-item px-0"},So=["title"],Lo={class:"dropdown-item px-0"},Mo=["title"],Uo=["title"],Fo={class:"dropdown-item px-0"},zo=["title","onClick"],Ho={class:"dropdown-item px-0"},Oo=["title"],Ao={key:2,class:"btn-group uploader-submit-button adjust-button"},_o={class:"text-uppercase convert_to uploader-submit-button"};const Zo={components:{SettingsButton:Ge},mixins:[m.A],name:"CompareView",props:{disableGdriveButton:Boolean,showDropdown:Boolean,startClicked:Boolean,showSettingsBtn:Boolean,filesUploaded:Array},data:()=>({}),methods:{openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor},uploadText(){return this.filesUploaded.length>1?(0,U.T)("File added!"):1===this.filesUploaded.length?(0,U.T)("File added! Please add a second file to compare with."):void 0}}},Po=(0,V.A)(Zo,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink"),s=(0,i.resolveComponent)("settings-button");return(0,i.openBlock)(),(0,i.createElementBlock)("div",Vo,[(0,i.createElementVNode)("div",ko,[(0,i.createElementVNode)("div",Eo,[o.filesUploaded.length<2?((0,i.openBlock)(),(0,i.createElementBlock)("svg",No,[...t[7]||(t[7]=[(0,i.createStaticVNode)('<g clip-path="url(#clip0_73_3528)"><path d="M63.3016 27.066C63.261 26.7077 63.1826 26.3548 63.0676 26.013V25.662C62.8801 25.261 62.63 24.8924 62.3266 24.57L38.9266 1.17C38.6042 0.866643 38.2356 0.616516 37.8346 0.429C37.7182 0.412464 37.6 0.412464 37.4836 0.429C37.0874 0.201791 36.6499 0.0559424 36.1966 0H12.6016C9.49858 0 6.52264 1.23268 4.32846 3.42685C2.13429 5.62103 0.901611 8.59697 0.901611 11.7V66.3C0.901611 69.403 2.13429 72.379 4.32846 74.5732C6.52264 76.7673 9.49858 78 12.6016 78H51.6016C54.7046 78 57.6806 76.7673 59.8748 74.5732C62.0689 72.379 63.3016 69.403 63.3016 66.3V27.3V27.066ZM39.9016 13.299L50.0026 23.4H43.8016C42.7673 23.4 41.7753 22.9891 41.0439 22.2577C40.3125 21.5263 39.9016 20.5343 39.9016 19.5V13.299ZM55.5016 66.3
3C55.5016 67.3343 55.0907 68.3263 54.3593 69.0577C53.6279 69.7891 52.636 70.2 51.6016 70.2H12.6016C11.5673 70.2 10.5753 69.7891 9.8439 69.0577C9.1125 68.3263 8.70161 67.3343 8.70161 66.3V11.7C8.70161 10.6657 9.1125 9.67368 9.8439 8.94228C10.5753 8.21089 11.5673 7.8 12.6016 7.8H32.1016V19.5C32.1016 22.603 33.3343 25.579 35.5285 27.7732C37.7226 29.9673 40.6986 31.2 43.8016 31.2H55.5016V66.3ZM41.0326 40.131L28.2016 53.001L23.1706 47.931C22.4362 47.1966 21.4402 46.784 20.4016 46.784C19.363 46.784 18.367 47.1966 17.6326 47.931C16.8982 48.6654 16.4857 49.6614 16.4857 50.7C16.4857 51.7386 16.8982 52.7346 17.6326 53.469L25.4326 61.269C25.7952 61.6345 26.2265 61.9247 26.7018 62.1227C27.177 62.3207 27.6868 62.4226 28.2016 62.4226C28.7165 62.4226 29.2262 62.3207 29.7015 62.1227C30.1767 61.9247 30.6081 61.6345 30.9706 61.269L46.5706 45.669C47.305 44.9346 47.7176 43.9386 47.7176 42.9C47.7176 41.8614 47.305 40.8654 46.5706 40.131C45.8362 39.3966 44.8402 38.984 43.8016 38.984C42.763 38.984 41.767 39.3966 41.0326 40.131Z" fill="#fff"></path></g><g clip-path="url(#clip1_73_3528)"><path d="M101.74 49.2782H85.8714C85.1432 49.2782 84.5333 49.0315 84.0416 48.5381C83.5499 48.0447 83.3032 47.4348 83.3015 46.7084C83.2998 45.9819 83.5465 45.372 84.0416 44.8786C84.5368 44.3852 85.1467 44.1385 85.8714 44.1385H101.74L96.9217 39.32C96.4506 38.8489 96.215 38.2604 96.215 37.5546C96.215 36.8487 96.4506 36.2379 96.9217 35.7223C97.4357 35.2083 98.0464 34.9513 98.754 34.9513C99.4616 34.9513 100.071 35.2083 100.584 35.7223L109.771 44.9095C110.028 45.1665 110.21 45.4449 110.318 45.7447C110.426 46.0445 110.479 46.3657 110.478 46.7084C110.476 47.051 110.423 47.3722 110.318 47.6721C110.214 47.9719 110.031 48.2503 109.771 48.5072L100.519 57.7587C100.006 58.2727 99.4059 58.5194 98.7206 58.4988C98.0353 58.4783 97.4357 58.2101 96.9217 57.6945C96.4506 57.1805 96.2047 56.5809 96.1842 55.8956C96.1636 55.2103 96.4095 54.6106 96.9217 54.0967L101.74 49.2782ZM116.26 33.8591L121.078 38.6776C121.549 39.1487 121.785 39.7381 121.785 40.4456C121.785 41.1532 121.549 41.7631 121.078 42.2754C120.564 42.7893 119.954 43.0463 119.249 43.0463C118.543 43.0463 117.932 42.7893 117.416 42.2754L108.229 33.0882C107.972 32.8312 107.79 32.5528 107.684 32.253C107.578 31.9532 107.524 31.6319 107.522 31.2893C107.521 30.9466 107.575 30.6254 107.684 30.3256C107.794 30.0258 107.975 29.7474 108.229 29.4904L117.48 20.2389C117.994 19.725 118.594 19.4791 119.279 19.5014C119.965 19.5237 120.564 19.7909 121.078 20.3032C121.549 20.8171 121.796 21.4168 121.818 22.1021C121.841 22.7874 121.594 23.387 121.078 23.901L116.26 28.7194H132.129C132.857 28.7194 133.468 28.9661 133.961 29.4595C134.454 29.953 134.7 30.5629 134.698 31.2893C134.697 32.0157 134.45 32.6265 133.958 33.1216C133.467 33.6167 132.857 33.8625 132.129 33.8591H116.26Z" fill="#fff"></path></g><g clip-path="url(#clip2_73_3528)"><path d="M217.098 27.066C217.058 26.7077 216.979 26.3548 216.864 26.013V25.662C216.677 25.261 216.427 24.8924 216.123 24.57L192.723 1.17C192.401 0.866643 192.032 0.616516 191.631 0.429C191.515 0.412464 191.397 0.412464 191.28 0.429C190.884 0.201791 190.447 0.0559424 189.993 0H166.398C163.295 0 160.32 1.23268 158.125 3.42685C155.931 5.62103 154.698 8.59697 154.698 11.7V66.3C154.698 69.403 155.931 72.379 158.125 74.5732C160.32 76.7673 163.295 78 166.398 78H205.398C208.502 78 211.477 76.7673 213.672 74.5732C215.866 72.379 217.098 69.403 217.098 66.3V27.3V27.066ZM193.698 13.299L203.799 23.4H197.598C196.564 23.4 195.572 22.9891 194.841 22.2577C194.109 21.5263 193.698 20.5343 193.698 19.5V13.299ZM209.298 66.3C209.298 67.3344 208.888 68.3263 208.156 69.0577C207.425 69.7891 206.433 70.2 205.398 70.2H166.398C165.364 70.2 164.372 69.7891 163.641 69.0577C162.909 68.3263 162.498 67.3344 162.498 66.3V11.7C162.498 10.6657 162.909 9.67368 163.641 8.94228C164.372 8.21089 165.364 7.8 166.398 7.8H185.898V19.5C185.898 22.603 187.131 25.579 189.325 27.7732C191.52 29.9673 194.495 31.2 197.598 31.2H209.298V66.3Z" fill="#fff"></path><path d="M196.615 39H175.782C174.631 39 173.698 39.9327 173.698 41.0833V61.9167C173.698 63.0673 174.631 64 175.782 64H196.615C197.766 64 198.698 63.0673 198.698 61.9167V41.0833C198.698 39.9327 197.766 39 196.615 39Z" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M182.726 48.0279C182.726 45.8286 184.578 44.5557 186.199 44.5557C187.819 44.5557 189.671 45.8286 189.671 48.0279C189.671 51.9862 182.726 54.9258 182.726 58.4446H189.671" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_73_3528"><rect width="62.4" height="78" fill="white" transform="translate(0.901611)"></rect></clipPath><clipPath id="clip1_73_3528"><rect width="51.397" height="39" fill="white" transform="translate(83.3015 19.5)"></rect></clipPath><clipPath id="clip2_73_3528"><rect width="62.4" height="78" fill="white" transform="translate(154.698)"></rect></clipPath></defs>',4)])])):((0,i.openBlock)(),(0,i.createElementBlock)("svg",Do,[...t[8]||(t[8]=[(0,i.createElementVNode)("path",{d:"M63.2001 27.066C63.1594 26.7077 63.081 26.3548 62.9661 26.013V25.662C62.7785 25.261 62.5284 24.8924 62.2251 24.57L38.8251 1.17C38.5027 0.866643 38.1341 0.616516 37.7331 0.429C37.6166 0.412464 37.4985 0.412464 37.3821 0.429C36.9859 0.201791 36.5483 0.0559424 36.0951 0H12.5C9.39702 0 6.42108 1.23268 4.2269 3.42685C2.03272 5.62103 0.800049 8.59697 0.800049 11.7V66.3C0.800049 69.403 2.03272 72.379 4.2269 74.5732C6.42108 76.7673 9.39702 78 12.5 78H51.5001C54.6031 78 57.579 76.7673 59.7732 74.5732C61.9674 72.379 63.2001 69.403 63.2001 66.3V27.3V27.066ZM39.8001 13.299L49.9011 23.4H43.7001C42.6657 23.4 41.6737 22.9891 40.9423 22.2577C40.2109 21.5263 39.8001 20.5343 39.8001 19.5V13.299ZM55.4001 66.3C55.4001 67.3343 54.9892 68.3263 54.2578 69.0577C53.5264 69.7891 52.5344 70.2 51.5001 70.2H12.5C11.4657 70.2 10.4737 69.7891 9.74233 69.0577C9.01094 68.3263 8.60005 67.3343 8.60005 66.3V11.7C8.60005 10.6657 9.01094 9.67368 9.74233 8.94228C10.4737 8.21089 11.4657 7.8 12.5 7.8H32.0001V19.5C32.0001 22.603 33.2327 25.579 35.4269 27.7732C37.6211 29.9673 40.597 31.2 43.7001 31.2H55.4001V66.3ZM40.9311 40.131L28.1001 53.001L23.0691 47.931C22.3347 47.1966 21.3386 46.784 20.3001 46.784C19.2615 46.784 18.2654 47.1966 17.531 47.931C16.7967 48.6654 16.3841 49.6614 16.3841 50.7C16.3841 51.7386 16.7967 52.7346 17.531 53.469L25.3311 61.269C25.6936 61.6345 26.125 61.9247 26.6002 62.1227C27.0755 62.3207 27.5852 62.4226 28.1001 62.4226C28.6149 62.4226 29.1246 62.3207 29.5999 62.1227C30.0752 61.9247 30.5065 61.6345 30.8691 61.269L46.4691 45.669C47.2034 44.9346 47.616 43.9386 47.616 42.9C47.616 41.8614 47.2034 40.8654 46.4691 40.131C45.7347 39.3966 44.7386 38.984 43.7001 38.984C42.6615 38.984 41.6654 39.3966 40.9311 40.131Z",fill:"#fff"},null,-1)])]))]),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText]),"data-testid":"compare-file-added"},(0,i.toDisplayString)(e.translate(a.uploadText)),3),(0,i.createElementVNode)("div",yo,[o.filesUploaded.length<2?((0,i.openBlock)(),(0,i.createElementBlock)("div",Bo,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[0]||(t[0]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[9]||(t[9]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Add more files")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[1]||(t[1]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[10]||(t[10]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 br-4 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",To,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[2]||(t[2]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[11]||(t[11]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Device")),1)],8,So)]),t[16
3]||(t[16]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Lo,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[3]||(t[3]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[12]||(t[12]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,Mo)]),t[17]||(t[17]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[13]||(t[13]=(0,i.createStaticVNode)('<span class="px-75"><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da"></path><path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47"></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335"></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d"></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc"></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00"></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,Uo)],2),t[18]||(t[18]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Fo,[(0,i.createVNode)(l,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,zo)]}),_:1})]),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",Ho,[(0,i.createElementVNode)("span",{id:"copyFromClipboard",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Copy From Clipboard"),onClick:t[5]||(t[5]=(0,i.withModifiers)(t=>e.$emit("copy-from-clipboard"),["stop","prevent"]))},[t[15]||(t[15]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{width:"14",height:"17",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M4.8 13.3C4.36 13.3 3.98347 13.1435 3.6704 12.8304C3.35733 12.5173 3.20053 12.1405 3.2 11.7V2.1C3.2 1.66 3.3568 1.28347 3.6704 0.9704C3.984 0.657333 4.36053 0.500533 4.8 0.5H12C12.44 0.5 12.8168 0.6568 13.1304 0.9704C13.444 1.284 13.6005 1.66053 13.6 2.1V11.7C13.6 12.14 13.4435 12.5168 13.1304 12.8304C12.8173 13.144 12.4405 13.3005 12 13.3H4.8ZM4.8 11.7H12V2.1H4.8V11.7ZM1.6 16.5C1.16 16.5 0.783467 16.3435 0.4704 16.0304C0.157333 15.7173 0.000533333 15.3405 0 14.9V4.5C0 4.27333 0.0768001 4.08347 0.2304 3.9304C0.384 3.77733 0.573867 3.70053 0.8 3.7C1.02667 3.7 1.2168 3.7768 1.3704 3.9304C1.524 4.084 1.60053 4.27387 1.6 4.5V14.9H9.6C9.82666 14.9 10.0168 14.9768 10.1704 15.1304C10.324 15.284 10.4005 15.4739 10.4 15.7C10.4 15.9267 10.3232 16.1168 10.1696 16.2704C10.016 16.424 9.82613 16.5005 9.6 16.5H1.6Z",fill:"#2E2E2E"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Clipboard")),1)],8,Oo)])],2)])):(0,i.createCommentVNode)("v-if",!0),o.showSettingsBtn?((0,i.openBlock)(),(0,i.createBlock)(s,{key:1})):(0,i.createCommentVNode)("v-if",!0),o.filesUploaded.length>=2?((0,i.openBlock)(),(0,i.createElementBlock)("div",Ao,[(0,i.createElementVNode)("button",{type:"button",class:"btn btn-lg submit-btn btn-blue white-space-nowrap mb-0 d-flex justify-content-center align-items-center gap-10 w-100 uploader-submit-button",onClick:t[6]||(t[6]=t=>e.$emit("startClicked"))},[(0,i.createElementVNode)("strong",_o,(0,i.toDisplayString)(e.translate("Start")),1),t[20]||(t[20]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit uploader-submit-button"},null,-1))])])):(0,i.createCommentVNode)("v-if",!0)])])])}]]),Ro={class:"w-100 d-flex flex-column align-items-center",id:"uploadboxSingleFileView"},$o={class:"d-flex flex-column align-items-center font-size-125 gap-20"},Go={class:"d-flex gap-10 flex-wrap justify-content-center"},jo={class:"btn-group uploader-submit-button"},Io={class:"text-uppercase convert_to uploader-submit-button"};const Wo={mixins:[m.A],name:"SingleFileView",props:{startClicked:Boolean},data:()=>({}),methods:{},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}}},qo=(0,V.A)(Wo,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",Ro,[(0,i.createElementVNode)("div",$o,[t[2]||(t[2]=(0,i.createElementVNode)("div",{class:"position-relative"},[(0,i.createElementVNode)("svg",{width:"64",height:"78",viewBox:"0 0 64 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M63.2001 27.066C63.1594 26.7077 63.081 26.3548 62.9661 26.013V25.662C62.7785 25.261 62.5284 24.8924 62.2251 24.57L38.8251 1.17C38.5027 0.866643 38.1341 0.616516 37.7331 0.429C37.6166 0.412464 37.4985 0.412464 37.3821 0.429C36.9859 0.201791 36.5483 0.0559424 36.0951 0H12.5C9.39702 0 6.42108 1.23268 4.2269 3.42685C2.03272 5.62103 0.800049 8.59697 0.800049 11.7V66.3C0.800049 69.403 2.03272 72.379 4.2269 74.5732C6.42108 76.7673 9.39702 78 12.5 78H51.5001C54.6031 78 57.579 76.7673 59.7732 74.5732C61.9674 72.379 63.2001 69.403 63.2001 66.3V27.3V27.066ZM39.8001 13.299L49.9011 23.4H43.7001C42.6657 23.4 41.6737 22.9891 40.9423 22.2577C40.2109 21.5263 39.8001 20.5343 39.8001 19.5V13.299ZM55.4001 66.3C55.4001 67.3343 54.9892 68.3263 54.2578 69.0577C53.5264 69.7891 52.5344 70.2 51.5001 70.2H12.5C11.4657 70.2 10.4737 69.7891 9.74233 69.0577C9.01094 68.3263 8.60005 67.3343 8.60005 66.3V11.7C8.60005 10.6657 9.01094 9.67368 9.74233 8.94228C10.4737 8.21089 11.4657 7.8 12.5 7.8H32.0001V19.5C32.0001 22.603 33.2327 25.579 35.4269 27.7732C37.6211 29.9673 40.597 31.2 43.7001 31.2H55.4001V66.3ZM40.9311 40.131L28.1001 53.001L23.0691 47.931C22.3347 47.1966 21.3386 46.784 20.3001 46.784C19.2615 46.784 18.2654 47.1966 17.531 47.931C16.7967 48.6654 16.3841 49.6614 16.3841 50.7C16.3841 51.7386 16.7967 52.7346 17.531 53.469L25.3311 61.269C25.6936 61.6345 26.125 61.9247 26.6002 62.1227C27.0755 62.3207 27.5852 62.4226 28.1001 62.4226C28.6149 62.4226 29.1246 62.3207 29.5999 62.1227C30.0752 61.9247 30.5065 61.6345 30.8691 61.269L46.4691 45.669C47.2034 44.9346 47.616 43.9386 47.616 42.9C47.616 41.8614 47.2034 40.8654 46.4691 40.131C45.7347 39.3966 44.7386 38.984 43.7001 38.984C42.6615 38.984 41.6654 39.3966 40.9311 40.131Z",fill:"#fff"})])],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},(0,i.toDisplayString)(e.translate("File added!")),3),(0,i.createElementVNode)("div",Go,[(0,i.createElementVNode)("div",jo,[(0,i.createElementVNode)("button",{type:"button",class:"btn btn-lg submit-btn btn-blue white-space-nowrap mb-0 d-flex align-items-center gap-10 w-100 uploader-submit-button",onClick:t[0]||(t[0]=t=>e.$emit("startClicked"))},[(0,i.createElementVNode)("strong",Io,(0,i.toDisplayString)(e.translate("Start")),1),t[1]||(t[1]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit uploader-submit-button"},null,-1))])])])])])}]]),Yo={class:"w-100 d-flex flex-column align-items-center"},Xo={class:"d-flex flex-column align-items-center font-size-125 gap-20"},Qo={class:"d-flex gap-10 flex-wrap justify-content-center"},Ko={class:"btn-group uploader-submit-button adjust-button"},Jo={class:"convert_to uploader-submit-button"},ei={key:0,class:"btn-group uploader-submit-button adjust-button"},ti={class:"convert_to uploader-submit-button"};var oi=o(74692);const ii={mixins:[m.A],name:"SmallFileView",props:{startClicked:Boolean,showSubmitBtn:Boolean},data:()=>({}),computed:{darkText:()=>window.pageConfig.uploaderTextColor?window.pageConfig.uploaderTextColor:""},methods:{scrollTo(){const e=oi("#page_function_container").get(0);e&&e.scrollIntoView({behavior:"smooth"})}}},ni=(0,V.A)(ii,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",Yo,[(0,i.createElementVNode)("div",Xo,[t[4]||(t[4]=(0,i.createElementVNode)("div",{class:"position-relative"},[(0,i.createElementVNode)("svg",{width:"67",height:"59",viewBox:"0 0 67 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M3.21435 58.5C2.61852 58.5 2.07685 58.3505 1.58935 58.0515C1.10185 57.7525 0.722682 57.3603 0.451849 56.875C0.181016 56.3875 0.0315157 55.8588 0.00334908 55.289C-0.0248176 54.7192 0.124682 54.1645 0.451849 53.625L30.5143 1.625C30.8393 1.08333 31.2597 0.677083 31.7753 0.40625C32.291 0.135417 32.8186 0 33.3581 0C33.8998 0 34.4284 0.135417 34.9441 0.40625C35.4598 0.677083 35.879 1.08333 36.2018 1.625L66.2643 53.625C66.5893 54.1667 66.7388 54.7224 66.7128 55.2923C66.6868 55.8621 66.5373 56.3897 66.2643 56.875C65.9935 57.3625 65.6143 57.7558 65.1268 58.0548C64.6393 58.3538 64.0977 58.5022 63.5018 58.5H3.21435ZM8.8206 52H57.8956L33.3581 9.75L8.8206 52ZM33.3581 48.75C34.2789 48.75 35.
30513 48.438 35.6753 47.814C36.2993 47.19 36.6103 46.4187 36.6081 45.5C36.6081 44.5792 36.2961 43.8068 35.6721 43.1828C35.0481 42.5588 34.2768 42.2478 33.3581 42.25C32.4373 42.25 31.6648 42.562 31.0408 43.186C30.4168 43.81 30.1059 44.5813 30.1081 45.5C30.1081 46.4208 30.4201 47.1932 31.0441 47.8172C31.6681 48.4412 32.4394 48.7522 33.3581 48.75ZM33.3581 39C34.2789 39 35.0513 38.688 35.6753 38.064C36.2993 37.44 36.6103 36.6687 36.6081 35.75V26C36.6081 25.0792 36.2961 24.3067 35.6721 23.6827C35.0481 23.0587 34.2768 22.7478 33.3581 22.75C32.4373 22.75 31.6648 23.062 31.0408 23.686C30.4168 24.31 30.1059 25.0813 30.1081 26V35.75C30.1081 36.6708 30.4201 37.4433 31.0441 38.0673C31.6681 38.6913 32.4394 39.0022 33.3581 39Z",fill:"#E8EAED"})])],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text font-size-125",a.darkText]),"data-testid":"small-file-warning"},(0,i.toDisplayString)(e.translate("One of your files is smaller than the target file size you selected.")),3),(0,i.createElementVNode)("div",Qo,[(0,i.createElementVNode)("div",Ko,[(0,i.createElementVNode)("button",{class:"btn btn-lg btn-blue font-size-125 font-weight-bold text-nowrap position-static d-flex align-items-center justify-content-center gap-10 adjust-button",onClick:t[0]||(t[0]=(0,i.withModifiers)(function(){return a.scrollTo&&a.scrollTo(...arguments)},["stop","prevent"])),style:{padding:"10px 20px"}},[(0,i.createElementVNode)("strong",Jo,(0,i.toDisplayString)(e.translate("Adjust Settings")),1),t[2]||(t[2]=(0,i.createStaticVNode)('<svg width="18" height="18" viewBox="0 0 18 18" fill="white" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_270_487)"><path d="M8.40311 8.99532C8.40311 8.33282 8.16874 7.76719 7.69999 7.29844C7.23124 6.82969 6.66561 6.59532 6.00311 6.59532C5.34061 6.59532 4.77499 6.82969 4.30624 7.29844C3.83749 7.76719 3.60311 8.33282 3.60311 8.99532C3.60311 9.65782 3.83749 10.2234 4.30624 10.6922C4.77499 11.1609 5.34061 11.3953 6.00311 11.3953C6.66561 11.3953 7.23124 11.1609 7.69999 10.6922C8.16874 10.2234 8.40311 9.65782 8.40311 8.99532ZM15.6031 13.7953C15.6031 13.4703 15.4844 13.1891 15.2469 12.9516C15.0094 12.7141 14.7281 12.5953 14.4031 12.5953C14.0781 12.5953 13.7969 12.7141 13.5594 12.9516C13.3219 13.1891 13.2031 13.4703 13.2031 13.7953C13.2031 14.1266 13.3203 14.4094 13.5547 14.6438C13.7891 14.8781 14.0719 14.9953 14.4031 14.9953C14.7344 14.9953 15.0172 14.8781 15.2516 14.6438C15.4859 14.4094 15.6031 14.1266 15.6031 13.7953ZM15.6031 4.19532C15.6031 3.87032 15.4844 3.58907 15.2469 3.35157C15.0094 3.11407 14.7281 2.99532 14.4031 2.99532C14.0781 2.99532 13.7969 3.11407 13.5594 3.35157C13.3219 3.58907 13.2031 3.87032 13.2031 4.19532C13.2031 4.52657 13.3203 4.80938 13.5547 5.04375C13.7891 5.27813 14.0719 5.39532 14.4031 5.39532C14.7344 5.39532 15.0172 5.27813 15.2516 5.04375C15.4859 4.80938 15.6031 4.52657 15.6031 4.19532ZM12.0031 8.14219V9.87657C12.0031 9.93907 11.9812 10 11.9375 10.0594C11.8937 10.1188 11.8437 10.1516 11.7875 10.1578L10.3344 10.3828C10.2656 10.6016 10.1656 10.8391 10.0344 11.0953C10.2469 11.3953 10.5281 11.7547 10.8781 12.1734C10.9219 12.2422 10.9437 12.3047 10.9437 12.3609C10.9437 12.4359 10.9219 12.4953 10.8781 12.5391C10.7344 12.7266 10.4766 13.0063 10.1047 13.3781C9.7328 13.75 9.48749 13.9359 9.36874 13.9359C9.29999 13.9359 9.23436 13.9141 9.17186 13.8703L8.09374 13.0266C7.86249 13.1453 7.62186 13.2422 7.37186 13.3172C7.30311 13.9922 7.23124 14.4766 7.15624 14.7703C7.11249 14.9203 7.01874 14.9953 6.87499 14.9953H5.13124C5.06249 14.9953 4.99999 14.9719 4.94374 14.925C4.88749 14.8781 4.85624 14.8234 4.84999 14.7609L4.63436 13.3266C4.42186 13.2641 4.18749 13.1672 3.93124 13.0359L2.82499 13.8703C2.78124 13.9141 2.71874 13.9359 2.63749 13.9359C2.56874 13.9359 2.50311 13.9109 2.44061 13.8609C1.54061 13.0297 1.09061 12.5297 1.09061 12.3609C1.09061 12.3047 1.11249 12.2453 1.15624 12.1828C1.21874 12.0953 1.34686 11.9297 1.54061 11.6859C1.73436 11.4422 1.88124 11.2516 1.98124 11.1141C1.83749 10.8391 1.72811 10.5828 1.65311 10.3453L0.228113 10.1203C0.165613 10.1141 0.112488 10.0844 0.0687378 10.0313C0.0249878 9.97813 0.00311279 9.91719 0.00311279 9.84844V8.11407C0.00311279 8.05157 0.0249878 7.99063 0.0687378 7.93125C0.112488 7.87188 0.162488 7.83907 0.218738 7.83282L1.67186 7.60782C1.74
3061 7.38907 1.84061 7.15157 1.97186 6.89532C1.75936 6.59532 1.47811 6.23594 1.12811 5.81719C1.08436 5.74844 1.06249 5.68594 1.06249 5.62969C1.06249 5.55469 1.08436 5.49219 1.12811 5.44219C1.26561 5.25469 1.52186 4.97657 1.89686 4.60782C2.27186 4.23907 2.51874 4.05469 2.63749 4.05469C2.70624 4.05469 2.77186 4.07657 2.83436 4.12032L3.91249 4.96407C4.12499 4.85157 4.36561 4.75157 4.63436 4.66407C4.70311 3.98907 4.77499 3.50782 4.84999 3.22032C4.89374 3.07032 4.98749 2.99532 5.13124 2.99532H6.87499C6.94374 2.99532 7.00624 3.01875 7.06249 3.06563C7.11874 3.1125 7.14999 3.16719 7.15624 3.22969L7.37186 4.66407C7.58436 4.72657 7.81874 4.82344 8.07499 4.95469L9.18124 4.12032C9.23124 4.07657 9.29374 4.05469 9.36874 4.05469C9.43749 4.05469 9.50311 4.07969 9.56561 4.12969C10.4656 4.96094 10.9156 5.46094 10.9156 5.62969C10.9156 5.67969 10.8937 5.73907 10.85 5.80782C10.775 5.90782 10.6437 6.07657 10.4562 6.31407C10.2687 6.55157 10.1281 6.73907 10.0344 6.87657C10.1781 7.17657 10.2844 7.43282 10.3531 7.64532L11.7781 7.86094C11.8406 7.87344 11.8937 7.90625 11.9375 7.95938C11.9812 8.0125 12.0031 8.07344 12.0031 8.14219ZM18.0031 13.1391V14.4516C18.0031 14.5516 17.5375 14.6484 16.6062 14.7422C16.5312 14.9109 16.4375 15.0734 16.325 15.2297C16.6437 15.9359 16.8031 16.3672 16.8031 16.5234C16.8031 16.5484 16.7906 16.5703 16.7656 16.5891C16.0031 17.0328 15.6156 17.2547 15.6031 17.2547C15.5531 17.2547 15.4094 17.1078 15.1719 16.8141C14.9344 16.5203 14.7719 16.3078 14.6844 16.1766C14.5594 16.1891 14.4656 16.1953 14.4031 16.1953C14.3406 16.1953 14.2469 16.1891 14.1219 16.1766C14.0344 16.3078 13.8719 16.5203 13.6344 16.8141C13.3969 17.1078 13.2531 17.2547 13.2031 17.2547C13.1906 17.2547 12.8031 17.0328 12.0406 16.5891C12.0156 16.5703 12.0031 16.5484 12.0031 16.5234C12.0031 16.3672 12.1625 15.9359 12.4812 15.2297C12.3687 15.0734 12.275 14.9109 12.2 14.7422C11.2687 14.6484 10.8031 14.5516 10.8031 14.4516V13.1391C10.8031 13.0391 11.2687 12.9422 12.2 12.8484C12.2812 12.6672 12.375 12.5047 12.4812 12.3609C12.1625 11.6547 12.0031 11.2234 12.0031 11.0672C12.0031 11.0422 12.0156 11.0203 12.0406 11.0016C12.0656 10.9891 12.175 10.9266 12.3687 10.8141C12.5625 10.7016 12.7469 10.5953 12.9219 10.4953C13.0969 10.3953 13.1906 10.3453 13.2031 10.3453C13.2531 10.3453 13.3969 10.4906 13.6344 10.7813C13.8719 11.0719 14.0344 11.2828 14.1219 11.4141C14.2469 11.4016 14.3406 11.3953 14.4031 11.3953C14.4656 11.3953 14.5594 11.4016 14.6844 11.4141C15.0031 10.9703 15.2906 10.6203 15.5469 10.3641L15.6031 10.3453C15.6281 10.3453 16.0156 10.5641 16.7656 11.0016C16.7906 11.0203 16.8031 11.0422 16.8031 11.0672C16.8031 11.2234 16.6437 11.6547 16.325 12.3609C16.4312 12.5047 16.525 12.6672 16.6062 12.8484C17.5375 12.9422 18.0031 13.0391 18.0031 13.1391ZM18.0031 3.53907V4.85157C18.0031 4.95157 17.5375 5.04844 16.6062 5.14219C16.5312 5.31094 16.4375 5.47344 16.325 5.62969C16.6437 6.33594 16.8031 6.76719 16.8031 6.92344C16.8031 6.94844 16.7906 6.97032 16.7656 6.98907C16.0031 7.43282 15.6156 7.65469 15.6031 7.65469C15.5531 7.65469 15.4094 7.50782 15.1719 7.21407C14.9344 6.92032 14.7719 6.70782 14.6844 6.57657C14.5594 6.58907 14.4656 6.59532 14.4031 6.59532C14.3406 6.59532 14.2469 6.58907 14.1219 6.57657C14.0344 6.70782 13.8719 6.92032 13.6344 7.21407C13.3969 7.50782 13.2531 7.65469 13.2031 7.65469C13.1906 7.65469 12.8031 7.43282 12.0406 6.98907C12.0156 6.97032 12.0031 6.94844 12.0031 6.92344C12.0031 6.76719 12.1625 6.33594 12.4812 5.62969C12.3687 5.47344 12.275 5.31094 12.2 5.14219C11.2687 5.04844 10.8031 4.95157 10.8031 4.85157V3.53907C10.8031 3.43907 11.2687 3.34219 12.2 3.24844C12.2812 3.06719 12.375 2.90469 12.4812 2.76094C12.1625 2.05469 12.0031 1.62344 12.0031 1.46719C12.0031 1.44219 12.0156 1.42032 12.0406 1.40157C12.0656 1.38907 12.175 1.32657 12.3687 1.21407C12.5625 1.10157 12.7469 0.995316 12.9219 0.895316C13.0969 0.795316 13.1906 0.745316 13.2031 0.745316C13.2531 0.745316 13.3969 0.890628 13.6344 1.18125C13.8719 1.47188 14.0344 1.68282 14.1219 1.81407C14.2469 1.80157 14.3406 1.79532 14.4031 1.79532C14.4656 1.79532 14.5594 1.80157 14.6844 1.81407C15.0031 1.37032 15.2906 1.02032 15.5469 0.764066L15.6031 0.745316C15.6281 0.745316 16.0156 0.964066 16.7656 1.40157C16.7906 1.42032 16.8031 1.44219 16.8031 1.46719C16.8031 1.62344 16.6437 2.05469 16.325 2.76094C16.4312 2.90469 16.525 3.06719 16.6062 3.24844C17.5375 3.34219 18.0031 3.43907 18.0031 3.53907Z" fill="#fff"></path></g><defs><clipPath id="clip0_270_487"><rect width="18" height="16.5094" fill="white" transform="translate(0.00311279 0.745316)"></rect></clipPath></defs></svg>',1))])]),o.showSubmitBtn?((0,i.openBlock)(),(0,i.createElementBlock)("div",ei,[(0,i.createElementVNode)("button",{type:"button",class:"btn btn-lg submit-btn btn-blue white-space-nowrap mb-0 d-flex align-items-center justify-content-center gap-10 w-100 uploader-submit-button",onClick:t[1]||(t[1]=t=>e.$emit("startClicked"))},[(0,i.createElementVNode)("strong",ti,(0,i.toDisplayString)(e.translate("C
3ontinue Anyway")),1),t[3]||(t[3]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit pt-1 uploader-submit-button"},null,-1))])])):(0,i.createCommentVNode)("v-if",!0)])])])}]]),ri=ni,ai={class:"d-flex flex-column align-items-center font-size-125 gap-20"},li={class:"d-flex gap-10 flex-wrap justify-content-center"},si={class:"btn-group d-none"},di={class:"dropdown-item px-0"},pi=["title"],ci={class:"dropdown-item px-0"},Ci=["title"],mi=["title"],ui=["title"],gi={class:"dropdown-item px-0"},hi=["title","onClick"];const fi={mixins:[m.A],name:"DragAndDropView",props:{disableGdriveButton:Boolean,showDropdown:Boolean},data:()=>({}),methods:{hasFiles(e){const t=e.dataTransfer?.types;return!!t&&(t.includes?t.includes("Files"):t.contains("Files"))},onDragEnter(e){this.hasFiles(e)&&this.$emit("isDragOver",!0)},onDragLeave(e){this.hasFiles(e)&&this.$emit("isDragOver",!1)},openFileUploadDialog(e){this.$emit("open-file-upload-dialog",e)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor},hasClientId:()=>window.sat?.onedriveConfig?.clientId}},wi=(0,V.A)(fi,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:"position-relative w-100",onDragenter:t[9]||(t[9]=function(){return a.onDragEnter&&a.onDragEnter(...arguments)}),onDragleave:t[10]||(t[10]=function(){return a.onDragLeave&&a.onDragLeave(...arguments)}),onDrop:t[11]||(t[11]=function(){return a.onDragLeave&&a.onDragLeave(...arguments)})},[(0,i.createElementVNode)("div",{onDragenter:t[0]||(t[0]=function(){return a.onDragEnter&&a.onDragEnter(...arguments)}),onDragleave:t[1]||(t[1]=function(){return a.onDragLeave&&a.onDragLeave(...arguments)}),onDrop:t[2]||(t[2]=function(){return a.onDragLeave&&a.onDragLeave(...arguments)}),class:"w-100 h-100 bg-transparent position-absolute"},null,32),(0,i.createElementVNode)("div",ai,[t[23]||(t[23]=(0,i.createElementVNode)("svg",{width:"70",height:"78",viewBox:"0 0 70 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M65.1854 24.6873L43.9698 1.28768C43.6052 0.883675 43.1601 0.560457 42.663 0.338808C42.166 0.117159 41.6281 0.0019882 41.0839 0.000701894H13.7844C12.4886 -0.0147539 11.2025 0.225182 9.99948 0.706809C8.79646 1.18844 7.70009 1.90232 6.77299 2.80769C5.84589 3.71306 5.10621 4.79219 4.59619 5.98345C4.08618 7.17471 3.81581 8.45477 3.80054 9.75053V68.2495C3.81581 69.5452 4.08618 70.8253 4.59619 72.0165C5.10621 73.2078 5.84589 74.2869 6.77299 75.1923C7.70009 76.0977 8.79646 76.8116 9.99948 77.2932C11.2025 77.7748 12.4886 78.0147 13.7844 77.9993H56.2156C57.5113 78.0147 58.7975 77.7748 60.0005 77.2932C61.2035 76.8116 62.2999 76.0977 63.227 75.1923C64.1541 74.2869 64.8937 73.2078 65.4038 72.0165C65.9138 70.8253 66.1841 69.5452 66.1994 68.2495V27.3002C66.1969 26.3337 65.8355 25.4025 65.1854 24.6873ZM42.7998 11.7005L53.4856 23.4003H45.6858C45.2774 23.3756 44.878 23.2699 44.5109 23.0892C44.1438 22.9085 43.8164 22.6565 43.5477 22.3479C43.2791 22.0394 43.0746 21.6803 42.9462 21.2919C42.8178 20.9034 42.768 20.4932 42.7998 20.0853V11.7005ZM56.2156 70.1994H13.7844C13.5128 70.2152 13.2408 70.1773 12.984 70.0878C12.7272 69.9983 12.4905 69.8589 12.2876 69.6778C12.0847 69.4966 11.9196 69.2772 11.8017 69.0321C11.6837 68.787 11.6153 68.5211 11.6004 68.2495V9.75053C11.6153 9.47894 11.6837 9.21298 11.8017 8.96787C11.9196 8.72277 12.0847 8.50336 12.2876 8.32221C12.4905 8.14105 12.7272 8.00173 12.984 7.91221C13.2408 7.8227 13.5128 7.78476 13.7844 7.80056H35V20.0853C34.937 22.9581 36.013 25.7392 37.993 27.8215C39.9731 29.9039 42.6965 31.1184 45.5688 31.2001H58.3996V68.2495C58.3846 68.5211 58.3162 68.787 58.1983 69.0321C58.0804 69.2772 57.9152 69.4966 57.7123 69.6778C57.5094 69.8589 57.2728 69.9983 57.016 70.0878C56.7591 70.1773 56.4871 70.2152 56.2156 70.1994Z",fill:"#fff"}),(0,i.createElementVNode)("path",{d:"M42.7999 42.8998H38.9V38.9999C38.9 37.9656 38.4891 36.9736 37.7577 36.2422C37.0264 35.5109 36.0344 35.1 35.0001 35.1C33.9658 35.1 32.9738 35.5109 32.2424 36.2422C31.511 36.9736 31.1002 37.9656 31.1002 38.9999V42.8998H27.2002C26.1659 42.8998 25.1739 43.3107 24.4426 44.0421C23.7112 44.7735 23.3003 45.7654 23.3003 46.7998C23.3003 47.8341 23.7112 48.8261 24.4426 49.5574C25.1739 50.2888 26.1659 50.6997 27.2002 50.
36997H31.1002V54.5996C31.1002 55.6339 31.511 56.6259 32.2424 57.3573C32.9738 58.0887 33.9658 58.4996 35.0001 58.4996C36.0344 58.4996 37.0264 58.0887 37.7577 57.3573C38.4891 56.6259 38.9 55.6339 38.9 54.5996V50.6997H42.7999C43.8343 50.6997 44.8262 50.2888 45.5576 49.5574C46.289 48.8261 46.6999 47.8341 46.6999 46.7998C46.6999 45.7654 46.289 44.7735 45.5576 44.0421C44.8262 43.3107 43.8343 42.8998 42.7999 42.8998Z",fill:"#fff"})],-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text w-100",a.darkText])},(0,i.toDisplayString)(e.translate("Release to drop file here!")),3),(0,i.createElementVNode)("div",li,[(0,i.createElementVNode)("div",si,[(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light font-size-125 font-weight-bold text-wrap vue-uploadbox-file-button position-static d-flex align-items-center justify-content-center gap-10",{"rounded-bottom-0":o.showDropdown}]),onClick:t[3]||(t[3]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},[t[12]||(t[12]=(0,i.createElementVNode)("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M14.4033 8.6V5L10.8033 1H2.40327C2.1911 1 1.98762 1.08429 1.83759 1.23431C1.68756 1.38434 1.60327 1.58783 1.60327 1.8V16.2C1.60327 16.4122 1.68756 16.6157 1.83759 16.7657C1.98762 16.9157 2.1911 17 2.40327 17H7.20327M11.6033 11V16.6M8.80327 13.8H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.createElementVNode)("path",{d:"M10.4033 1V5H14.4033",stroke:"#2E2E2E","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Choose File")),1)],2),(0,i.createElementVNode)("button",{type:"button",class:(0,i.normalizeClass)(["btn btn-light dropdown-toggle dropdown-toggle-split border-left",{"rounded-bottom-0":o.showDropdown}]),"data-bs-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",onClick:t[4]||(t[4]=(0,i.withModifiers)(t=>e.$emit("toggle-drop-down"),["stop","prevent"]))},[...t[13]||(t[13]=[(0,i.createElementVNode)("i",{class:"fa fa-chevron-down"},null,-1)])],2),(0,i.createElementVNode)("div",{id:"dropdownMenu",class:(0,i.normalizeClass)([{show:o.showDropdown},"dropdown-menu m-0 w-100 br-4 rounded-top-0 user-select-none"])},[(0,i.createElementVNode)("div",di,[(0,i.createElementVNode)("span",{id:"DeviceUploadButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",onClick:t[5]||(t[5]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),title:e.translate("Upload From Device"),tag:"span"},[t[14]||(t[14]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-folder-open"})],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Device")),1)],8,pi)]),t[19]||(t[19]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",ci,[(0,i.createElementVNode)("span",{id:"dropboxButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Dropbox"),onClick:t[6]||(t[6]=(0,i.withModifiers)(t=>e.$emit("open-drop-box-dialog"),["stop","prevent"]))},[t[15]||(t[15]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 40",version:"1.1",width:"15px"},[(0,i.createElementVNode)("path",{d:"m12.5 0l-12.5 8.1 8.7 7 12.5-7.8-8.7-7.3zm-12.5 21.9l12.5 8.2 8.7-7.3-12.5-7.7-8.7 6.8zm21.2 0.9l8.8 7.3 12.4-8.1-8.6-6.9-12.6 7.7zm21.2-14.7l-12.4-8.1-8.8 7.3 12.6 7.8 8.6-7zm-21.1 16.3l-8.8 7.3-3.7-2.5v2.8l12.5 7.5 12.5-7.5v-2.8l-3.8 2.5-8.7-7.3z",fill:"#007EE5"})])],-1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Dropbox")),1)],8,Ci)]),t[20]||(t[20]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":o.disableGdriveButton}]),onClick:t[7]||(t[7]=(0,i.withModifiers)(t=>e.$emit("open-g-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"gdriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from Google Drive")},[t[16]||(t[16]=(0,i.createStaticVNode)('<span class="px-75"><svg width="15px" viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z" fill="#0066da"></path>
3<path d="m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z" fill="#00ac47"></path><path d="m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z" fill="#ea4335"></path><path d="m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z" fill="#00832d"></path><path d="m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="#2684fc"></path><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="#ffba00"></path></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From Google Drive")),1)],8,mi)],2),t[21]||(t[21]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,class:(0,i.normalizeClass)(["dropdown-item px-0",{"opacity-65":e.disableOnedriveButton}]),onClick:t[8]||(t[8]=(0,i.withModifiers)(t=>e.$emit("open-one-drive-dialog"),["stop","prevent"]))},[(0,i.createElementVNode)("span",{id:"onedriveButton",class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",title:e.translate("Choose one or more files from OneDrive")},[t[17]||(t[17]=(0,i.createStaticVNode)('<span class="px-75"><svg data-v-b2efc490="" width="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 5.5 32 20.5"><g data-v-b2efc490="" id="STYLE_COLOR"><path data-v-b2efc490="" d="M12.20245,11.19292l.00031-.0011,6.71765,4.02379,4.00293-1.68451.00018.00068A6.4768,6.4768,0,0,1,25.5,13c.14764,0,.29358.0067.43878.01639a10.00075,10.00075,0,0,0-18.041-3.01381C7.932,10.00215,7.9657,10,8,10A7.96073,7.96073,0,0,1,12.20245,11.19292Z" fill="#0364b8"></path> <path data-v-b2efc490="" d="M12.20276,11.19182l-.00031.0011A7.96073,7.96073,0,0,0,8,10c-.0343,0-.06805.00215-.10223.00258A7.99676,7.99676,0,0,0,1.43732,22.57277l5.924-2.49292,2.63342-1.10819,5.86353-2.46746,3.06213-1.28859Z" fill="#0078d4"></path> <path data-v-b2efc490="" d="M25.93878,13.01639C25.79358,13.0067,25.64764,13,25.5,13a6.4768,6.4768,0,0,0-2.57648.53178l-.00018-.00068-4.00293,1.68451,1.16077.69528L23.88611,18.19l1.66009.99438,5.67633,3.40007a6.5002,6.5002,0,0,0-5.28375-9.56805Z" fill="#1490df"></path> <path data-v-b2efc490="" d="M25.5462,19.18437,23.88611,18.19l-3.80493-2.2791-1.16077-.69528L15.85828,16.5042,9.99475,18.97166,7.36133,20.07985l-5.924,2.49292A7.98889,7.98889,0,0,0,8,26H25.5a6.49837,6.49837,0,0,0,5.72253-3.41556Z" fill="#28a8ea"></path></g></svg></span>',1)),(0,i.createTextVNode)((0,i.toDisplayString)(e.translate("From OneDrive")),1)],8,ui)],2)):(0,i.createCommentVNode)("v-if",!0),t[22]||(t[22]=(0,i.createElementVNode)("div",{class:"dropdown-divider"},null,-1)),(0,i.createElementVNode)("div",gi,[(0,i.createVNode)(l,{to:{name:"remote-url"}},{default:(0,i.withCtx)(o=>{let{navigate:n}=o;return[(0,i.createElementVNode)("span",{class:"px-0 cursor-pointer dropdown-item d-flex text-indent-0 white-space-normal align-items-center",id:"externalUrlButton",title:e.translate("Enter the link of a file you want to use"),onClick:(0,i.withModifiers)(n,["stop"])},[t[18]||(t[18]=(0,i.createElementVNode)("span",{class:"px-75"},[(0,i.createElementVNode)("i",{style:{width:"15px"},class:"fa fa-link"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("From URL")),1)],8,hi)]}),_:1})])],2)])])])],32)}]]),vi=wi,bi={class:"w-100 d-flex flex-column align-items-center",id:"uploadboxSingleFileView"},xi={class:"d-flex flex-column align-items-center font-size-125 gap-20"};const Vi={mixins:[m.A],name:"WatermarkView",props:{startClicked:Boolean},data:()=>({}),methods:{},computed:{darkText:()=>window.pageConfig.uploaderTextColor?window.pageConfig.uploaderTextColor:""}},ki=(0,V.A)(Vi,[["render",function(e,t,o,n,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",bi,[(0,i.createElementVNode)("div",xi,[t[0]||(t[0]=(0,i.createElementVNode)("div",{class:"position-relative"},[(0,i.createElementVNode)("svg",{width:"64",height:"78",viewBox:"0 0 64 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M63.2001 27.066C63.1594 26.7077 63.081 26.3548 62.9661 26.013V25.662C62.7785 25.261 62.5284 24.8924 62.2251 24.57L38.8251 1.17C38.5027 0.866643 38.1341 0.616516 37.7331 0.429C37.6166 0.412464 37.4985 0.412464 37.3821 0.429C36.9859 0.201791 36.5483 0.0559424 36.0951 0H12.5C9.39702 0 6.42108 1.23268 4.2269 3.42685C2.03272 5.62103 0.800049 8.59697 0.800049 11.7V66.3C0.800049 69.403 2.03272 72.379 4.2269 74.5732C6.42108 76.7673 9.39702 78 12.5 78H51.5001C54.6031 78 57.579 76.7673 59.7732 74.5732C61.9674 72.379 63.2001 69.403 63.2001 66.3V27.3V27.066ZM39.8001 13.299L49.9011 23.4H43.7001C42.6657 23.4 41.6737 22.9891 40.9423 22.2577C40.2109 21.5263 39.8001 20.5343 39.8001 19.5V13.299ZM55.4001 66.3C55.4001 67.3343 54.9892 68.3263 54.2578 69.0577C53.5264 69.7891 52.5344 70.2 51.5001 70.2H12.5C11.4657 70.2 10.4737 69.7891 9.74233 69.0577C9.01094 68.3263 8.60005 67.3343 8.60005 66.3V11.7C8.60005 10.6657 9.01094 9.67368 9.74233 8.94228C10.4737 8.21089 11.4657 7.8 12.5 7.8H32.0001V19.5C32.0001 22.603 33.2327 25.579 35.4269 27.7732C37.6211 29.9673 40.597 31.2 43.7001 31.2H55.4001V66.3ZM40.9311 40.131L28.1001 53.001L23.0691 47.931C22.3347 47.1966 21.3386 46.784 20.3001 46.784C19.2615 46.784 18.2654 47.1966 17.531 47.931C16.7967 48.6654 16.3841 49.6614 16.3841 50.7C16.3841 51.7386 16.7967 52.7346 17.531 53.469L25.3311 61.269C25.6936 61.6345 26.125 61.9247 26.6002 62.1227C27.0755 62.3207 27.5852 62.4226 28.1001 62.4226C28.6149 62.4226 29.1246 62.3207 29.5999 62.1227C30.0752 61.9247 30.5065 61.6345 30.8691 61.269L46.4691 45.669C47.2034 44.9346 47.616 43.9386 47.616 42.9C47.616 41.8614 47.2034 40.8654 46.4691 40.131C45.7347 39.3966 44.7386 38.984 43.7001 38.984C42.6615 38.984 41.6654 39.3966 40.9311 40.131Z",fill:"#fff"})])],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["text-center vue-uploadbox-drop-text",a.darkText])},(0,i.toDisplayString)(e.translate("Watermark added! Click save to continue")),3)])])}]]);var Ei=o(66596),Ni=o(94327),Di=o(6699),yi=o(7474),Bi=o(16333);class Ti{constructor(e){this.localId=e,this.status="UNDEFINED",this.type="UNDEFINED",this.size=null,this.size_readable=null,this.name=null,this.progressPercent=0,this.progressText="",this.progressBitrates=[],this.progressAverageBitrate=0,this.metadata={},this.lastEventData=null,this.bytesLoaded=0,this.bytesTotal=0}setDataFromInput(e){this.status=e.getStatus(),this.type=e.getType(),this.name=e.getName(),this.size=e.getSize(),this.size_readable=Bi.C.fileSize(e.getSize()),e._metadata&&(this.metadata=e._metadata)}updateAverageBitrate(e){(0,F.Ye)(e),this.progressBitrates.push(e),this.progressBitrates=this.progressBitrates.slice(-20);let t=0;
3this.progressBitrates.forEach(e=>{t+=e}),this.progressAverageBitrate=t/this.progressBitrates.length}}const Si=new class{constructor(){this.files=[]}getUploadFilesProgress(e,t,o){if(!(t>this.files.length)){if(t===this.files.length){const e=new Ti(t);this.files.push(e)}if(t&&t>=0){const e=globalThis.qgUploader.getInput(t);this.files[t].setDataFromInput(e),this.files[t].lastEventData=o}if(e===yi.i$){const e=this.handleUploadProgress(this.files[t],o);this.files[t].progressPercent=e.progressPercent,this.files[t].progressText=e.progressText,this.files[t].bytesLoaded=e.bytesLoaded,this.files[t].bytesTotal=e.bytesTotal}return this.files}}handleUploadProgress(e,t){const o=t.bytesLoaded/t.bytesTotal*100,i=Math.floor(o);e.updateAverageBitrate(t.bitrate);const n=8*(t.bytesTotal-t.bytesLoaded)/e.progressAverageBitrate+1;return{progressPercent:i,progressText:Bi.C.time(n),bytesLoaded:t.bytesLoaded,bytesTotal:t.bytesTotal}}};var Li=o(74692);const Mi={components:{FileUploadDefaultView:be,UploadInProgressView:Ke,AddFileView:wt,AuthRequiredView:Bt,FileAddedView:po,WaitingForUploadView:ho,PreprocessingFileView:xo,CompareView:Po,DragAndDropView:vi,SingleFileView:qo,NoSettingView:jt,SmallFileView:ri,WatermarkView:ki},name:"FileUploadView",mixins:[m.A],mounted(){document.addEventListener("click",this.closeDropdown),document.querySelectorAll(".submit-btn").forEach(e=>{e.addEventListener("click",e=>{e.currentTarget.classList.contains("submit-btn")&&!e.currentTarget.classList.contains("save-as-btn")&&(this.startClicked=!0,this.startClickedOnce=!0,this.stopClicked=!1,!0===this.isUploading&&(this.clickedStartWhileloading=!0,this.waitingForUpload=!0),!1===this.isUploading&&Di.B.emit(yi.Nc))})});const e=window.qgUploader.getInputList()?._inputs;this.filesUploaded=e.filter(e=>e._status===qe.yb),Di.B.listen(yi.Y3,e=>{const t=window.qgUploader.getInputList()?._inputs;this.handleUploaderStatus(e,t)}),Di.B.listen(yi.gK,()=>{this.stopClicked=!0,this.startClicked=!1,this.waitingForUpload=!1}),Di.B.listen("small-files-check",e=>{this.hasSmallFiles=e.hasSmallFiles,this.$forceUpdate()}),Di.B.listen("show-auth-required-view",()=>{this.isShareFeature&&!this.isUserRegistered&&(this.showAuthView=!0)}),Di.B.listen("reemit-input-form-validation-fail",this.handleValidationFail),Di.B.listen("reemit-input-form-validation-success",this.handleValidationSuccess),!1===window.pageConfig.uploaderHideSubmitBtn||"false"===window.pageConfig.uploaderHideSubmitBtn?this.showSubmitBtn=!0:this.showSubmitBtn=!1;["compare-image","compare-video","compare-pdf"].includes(window.pageConfig.target)&&(this.isCompareFeature=!0),"mirror"===window.pageConfig.target&&(this.isShareFeature=!0),!0===window.pageConfig.isWatermarkFeature&&(this.isWatermarkFeature=!0),!0===window.pageConfig.singleFile&&(this.isSingleFileFeature=!0);document.getElementsByClassName("vue-uploadbox-file-button").length>0?this.showDriveLinks=!0:this.showDriveLinks=!1,this.dragWrapperEl=this.$el.closest("#uploadBoxMainWrapper"),this.dragWrapperEl&&(this.dragWrapperEl.addEventListener("dragenter",this.onDragEnter),this.dragWrapperEl.addEventListener("dragover",this.onWrapperDragOver),this.dragWrapperEl.addEventListener("dragleave",this.onDragLeave),this.dragWrapperEl.addEventListener("drop",this.onWrapperDrop))},beforeUnmount(){document.removeEventListener("click",this.closeDropdown),this.clearDragHideTimer(),this.dragWrapperEl&&(this.dragWrapperEl.removeEventListener("dragenter",this.onDragEnter),this.dragWrapperEl.removeEventListener("dragover",this.onWrapperDragOver),this.dragWrapperEl.removeEventListener("dragleave",this.onDragLeave),this.dragWrapperEl.removeEventListener("drop",this.onWrapperDrop),this.dragWrapperEl=null)},data:()=>({testString:"test",showDropdown:!1,disableGdriveButton:!1,disableOnedriveButton:!1,isUploading:!1,filesUploaded:[],clickedStartWhileloading:!1,startClickedOnce:!1,startClicked:!1,stopClicked:!1,showSubmitBtn:!0,waitingForUpload:!1,progressPercent:0,files:[],isCompareFeature:!1,isShareFeature:!1,isWatermarkFeature:!1,showAuthView:!1,isSingleFileFeature:!1,isNoSetting:!1,hasSmallFiles:!1,dragOver:!1,dragOverInner:!1,dragHideTimer:null,showDriveLinks:!0}),methods:{hasDragFiles(e){const t=e.dataTransfer?.types;return!!t&&(t.includes?t.includes("Files"):t.contains("Files"))},clearDragHideTimer(){null!==this.dragHideTimer&&(clearTimeout(this.dragHideTimer),this.dragHideTimer=null)},onDragEnter(e){this.hasDragFiles(e)&&(this.clearDragHideTimer(),this.dragOver=!0)},onDragOver(e){this.hasDragFiles(e)&&(this.clearDragHideTimer(),this.dragOver=!0)},onDragLeave(e){this.hasDragFiles(e)&&(this.clearDragHideTimer(),this.dragHideTimer=setTimeout(()=>{this.dragOver=!1,this.dragHideTimer=null},80))},onDrop(){this.clearDragHideTimer(),this.dragOver=!1},onWrapperDragOver(e){e.preventDefault(),this.onDragOver(e)},onWrapperDrop(e){e.preventDefault(),this.onDrop()},handleValidationFail(e){"input-event-form-validation-fail"===e.event&&(this.isNoSetting=!0)}
3,handleValidationSuccess(e){"input-event-form-validation-success"===e.event&&(this.isNoSetting=!1)},testDebug(){},openDropboxDialog(){this.closeDropdown();const e=(0,Ei.O)();if(null===e)return Ni.x.error((0,U.T)("Something went wrong, please try again later!")),void L.q.log("openDropboxDialog - no uploader defined");e.clickDropBox()},openGdriveDialog(e){if(this.closeDropdown(),this.disableGdriveButton)return;this.disableGdriveButton=!0,setTimeout(()=>this.disableGdriveButton=!1,1e3);const t=(0,Ei.O)();if(null===t)return Ni.x.error((0,U.T)("Something went wrong, please try again later!")),void L.q.log("openGdriveDialog - no uploader defined");t.clickGdrive()},openOneDriveDialog(e){if(this.closeDropdown(),this.disableOnedriveButton)return;this.disableOnedriveButton=!0,setTimeout(()=>this.disableOnedriveButton=!1,1e3);const t=(0,Ei.O)();if(null===t)return Ni.x.error((0,U.T)("Something went wrong, please try again later!")),void L.q.log("openOneDriveDialog - no uploader defined");t.clickOnedrive()},openFileUploadDialog(e){const t="string"==typeof e.target.className?e.target.className:e.target.className?.baseVal??"";if(t.includes("add-example-file"))return void window.qgUploader.addExternalUrl(window.pageConfig.example_file);if(t.includes("uploader-submit-button")){this.isUploading&&(this.clickedStartWhileloading=!0,this.waitingForUpload=!0);return void Array.from(document.querySelectorAll(".submit-btn")).filter(e=>!1===e.className.includes("uploader-submit-button"))[0].click()}this.closeDropdown();const o=(0,Ei.O)();if(null===o)return Ni.x.error((0,U.T)("Something went wrong, please try again later!")),void L.q.log("openFileUploadDialog - no uploader defined");o.clickFileUpload()},copyFromClipboard(e){Li("#copyFromClipboardModal").modal("show")},toggleDropdown(){this.showDropdown=!this.showDropdown},closeDropdown(){this.showDropdown=!1},handleSmallFileStart(){this.hasSmallFiles=!1,this.startClicked=!0},handleUploaderStatus(e,t){if(this.files=Si.getUploadFilesProgress(e.event,e.localId,e.data),t.length>0){this.filesUploaded=t.filter(e=>e._status===qe.yb);let e=!0;for(let o=0;o<t.length;o++){if(t[o]._status===qe.Nl||t[o]._status===qe.gQ||t[o]._status===qe.cW){e=!0;break}e=!1}if(e)this.isUploading=!0;else{if(this.isUploading=!1,this.isSingleFileFeature&&1===this.filesUploaded.length)return void(this.waitingForUpload=!1);if(this.filesUploaded.length>=2&&this.startClicked&&this.file.length<=2)return void(this.isCompareFeature=!1);if(this.filesUploaded.length>2&&this.waitingForUpload&&this.file.length<=2)return void(this.isCompareFeature=!1);if(this.isCompareFeature&&this.filesUploaded.length<2)return void(this.waitingForUpload=!1);this.isCompareFeature&&this.filesUploaded.length>=2&&this.clickedStartWhileloading&&(this.waitingForUpload=!1),this.clickedStartWhileloading&&(this.clickedStartWhileloading=!1)}}else this.filesUploaded=[],this.hasSmallFiles=!1}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor},hasClientId:()=>window.sat?.onedriveConfig?.clientId,isUserRegistered(){const e=H.N.getCurrentUserFromStore();return!(!e||!e.isRegistered())},viewToRender(){return this.dragOver?"drag-and-drop":this.showAuthView?"auth-required":this.hasSmallFiles&&this.filesUploaded.length>0&&!this.isUploading?"small-file-view":this.startClickedOnce&&this.filesUploaded.length<1&&!this.isUploading&&!this.isNoSetting?(this.startClicked=!1,"add-file"):this.isCompareFeature&&this.filesUploaded.length>0||this.startClicked&&(1===this.filesUploaded.length||this.isUploading)&&this.isCompareFeature?"compare-view":this.isWatermarkFeature&&this.filesUploaded.length>=2&&!this.isUploading&&!this.startClicked?"watermark-view":this.startClicked&&!this.isUploading&&this.filesUploaded.length>0&&!this.isNoSetting?"preprocessing-file":this.waitingForUpload&&this.isUploading&&this.startClicked&&!this.isNoSetting?"waiting-for-upload":this.isUploading&&!this.isNoSetting?"upload-in-progress":this.isSingleFileFeature&&1===this.filesUploaded.length?"single-file-view":this.filesUploaded.length>0&&!this.startClicked||2===this.filesUploaded.length&&this.files.length>=2&&this.startClicked&&!this.isNoSetting?"file-added":this.isNoSetting?"no-setting-view":"default"},showSettingsButton(){const e=this.filesUploaded.length>0,t=this.isUploading,o=!(g.Q.isPdf2go()&&["merge","compare"].includes(window.qgOperation));return(e||t)&&o&&!this.startClicked}},watch:{filesUploaded:{handler:function(){setTimeout(()=>{document.getElementsByClassName("vue-uploadbox-file-button").length>0||"small-file-view"===this.viewToRender?this.showDriveLinks=!0:this.showDriveLinks=!1},200)},deep:!0}}},Ui=(0,V.A)(Mi,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("file-upload-default-view"),s=(0,i.resolveComponent)("drag-and-drop-view"),d=(0,i.resolveComponent)("upload-in-progress-view"),p=(0,i.resolveComponent)("preprocessing-file-view"),c=(0,i.resolveComponent)("add-file-view"),C=(0,i.resolveComponent)("auth-required-view"),m=(0,i.resolveComponent)("compare-view"),u=(0,i.resolveComponent)("single-file-view"),g=(0,i.resolveComponent)("watermark-v
3iew"),h=(0,i.resolveComponent)("file-added-view"),f=(0,i.resolveComponent)("waiting-for-upload-view"),w=(0,i.resolveComponent)("no-setting-view"),v=(0,i.resolveComponent)("small-file-view"),b=(0,i.resolveComponent)("RouterLink");return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:"w-100 h-100 d-flex flex-column align-items-center justify-content-center vue-uploadbox-inner-container",onClick:t[27]||(t[27]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"])),onDragenter:t[28]||(t[28]=function(){return a.onDragEnter&&a.onDragEnter(...arguments)}),onDragover:t[29]||(t[29]=(0,i.withModifiers)(function(){return a.onDragOver&&a.onDragOver(...arguments)},["prevent"])),onDragleave:t[30]||(t[30]=function(){return a.onDragLeave&&a.onDragLeave(...arguments)}),onDrop:t[31]||(t[31]=(0,i.withModifiers)(function(){return a.onDrop&&a.onDrop(...arguments)},["prevent"]))},[(0,i.createElementVNode)("div",K,["default"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(l,{key:0,onOpenFileUploadDialog:t[0]||(t[0]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onCopyFromClipboard:t[1]||(t[1]=e=>a.copyFromClipboard(e)),onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[2]||(t[2]=e=>r.startClicked=!0)},null,8,["onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked"])):(0,i.createCommentVNode)("v-if",!0),"drag-and-drop"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(s,{key:1,onOpenFileUploadDialog:t[3]||(t[3]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[4]||(t[4]=e=>r.startClicked=!0),onIsDragOver:t[5]||(t[5]=e=>r.dragOverInner=e)},null,8,["onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked"])):(0,i.createCommentVNode)("v-if",!0),"upload-in-progress"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(d,{key:2,files:r.files,onOpenFileUploadDialog:t[6]||(t[6]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[7]||(t[7]=e=>r.startClicked=!0),"show-submit-btn":r.showSubmitBtn,"is-single-file":this.isSingleFileFeature,showSettingsBtn:a.showSettingsButton},null,8,["files","onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked","show-submit-btn","is-single-file","showSettingsBtn"])):(0,i.createCommentVNode)("v-if",!0),"preprocessing-file"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(p,{key:3})):(0,i.createCommentVNode)("v-if",!0),"add-file"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(c,{key:4,onOpenFileUploadDialog:t[8]||(t[8]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onCopyFromClipboard:t[9]||(t[9]=e=>a.copyFromClipboard(e)),onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[10]||(t[10]=e=>r.startClicked=!0)},null,8,["onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked"])):(0,i.createCommentVNode)("v-if",!0),"auth-required"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(C,{key:5})):(0,i.createCommentVNode)("v-if",!0),"compare-view"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(m,{key:6,onOpenFileUploadDialog:t[11
3]||(t[11]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onCopyFromClipboard:t[12]||(t[12]=e=>a.copyFromClipboard(e)),onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[13]||(t[13]=e=>r.startClicked=!0),"files-uploaded":r.filesUploaded,showSettingsBtn:a.showSettingsButton},null,8,["onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked","files-uploaded","showSettingsBtn"])):(0,i.createCommentVNode)("v-if",!0),"single-file-view"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(u,{key:7,"start-clicked":r.startClicked,onStartClicked:t[14]||(t[14]=e=>r.startClicked=!0),"files-uploaded":r.filesUploaded,showSettingsBtn:a.showSettingsButton},null,8,["start-clicked","files-uploaded","showSettingsBtn"])):(0,i.createCommentVNode)("v-if",!0),"watermark-view"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(g,{key:8})):(0,i.createCommentVNode)("v-if",!0),"file-added"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(h,{key:9,onOpenFileUploadDialog:t[15]||(t[15]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onCopyFromClipboard:t[16]||(t[16]=e=>a.copyFromClipboard(e)),onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[17]||(t[17]=e=>r.startClicked=!0),"show-submit-btn":r.showSubmitBtn,showSettingsBtn:a.showSettingsButton},null,8,["onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked","show-submit-btn","showSettingsBtn"])):(0,i.createCommentVNode)("v-if",!0),"waiting-for-upload"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(f,{key:10,files:r.files},null,8,["files"])):(0,i.createCommentVNode)("v-if",!0),"no-setting-view"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(w,{key:11,onOpenFileUploadDialog:t[18]||(t[18]=e=>a.openFileUploadDialog(e)),onOpenOneDriveDialog:a.openOneDriveDialog,onOpenGDriveDialog:a.openGdriveDialog,onOpenDropBoxDialog:a.openDropboxDialog,onCopyFromClipboard:t[19]||(t[19]=e=>a.copyFromClipboard(e)),onToggleDropDown:a.toggleDropdown,"disable-g-drive-button":r.disableGdriveButton,showDropdown:r.showDropdown,"start-clicked":r.startClicked,onStartClicked:t[20]||(t[20]=e=>r.startClicked=!0),"is-no-setting":this.isNoSetting,showSettingsBtn:a.showSettingsButton},null,8,["onOpenOneDriveDialog","onOpenGDriveDialog","onOpenDropBoxDialog","onToggleDropDown","disable-g-drive-button","showDropdown","start-clicked","is-no-setting","showSettingsBtn"])):(0,i.createCommentVNode)("v-if",!0),"small-file-view"===a.viewToRender?((0,i.openBlock)(),(0,i.createBlock)(v,{key:12,"start-clicked":r.startClicked,onStartClicked:a.handleSmallFileStart,"show-submit-btn":r.showSubmitBtn},null,8,["start-clicked","onStartClicked","show-submit-btn"])):(0,i.createCommentVNode)("v-if",!0)]),r.showDriveLinks?((0,i.openBlock)(),(0,i.createElementBlock)("div",J,[(0,i.createElementVNode)("i",{class:"fa fa-folder-open lh-inherit","data-toggle":"tooltip","data-trigger":"hover",title:e.translate("Device"),onClick:t[21]||(t[21]=(0,i.withModifiers)(e=>a.openFileUploadDialog(e),["stop","prevent"]))},null,8,ee),(0,i.createVNode)(b,{id:"externalUrlButtonOnUploader",to:{name:"remote-url"},title:e.translate("Enter the link of a file you want to use"),tag:"span"},{default:(0,i.withCtx)(()=>[((0,i.openBlock)(),(0,i.createElementBlock)("svg",{class:"special-class","data-toggle":"tooltip","data-trigger":"hover",title:e.translate("URL"),onClick:t[22]||(t[22]=function(){return e.hideToolTip&&e.hideToolTip(...arguments)}),width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...t[32]||(t[32]=[(0,i.createElementVNode)("path",{d:"M8.08468 9.91532C8.35084 10.1685 8.35084 10.584 8.08468 10.8371C7.83151 11.0903 7.41605 11.0903 7.16287 10.8371C6.55485 10.2282 6.21335 9.40285 6.21335 8.54234C6.21335 7.68183 6.55485 6.85649 7.16287 6.24756L9.46091 3.94952C10.0698 3.3415 10.8952 3 11.7557 3C12.6162 3 13.4415 3.3415 14.0505 3.94952C14.6585 4.55845 15 5.3838 15 6.24431C15 7.10482 14.6585 7.93016 14.0505 8.5391L13.0832 9.50635C13.0897 8.97403 13.0053 8.44172 12.8236 7.93538L13.1287 7.62378C13.3107 7.44376 13.4551 7.22943 13.5537 6.9932C13.6523 6.75697 13.7031 6.50354 13.7031 6.24756C13.7031 5.99158 13.6523 5.73814 13.5537 5.50191C13.4551 5.26568 13.3107 5.05135 13.1287 4.87133C12.9486 4.68935 12.7343 4.54487 12.4981 4.44627C12.2619 4.34767 12.0084 4.2969 11.7524 4.2969C11.4965 4.2969 11.243 4.34767 11.0068 4.44627C10.7706 4.54487 10.5562 4.68935 10.3762 4.87133L8.08468 7.16287C7.9027 7.34289 7.75822 7.55722 7.65962 7.79345C7.56102 8.02968 7.51025 8.28312 7.51025 8.5391C7.51025 8.79508 7.56102 9.04851 7.65962 9.28474C7.75822 9.52097 7.9027 9.7353 8.08468 9.91532ZM9.91532 7.16287C10.1685 6.9097 10.584 6.9097 10.8371 7.16287C11.4451 7.7718 11.7867 8.59715 11.7867 9.45766C11.7867 10.3182 11.4451 11.1435 10.8371 11.7524L8.5391 14.0505C7.93016 14.6585 7.10482 15 6.24431 15C5.3838 15 4.55845 14.6585 3.94952 14.0505C3.3415 13.4415 3 12.6162 3 11.7557C3 10.8952 3.3415 10.0698 3.94952 9.46091L4.91677 8.49365C4.91028 9.02597 4.99467 9.55828 5.17644 10.0711L4.87133 10.3762C4.68935 10.5562 4.54487 10.7706 4.44627 11.0068C4.34767 11.243 4.2969 11.4965 4.2969 11.7524C4.2969 12.0084 4.34767 12.2619 4.44627 12.4981C4.54487 12.7343 4.68935 12.9486 4.87133 13.1287C5.05135 13.3107 5.26568 13.4551 5.50191 13.5537C5.73814 13.6523 5.99158 13.7031 6.24756 13.7031C6.50354 13.7031 6.75697 13.6523 6.9932 13.5537C7.22943 13.4551 7.44376 13.3107 7.62378 13.1287L9.91532 10.8371C10.0973 10.6571 10.2418 10.4428 10.3404 10.2066C10.439 9.97032 10.4897 9.71689 10.4897 9.46091C10.4897 9.20493 10.439 8.95149 10.3404 8.71526C10.2418 8.47903 10.0973 8.2647 9.91532 8.08468C9.85227 8.0256 9.80201 7.95422 9.76766 7.87494C9.7333 7.79566 9.71557 7.71018 9.71557 7.62378C9.71557 7.53738 9.7333 7.45189 9.76766 7.37261C9.80201 7.29334 9.85227 7.22195 9.91532 7.16287Z",fill:"#E8EAED"},null,-1)])],8,te))]),_:1},8,["title"]),(0,i.createElementVNode)("i",{class:(0,i.normalizeClass)(["fab fa-google-drive",{"opacity-65":r.disableGdriveButton}]),"data-toggle":"tooltip","data-trigger":"hover",title:e.translate("Google Drive"),onClick:t[23]||(t[23]=(0,i.withModifiers)(function(){return a.openGdriveDialog&&a.openGdriveDialog(...arguments)},["stop","prevent"]))}
3,null,10,oe),a.hasClientId?((0,i.openBlock)(),(0,i.createElementBlock)("svg",{key:0,"data-toggle":"tooltip","data-trigger":"hover",title:e.translate("OneDrive"),onClick:t[24]||(t[24]=(0,i.withModifiers)(function(){return a.openOneDriveDialog&&a.openOneDriveDialog(...arguments)},["stop","prevent"])),width:"18",height:"18",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...t[33]||(t[33]=[(0,i.createElementVNode)("path",{d:"M 16.5 5 C 13.979 5 11.828406 6.5606719 10.941406 8.7636719 C 10.152406 8.2896719 9.239 8 8.25 8 C 5.351 8 3 10.35 3 13.25 C 3 13.53 3.0400312 13.799359 3.0820312 14.068359 C 1.3350312 14.385359 0 15.915 0 17.75 C 0 19.812 1.688 21.5 3.75 21.5 L 5.9589844 21.5 C 5.6639844 20.808 5.5 20.048 5.5 19.25 C 5.5 16.469 7.4852813 14.142281 10.113281 13.613281 C 11.249281 10.867281 13.943625 9 17.015625 9 C 18.755625 9 20.413234 9.6080781 21.740234 10.705078 C 21.975234 10.640078 22.214078 10.593594 22.455078 10.558594 C 22.225078 7.4545937 19.662 5 16.5 5 z M 17.015625 11 C 14.324625 11 12.095859 12.943 11.630859 15.5 L 11.25 15.5 C 9.188 15.5 7.5 17.188 7.5 19.25 C 7.5 21.312 9.188 23 11.25 23 L 27 23 C 28.65 23 30 21.65 30 20 C 30 18.35 28.65 17 27 17 L 26.925781 17 C 26.975781 16.757 27 16.506 27 16.25 C 27 14.178 25.322 12.5 23.25 12.5 C 22.524 12.5 21.852297 12.715266 21.279297 13.072266 C 20.273297 11.818266 18.746625 11 17.015625 11 z",fill:"#E8EAED"},null,-1)])],8,ie)):(0,i.createCommentVNode)("v-if",!0),((0,i.openBlock)(),(0,i.createElementBlock)("svg",{"data-toggle":"tooltip","data-trigger":"hover",title:e.translate("Dropbox"),onClick:t[25]||(t[25]=(0,i.withModifiers)(function(){return a.openDropboxDialog&&a.openDropboxDialog(...arguments)},["stop","prevent"])),width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...t[34]||(t[34]=[(0,i.createElementVNode)("path",{d:"M4.99975 2.90137L2 4.8125L4.99975 6.72368L7.99998 4.8125L4.99975 2.90137ZM11 2.90137L7.99998 4.81269L11 6.72401L14 4.81269L11 2.90137ZM2 8.63514L4.99975 10.5463L7.99998 8.63514L4.99975 6.72401L2 8.63514ZM11 6.72401L7.99998 8.63533L11 10.5466L14 8.63533L11 6.72401ZM4.99999 11.1875L8.00021 13.0987L11 11.1875L8.00021 9.27634L4.99999 11.1875Z",fill:"#E8EAED"},null,-1)])],8,ne)),((0,i.openBlock)(),(0,i.createElementBlock)("svg",{"data-toggle":"tooltip","data-trigger":"hover",title:e.translate("Copy From Clipboard"),onClick:t[26]||(t[26]=(0,i.withModifiers)(function(){return a.copyFromClipboard&&a.copyFromClipboard(...arguments)},["stop","prevent"])),width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...t[35]||(t[35]=[(0,i.createElementVNode)("path",{d:"M4.4999 9.6C4.1699 9.6 3.8875 9.4826 3.6527 9.2478C3.4179 9.013 3.3003 8.7304 3.2999 8.4V1.2C3.2999 0.87 3.4175 0.5876 3.6527 0.3528C3.8879 0.118 4.1703 0.0004 4.4999 0H9.8999C10.2299 0 10.5125 0.1176 10.7477 0.3528C10.9829 0.588 11.1003 0.8704 11.0999 1.2V8.4C11.0999 8.73 10.9825 9.0126 10.7477 9.2478C10.5129 9.483 10.2303 9.6004 9.8999 9.6H4.4999ZM4.4999 8.4H9.8999V1.2H4.4999V8.4ZM2.0999 12C1.7699 12 1.4875 11.8826 1.2527 11.6478C1.0179 11.413 0.900302 11.1304 0.899902 10.8V3C0.899902 2.83 0.957502 2.6876 1.0727 2.5728C1.1879 2.458 1.3303 2.4004 1.4999 2.4C1.6699 2.4 1.8125 2.4576 1.9277 2.5728C2.0429 2.688 2.1003 2.8304 2.0999 3V10.8H8.0999C8.2699 10.8 8.4125 10.8576 8.5277 10.9728C8.6429 11.088 8.7003 11.2304 8.6999 11.4C8.6999 11.57 8.6423 11.7126 8.5271 11.8278C8.4119 11.943 8.2695 12.0004 8.0999 12H2.0999Z",fill:"#E8EAED"},null,-1)])],8,re))])):(0,i.createCommentVNode)("v-if",!0)],32)}],["__scopeId","data-v-41defca6"]]),Fi=Ui,zi={id:"remoteUploadDialog",class:"w-100 h-100 d-flex gap-20 flex-column align-items-center justify-content-center position-relative vue-uploadbox-inner-container"},Hi={key:0,class:"position-absolute top-0 left-0"},Oi={key:1,class:"d-flex gap-10 flex-column align-items-center"},Ai={class:"font-size-150 font-weight-bold"},_i={key:2,class:"d-flex gap-10 flex-column align-items-center"},Zi={class:"font-size-150 font-weight-bold text-center"},Pi={class:"font-size-125 w-100 text-center"},Ri={class:"mb-3"},$i={key:0,class:"d-flex flex-wrap justify-content-center align-items-center my-4 gap-10"},Gi=["title"],ji={key:1,class:"d-flex flex-wrap justify-content-center align-items-center gap-10"},Ii=["title"],Wi={type:"button",class:"url-uploader-btn align-items-center submit-btn btn-blue btn-lg btn font-weight-bold text-uppercase gap-10 vue-uploadbox-remote-add-button uploader-submit-button"},qi={class:"text-uppercase convert_to uploader-submit-button"};var Yi=o(74692);const Xi={name:"RemoteUrlView",inject:["mode"],mixins:[m.A],mounted(){Di.B.listen(yi.Y3,e=>{const t=window.qgUploader.getInputList()?._inputs;this.handleUploaderStatus(t)});const e=window.qgUploader.getInputList()?._inputs;this.filesUploaded=e.filter(e=>e._status===qe.yb)},computed:{isRemoteUrlValid(){return!(!(0,N.Yc)(this.remoteUrl)||!this.remoteUrl.startsWith("oc-source"))||/^(?:\w+:\/\/)?[\w.-]+(?:\.[\w.-]+)+/.test(this.remoteUrl)&&!/^(file:\/\/).*/.test(this.remoteUrl)},isWebsiteToPdf:()=>"convertwebsitetopdf"===window.pageConfig?.operation,uploaderText(){return this.filesUploaded.length<1?(0,U.T)("Add URL"):(0,U.T)("URL added! Start task or add more URLs")}},methods:{openSettingsModal(){Yi("#selectDownloader").modal("show")},addRemoteUrl(){if((0,N.Yc)(this.remoteUrl)&&(this.remoteUrl=this.remoteUrl.trim()),(0,N.Rm)(this.remoteUrl))return void Ni.x.error((0,U.T)("Please enter a URL."));if(!this.isRemoteUrlValid)return Ni.x.error((0,U.T)("We are not able to download this file, please try to upload the file directly instead.")),void L.q.log("External url validation failed");const e=(0,Ei.O)();if(null===e)return Ni.x.error((0,U.T)("Something went wrong, please try again later!")),void L.q.log("addRemoteUrl - no uploader defined");let t=Yi('input[name="inputEngine"]:checked').val();(0,N.h7)(t)&&(t="auto"),e.clickRemoteUrl(this.remoteUrl,t),L.q.log("External url validation successful"),this.remoteUrl=""},handleUploaderStatus(e){if(e.length>0){this.filesUploaded=e.filter(e=>e._status===qe.yb);let t=!0;for(let o=0;o<e.length;o++){if(e[o]._status===qe.Nl||e[o]._status===qe.gQ||e[o]._status===qe.cW){t=!0;break}t=!1}this.isUploading=!!t}}},data:()=>({remoteUrl:"",isUploading:!1,filesUploaded:[]})},Qi=(0,V.A)(Xi,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("RouterLink");return(0,i.openBlock)(),(0,i.createElementBlock)("div",zi,["remote_url"!==a.mode?((0,i.openBlock)(),(0,i.createElementBlock)("div",Hi,[(0,i.createVNode)(l,{id:"backToUploadButton",to:{name:"file-upload"},tag:"button",class:"btn text-white font-size-125 d-inline-flex align-items-center"},{default:(0,i.withCtx)(()=>[t[6]||(t[6]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-left font-size-200 mr-1"},null,-1)),(0,i.createElementVNode)("span",null,(0,i.toDisplayString)(e.translate("Back")),1)]),_:1})])):(0,i.createCommentVNode)("v-if",!0),r.isUploading?((0,i.openBlock)(),(0,i.createElementBlock)("div",Oi,[t[7]||(t[7]=(0,i.createStaticVNode)('<div class="position-relative mt-3" data-v-9aa83b26><span class="spin-circle-basic spin-circle-white spin-circle-thick spin-circle-225" id="feature-upload-icon-spinner" data-v-9aa83b26></span><svg class="position-relative" width="120" height="78" viewBox="0 0 120 78" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-9aa83b26><g clip-path="url(#clip0_71_2894)" data-v-9aa83b26><path fill-rule="evenodd" clip-rule="evenodd" d="M40.1888 13.807C43.5529 8.47181 48.4871 4.3578 54.2851 2.05373C60.0831 -0.250342 66.4478 -0.626361 72.4683 0.979486C78.4888 2.58533 83.8565 6.09073 87.8031 10.994C91.7498 15.8973 94.0731 21.9471 94.4406 28.2776C97.6955 28.1214 100.948 28.6308 104.007 29.7759C107.066 30.9209 109.868 32.6784 112.25 34.9447C114.631 37.211 116.544 39.9402 117.874 42.9714C119.204 46.0027 119.925 49.2746 119.994 52.5944C120.064 55.9141 119.481 59.2144 118.279 62.3007C117.077 65.387 115.28 68.1969 112.996 70.5646C110.711 72.9323 107.985 74.81 104.977 76.087C101.969 77.364 98.7403 78.0143 95.4818 77.9998H31.9845C27.433 77.9937 22.935 76.999 18.7904 75.0822C14.6458 73.1654 10.9497 70.3703 7.94856 66.8834C4.94739 63.3965 2.71008 59.2978 1.38572 54.8604C0.
30613674 50.4231 -0.319604 45.7491 0.268202 41.1499C0.856007 36.5507 2.39909 32.1321 4.79459 28.1884C7.1901 24.2447 10.383 20.8666 14.1605 18.2793C17.938 15.692 22.2133 13.9548 26.7015 13.1837C31.1896 12.4125 35.7875 12.625 40.1888 13.807ZM65.0033 8.32983C60.9897 8.3288 57.0574 9.48255 53.6589 11.6583C50.2603 13.834 47.5337 16.9434 45.7928 20.6284C45.3457 21.5721 44.566 22.3094 43.6093 22.6934C42.6525 23.0774 41.5889 23.0799 40.6303 22.7004C37.365 21.4125 33.8614 20.8729 30.3684 21.1202C26.8753 21.3674 23.4786 22.3954 20.4193 24.131C17.3601 25.8667 14.7134 28.2674 12.6673 31.1628C10.6212 34.0582 9.22578 37.3772 8.58023 40.884C7.93469 44.3908 8.05482 47.9994 8.9321 51.4536C9.80938 54.9078 11.4223 58.1227 13.6563 60.8702C15.8902 63.6176 18.6905 65.8301 21.8581 67.3505C25.0258 68.8709 28.4831 69.6619 31.9845 69.6674H95.4818C97.792 69.6666 100.075 69.1633 102.179 68.1913C104.284 67.2193 106.16 65.8009 107.683 64.0308C109.206 62.2608 110.341 60.1799 111.011 57.9272C111.682 55.6744 111.873 53.3018 111.572 50.9678C111.271 48.6338 110.484 46.3922 109.265 44.3928C108.045 42.3934 106.421 40.6822 104.501 39.3736C102.58 38.065 100.408 37.1891 98.1287 36.8045C95.8496 36.4199 93.5161 36.5354 91.2843 37.1432C90.6394 37.3193 89.9621 37.3318 89.3115 37.1797C88.6608 37.0275 88.0566 36.7153 87.5517 36.2704C87.0467 35.8254 86.6564 35.2612 86.4147 34.6271C86.1731 33.993 86.0875 33.3082 86.1654 32.6326C86.5229 29.5847 86.2423 26.4941 85.3421 23.5647C84.4419 20.6353 82.9426 17.9336 80.943 15.6378C78.9434 13.3419 76.4889 11.5041 73.7414 10.2453C70.9939 8.98663 68.0157 8.33012 65.0033 8.32983Z" fill="#fff" data-v-9aa83b26></path></g><defs data-v-9aa83b26><clipPath id="clip0_71_2894" data-v-9aa83b26><rect width="120" height="78" fill="white" data-v-9aa83b26></rect></clipPath></defs></svg></div>',1)),(0,i.createElementVNode)("div",Ai,(0,i.toDisplayString)(e.translate("Adding URL...")),1)])):((0,i.openBlock)(),(0,i.createElementBlock)("div",_i,[t[8]||(t[8]=(0,i.createElementVNode)("svg",{class:"mt-3",width:"78",height:"78",viewBox:"0 0 78 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M33.0504 44.9496C34.7804 46.5952 34.7804 49.2957 33.0504 50.9413C31.4048 52.5869 28.7043 52.5869 27.0587 50.9413C23.1066 46.9833 20.8868 41.6186 20.8868 36.0252C20.8868 30.4319 23.1066 25.0672 27.0587 21.1091L41.9959 6.1719C45.9539 2.21978 51.3187 0 56.912 0C62.5053 0 67.87 2.21978 71.8281 6.1719C75.7802 10.13 78 15.4947 78 21.088C78 26.6814 75.7802 32.0461 71.8281 36.0041L65.541 42.2912C65.5832 38.8312 65.0346 35.3712 63.8531 32.0799L65.8363 30.0546C67.0192 28.8844 67.9583 27.4913 68.5992 25.9558C69.2401 24.4203 69.5701 22.773 69.5701 21.1091C69.5701 19.4452 69.2401 17.7979 68.5992 16.2624C67.9583 14.7269 67.0192 13.3338 65.8363 12.1637C64.6662 10.9808 63.2731 10.0417 61.7376 9.40078C60.2021 8.75988 58.5548 8.42988 56.8909 8.42988C55.227 8.42988 53.5797 8.75988 52.0442 9.40078C50.5087 10.0417 49.1156 10.9808 47.9454 12.1637L33.0504 27.0587C31.8675 28.2288 30.9285 29.6219 30.2876 31.1574C29.6467 32.6929 29.3167 34.3403 29.3167 36.0041C29.3167 37.668 29.6467 39.3153 30.2876 40.8508C30.9285 42.3863 31.8675 43.7794 33.0504 44.9496ZM44.9496 27.0587C46.5952 25.413 49.2957 25.413 50.9413 27.0587C54.8934 31.0167 57.1132 36.3814 57.1132 41.9748C57.1132 47.5681 54.8934 52.9328 50.9413 56.8909L36.0041 71.8281C32.0461 75.7802 26.6814 78 21.088 78C15.4947 78 10.13 75.7802 6.1719 71.8281C2.21978 67.87 0 62.5053 0 56.912C0 51.3187 2.21978 45.9539 6.1719 41.9959L12.459 35.7088C12.4168 39.1688 12.9654 42.6288 14.1469 45.9623L12.1637 47.9454C10.9808 49.1156 10.0417 50.5087 9.40078 52.0442C8.75988 53.5797 8.42988 55.227 8.42988 56.8909C8.42988 58.5548 8.75988 60.2021 9.40078 61.7376C10.0417 63.2731 10.9808 64.6662 12.1637 65.8363C13.3338 67.0192 14.7269 67.9583 16.2624 68.5992C17.7979 69.2401 19.4452 69.5701 21.1091 69.5701C22.773 69.5701 24.4203 69.2401 25.9558 68.5992C27.4913 67.9583 28.8844 67.0192 30.0546 65.8363L44.9496 50.9413C46.1325 49.7712 47.0715 48.3781 47.7124 46.8426C48.3533 45.3071 48.6833 43.6598 48.6833 41.9959C48.6833 40.332 48.3533 38.6847 47.7124 37.1492C47.0715 35.6137 46.1325 34.2206 44.9496 33.0504C44.5398 32.6664 44.2131 32.2024 43.9898 31.6871C43.7665 31.1718 43.6512 30.6162 43.6512 30.0546C43.6512 29.4929 43.7665 28.9373 43.9898 28.422C44.2131 27.9067 44.5398 27.4427 44.9496 27.0587Z",fill:"#E8EAED"}
3)],-1)),(0,i.createElementVNode)("div",Zi,(0,i.toDisplayString)(a.uploaderText),1)])),(0,i.createElementVNode)("div",Pi,[(0,i.createElementVNode)("div",Ri,[(0,i.withDirectives)((0,i.createElementVNode)("input",{id:"remoteUrlInput",type:"text",placeholder:"http://www.example.com/examplefile.pdf",onfocus:"this.placeholder=''",onblur:"this.placeholder='http://www.example.com/examplefile.pdf'",class:"w-100 rounded no-border py-2 px-3 font-size-125","onUpdate:modelValue":t[0]||(t[0]=e=>r.remoteUrl=e),onKeydown:t[1]||(t[1]=(0,i.withKeys)(function(){return a.addRemoteUrl&&a.addRemoteUrl(...arguments)},["enter"]))},null,544),[[i.vModelText,r.remoteUrl,void 0,{trim:!0}]])]),r.filesUploaded.length<1?((0,i.openBlock)(),(0,i.createElementBlock)("div",$i,[a.isWebsiteToPdf?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",onClick:t[2]||(t[2]=(0,i.withModifiers)(function(){return a.openSettingsModal&&a.openSettingsModal(...arguments)},["stop","prevent"])),title:e.translate("Specify a downloader that fits your task"),class:"url-uploader-btn btn btn-lg add-example-file btn-light white-space-nowrap d-flex font-size-125 align-items-center font-weight-bold gap-10"},[t[9]||(t[9]=(0,i.createElementVNode)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M8.4 8.99536C8.4 8.33286 8.16563 7.76724 7.69688 7.29849C7.22813 6.82974 6.6625 6.59536 6 6.59536C5.3375 6.59536 4.77188 6.82974 4.30313 7.29849C3.83438 7.76724 3.6 8.33286 3.6 8.99536C3.6 9.65786 3.83438 10.2235 4.30313 10.6922C4.77188 11.161 5.3375 11.3954 6 11.3954C6.6625 11.3954 7.22813 11.161 7.69688 10.6922C8.16563 10.2235 8.4 9.65786 8.4 8.99536ZM15.6 13.7954C15.6 13.4704 15.4813 13.1891 15.2438 12.9516C15.0063 12.7141 14.725 12.5954 14.4 12.5954C14.075 12.5954 13.7938 12.7141 13.5563 12.9516C13.3188 13.1891 13.2 13.4704 13.2 13.7954C13.2 14.1266 13.3172 14.4094 13.5516 14.6438C13.7859 14.8782 14.0688 14.9954 14.4 14.9954C14.7313 14.9954 15.0141 14.8782 15.2484 14.6438C15.4828 14.4094 15.6 14.1266 15.6 13.7954ZM15.6 4.19536C15.6 3.87036 15.4813 3.58911 15.2438 3.35161C15.0063 3.11411 14.725 2.99536 14.4 2.99536C14.075 2.99536 13.7938 3.11411 13.5563 3.35161C13.3188 3.58911 13.2 3.87036 13.2 4.19536C13.2 4.52661 13.3172 4.80942 13.5516 5.0438C13.7859 5.27817 14.0688 5.39536 14.4 5.39536C14.7313 5.39536 15.0141 5.27817 15.2484 5.0438C15.4828 4.80942 15.6 4.52661 15.6 4.19536ZM12 8.14224V9.87661C12 9.93911 11.9781 10.0001 11.9344 10.0594C11.8906 10.1188 11.8406 10.1516 11.7844 10.1579L10.3313 10.3829C10.2625 10.6016 10.1625 10.8391 10.0312 11.0954C10.2438 11.3954 10.525 11.7547 10.875 12.1735C10.9188 12.2422 10.9406 12.3047 10.9406 12.361C10.9406 12.436 10.9188 12.4954 10.875 12.5391C10.7313 12.7266 10.4734 13.0063 10.1016 13.3782C9.72969 13.7501 9.48438 13.936 9.36563 13.936C9.29688 13.936 9.23125 13.9141 9.16875 13.8704L8.09063 13.0266C7.85938 13.1454 7.61875 13.2422 7.36875 13.3172C7.3 13.9922 7.22813 14.4766 7.15313 14.7704C7.10938 14.9204 7.01563 14.9954 6.87188 14.9954H5.12813C5.05938 14.9954 4.99688 14.9719 4.94063 14.9251C4.88438 14.8782 4.85313 14.8235 4.84688 14.761L4.63125 13.3266C4.41875 13.2641 4.18438 13.1672 3.92813 13.036L2.82188 13.8704C2.77813 13.9141 2.71563 13.936 2.63438 13.936C2.56563 13.936 2.5 13.911 2.4375 13.861C1.5375 13.0297 1.0875 12.5297 1.0875 12.361C1.0875 12.3047 1.10938 12.2454 1.15313 12.1829C1.21563 12.0954 1.34375 11.9297 1.5375 11.686C1.73125 11.4422 1.87813 11.2516 1.97813 11.1141C1.83438 10.8391 1.725 10.5829 1.65 10.3454L0.225 10.1204C0.1625 10.1141 0.109375 10.0844 0.065625 10.0313C0.021875 9.97818 0 9.91724 0 9.84849V8.11411C0 8.05161 0.021875 7.99067 0.065625 7.9313C0.109375 7.87192 0.159375 7.83911 0.215625 7.83286L1.66875 7.60786C1.7375 7.38911 1.8375 7.15161 1.96875 6.89536C1.75625 6.59536 1.475 6.23599 1.125 5.81724C1.08125 5.74849 1.05938 5.68599 1.05938 5.62974C1.05938 5.55474 1.08125 5.49224 1.125 5.44224C1.2625 5.25474 1.51875 4.97661 1.89375 4.60786C2.26875 4.23911 2.51562 4.05474 2.63438 4.05474C2.70312 4.05474 2.76875 4.07661 2.83125 4.12036L3.90938 4.96411C4.12188 4.85161 4.3625 4.75161 4.63125 4.66411C4.7 3.98911 4.77188 3.50786 4.84688 3.22036C4.89062 3.07036 4.98438 2.99536 5.12813 2.99536H6.87188C6.94063 2.99536 7.00313 3.0188 7.05938 3.06567C7.11563 3.11255 7.14688 3.16724 7.15313 3.22974L7.36875 4.66411C7.58125 4.72661 7.81563 4.82349 8.07188 4.95474L9.17813 4.12036C9.22813 4.07661 9.29063 4.05474 9.36563 4.05474C9.43438 4.05474 9.5 4.07974 9.5625 4.12974C10.4625 4.96099 10.9125 5.46099 10.9125 5.62974C10.9125 5.67974 10.8906 5.73911 10.8469 5.80786C10.7719 5.90786 10.6406 6.07661 10.4531 6.31411C10.2656 6.55161 10.125 6.73911 10.0312 6.87661C10.175 7.17661 10.2812 7.43286 10.35 7.64536L11.775 7.86099C11.8375 7.87349 11.8906 7.9063 11.9344 7.95942C11.9781 8.01255 12 8.07349 12 8.14224ZM18 13.1391V14.4516C18 14.5516 17.5344 14.6485 16.6031 14.7422C16.5281 14.911 16.4344 15.0735 16.3219 15.2297C16.6406 15.936 16.8 16.3672 16.8 16.5235C16.8 16.5485 16.7875 16.5704 16.7625 16.5891C16 17.0329 15.6125 17.2547 15.6 17.2547C15.55 17.2547 15.4063 17.10
379 15.1688 16.8141C14.9313 16.5204 14.7688 16.3079 14.6813 16.1766C14.5563 16.1891 14.4625 16.1954 14.4 16.1954C14.3375 16.1954 14.2438 16.1891 14.1188 16.1766C14.0313 16.3079 13.8688 16.5204 13.6313 16.8141C13.3938 17.1079 13.25 17.2547 13.2 17.2547C13.1875 17.2547 12.8 17.0329 12.0375 16.5891C12.0125 16.5704 12 16.5485 12 16.5235C12 16.3672 12.1594 15.936 12.4781 15.2297C12.3656 15.0735 12.2719 14.911 12.1969 14.7422C11.2656 14.6485 10.8 14.5516 10.8 14.4516V13.1391C10.8 13.0391 11.2656 12.9422 12.1969 12.8485C12.2781 12.6672 12.3719 12.5047 12.4781 12.361C12.1594 11.6547 12 11.2235 12 11.0672C12 11.0422 12.0125 11.0204 12.0375 11.0016C12.0625 10.9891 12.1719 10.9266 12.3656 10.8141C12.5594 10.7016 12.7438 10.5954 12.9188 10.4954C13.0938 10.3954 13.1875 10.3454 13.2 10.3454C13.25 10.3454 13.3938 10.4907 13.6313 10.7813C13.8688 11.0719 14.0313 11.2829 14.1188 11.4141C14.2438 11.4016 14.3375 11.3954 14.4 11.3954C14.4625 11.3954 14.5563 11.4016 14.6813 11.4141C15 10.9704 15.2875 10.6204 15.5438 10.3641L15.6 10.3454C15.625 10.3454 16.0125 10.5641 16.7625 11.0016C16.7875 11.0204 16.8 11.0422 16.8 11.0672C16.8 11.2235 16.6406 11.6547 16.3219 12.361C16.4281 12.5047 16.5219 12.6672 16.6031 12.8485C17.5344 12.9422 18 13.0391 18 13.1391ZM18 3.53911V4.85161C18 4.95161 17.5344 5.04849 16.6031 5.14224C16.5281 5.31099 16.4344 5.47349 16.3219 5.62974C16.6406 6.33599 16.8 6.76724 16.8 6.92349C16.8 6.94849 16.7875 6.97036 16.7625 6.98911C16 7.43286 15.6125 7.65474 15.6 7.65474C15.55 7.65474 15.4063 7.50786 15.1688 7.21411C14.9313 6.92036 14.7688 6.70786 14.6813 6.57661C14.5563 6.58911 14.4625 6.59536 14.4 6.59536C14.3375 6.59536 14.2438 6.58911 14.1188 6.57661C14.0313 6.70786 13.8688 6.92036 13.6313 7.21411C13.3938 7.50786 13.25 7.65474 13.2 7.65474C13.1875 7.65474 12.8 7.43286 12.0375 6.98911C12.0125 6.97036 12 6.94849 12 6.92349C12 6.76724 12.1594 6.33599 12.4781 5.62974C12.3656 5.47349 12.2719 5.31099 12.1969 5.14224C11.2656 5.04849 10.8 4.95161 10.8 4.85161V3.53911C10.8 3.43911 11.2656 3.34224 12.1969 3.24849C12.2781 3.06724 12.3719 2.90474 12.4781 2.76099C12.1594 2.05474 12 1.62349 12 1.46724C12 1.44224 12.0125 1.42036 12.0375 1.40161C12.0625 1.38911 12.1719 1.32661 12.3656 1.21411C12.5594 1.10161 12.7438 0.995361 12.9188 0.895361C13.0938 0.795361 13.1875 0.745361 13.2 0.745361C13.25 0.745361 13.3938 0.890674 13.6313 1.1813C13.8688 1.47192 14.0313 1.68286 14.1188 1.81411C14.2438 1.80161 14.3375 1.79536 14.4 1.79536C14.4625 1.79536 14.5563 1.80161 14.6813 1.81411C15 1.37036 15.2875 1.02036 15.5438 0.764111L15.6 0.745361C15.625 0.745361 16.0125 0.964111 16.7625 1.40161C16.7875 1.42036 16.8 1.44224 16.8 1.46724C16.8 1.62349 16.6406 2.05474 16.3219 2.76099C16.4281 2.90474 16.5219 3.06724 16.6031 3.24849C17.5344 3.34224 18 3.43911 18 3.53911Z",fill:"#2E2E2E"})],-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Settings")),1)],8,Gi)),(0,i.createElementVNode)("button",{id:"addRemoteUrlButton",class:"align-items-center url-uploader-btn btn-blue btn btn-lg font-weight-bold text-uppercase gap-10 vue-uploadbox-remote-add-button",onClick:t[3]||(t[3]=(0,i.withModifiers)(function(){return a.addRemoteUrl&&a.addRemoteUrl(...arguments)},["stop","prevent"]))},[t[10]||(t[10]=(0,i.createElementVNode)("i",{class:"fa fa-plus"},null,-1)),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(e.translate("Add")),1)])])):((0,i.openBlock)(),(0,i.createElementBlock)("div",ji,[a.isWebsiteToPdf?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("button",{key:0,type:"button",onClick:t[4]||(t[4]=(0,i.withModifiers)(function(){return a.openSettingsModal&&a.openSettingsModal(...arguments)},["stop","prevent"])),title:e.translate("Specify a downloader that fits your task"),class:"url-uploader-btn btn btn-lg add-example-file btn-light white-space-nowrap d-flex gap-10 font-size-125 align-items-center font-weight-bold"},[t[11]||(t[11]=(0,i.createElementVNode)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M8.4 8.99536C8.4 8.33286 8.16563 7.76724 7.69688 7.29849C7.22813 6.82974 6.6625 6.59536 6 6.59536C5.3375 6.59536 4.77188 6.82974 4.30313 7.29849C3.83438 7.76724 3.6 8.33286 3.6 8.99536C3.6 9.65786 3.83438 10.2235 4.30313 10.6922C4.77188 11.161 5.3375 11.3954 6 11.3954C6.6625 11.3954 7.22813 11.161 7.69688 10.6922C8.16563 10.2235 8.4 9.65786 8.4 8.99536ZM15.6 13.7954C15.6 13.4704 15.4813 13.1891 15.2438 12.9516C15.0063 12.7141 14.725 12.5954 14.4 12.5954C14.075 12.5954 13.7938 12.7141 13.5563 12.9516C13.3188 13.1891 13.2 13.4704 13.2 13.7954C13.2 14.1266 13.3172 14.4094 13.5516 14.6438C13.7859 14.8782 14.0688 14.9954 14.4 14.9954C14.7313 14.9954 15.0141 14.8782 15.2484 14.6438C15.4828 14.4094 15.6 14.1266 15.6 13.7954ZM15.6 4.19536C15.6 3.87036 15.4813 3.58911 15.2438 3.35161C15.0063 3.11411 14.725 2.99536 14.4 2.99536C14.075 2.99536 13.7938 3.11411 13.5563 3.35161C13.3188 3.58911 13.2 3.87036 13.2 4.19536C13.2 4.52661 13.3172 4.80942 13.5516 5.0438C13.7859 5.27817 14.0688 5.39536 14.4 5.39536C14.7313 5.39536 15.0141 5.27817 15.2484 5.0438C15.4828 4.80942 15.6 4.52661 15.6 4.19536ZM12 8.14224V9.87661C12 9.93911 11.9781 10.0001 11.9344 10.0594C11.8906 10.1188 11.8406 10.1516 11.7844 10.1579L10.3313 10.3829C10.2625 10.6016 10.1625 10.8391 10.0312 11.0954C10.2438 11.3954 10.525 11.7547 10.875 12.1735C10.9188 12.2422 10.9406 12.3047 10.9406 12.361C10.9406 12.436 10.9188 12.4954 10.875 12.5391C10.7313 12.7266 10.4734 13.0063 10.1016 13.3782C9.72969 13.7501 9.48438 13.936 9.36563 13.936C9.29688 13.936 9.23125 13.9141 9.16875 13.8704L8.09063 13.0266C7.85938 13.1454 7.61875 13.2422 7.36875 13.3172C7.3 13.9922 7.22813 14.4766 7.15313 14.7704C7.10938 14.9204 7.
301563 14.9954 6.87188 14.9954H5.12813C5.05938 14.9954 4.99688 14.9719 4.94063 14.9251C4.88438 14.8782 4.85313 14.8235 4.84688 14.761L4.63125 13.3266C4.41875 13.2641 4.18438 13.1672 3.92813 13.036L2.82188 13.8704C2.77813 13.9141 2.71563 13.936 2.63438 13.936C2.56563 13.936 2.5 13.911 2.4375 13.861C1.5375 13.0297 1.0875 12.5297 1.0875 12.361C1.0875 12.3047 1.10938 12.2454 1.15313 12.1829C1.21563 12.0954 1.34375 11.9297 1.5375 11.686C1.73125 11.4422 1.87813 11.2516 1.97813 11.1141C1.83438 10.8391 1.725 10.5829 1.65 10.3454L0.225 10.1204C0.1625 10.1141 0.109375 10.0844 0.065625 10.0313C0.021875 9.97818 0 9.91724 0 9.84849V8.11411C0 8.05161 0.021875 7.99067 0.065625 7.9313C0.109375 7.87192 0.159375 7.83911 0.215625 7.83286L1.66875 7.60786C1.7375 7.38911 1.8375 7.15161 1.96875 6.89536C1.75625 6.59536 1.475 6.23599 1.125 5.81724C1.08125 5.74849 1.05938 5.68599 1.05938 5.62974C1.05938 5.55474 1.08125 5.49224 1.125 5.44224C1.2625 5.25474 1.51875 4.97661 1.89375 4.60786C2.26875 4.23911 2.51562 4.05474 2.63438 4.05474C2.70312 4.05474 2.76875 4.07661 2.83125 4.12036L3.90938 4.96411C4.12188 4.85161 4.3625 4.75161 4.63125 4.66411C4.7 3.98911 4.77188 3.50786 4.84688 3.22036C4.89062 3.07036 4.98438 2.99536 5.12813 2.99536H6.87188C6.94063 2.99536 7.00313 3.0188 7.05938 3.06567C7.11563 3.11255 7.14688 3.16724 7.15313 3.22974L7.36875 4.66411C7.58125 4.72661 7.81563 4.82349 8.07188 4.95474L9.17813 4.12036C9.22813 4.07661 9.29063 4.05474 9.36563 4.05474C9.43438 4.05474 9.5 4.07974 9.5625 4.12974C10.4625 4.96099 10.9125 5.46099 10.9125 5.62974C10.9125 5.67974 10.8906 5.73911 10.8469 5.80786C10.7719 5.90786 10.6406 6.07661 10.4531 6.31411C10.2656 6.55161 10.125 6.73911 10.0312 6.87661C10.175 7.17661 10.2812 7.43286 10.35 7.64536L11.775 7.86099C11.8375 7.87349 11.8906 7.9063 11.9344 7.95942C11.9781 8.01255 12 8.07349 12 8.14224ZM18 13.1391V14.4516C18 14.5516 17.5344 14.6485 16.6031 14.7422C16.5281 14.911 16.4344 15.0735 16.3219 15.2297C16.6406 15.936 16.8 16.3672 16.8 16.5235C16.8 16.5485 16.7875 16.5704 16.7625 16.5891C16 17.0329 15.6125 17.2547 15.6 17.2547C15.55 17.2547 15.4063 17.1079 15.1688 16.8141C14.9313 16.5204 14.7688 16.3079 14.6813 16.1766C14.5563 16.1891 14.4625 16.1954 14.4 16.1954C14.3375 16.1954 14.2438 16.1891 14.1188 16.1766C14.0313 16.3079 13.8688 16.5204 13.6313 16.8141C13.3938 17.1079 13.25 17.2547 13.2 17.2547C13.1875 17.2547 12.8 17.0329 12.0375 16.5891C12.0125 16.5704 12 16.5485 12 16.5235C12 16.3672 12.1594 15.936 12.4781 15.2297C12.3656 15.0735 12.2719 14.911 12.1969 14.7422C11.2656 14.6485 10.8 14.5516 10.8 14.4516V13.1391C10.8 13.0391 11.2656 12.9422 12.1969 12.8485C12.2781 12.6672 12.3719 12.5047 12.4781 12.361C12.1594 11.6547 12 11.2235 12 11.0672C12 11.0422 12.0125 11.0204 12.0375 11.0016C12.0625 10.9891 12.1719 10.9266 12.3656 10.8141C12.5594 10.7016 12.7438 10.5954 12.9188 10.4954C13.0938 10.3954 13.1875 10.3454 13.2 10.3454C13.25 10.3454 13.3938 10.4907 13.6313 10.7813C13.8688 11.0719 14.0313 11.2829 14.1188 11.4141C14.2438 11.4016 14.3375 11.3954 14.4 11.3954C14.4625 11.3954 14.5563 11.4016 14.6813 11.4141C15 10.9704 15.2875 10.6204 15.5438 10.3641L15.6 10.3454C15.625 10.3454 16.0125 10.5641 16.7625 11.0016C16.7875 11.0204 16.8 11.0422 16.8 11.0672C16.8 11.2235 16.6406 11.6547 16.3219 12.361C16.4281 12.5047 16.5219 12.6672 16.6031 12.8485C17.5344 12.9422 18 13.0391 18 13.1391ZM18 3.53911V4.85161C18 4.95161 17.5344 5.04849 16.6031 5.14224C16.5281 5.31099 16.4344 5.47349 16.3219 5.62974C16.6406 6.33599 16.8 6.76724 16.8 6.92349C16.8 6.94849 16.7875 6.97036 16.7625 6.98911C16 7.43286 15.6125 7.65474 15.6 7.65474C15.55 7.65474 15.4063 7.50786 15.1688 7.21411C14.9313 6.92036 14.7688 6.70786 14.6813 6.57661C14.5563 6.58911 14.4625 6.59536 14.4 6.59536C14.3375 6.59536 14.2438 6.58911 14.1188 6.57661C14.0313 6.70786 13.8688 6.92036 13.6313 7.21411C13.3938 7.50786 13.25 7.65474 13.2 7.65474C13.1875 7.65474 12.8 7.43286 12.0375 6.98911C12.0125 6.97036 12 6.94849 12 6.92349C12 6.76724 12.1594 6.33599 12.4781 5.62974C12.3656 5.47349 12.2719 5.31099 12.1969 5.14224C11.2656 5.04849 10.8 4.95161 10.8 4.85161V3.53911C10.8 3.43911 11.2656 3.34224 12.1969 3.24849C12.2781 3.06724 12.3719 2.90474 12.4781 2.76099C12.1594 2.05474 12 1.62349 12 1.46724C12 1.44224 12.0125 1.42036 12.0375 1.40161C12.0625 1.38911 12.1719 1.32661 12.3656 1.21411C12.5594 1.10161 12.7438 0.995361 12.9188 0.895361C13.0938 0.795361 13.1875 0.745361 13.2 0.745361C13.25 0.745361 13.3938 0.890674 13.6313 1.1813C13.8688 1.47192 14.0313 1.68286 14.1188 1.81411C14.2438 1.80161 14.3375 1.79536 14.4 1.79536C14.4625 1.79536 14.5563 1.80161 14.6813 1.81411C15 1.37036 15.2875 1.02036 15.5438 0.764111L15.6 0.745361C15.625 0.745361 16.0125 0.964111 16.7625 1.40161C16.7875 1.42036 16.8 1.44224 16.8 1.46724C16.8 1.62349 16.6406 2.05474 16.3219 2.76099C16.4281 2.90474 16.5219 3.06724 16.6031 3.24849C17.5344 3.34224 18 3.43911 18 3.53911Z",fill:"#2E2E2E"})],-1)),(0,i.createElementVNode)("strong",null,(0,i.toDisplayString)(e.translate("Settings")),1)],8,Ii)),(0,i.createElementVNode)("button",{id:"addRemoteUrlButton",class:"url-uploader-btn align-items-center btn-lg btn-blue btn font-weight-bold gap-10 vue-uploadbox-remote-add-button",onClick:t[5]||(t[5]=(0,i.withModifiers)(function(){return a.addRemoteUrl&&a.addRemoteUrl(...arguments)},["stop","prevent"]))},[t[12]||(t[12]=(0,i.createElementVNode)("i",{class:"fa fa-plus"},null,-1)),t[13]||(t[13]=(0,i.createTextVNode)()),(0,i.createElementVNode)("strong",null,(0,i.toDisplayString)(e.translate("Add more URLs")),1)]),(0,i.createElementVNode)("button",Wi,[(0,i.createElementVNode)("strong",qi,(0,i.toDisplayString)(e.translate("Start")),1),t[14]||(t[14]=(0,i.createElementVNode)("i",{class:"fa fa-arrow-right lh-inherit uploader-submit-button"},null,-1))])]))])])}],["__scopeId","data-v-9aa83b26"]]),Ki=Qi,Ji={class:"w-100 h-100 d-flex flex-column align-items-center justify-content-center vue-uploadbox-inner-container"};var en=o(54980);const tn={name:"NoUploadView",components:{ButtonWithLoadingState:u.A},mixins:[m.A],methods:{noUploaderStart(){this.isSubmitting=!0,Di.B.emit(en.i)}},computed:{darkText(){if(window.pageConfig.uploaderTextColor)return window.pageConfig.uploaderTextColor}},data:()=>({isSubmitting:!1})},on=(0,V.A)(tn,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("ButtonWithLoadingState");return(0,i.openBlock)(),(0,i.createElementBlock)("div",Ji,[t[0]||(t[0]=(0,i.createElementVNode)("svg",{class:"mb-3",width:"64",height:"78",viewBox:"0 0 64 78",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.createElementVNode)("path",{d:"M63.2001 27.066C63.1594 26.7077 63.081 26.3548 62.9661 26.013V25.662C62.7785 25.261 62.5284 24.8924 62.2251 24.57L38.8251 1.17C38.5027 0.866643 38.1341 0.616516 37.7331 0.429C37.6166 0.412464 37.4985 0.412464 37.3821 0.429C36.9859 0.201791 36.5483 0.0559424 36.0951 0H12.5C9.39702 0 6.42108 1.23268 4.2269 3.42685C2.03272 5.62103 0.800049 8.59697 0.800049 11.7V66.3C0.800049 69.403 2.03272 72.379 4.2269 74.5732C6.42108 76.7673 9.39702 78 12.5 78H51.5001C54.6031 78 57.579 76.7673 59.7732 74.5732C61.9674 72.379 63.2001 69.403 63.2001 66.3V27.3V27.066ZM39.8001 13.299L49.9011 23.4H43.7001C42.6657 23.4 41.6737 22.9891 40.9423 22.2577C40.2109 21.5263 39.8001 20.5343 39.8001 19.5V13.299ZM55.4001 66.3C55.4001 67.3343 54.9892 68.3263 54.2578 69.0577C53.5264 69.7891 52.5344 70.2 51.5001 70.2H12.5C11.4657 70.2 10.4737 69.7891 9.74233 69.0577C9.01094 68.3263 8.60005 67.3343 8.60005 66.3V11.7C8.60005 10.6657 9.01094 9.67368 9.74233 8.94228C10.4737 8.21089 11.4657 7.8 12.5 7.8H32.0001V19.5C32.0001 22.603 33.2327 25.579 35.4269 27.7732C37.6211 29.9673 40.597 31.2 43.7001 31.2H55.4001V66.3ZM40.9311 40.131L28.1001 53.001L23.0691 47.931C22.3347 47.1966 21.3386 46.784 20.3001 46.784C19.2615 46.784 18.2654 47.1966 17.531 47.931C16.7967 48.6654 16.3841 49.6614 16.3841 50.7C16.3841 51.7386 16.7967 52.7346 17.531 53.469L25.3311 61.269C25.6936 61.6345 26.125 61.9247 26.6002 62.1227C27.0755 62.3207 27.5852 62.4226 28.1001 62.4226C28.6149 62.4226 29.1246 62.3207 29.5999 62.1227C30.0752 61.9247 30.5065 61.6345 30.8691 61.269L46.4691 45.669C47.2034 44.9346 47.616 43.9386 47.616 42.9C47.616 41.8614 47.2034 40.8654 46.4691 40.131C45.7347 39.3966 44.7386 38.984 43.7001 38.984C42.6615 38.984 41.6654 39.3966 40.9311 40.131Z",fill:"#fff"})],-1)),(0,i.createElementVNode)("span",{class:(0,i.normalizeClass)(["font-size-150 text-center px-3 mb-3",a.darkText])},(0,i.toDisplayString)(e.translate('Click on the "Start" button below to create a file from scratch.')),3),(0,i.createVNode)(l,{text:e.translate("Start"),icon:"fa fa-arrow-right lh-inherit","
3is-state-loading":r.isSubmitting,"show-icon-after-text":"true",class:"btn btn-lg submit-btn btn-blue text-uppercase white-space-nowrap mb-0 d-flex align-items-center gap-10 vue-no-upload-start-button",onClick:(0,i.withModifiers)(a.noUploaderStart,["stop","prevent"])},null,8,["text","is-state-loading","onClick"])])}]]),nn={class:"w-100 h-100 d-flex flex-column align-items-start justify-content-between pb-4"};var rn=o(26098);const an={name:"AIGenerationView",components:{TextInput:o(57384).A,TextArea:rn.A,ButtonWithLoadingState:u.A},mixins:[m.A],computed:{getTextAreaPlaceholder:()=>(0,U.T)("Describe what you want to see"),getTextInputPlaceholder:()=>(0,U.T)("Describe what you don't want to see")},data:()=>({isSubmitting:!1,prompt:"",negative_prompt:""})},ln=[{path:"/file-upload",name:"file-upload",component:Fi},{path:"/remote-url",name:"remote-url",component:Ki},{path:"/no-upload",name:"no-upload",component:on},{path:"/aigeneration",name:"aigeneration",component:(0,V.A)(an,[["render",function(e,t,o,n,r,a){const l=(0,i.resolveComponent)("TextArea"),s=(0,i.resolveComponent)("TextInput");return(0,i.openBlock)(),(0,i.createElementBlock)("div",nn,[(0,i.createVNode)(l,{modelValue:r.prompt,"onUpdate:modelValue":t[0]||(t[0]=e=>r.prompt=e),id:"inputPrompt",name:"prompt","border-class":"br-4",aiCustom:!0,skipFocus:!0,rows:"4","max-characters":4e3,label:a.getTextAreaPlaceholder,class:"mb-2 w-100 styled-text-area",type:"text"},null,8,["modelValue","label"]),(0,i.createVNode)(s,{id:"inputNegativePrompt",modelValue:r.negative_prompt,"onUpdate:modelValue":t[1]||(t[1]=e=>r.negative_prompt=e),"border-class":"br-4",aiCustom:!0,type:"text",name:"negative_prompt",label:a.getTextInputPlaceholder,class:"w-100 styled-text-input"},null,8,["modelValue","label"])])}],["__scopeId","data-v-4b36a158"]])}],sn=(0,Q.aE)({history:(0,Q.sC)(),routes:ln});function dn(){let e="default";(0,N.gN)(globalThis.pageConfig?.uploaderMode)&&(e=globalThis.pageConfig.uploaderMode);let t="bg-main-5";(0,N.gN)(globalThis.pageConfig?.uploaderBackground)&&(t=globalThis.pageConfig.uploaderBackground);let o="";(0,N.gN)(globalThis.pageConfig?.uploaderTextColor)&&(o=globalThis.pageConfig.uploaderTextColor),(0,i.createApp)(X,{mode:e,background:t,uploaderTextColor:o}).use(sn).use((0,h.r2)()).mount("#vue-uploadbox")}}}]); 4//# debugId=61c98cc6-f57d-5625-b5e6-ccd84badccfe
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.