(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6107],{91823:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/share/public_paths/embed/[...id]",function(){return n(92654)}])},92654:function(e,i,n){"use strict";n.r(i),n.d(i,{__N_SSP:function(){return _},default:function(){return f}});var r=n(26042),t=n(85893),s=n(99138),a=n(41664),l=n.n(a),d=n(29794),o=n(32627),c=n(76087),u=n(3066),h=n(16284),p=n(58742),x=n(9774),_=!0;function f(e){var i=e.id,n=e.project_id,a=e.path,_=e.relativePath,f=e.contents,j=e.error,v=e.customize;return(0,u.Z)(i),null==i?(0,t.jsx)(c.Z,{style:{fontSize:"30px"}}):(0,t.jsx)(p.l,{value:v,children:(0,t.jsxs)(h.c,{title:(0,x.YQ)({path:a,relativePath:_}),children:[(0,t.jsx)("div",{style:{backgroundColor:"white",display:"inline-block",padding:"0 5px",margin:"5px",width:"100%"},children:(0,t.jsx)(o.Z,{id:i,path:a,project_id:n,relativePath:_,isDir:!!(null===f||void 0===f?void 0:f.isdir),exclude:new Set(["embed"])})}),null!=f&&(0,t.jsx)(d.Z,(0,r.Z)({id:i,relativePath:_,path:a},f)),null!=j&&(0,t.jsx)(s.Z,{showIcon:!0,type:"error",style:{maxWidth:"700px",margin:"30px auto"},message:"Error loading file",description:(0,t.jsxs)("div",{children:['There was a problem loading "',_,'" in'," ",(0,t.jsx)(l(),{href:"/share/public_paths/".concat(i),children:(0,t.jsxs)("a",{children:[a,"."]})}),(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),j]})})]})})}}},function(e){e.O(0,[5386,9553,5232,3142,1154,3662,4491,4089,549,4046,6994,2579,8925,3488,3018,6026,9965,2307,5117,3414,9995,5813,9499,7317,9066,6735,5379,8572,2032,7478,9774,2888,179],(function(){return i=91823,e(e.s=i);var i}));var i=e.O();_N_E=i}]);