1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4540],{55281:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/subscription",function(){return i(59069)}])},90227:function(e,n,i){"use strict";i.d(n,{Z:function(){return m}});var t=i(828),r=i(85893),s=i(60357),a=i.n(s),o=i(67294),l=i(5152),d=i.n(l),c=i(11163),u=i(60253),f=i(32427),x=i(67265),h=i(36847),p=i(61164),j=(0,f.Z)((function(e){return{root:{position:"absolute",top:"0",left:"0",transition:e.transitions.create(["opacity"],{duration:500})}}})),v=o.forwardRef((function(e,n){var i=e.user,s=(0,u.$G)().t,l=j(),d=(0,t.Z)((0,p.o)(),1)[0].isIntersectionObserverEnabled,c=o.useRef(null),f=(0,t.Z)(o.useState(!0),2),v=f[0],b=f[1],Z="";!(null===i||void 0===i?void 0:i.DeletedAt)&&(null===i||void 0===i?void 0:i.Img)&&(Z="".concat("https://api.baskadia.com","/static/").concat(i.Img));var m=o.useMemo((function(){return!(null===i||void 0===i?void 0:i.DeletedAt)&&(null===i||void 0===i?void 0:i.Name)?i.Name.charAt(0).toUpperCase():(0,r.jsx)(h.Z,{style:{color:"#fff"}})}),[null===i||void 0===i?void 0:i.DeletedAt,null===i||void 0===i?void 0:i.Name]);return o.useEffect((function(){if(d&&Z&&v){var e=c.current;if(e){var n,i=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&((n=new Image).src=Z,n.onload=function(){b(!1)})}))}),{root:null,rootMargin:"400px",threshold:0});return i.observe(e),function(){i.unobserve(e),n&&(n.onload=null)}}}}),[d,v,Z]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{ref:n,className:"jsx-8d5dcff28671bcd4 container",children:[(0,r.jsx)(x.Z,{ref:c,src:v?"":Z,alt:(null===i||void 0===i?void 0:i.Name)||s("guest"),children:m}),(0,r.jsx)(x.Z,{classes:l,style:{opacity:v?1:0},children:m})]}),(0,r.jsx)(a(),{id:"8d5dcff28671bcd4",children:".container.jsx-8d5dcff28671bcd4{display:inline-block;position:relative}"})]})})),b=i(57308),Z=d()((function(){return Promise.all([i.e(2387),i.e(4041),i.e(1915)]).then(i.bind(i,61915))}),{loadableGenerated:{webpack:function(){return[61915]}},ssr:!1}),m=o.forwardRef((function(e,n){var i=e.user,s=e.style,l=e.onUserUpdate,d=(0,c.useRouter)().pathname,u=o.useRef(null),f=(0,t.Z)(o.useState(!1),2),x=f[0],h=f[1],p=(0,t.Z)(o.useState(!1),2),j=p[0],m=p[1],g="/user/[uid]"===d,y=o.useMemo((function(){return!(null===i||void 0===i?void 0:i.DeletedAt)&&(null===i||void 0===i?void 0:i.ID)?"/user/".concat(i.ID.toString(36)):""}),[null===i||void 0===i?void 0:i.DeletedAt,null===i||void 0===i?void 0:i.ID]),w=o.useMemo((function(){return!y||d.indexOf("/preview")>0}),[y,d]),k=o.useCallback((function(){h(!0),m(!0)}),[]),N=o.useCallback((function(){return m(!1)}),[]);return w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:n,style:s,className:"jsx-da756dcad42200a2 container",children:(0,r.jsx)(v,{user:i})}),(0,r.jsx)(a(),{id:"da756dcad42200a2",children:".container.jsx-da756dcad42200a2{display:inline-block}"})]}):g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:n,style:s,className:"jsx-da756dcad42200a2 container",children:(0,r.jsx)(b.Z,{href:y,style:{display:"block"},children:(0,r.jsx)(v,{user:i})})}),(0,r.jsx)(a(),{id:"da756dcad42200a2",children:".container.jsx-da756dcad42200a2{display:inline-block}"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{ref:n,style:s,onClick:function(e){return e.stopPropagation()},onMouseEnter:k,onMouseLeave:N,className:"jsx-c5660aab1142f778 container",children:[(0,r.jsx)(b.Z,{href:y,style:{display:"block"},children:(0,r.jsx)(v,{ref:u,user:i})}),x&&(0,r.jsx)(Z,{user:i,open:j,anchorEl:u.current,onClose:N,onUserUpdate:l})]}),(0,r.jsx)(a(),{id:"c5660aab1142f778",children:".container.jsx-c5660aab1142f778{display:inline-block}"})]})}))},62284:function(e,n,i){"use strict";var t=i(14924),r=i(26042),s=i(85893),a=i(67294),o=i(32427),l=i(43832),d=(0,o.Z)((function(e){return{root:(0,t.Z)({},e.breakpoints.down("xs"),{paddingRight:"8px",paddingLeft:"8px"})}})),c=a.forwardRef((function(e,n){var i=d();return(0,s.jsx)(l.Z,(0,r.Z)({ref:n,classes:i,fixed:!0,maxWidth:"sm"},e))}));n.Z=c},86263:function(e,n,i){"use strict";var t=i(14924),r=i(26042),s=i(85893),a=i(67294),o=i(32427),l=i(41749),d=(0,o.Z)((function(e){return{root:(0,t.Z)({width:"calc(100% + 16px)",margin:"-8px"},e.breakpoints.down("xs"),{width:"calc(100% + 8px)",margin:"-4px"})}})),c=a.forwardRef((function(e,n){var i=d();return(0,s.jsx)(l.Z,(0,r.Z)({ref:n,classes:i,container:!0,justifyContent:"center"},e))}));n.Z=c},73844:function(e,n,i){"use strict";var t=i(14924),r=i(26042),s=i(85893),a=i(67294),o=i(32427),l=i(41749),d=(0,o.Z)((function(e){return{root:(0,t.Z)({padding:"8px"},e.breakpoints.down("xs"),{padding:"4px"})}})),c=a.forwardRef((function(e,n){var i=d();return(0,s.jsx)(l.Z,(0,r.Z)({ref:n,classes:i,item:!0,xs:12},e))}));n.Z=c},59069:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSG:function(){return y}});var t=i(85893),r=i(60357),s=i.n(r),a=(i(67294),i(9008)),o=i.n(a),l=i(60253),d=i(8936),c=i(7885),u=i(18463),f=i(79912),x=i(89738),h=i(86263),p=i(73844),j=i(58365),v=i(22318),b=i(13048),Z=i(90227),m=i(62284),g=i(57308),y=!0;n.default=function(){var e=(0,b.Z)("/auth/subscription?role=buyer").data,n=(0,l.$G)().t;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o(),{children:(0,t.jsx)("title",{className:"jsx-e11b881a7f3e00f9",children:"Baskadia"})}),(0,t.jsx)(m.Z,{style:{margin:"16px auto"},children:(0,t.jsxs)(h.Z,{children:[(0,t.jsx)(p.Z,{children:(0,t.jsxs)(c.Z,{style:{padding:"0 8px"},children:[(0,t.jsx)(g.Z,{href:"/home",textLink:!0,children:n("home")}),(0,t.jsx)(v.Z,{children:n("subscription")})]})}),!e&&Array.from(Array(10).keys()).map((function(e){return(0,t.jsx)(p.Z,{children:(0,t.jsxs)("div",{className:"jsx-e11b881a7f3e00f9 skeleton",children:[(0,t.jsx)(j.Z,{variant:"circle",width:40,height:40}),(0,t.jsxs)("div",{className:"jsx-e11b881a7f3e00f9",children:[(0,t.jsx)(v.Z,{children:(0,t.jsx)(j.Z,{variant:"text",width:"100%"})}),(0,t.jsx)(v.Z,{children:(0,t.jsx)(j.Z,{variant:"text",width:"50%"})})]})]})},e)})),e&&!e.length&&(0,t.jsx)(p.Z,{children:(0,t.jsx)(d.Z,{severity:"info",variant:"filled",children:n("there-are-no-subscriptions")})}),(e||[]).map((function(e){var i;return(0,t.jsx)(p.Z,{children:(0,t.jsxs)(u.Z,{style:{position:"relative"},children:[(0,t.jsx)(g.Z,{href:"/auth/subscription/".concat(e.ID||0),children:(0,t.jsx)(x.Z,{children:(0,t.jsxs)(f.Z,{style:{paddingLeft:"72px"},children:[(0,t.jsx)(v.Z,{noWrap:!0,style:{fontWeight:"bold"},children:(null===(i=e.Seller)||void 0===i?void 0:i.Name)||n("guest")}),(0,t.jsxs)(v.Z,{variant:"body2",children:[n(e.CurrentPlan||"")," $",((e.CurrentPrice||0)/100).toLocaleStr
1ing()," "]}),(0,t.jsx)(v.Z,{variant:"body2",children:e.CancelAtPeriodEnd?n("scheduled-to-be-canceled"):n(e.Status||"")})]})})}),(0,t.jsx)(Z.Z,{user:e.Seller,style:{position:"absolute",top:"20px",left:"16px"}})]})},e.ID)}))]})}),(0,t.jsx)(s(),{id:"e11b881a7f3e00f9",children:".skeleton.jsx-e11b881a7f3e00f9{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:18px}.skeleton.jsx-e11b881a7f3e00f9>div.jsx-e11b881a7f3e00f9{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding-left:18px}"})]})}}},function(e){e.O(0,[8652,8099,9774,2888,179],(function(){return n=55281,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.