1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3494],{78200:function(e,_,t){"use strict";t.d(_,{Z:function(){return s}});var o=t(46568),c=t.n(o),r=t(36048),n=t(61709),i=(t(11163),t(71829),t(67294)),l=t(85893);function s(e){(0,n.K)();var _,t=(0,i.useState)(!1),o=t[0],s=t[1];return(0,i.useEffect)((function(){"giftCert"!==e.good.shortName?s(!1):"giftCert"===e.good.shortName&&s(!0)}),[e.good.shortName]),(0,l.jsxs)("div",{className:c().block,children:[(0,l.jsx)("div",{className:c().block__container,children:(0,l.jsxs)("div",{className:c().block__text,children:[(0,l.jsx)("div",{className:c().block__title,children:e.title}),(0,l.jsx)("ul",{className:c().block__content,onChange:function(){s(!o)},style:{paddingLeft:o?"0px":"27px"},children:null===(_=e.text)||void 0===_?void 0:_.map((function(_,t){return(0,l.jsxs)(i.Fragment,{children:["giftCert"!==e.good.shortName&&(0,l.jsx)("li",{children:_},t),"giftCert"===e.good.shortName&&(0,l.jsx)("div",{children:_},t)]},t)}))}),(0,l.jsx)(r.o6,{good:e.good,text:e.buttonText,onClick:e.onDownload})]})}),(0,l.jsx)("div",{className:c().block__img,children:(0,l.jsx)("div",{className:c().block__imgContainer,children:(0,l.jsx)("img",{src:"https://static.joyteka.com/files/".concat(e.img)})})})]})}},77160:function(e,_,t){"use strict";t.d(_,{G:function(){return n},O:function(){return i}});var o=t(98691),c=t.n(o),r=t(85893);function n(e){var _={width:e.width||120,height:e.height||120},t={borderWidth:e.borderWidth||8,borderColor:"".concat(e.borderColor||"#006666"," transparent transparent transparent")};return(0,r.jsxs)("div",{className:c().loaderCircle,style:_,children:[(0,r.jsx)("div",{style:t}),(0,r.jsx)("div",{style:t}),(0,r.jsx)("div",{style:t}),(0,r.jsx)("div",{style:t})]})}function i(e){return(0,r.jsx)("div",{className:c().loaderFullScreen,children:(0,r.jsx)(n,{})})}},2781:function(e,_,t){"use strict";t.d(_,{_f:function(){return n},Y8:function(){return i},Ms:function(){return l},Jg:function(){return s}});var o=t(50323),c=t.n(o),r=t(85893);function n(e){return(0,r.jsx)("div",{className:"".concat(c().bigselector," \n ").concat(!0===e.checked?c().bigselector_checked:"","\n ").concat(!0===e.hover?c().bigselector_hover:"","\n "),children:(0,r.jsx)("div",{className:"".concat(c().bigselector__check)})})}function i(e){return(0,r.jsxs)("div",{className:"".concat(c().radio," ").concat(e.selected?c().radio_selected:""),children:[(0,r.jsx)("div",{className:"".concat(c().radio__selector),children:(0,r.jsx)("div",{className:c().radio__outerCircle,children:e.selected&&(0,r.jsx)("div",{className:c().radio__innerCircle})})}),e.text&&(0,r.jsx)("div",{className:c().radio__text,children:e.text})]})}function l(e){return(0,r.jsx)("div",{className:"".concat(c().radioSelector," ").concat(e.fullSize?c().radioSelectorFullSize:""),onClick:e.onClick,children:(0,r.jsx)("div",{className:"".concat(e.selected?c().radioSelector__selected:c().radioSelector__unselected)})})}function s(e){return(0,r.jsxs)("div",{onClick:e.onClick?e.onClick:function(){},className:"".concat(c().checkbox," ").concat(e.selected?c().checkbox_selected:""," ").concat(e.disabled?c().checkbox_disabled:""),children:[(0,r.jsx)("div",{className:"".concat(c().checkbox__selector),children:(0,r.jsx)("div",{className:c().checkbox__box,children:e.selected&&(0,r.jsx)("img",{src:"/components/selectors/checked.svg"})})}),e.text&&(0,r.jsx)("div",{className:c().checkbox__text,children:e.text})]})}},45692:function(e,_,t){"use strict";t.r(_),t.d(_,{default:function(){return p}});var o=t(80318),c=(t(78200),t(99213)),r=t(32359),n=t(29667),i=t.n(n),l=(t(36048),t(11163)),s=t(71829),a=t(67294),d=t(61709),u=t(9008),b=t(81993),x=(t(2781),t(72730),t(72744),t(27991),t(77160)),h=t(85893);function p(){(0,l.useRouter)();var e=(0,b.P)(),_=(0,o.Z)(e,2),t=_[0],n=(_[1],(0,d.K)(),(0,a.useState)(!0)),p=n[0],f=n[1],k=(0,a.useState)(!1),m=k[0],g=k[1];(0,a.useEffect)((function(){f(!1)}));return(0,a.useEffect)((function(){t&&!m&&new Promise((function(e,_){fetch("/api/db/getGiftCertOrders",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({userId:t._id})}).then((function(e){return e.json()})).then((function(_){console.log("certOrders = ",_),g(!0),e(_)}
1)).catch((function(e){console.error(e)}))}))}),[t]),(0,h.jsx)(h.Fragment,{children:p?(0,h.jsx)("div",{className:i().loadingCircle,children:(0,h.jsx)(x.G,{})}):(0,h.jsxs)("div",{className:"container",children:[(0,h.jsxs)(u.default,{children:[(0,h.jsxs)("title",{children:[s.f.projectName," \u2013"]}),(0,h.jsx)("meta",{property:"og:title",content:"".concat(s.f.projectName," \u2013 ")},"ogTitle"),(0,h.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},"viewport"),(0,h.jsx)("script",{src:"".concat(s.L1.baseURL.href,"scripts/pixi-legacy.min.js")})]}),(0,h.jsx)("main",{children:(0,h.jsxs)("div",{className:i().info,children:[(0,h.jsx)(c.l,{}),(0,h.jsx)("div",{className:i().certBlock,children:!m&&(0,h.jsx)(x.G,{width:64,height:64,borderWidth:4,borderColor:"#cccccc"})}),(0,h.jsx)(r.$_,{})]})})]})})}},3598:function(e,_,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/goods/getGiftSert",function(){return t(45692)}])},46568:function(e){e.exports={block:"info-block_block__1A0TF",block__container:"info-block_block__container__3drWb",block__text:"info-block_block__text__WNxbx",block__title:"info-block_block__title__1NtD2",block__content:"info-block_block__content__28xfG",block__button:"info-block_block__button__1WpO0",block__img:"info-block_block__img__7Mhql",block__imgContainer:"info-block_block__imgContainer__33pf1"}},98691:function(e){e.exports={loaderCircle:"Loaders_loaderCircle__3OEhq",loaderFullScreen:"Loaders_loaderFullScreen__31Zne"}},50323:function(e){e.exports={bigselector:"Selectors_bigselector__bXbla",bigselector__check:"Selectors_bigselector__check__3jQsp",bigselector_checked:"Selectors_bigselector_checked__28c1p",bigselector_hover:"Selectors_bigselector_hover__3PBKd",radio:"Selectors_radio__2ZU9U",radio__selector:"Selectors_radio__selector__29plj",radio__outerCircle:"Selectors_radio__outerCircle__1r4df",radio__innerCircle:"Selectors_radio__innerCircle__2-lFF",radio_selected:"Selectors_radio_selected__3Fova",radio__text:"Selectors_radio__text__3IFxb",radioSelector:"Selectors_radioSelector__2owii",radioSelectorFullSize:"Selectors_radioSelectorFullSize__1lSF_",radioSelector__unselected:"Selectors_radioSelector__unselected__3PDrU",radioSelector__selected:"Selectors_radioSelector__selected__2TlJw",checkbox:"Selectors_checkbox__25Ywr",checkbox__selector:"Selectors_checkbox__selector__1UF4f",checkbox__box:"Selectors_checkbox__box__31GsR",checkbox_selected:"Selectors_checkbox_selected__2jyZn",checkbox_disabled:"Selectors_checkbox_disabled__yKpYb",checkbox__text:"Selectors_checkbox__text__1I-aW"}},29667:function(e){e.exports={loading:"_product__loading__3lgxM",info:"_product__info__3RN7F",roboBanner:"_product__roboBanner__LH7H-",roboPopup:"_product__roboPopup__nTOJS",roboPopup__title:"_product__roboPopup__title__34NpQ",roboPopup__text:"_product__roboPopup__text__2sjR9",about:"_product__about__3EUPw",about__block:"_product__about__block__1MzzA",about__line:"_product__about__line__147PL",about__info:"_product__about__info__38hE6",about__title:"_product__about__title__1TYMP",about__text:"_product__about__text__1nMzR",about__component:"_product__about__component__2LmMb",about__download:"_product__about__download__1f-LD",about__price:"_product__about__price__BmGMB",about__priceTextUp:"_product__about__priceTextUp__1DZ7H",about__priceTextUnder:"_product__about__priceTextUnder__-BKHh",span:"_product__span__3s1aB",about__buyButton:"_product__about__buyButton__3DX3T",about__otherPayment:"_product__about__otherPayment__3ys-j",about__rate:"_product__about__rate__2O2tf",about__captionText:"_product__about__captionText__2oPPV",about__tariffBlock:"_product__about__tariffBlock__1WVnD",about__select:"_product__about__select__242Vq",about__select__firstColumn:"_product__about__select__firstColumn__3Euod",about__selectRate:"_product__about__selectRate__1RtQG",about__select__secondColumn:"_product__about__select__secondColumn__2gX9Y",about__selectText:"_product__about__selectText__37KRw",container:"_product__container__KL37r",canvas:"_product__canvas__1eAT8",loadingCircle:"_product__loadingCircle__31apH",certBlock:"_product__certBlock__WTQLV",certReady:"_product__certReady__36nnM",certReady__title:"_product__certReady__title__Bg9Vg",certReady__download:"_product__certReady__download__3h26O"}},9008:function(e,_,t){e.exports=t(70639)},42480:function(){},19527:function(){},69331:function(){},69862:function(){},40964:function(){}},function(e){e.O(0,[9774,4962,7013,1111,5977,112,4186,8362,251,4529,6075,8214,5508,5511,4056,9806,980,6401,2359,2730,4619,2888,179],(function(){return _=3598,e(e.s=_);var _}));var _=e.O();_N_E=_}]);
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.