1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9907],{36:(e,r,i)=>{i.d(r,{A:()=>x});var l=i(5155),a=i(1811);let n={name:"keyboard",size:24,node:[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]};n.node;let s=(0,a.A)(n);i(2115);var d=i(6062),t=i(2853),o=i(9357),c=i(2378),h=i(9345),u=i(260);function x({directLink:e,isCopied:r,onCopy:i}){return e?(0,l.jsxs)(d.A,{grow:!0,gap:4,width:{s:"100%"},children:[(0,l.jsxs)(c.A,{children:[(0,l.jsx)(c.A.Label,{children:"Direct link"}),(0,l.jsx)(h.A,{name:"direct-link",value:e,className:"h-24",resize:"none"})]}),(0,l.jsx)(u.A,{fullWidth:!0,variant:"solid",onClick:i,children:r?"Copied!":"Copy"})]}):(0,l.jsx)(d.A,{grow:!0,width:{s:"100%"},align:"center",children:(0,l.jsxs)(d.A,{align:"center",width:48,gap:2,children:[(0,l.jsx)(t.A,{size:5,color:"neutral-faded",svg:(0,l.jsx)(s,{})}),(0,l.jsx)(o.A,{color:"neutral-faded",align:"center",className:"leading-tight",children:"The generated link will be displayed here."})]})})}},5488:(e,r,i)=>{i.d(r,{A:()=>n});var l=i(3904),a=i(2115);let n=e=>{let r=e=>{switch(e){case"dropbox":return"Dropbox";case"google":return"Google Drive";case"onedrive":return"OneDrive";case"box":return"Box"}},i={EMPTY_LINK:`Please enter a ${r(e)} share link`,INVALID_LINK:`Invalid ${r(e)} share link`},[n,s]=a.useState({shareLink:"",directLink:"",hasError:!1,errorMessage:"",isCopied:!1}),[,d]=(0,l.Cj)(),t=(0,a.useCallback)(e=>{s(r=>({...r,hasError:!0,errorMessage:e,directLink:""}))},[]),o=(0,a.useCallback)(()=>{s(e=>({...e,hasError:!1,errorMessage:""}))},[]),c=(0,a.useCallback)(e=>{s(r=>({...r,shareLink:e})),o()},[o]),h=(0,a.useCallback)(()=>{s({shareLink:"",directLink:"",hasError:!1,errorMessage:"",isCopied:!1})},[]),u={dropbox:e=>{if(e.includes("https://www.dropbox.com")&&e.includes("dl=0")){let r="";return e.includes("/scl/fo/")||e.includes("/scl/fi/")?r=e.replace(/(&dl=)[0-9]/,"&dl=1"):e.includes("/s/")&&(r=e.replace(/(\?dl=)[0-9]/,"?dl=1")),{link:r,error:!1}}return{link:"",error:!0}},google:e=>{let r=e.match(/\/file\/d\/([^/]+)/)?.[1];return r?{link:`https://drive.google.com/uc?export=download&id=${r}`,error:!1}:{link:"",error:!0}},onedrive:e=>
1{let r=e.match(/^https?:\/\/1drv\.ms\/[a-z]+\/([sS]![^?]+)/);if(r){let e=r[1];return{link:`https://api.onedrive.com/v1.0/shares/${e}/root/content`,error:!1}}return e.includes("onedrive.live.com")?{link:e.replace(/redir\?resid=([^&]+)&authkey=[^&]+/,"download?resid=$1"),error:!1}:{link:"",error:!0}},box:e=>{let r=e.match(/^https?:\/\/app\.box\.com\/file\/(\d+)\?s=([a-zA-Z0-9]+)$/);if(r){let e=`f_${r[1]}`,i=r[2];return{link:`https://app.box.com/index.php?rm=box_download_shared_file&shared_name=${i}&file_id=${e}`,error:!1}}return{link:"",error:!0}}},x=(0,a.useCallback)(()=>{n.directLink&&(d(n.directLink),s(e=>({...e,isCopied:!0})),setTimeout(()=>{s(e=>({...e,isCopied:!1}))},2e3))},[n.directLink,d]);return{...n,handleShareLinkChange:c,handleClear:h,handleGenerate:()=>{if(n.shareLink.trim()){var r;let l,a=(r=(r=n.shareLink).trim().replace(/\/$/,""),(l=u[e])?l(r):{link:"",error:!0});a.error?t(i.INVALID_LINK):s(e=>({...e,directLink:a.link,hasError:!1,errorMessage:"",isCopied:!1}))}else t(i.EMPTY_LINK)},handleCopy:x}}},6378:(e,r,i)=>{i.d(r,{A:()=>o});var l=i(5155);i(2115);var a=i(6266),n=i(6062),s=i(2378),d=i(9345),t=i(260);function o({shareLink:e,hasError:r,label:i,placeholder:c,errorMessage:h,onShareLinkChange:u,onClear:x,onGenerate:p}){let{ref:g}=(0,a.A)({"Meta + Enter":p},[e]);return(0,l.jsxs)(n.A,{direction:"column",gap:4,grow:!0,width:{s:"100%"},children:[(0,l.jsxs)(s.A,{hasError:r,children:[(0,l.jsx)(s.A.Label,{children:i}),(0,l.jsx)(d.A,{name:"share-link",placeholder:c,className:"h-24",resize:"none",value:e,onChange:({value:e})=>u(e),attributes:{ref:g}}),r&&(0,l.jsx)(s.A.Error,{children:h})]}),(0,l.jsxs)(n.A,{width:"100%",direction:"row",gap:4,children:[(0,l.jsx)(n.A.Item,{grow:!0,children:(0,l.jsx)(t.A,{fullWidth:!0,variant:"outline",onClick:x,children:"Clear"})}),(0,l.jsx)(n.A.Item,{grow:!0,children:(0,l.jsx)(t.A,{fullWidth:!0,variant:"solid",onClick:p,children:"Generate"})})]})]})}},7018:(e,r,i)=>{i.d(r,{A:()=>a});var l=i(5155);i(2115);let a=({children:e})=>(0,l.jsx)("span",{className:"font-mono bg-neutral-faded rounded-lg px-1 py-0.5",children:e})},9237:(e,r,i)=>{i.d(r,{A:()=>o});var l=i(5155),a=i(8500),n=i.n(a);i(2115);var s=i(4937),d=i(6062),t=i(9357);let o=function({title:e,description:r,showToolPath:i=!0,toolName:a}){return(0,l.jsxs)(d.A,{width:"100%",paddingTop:16,paddingBottom:16,direction:"column",justify:{s:"start",m:"center"},children:[i&&(0,l.jsxs)(d.A,{direction:"row",justify:"center",gap:1,children:[(0,l.jsx)(n(),{href:"/",children:(0,l.jsx)(t.A,{variant:"body-2",color:"neutral-faded",children:"Tools /"})}),a&&(0,l.jsx)(t.A,{variant:"body-2",color:"neutral",children:a})]}),(0,l.jsxs)(d.A,{paddingBlock:6,gap:2,children:[(0,l.jsx)(t.A,{variant:{s:"featured-6",m:"featured-5"},weight:"medium",align:"center",as:"h1",color:"neutral",children:(0,l.jsx)(s.default,{children:e||"Cloud Storage Tools"})}),(0,l.jsx)(t.A,{align:"center",weight:"regular",variant:{s:"body-1",m:"featured-6"},color:"neutral-faded",as:"h2",children:(0,l.jsx)(s.default,{children:r||"A suite of tools for all your cloud storage."})})]})]})}},9247:(e,r,i)=>{i.d(r,{A:()=>c});var l=i(5155),a=i(5772);i(2115);var n=i(6062),s=i(9357),d=i(3858),t=i(6999);function o({title:e,items:r}){return(0,l.jsxs)(n.A,{gap:6,children:[(0,l.jsx)(s.A,{variant:"featured-6",children:e}),(0,l.jsx)("ol",{className:"flex flex-col gap-6",children:r.map((e,i)=>(0,l.jsxs)("li",{className:"flex gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsx)(d.A,{size:"large",rounded:!0,children:e.id}),i<r.length-1&&(0,l.jsx)("div",{className:"mt-2 w-px flex-1 bg-neutral-faded"})]}),(0,l.jsx)(t.A,{padding:6,className:"min-w-0 flex-1",children:(0,l.jsxs)(n.A,{direction:"column",gap:4,children:[e.imageUrl&&(0,l.jsx)(n.A,{children:(0,l.jsx)(a.default,{src:e.imageUrl,alt:`Step ${e.id}`,width:0,height:0,sizes:"100vw",className:"w-full h-auto rounded-md",draggable:"false"})}),(0,l.jsx)(s.A,{variant:"body-1",children:e.content})]})})]},e.id))})]})}function c({sections:e}){return(0,l.jsx)(n.A,{paddingTop:20,align:"start",gap:12,width:{l:"80%"},as:"section",children:e.map(e=>(0,l.jsx)(n.A,{width:"100%",children:"timeline"===e.type?(0,l.jsx)(o,{title:e.title,items:e.content}):(0,l.jsxs)(n.A,{gap:4,children:[(0,l.jsx)(s.A,{variant:"featured-6",as:"h3",children:e.title}),(0,l.jsx)(s.A,{variant:"body-1",as:"p",children:e.content})]})},e.id))})}}}]);
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.