PageSourceSearch

https://web.tankhahgardan.com/static/js/91.3aeef9fe.chunk.js

js tankhahgardan.com collected 2026-10-02 00:42:53 UTC 34,213 bytes, 2 lines download raw bytes

1(this.webpackJsonpmapsa=this.webpackJsonpmapsa||[]).push([[91],{1005:function(n,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"a",(function(){return i}));var a=t(15),r=function(n,e,t){return(1===n.length?o(n[0],e):n.reduce((function(n,r){var o=0;if(n&&!isNaN(n[e])&&r&&!isNaN(r[e]))switch(o=n[e],t){case"-":o-=r[e];break;case"+":o+=r[e]}return Object(a.a)({},e,o)}))[e]).toLocaleString("fa")},o=function(n,e){return n&&n[e]?n[e]:0},i=function(n,e){var t=n.location.state;return t&&t[e]?t[e]:""}},1070:function(n,e,t){"use strict";t.d(e,"a",(function(){return a}));var a=function(n){return((n=r(n)).match(/(\+98|0)[0-9]{2,}[0-9]{7,}/g)||[]).forEach((function(e){n=n.replace(e,'<a style="unicode-bidi: plaintext" href="tel:'.concat(e,'">').concat(e,"</a>"))})),n},r=function(n){n=n.toString();for(var e=0;e<n.length;e++)for(var t=n.indexOf(n[e]),a=n[e].length+t,r=n.substring(0,t),c=n.substring(t,a),l=n.substring(a,n.length+a),s=0;s<o.length;s++)n[e].toString()===o[s].toString()&&-1!==t&&(c=i[s],n=r.toString()+c.toString()+l.toString());return n},o=["\u06f0","\u06f1","\u06f2","\u06f3","\u06f4","\u06f5","\u06f6","\u06f7","\u06f8","\u06f9","\u06f0","\u0661","\u0662","\u0663","\u0664","\u0665","\u0666","\u0667","\u0668","\u0669"],i=["0","1","2","3","4","5","6","7","8","9","0","1","2","3","4","5","6","7","8","9"]},1159:function(n,e,t){"use strict";t.r(e);var a=t(1),r=t(3),o=t.n(r),i=t(24),c=t(6),l=t(65),s=t(13),u=t(14),m=t(4);function d(){var n=Object(s.a)(["\n  border-radius: 4px;\n  -webkit-box-shadow: 0 0 4px 0 #ccc;\n  -moz-box-shadow: 0 0 4px 0 #ccc;\n  box-shadow: 0 0 4px 0 #ccc;\n  min-width: 448px;\n  min-height: 416px;\n  margin-top: 8px;\n  padding: 12px 32px;\n  height: calc(100% - 43px - 64px);\n  max-width: 100%;\n  //max-width: calc(100vw - 8px);\n"]);return d=function(){return n},n}function f(){var n=Object(s.a)(["\n  width: 100%;\n  display: flex;\n  justify-content: flex-start;\n  align-items: center;\n  flex-direction: column;\n  height: ",";\n  max-width: 100vw;\n  padding: 10px;\n  .purchase-h1 {\n    width: 100%;\n    margin: 0 auto 8px auto;\n    text-align: center;\n    font-weight: ",";\n  }\n"]);return f=function(){return n},n}var p=u.b.div(f(),(function(n){return n.fullPageHeight?"100vh":""}),m.a.font_weight.medium),g=u.b.div(d());function x(){var n=Object(s.a)(["\n  height: 43px;\n  width: calc(100% - 32px);\n  margin: 16px;\n  display: flex;\n  align-items: center;\n  position: relative;\n  &>.title{\n    width: 100%;\n    text-align: center;\n    right: 0;\n    z-index: -1;\n    position: absolute;\n    font-size: ",";\n    color: ",";\n  }\n"]);return x=function(){return n},n}var _=u.b.header(x(),m.a.font_sizes.x4_large,m.a.colors.complementary_700),h=t(155),b=t(217),w=function(n){return o.a.createElement(_,null,o.a.createElement(b.a,{noLabel:!0}),o.a.createElement(h.a,{onClick:function(){window.location.href="/"}}),o.a.createElement("div",{className:"title"},n.title))};function y(){var n=Object(s.a)(["\n  position: relative;\n  width: 12px;\n  height: 12px;\n  background-color: ",";\n  border-radius: 50%;\n  margin-left: ","px;\n  &:after {\n    display: block;\n    content: ' ';\n    background-color: ",";\n    height: 2px;\n    width: ","px;\n    position: absolute;\n    top: calc(50% - 1px);\n    right: 12px;\n  }\n  &:first-child {\n    ",";\n  }\n  &:last-child {\n    margin-left: 0;\n    &:after {\n      display: none;\n    }\n  }\n  span {\n    position: absolute;\n    top: -23px;\n    right: calc(-50% - 18px);\n    width: 90px;\n    text-align: right;\n    font-size: ",";\n    color: ",";\n  }\n"]);return y=function(){return n},n}function v(){var n=Object(s.a)(["\n  box-sizing: border-box;\n  text-align: center;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin: 0 auto;\n  padding: 28px 0 16px;\n"]);return v=function(){return n},n}var E=u.b.div(v()),j=u.b.div(y(),(function(n){return n.active?m.a.colors.primary_700:n.visited?m.a.colors.primary_500:m.a.colors.complementary_400}),120,(function(n){return n.active?m.a.colors.complementary_400:n.visited?m.a.colors.primary_500:m.a.colors.complementary_400}),120,(function(n){if(n.active)return"\n          &:after {\n            background-color: ".concat(m.a.colors.complementary_400,";\n          }\n        ")}),m.a.font_sizes.x_medium,(function(n){return n.active?m.a.colors.complementary_800:m.a.colors.complementary_400})),z=t(68),O=function(n){var e=n.removableItemType,t=n.formStep,a=parseInt(t);return o.a.createElement(E,null,z.d.map((function(n,t){return n.canHide&&n.type===e?void 0:o.a.createElement(j,{key:t,StepsContainer:!0,active:a===n.type,visited:a!==n.t
1ype&&a>n.type},o.a.createElement("span",null,n.text))})))},P=t(27),N=t(35);function C(){var n=Object(s.a)(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  position: relative;\n  width: calc(100% - 44px);\n  min-height: 70px;\n  margin-bottom: 20px;\n  .min,\n  .max {\n    color: ",";\n    font-size: ",";\n  }\n  .min {\n    position: absolute;\n    left: -30px;\n    bottom: 3px;\n  }\n  .max {\n    position: absolute;\n    right: -30px;\n    bottom: 3px;\n  }\n  .rc-slider-mark {\n    display: none;\n  }\n"]);return C=function(){return n},n}function L(){var n=Object(s.a)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  width: 100%;\n  margin: 0 auto;\n  border-bottom: 1px solid ",";\n  padding-bottom: 20px;\n  padding-top: 24px;\n  text-align: center;\n  &:last-child {\n    border-bottom: 0px;\n    padding-bottom: 0px;\n  }\n  .title {\n    font-size: ",";\n    color: ",";\n    text-align: center;\n    width: 100%;\n    margin-bottom: 24px;\n  }\n  .description {\n    font-size: ",";\n    font-weight: ",";\n    color: ",";\n    width: 100%;\n    max-width: 345px;\n    line-height: 1.58;\n    display: flex;\n    justify-content: flex-start;\n    align-items: flex-start;\n    text-align: right;\n    .description-icon {\n      margin-left: 8px;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      width: 20px;\n      height: 20px;\n      &:before {\n        margin: 0;\n        font-size: 12px;\n        color: ",";\n      }\n    }\n  }\n  .off-message {\n    font-size: ",";\n    color: ",";\n    display: flex;\n    justify-content: flex-start;\n    align-items: center;\n    margin-bottom: 24px;\n    .off-message-icon {\n      margin-left: 8px;\n      margin-bottom: 8px;\n      &:before {\n        margin: 0;\n        font-size: 8px;\n        color: ",";\n      }\n    }\n  }\n"]);return L=function(){return n},n}function k(){var n=Object(s.a)(["\n  width: 100%;\n  text-align: center;\n  color: ",";\n  font-size: ",";\n  font-weight: ","\n  margin: 0 0 0 0;\n  padding: 0;\n"]);return k=function(){return n},n}function S(){var n=Object(s.a)(["\n  width: 100%;\n  text-align: center;\n  color: ",";\n  font-size: ",";\n  font-weight: ","\n  margin: 0 0 4px 0;\n  padding: 0;\n"]);return S=function(){return n},n}function I(){var n=Object(s.a)(["\n  max-width: 100%;\n  padding: 8px 0 6px !important;\n  height: 100%;\n  display: flex;\n  overflow-x: auto;\n  margin-left: -12px;\n  & > .plan {\n    margin-left: 16px;\n    width: ",";\n    min-width: 300px;\n  }\n"]);return I=function(){return n},n}var D=u.b.div(I(),(function(n){return n.childrenCounts?"calc((100vw - 2 * 45px - "+16*(n.childrenCounts-1)+"px ) /"+n.childrenCounts+")":""}));u.b.div(S(),m.a.colors.complementary_900,m.a.font_sizes.x3_large,m.a.font_weight.medium),u.b.div(k(),m.a.colors.complementary_800,m.a.font_sizes.x2_medium,m.a.font_weight.regular),u.b.div(L(),m.a.colors.complementary_400,m.a.font_sizes.x_medium,m.a.colors.complementary_900,m.a.font_sizes.x_small,m.a.font_weight.light,m.a.colors.complementary_700,m.a.colors.complementary_700,m.a.font_sizes.x_medium,m.a.colors.green_800,m.a.colors.green_800),u.b.div(C(),m.a.colors.complementary_800,m.a.font_sizes.x_small);function A(){var n=Object(s.a)(["\n  box-shadow: 0 2px 4px 0 #898989;\n  border-radius: 12px;\n  padding: 8px 12px;\n  position: relative;\n  text-align: center;\n  border: ",";\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  width: 47%;\n  margin-left: 6%;\n  &:last-child {\n    margin-left: 0;\n  }\n  .text {\n    margin-bottom: 4px;\n  }\n  .colored-text {\n    color: ",";\n    font-size: ",";\n    text-decoration: line-through;\n  }\n  .discount {\n    position: absolute;\n    background-color: ",";\n    color: ",';\n    border-radius: 50%;\n    height: 32px;\n    width: 32px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-family: "Dosis", Arial, Helvetica, sans-serif;\n    right: calc((-32px + 6px) / 2);\n    top: calc((-32px + 6px) / 2);\n    font-size: ',";\n  }\n  pointer-events: inherit;\n  cursor: pointer;\n  &:hover {\n    box-shadow: 0 2px 8px 0 #898989;\n    background-color: ",";\n  }\n"]);return A=function(){return n},n}function T(){var n=Object(s.a)(["\n  padding: 14px 8px 8px;\n  border-top: 1px solid ",";\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: ",";\n  height: ",";\n  .durations {\n    display: flex;\n    width: 100%;\n    height: 78px;\n  }\n  .purchase-button {\n    background-color: ",";\n    color: ",";\n    padding: 8px 16px;\n    font-size: ",";\n    font-weight: ",";\n    text-align: center;\n    border-radius: 12px;\n    width: 80%;\n    margin-top: 10px;\n    pointer-events: inherit;\n    cursor: pointer;\n    &:hover {\n      box-shadow: 0 2px 8px 0 #cccccc;\n      opacity: 0.9;\n    }\n  }\n  .footer-text {\n    font-size: ",";\n    color: ",";\n    font-weight: ",";\n    text-align: center;\n    line-height: 1.6;\n    padding: 0 16px;\n    height: 78px;\n    display: flex;
1\n    align-items: center;\n  }\n  .gift-text {\n    font-size: ",";\n    color: ",";\n    text-decoration: underline;\n    margin-top: 12px;\n    font-weight: ",";\n    cursor: pointer;\n  }\n"]);return T=function(){return n},n}function H(){var n=Object(s.a)(["\n  padding: 9px 8px;\n  height: ",";\n  overflow-y: auto;\n  margin: 0;\n  position: relative;\n  .feature-item {\n    position: relative;\n    font-size: ",";\n    margin-bottom: 10px;\n    color: ",';\n    padding-right: 14px;\n    &:before {\n      content: "\u2013";\n      position: absolute;\n      margin-right: -12px;\n      margin-top: 3px;\n    }\n    &.first-item {\n      color: ',";\n      font-weight: ",';\n      padding-right: 10px !important;\n      margin-bottom: 12px;\n      &:before {\n        content: "";\n      }\n    }\n  }\n  list-style-type: none;\n  .extra-info {\n    font-size: ',";\n    color: ",";\n    margin-top: 32px;\n    line-height: 1.4;\n    a {\n      color: ",";\n      text-decoration: underline;\n    }\n  }\n"]);return H=function(){return n},n}function F(){var n=Object(s.a)(["\n  background-color: ",";\n  padding: 12px 8px 8px;\n  border-radius: 12px 12px 0 0;\n  height: 60px;\n  text-align: center;\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  .notice {\n    font-size: ",";\n    margin-top: 8px;\n    font-weight: ",";\n  }\n"]);return F=function(){return n},n}function R(){var n=Object(s.a)(["\n  //width: calc(90%);\n  height: 100%;\n  border: 1px solid ",";\n  border-radius: 12px;\n  box-shadow: 0 2px 4px 0 #898989;\n  max-height: 600px;\n  pointer-events: ",";\n  transition: 0.15s;\n  &:hover {\n    transform: scale(1.02);\n  }\n"]);return R=function(){return n},n}var G=u.b.div(R(),m.a.colors.complementary_400,(function(n){return n.disabled?"none":""})),W=u.b.div(F(),(function(n){return n.color?n.color:m.a.colors.white}),m.a.font_sizes.x2_large,m.a.font_weight.bold,(function(n){return n.color?m.a.colors.white:m.a.colors.black}),m.a.font_sizes.small,m.a.font_weight.regular),B=u.b.ul(H(),(function(n){return n.showTraial?"calc(100% - 60px - 190px) ":"calc(100% - 60px - 170px) "}),m.a.font_sizes.medium,m.a.colors.complementary_700,m.a.colors.complementary_800,m.a.font_weight.bold,m.a.font_sizes.medium,m.a.colors.tertiary_800,m.a.colors.tertiary_700),M=u.b.div(T(),m.a.colors.complementary_400,(function(n){return n.verticallyCenter?"center":"flex-start"}),(function(n){return n.showTraial?"190px":"170px"}),m.a.colors.primary_dark,m.a.colors.white,m.a.font_sizes.x1_medium,m.a.font_weight.medium,m.a.font_sizes.medium,(function(n){return n.defaultFooterTextColor?m.a.colors.complementary_800:m.a.colors.tertiary_800}),m.a.font_weight.medium,m.a.font_sizes.medium,m.a.colors.tertiary_800,m.a.font_weight.medium),q=u.b.div(A(),(function(n){return n.selected?"3px solid "+m.a.colors.primary_dark:""}),m.a.font_sizes.medium,m.a.font_weight.medium,m.a.colors.complementary_800,m.a.colors.tertiary_700,m.a.font_sizes.x_small,m.a.colors.red_450,m.a.colors.white,m.a.font_sizes.small,m.a.colors.complementary_50),X=t(76),U=t(318),J=t(45),K=t(1070),Q=t(26),V=t(339),Y=Object(l.g)((function(n){var e=n.data,t=e.id,a=e.color,i=e.title,c=e.sub_title,l=e.features,s=e.durations,u=e.buy_text,m=e.is_special,d=e.is_free,f=e.buy_flag,p=e.last_plan_text,g=n.trial_flag,x=n.calculatePrice,_=n.buyGift,h=n.loading,b=n.setClickedPlan,w=n.clickedPlan,y=n.selectedDuration,v=n.setSelectedDuration,E=Object(r.useState)(!1),j=Object(N.a)(E,2),z=j[0],O=j[1],P=function(n){b(t),m?window.open(U.a):f?n?_({plan_id:t,duration_id:n}):x({plan_id:t,duration_id:y}):O(!0)},C=function(){O(!1)};return o.a.createElement(o.a.Fragment,null,o.a.createElement(X.a,{show:z,rejectHandler:function(){return C()},close:function(){return C()},content:{type:"warning",title:"\u062a\u0648\u062c\u0647!",message:u,rejectButtonText:Q.pb,icon:"icon mapsa-notification"}}),o.a.createElement(G,{id:t,disabled:h&&t!==w,className:"plan"},o.a.createElement(W,{color:a},i,c&&o.a.createElement("div",{className:"notice"},c)),o.a.createElement(B,{showTraial:g},l.map((function(n,e){var t=0===e;if(n)return o.a.createElement("li",{className:"feature-item".concat(t?" first-item":""),key:e},n)})),p&&o.a.createElement("div",{className:"extra-info",dangerouslySetInnerHTML:{__html:Object(K.a)(p)}})),o.a.createElement(M,{defaultFooterTextColor:m,showTraial:g,verticallyCenter:d},!d&&s.length>0&&o.a.createElement("div",{className:"durations"},s.filter((function(n){return!n.is_gift})).map((function(n,e){var t=y===n.id,a=n.real_price!==n.price,r=n.real_price>0&&Math.ceil((n.real_price-n.price)/n.real_price*100);return o.a.createElement(q,{selected:t,key:e,onClick:function(){return v(n.id)}},o.a.createElement("div",{className:"text"},n.title),o.a.createElement("div",{className:"text"},Object(V.a)(n.price),o.a.createElement("span",{className:"unit"}," \u062a\u0648\u0645\u0627\u0646")),a&&o.a.createElement("div",{className:"colored-text"},Object(V.a)(n.real_price),o.a.createElement("span",{className:"unit"}," \u062a\u0648\u0645\u0627\u0646")),a&&o.a.createElement("span",{className:"discount"},r,"%"))}))),(d||m)&&o.a.createElement("div",{className:"footer-text"},u),!d&&o.a.createElement("div",{className:"purchase-button",onClick:function(){return P()}},h&&t===w?o.a.createElement(J.c,null):o.a.createElement(o.a.Fragment,null,m?"\u062a\u0645\u0627\u0633 \u0628\u06af\u06cc\u0631\u06cc\u062f":"\u062e\u0631\u06cc\u062f (".concat(Object(V.a)(function(){if(s&&y){var n=s.filter((function(n){return n.id===y}));if(n.length>0)return n[0].price}return 0}())," \u062a\u0648\u0645\u0627\u0646)"))),!d&&function(){var n=s.filter((function(n){return n.is_gift}));if(n.length>0)return o.a.createElement("div",{className:"gift-text",onClick:function(){return P(n[0].id)}},n[0].description)}())))})),Z=t(166),$=function(n){var e=n.data,t=n.calculatePrice,a=n.buyGift,i=n.loading,c=n.buyGiftL
1oading,l=n.fetchNecessaryRequest,s=n.mainLoading,u=n.formStep,m=n.error,d=e.data,f=Object(r.useState)(-1),p=Object(N.a)(f,2),g=p[0],x=p[1],_=Object(r.useState)([]),h=Object(N.a)(_,2),b=h[0],w=h[1],y=u===z.c.CHOOSE_PLAN;return Object(r.useEffect)((function(){y&&l()}),[y]),Object(r.useEffect)((function(){if(y){var n=d.map((function(n){var t=n.durations,a=e.selected_duration,r=t.length-1,o=[];return a&&(o=t.filter((function(n){return n.id===a}))),o.length<=0&&(o=t.filter((function(n,e){return e===r}))),o.length>0?o[0].id:-1}));w(n)}}),[d]),y?o.a.createElement(o.a.Fragment,null,(s||c)&&o.a.createElement(J.a,null),!s&&d&&!m&&o.a.createElement(D,{childrenCounts:d.length},d.length>0&&d.map((function(n,r){return o.a.createElement(Y,{key:r,data:n,selectedDuration:b[r],setSelectedDuration:function(n){var e=Object(P.a)(b);e[r]=n,w(e)},calculatePrice:t,buyGift:a,loading:i,clickedPlan:g,setClickedPlan:x,trial_flag:e.trial_flag})}))),o.a.createElement(Z.a,{message:m,request:l})):null};function nn(){var n=Object(s.a)(["\n  width: 100%;\n  text-align: center;\n  color: ",";\n  font-size: ",";\n  padding: 8px 10px;\n  background-color: ",";\n  border-radius: 8px;\n  line-height: 1.46;\n  margin-bottom: 8px;\n"]);return nn=function(){return n},n}function en(){var n=Object(s.a)(["\n  max-width: 373px;\n  line-height: 1.58;\n  margin-top: 16px;\n  margin-bottom: 20px;\n  display: flex;\n  justify-content: flex-start;\n  align-items: flex-start;\n  font-size: ",";\n  color: ",";\n  .form-message-icon {\n    margin-left: 8px;\n    &:before {\n      font-size: 12px;\n      margin: 0;\n      color: ",";\n    }\n  }\n"]);return en=function(){return n},n}function tn(){var n=Object(s.a)(["\n  width: 100%;\n  min-height: 132px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  flex-direction: column;\n  text-align: center;\n  a {\n    display: block;\n    color: ",";\n    &:hover,\n    &:visited,\n    &:focus {\n      color: ",";\n    }\n  }\n"]);return tn=function(){return n},n}function an(){var n=Object(s.a)(["\n  height: 117px;\n  width: 100%;\n  border-radius: 4px;\n  border: 1px solid ",";\n  margin-top: 13px;\n  padding: 16px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  .form-control {\n    font-size: ",";\n    color: ",";\n    font-weight: ",";\n    margin-bottom: 13px;\n    width: 100%;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    .input {\n      width: calc(100% - 153px);\n    }\n    .text {\n      min-width: 111px;\n    }\n  }\n"]);return an=function(){return n},n}function rn(){var n=Object(s.a)(["\n  border-radius: 4px;\n  border: 1px solid ",";\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  height: 48px;\n  min-width: 396px;\n  padding: 0 16px;\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  .credit-amount {\n    font-size: ",";\n    color: ",";\n    margin-right: 8px;\n  }\n  .credit-currency {\n    font-weight: ",";\n    font-size: ",";\n  }\n"]);return rn=function(){return n},n}function on(){var n=Object(s.a)(["\n  background-color: ",";\n  width: 100%;\n  border-radius: 23px;\n  padding: 8px 19px;\n  margin-bottom: 18px;\n  margin-top: 18px;\n  .amount-row {\n    height: 22px;\n    margin-bottom: 4px;\n    font-size: ",";\n    color: ",";\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    font-weight: ",";\n    &:last-child {\n      margin-bottom: 0;\n    }\n    span.currency {\n      font-weight: "," !important;\n      font-size: ",";\n      margin-right: 8px;\n    }\n    span.amount {\n      font-size: "," !important;\n      font-weight: "," !important;\n      direction: ltr;\n      text-align: left;\n    }\n  }\n  // .amount-row-green {\n  //   display: flex;\n  //   justify-content: space-between;\n  //   align-items: center;\n  //   font-size: ",";\n  //   color: ",";\n  //   margin-bottom: 4px;\n  //   span.currency {\n  //     font-weight: "," !important;\n  //     font-size: ",";\n  //     margin-right: 8px;\n  //   }\n  //   span.amount {\n  //     font-size: "," !important;\n  //     font-weight: "," !important;\n  //     direction: ltr;\n  //     text-align: left;\n  //     display: inline-block;\n  //   }\n  // }\n"]);return on=function(){return n},n}function cn(){var n=Object(s.a)(["\n  .bold-text {\n    color: ",";\n    font-size: ",";\n    font-weight: ",";\n    height: 19px;\n  }\n  .plan-info {\n    color: ",";\n    font-size: ",";\n    height: 19px;\n    margin-bottom: 10px;\n    display: flex;\n    justify-content: space-between;
1\n    align-items: center;\n    .amount {\n      font-size: ",";\n      color: ",";\n      span {\n        margin-right: 8px;\n        font-size: ",";\n        color: ",";\n      }\n    }\n  }\n  .plan-duration {\n    color: ",";\n    font-size: ",";\n    font-weight: ",";\n    margin-bottom: 9px;\n  }\n  .plan-tax {\n    color: ",";\n    font-size: ",";\n    margin-bottom: 6px;\n    height: 22px;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    .amount {\n      font-size: ",";\n      color: ",";\n      span {\n        margin-right: 8px;\n        font-size: ",";\n        color: ",";\n      }\n    }\n  }\n\n  .amount-row-green {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    font-size: ",";\n    color: ",";\n    margin-bottom: 6px;\n    span.currency {\n      font-weight: "," !important;\n      font-size: ",";\n      margin-right: 8px;\n    }\n    span.amount {\n      font-size: "," !important;\n      font-weight: "," !important;\n      direction: ltr;\n      text-align: left;\n      display: inline-block;\n    }\n    & > span {\n      &:first-child {\n        width: 60%;\n      }\n      &:last-child {\n        width: 40%;\n        text-align: left;\n      }\n    }\n  }\n"]);return cn=function(){return n},n}function ln(){var n=Object(s.a)(["\n  width: 100%;\n  text-align: center;\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  margin: 0 0 24px 0;\n  padding: 0;\n"]);return ln=function(){return n},n}function sn(){var n=Object(s.a)(["\n  width: 100%;\n  text-align: center;\n  color: ",";\n  font-size: ",";\n  font-weight: ","\n  margin: 0 0 4px 0;\n  padding: 0;\n"]);return sn=function(){return n},n}u.b.div(sn(),m.a.colors.complementary_900,m.a.font_sizes.x3_large,m.a.font_weight.medium);var un=u.b.div(ln(),m.a.colors.complementary_800,m.a.font_sizes.x2_medium,m.a.font_weight.regular),mn=u.b.div(cn(),m.a.colors.complementary_800,m.a.font_sizes.x_medium,m.a.font_weight.medium,m.a.colors.complementary_800,m.a.font_sizes.x_small,m.a.font_sizes.x2_medium,m.a.colors.complementary_800,m.a.font_sizes.x_small,m.a.colors.complementary_800,m.a.colors.green_800,m.a.font_sizes.x_small,m.a.font_weight.medium,m.a.colors.complementary_800,m.a.font_sizes.x_medium,m.a.font_sizes.x2_medium,m.a.colors.complementary_800,m.a.font_sizes.x_small,m.a.colors.complementary_800,m.a.font_sizes.x_small,m.a.colors.green_800,m.a.font_weight.light,m.a.font_sizes.small,m.a.font_sizes.x_small,m.a.font_weight.medium),dn=u.b.div(on(),m.a.colors.complementary_50,m.a.font_sizes.x1_medium,m.a.colors.complementary_800,m.a.font_weight.medium,m.a.font_weight.light,m.a.font_sizes.x_small,m.a.font_sizes.x1_medium,m.a.font_weight.medium,m.a.font_sizes.x_medium,m.a.colors.green_800,m.a.font_weight.light,m.a.font_sizes.x_medium,m.a.font_sizes.x_medium,m.a.font_weight.medium),fn=u.b.div(rn(),m.a.colors.complementary_400,m.a.font_sizes.x_medium,m.a.font_weight.medium,m.a.colors.complementary_800,m.a.font_sizes.x_small,m.a.colors.green_800,m.a.font_weight.light,m.a.font_sizes.x_small),pn=u.b.div(an(),m.a.colors.complementary_400,m.a.font_sizes.x_medium,m.a.colors.complementary_800,m.a.font_weight.medium),gn=u.b.div(tn(),m.a.colors.primary_vivid,m.a.colors.primary_vivid),xn=u.b.div(en(),m.a.font_sizes.x_small,m.a.colors.complementary_700,m.a.colors.complementary_700),_n=u.b.div(nn(),m.a.colors.white,m.a.font_sizes.x_medium,m.a.colors.tertiary_800),hn=t(71),bn=t(340),wn=t(151),yn=function(n){return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"form-control"},"\u06a9\u062f \u062a\u062e\u0641\u06cc\u0641"),o.a.createElement("div",{className:"form-control"},o.a.createElement("div",{className:"input"},o.a.createElement(bn.a,{maxLength:wn.s,type:"text",meta:{error:""},input:{value:n.promoCode,onChange:function(e){return n.onChange(e)}},disabled:n.disabledInput,placeholder:"\u0648\u0631\u0648\u062f \u06a9\u062f \u062a\u062e\u0641\u06cc\u0641"})),o.a.createElement("div",{className:"text"},o.a.createElement(hn.a,{btn:"submit"===n.promoButtonHandler?"secondary":"error",onClick:"submit"===n.promoButtonHandler?function(){return n.registerPromoCode()}:function(){return n.unregisterPromoCode()}
1,disabled:""===n.promoCode,loading:n.calculatePriceLoading},"submit"===n.promoButtonHandler?"\u062b\u0628\u062a \u06a9\u062f \u062a\u062e\u0641\u06cc\u0641":"\u062d\u0630\u0641 \u06a9\u062f \u062a\u062e\u0641\u06cc\u0641"))))},vn=t(139),En=function(n){var e=n.calculatePriceData;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"plan-info"},o.a.createElement("span",{className:"plan-name"},e.plan_title," - ",e.duration_title),o.a.createElement("span",{className:"amount"},e&&Object(V.a)(e.total_amount),o.a.createElement("span",null,"\u062a\u0648\u0645\u0627\u0646"))),e&&o.a.createElement("div",{className:"plan-duration"},"\u0645\u062f\u062a \u0627\u0639\u062a\u0628\u0627\u0631: \u0627\u0632 \u062a\u0627\u0631\u06cc\u062e\n          ".concat(Object(vn.b)(e.start_date),"\n           \u062a\u0627\n           ").concat(Object(vn.b)(e.end_date),"\n          ")),o.a.createElement("div",{className:"plan-tax"},e&&e.added_value_percent.toLocaleString()," ","\u062f\u0631\u0635\u062f \u0645\u0627\u0644\u06cc\u0627\u062a \u0628\u0631 \u0627\u0631\u0632\u0634 \u0627\u0641\u0632\u0648\u062f\u0647",o.a.createElement("span",{className:"amount"},e&&Object(V.a)(e.added_value_amount),o.a.createElement("span",null,"\u062a\u0648\u0645\u0627\u0646"))),e&&e.credit_amount>0&&o.a.createElement("div",{className:"amount-row-green"},o.a.createElement("span",null,"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0639\u062a\u0628\u0627\u0631 \u062d\u0633\u0627\u0628"),o.a.createElement("span",null,o.a.createElement("span",{className:"amount"},"-".concat(e&&Object(V.a)(e.credit_amount))),o.a.createElement("span",{className:"currency"},"\u062a\u0648\u0645\u0627\u0646"))),e&&e.wallet_amount>0&&o.a.createElement("div",{className:"amount-row-green"},o.a.createElement("span",null,"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0645\u062a\u06cc\u0627\u0632\u200c\u0647\u0627\u06cc \u0645\u0646"),o.a.createElement("span",null,o.a.createElement("span",{className:"amount"},"-".concat(e&&Object(V.a)(e.wallet_amount))),o.a.createElement("span",{className:"currency"},"\u062a\u0648\u0645\u0627\u0646"))),e&&e.discount_amount>0&&o.a.createElement("div",{className:"amount-row-green"},o.a.createElement("span",null,e&&e.promo_code_text),o.a.createElement("span",null,o.a.createElement("span",{className:"amount"},"-".concat(e&&Object(V.a)(e.discount_amount))),o.a.createElement("span",{className:"currency"},"\u062a\u0648\u0645\u0627\u0646"))),o.a.createElement(dn,null,o.a.createElement("div",{className:"amount-row"},o.a.createElement("span",null,"\u0645\u0628\u0644\u063a \u0642\u0627\u0628\u0644 \u067e\u0631\u062f\u0627\u062e\u062a"),o.a.createElement("span",null,o.a.createElement("span",{className:"amount"},e&&Object(V.a)(e.payable_amount)),o.a.createElement("span",{className:"currency"},"\u062a\u0648\u0645\u0627\u0646")))))},jn=t(335),zn=function(n){return o.a.createElement(o.a.Fragment,null,o.a.createElement("span",{className:"text-for-credit-use"},"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0645\u062a\u06cc\u0627\u0632\u200c\u0647\u0627\u06cc \u0645\u0646",o.a.createElement("span",{className:"credit-amount"},"(",Object(V.a)(n.wallet_amount),")",o.a.createElement("span",{className:"credit-currency"}," \u062a\u0648\u0645\u0627\u0646"))),!n.useWalletLoading&&o.a.createElement(jn.a,{input:{value:n.status,onChange:function(){return n.onChange(!n.status)}}}),n.useWalletLoading&&o.a.createElement(J.c,null))},On=function(){return o.a.createElement(xn,null,o.a.createElement("i",{className:"icon mapsa-info form-message-icon"}),"\u200b\u200b\u0628\u0627 \u0627\u062a\u0645\u0627\u0645 \u0645\u062f\u062a \u0632\u0645\u0627\u0646 \u0647\u0631 \u0637\u0631\u062d\u060c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0634\u0645\u0627 \u0645\u062d\u0641\u0648\u0638 \u0628\u0648\u062f\u0647 \u0648 \u0641\u0631\u0635\u062a \u06a9\u0627\u0641\u06cc \u0628\u0631\u0627\u06cc \u062a\u0645\u062f\u06cc\u062f \u0637\u0631\u062d \u062e\u0648\u062f \u0631\u0627 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a.")},Pn=t(37);function Nn(){var n=Object(s.a)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;
1\n  color: ",";\n  font-size: ",";\n"]);return Nn=function(){return n},n}var Cn=u.b.div(Nn(),m.a.colors.complementary_900,m.a.font_sizes.medium),Ln=function(){return o.a.createElement(Cn,null,o.a.createElement(Pn.b,{to:"//tankhahgardan.com/terms/",target:"_blank"},"\u0645\u0637\u0627\u0644\u0639\u0647 \u0642\u0648\u0627\u0646\u06cc\u0646"))},kn=t(103),Sn=t(81),In=Object(l.g)(Object(i.connect)((function(n){return{payLoading:n.Premium.payLoading,owner:n.Premium.owner,calculatePriceData:n.Premium.calculatePrice,loading:n.Premium.calculatePriceLoading,error:n.Premium.calculatePriceError,useWalletLoading:n.Premium.useWalletLoading,usePromoCodeLoading:n.Premium.usePromoCodeLoading}}),(function(n){return{store:function(e){n(c.X.payStore(e))}}}))((function(n){var e=Object(r.useState)(""),t=Object(N.a)(e,2),i=t[0],c=t[1],l=Object(r.useState)(""),s=Object(N.a)(l,2),u=s[0],m=s[1],d=n.walletAmount,f=n.loading,p=n.error,g=n.payLoading,x=n.userPlanData,_=n.calculatePriceData,h=n.useWalletLoading,b=n.usePromoCodeLoading,w=n.calculatePrice,y=n.store,v=n.goToChoosePlanStep,E=n.fetchNecessaryRequest,j=n.showPlanOwnerBox,z=n.owner;Object(r.useEffect)((function(){Object(kn.isEmpty)(_)&&E()}),[]),Object(r.useEffect)((function(){var n=!!_.promo_code_id;m(n?"reset":"submit")}),[_.promo_code_id]);return o.a.createElement(o.a.Fragment,null,!f&&!p&&!Object(kn.isEmpty)(_)&&o.a.createElement(o.a.Fragment,null,o.a.createElement(un,null,"\u0646\u0633\u062e\u0647 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u062a\u0646\u062e\u0648\u0627\u0647\u200c\u06af\u0631\u062f\u0627\u0646"),j&&o.a.createElement(_n,null,"\u062e\u0631\u06cc\u062f \u0637\u0631\u062d \u0628\u0631\u0627\u06cc \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc ",Object(Sn.c)(z)),o.a.createElement(mn,null,x&&o.a.createElement(En,{userPlanData:x,calculatePriceData:_}),(_.payable_amount>0&&d>0||_.wallet_amount>0)&&o.a.createElement(fn,null,o.a.createElement(zn,{wallet_amount:d,status:_.wallet_amount>0,onChange:function(n){return function(n){var e=Object(a.a)(Object(a.a)({},x),{},{promo_code:i,use_wallet:n});w(e,!0)}(n)},useWalletLoading:h})),(_.payable_amount>0||_.promo_code_id)&&o.a.createElement(pn,null,o.a.createElement(yn,{promoCode:i,onChange:function(n){return function(n){c(n),m("submit")}(n)},disabledInput:!!_.promo_code_id,registerPromoCode:function(){var n=Object(a.a)(Object(a.a)({},x),{},{promo_code:i,use_wallet:_.wallet_amount>0});w(n,!1,!0)},unregisterPromoCode:function(){return function(){var n=Object(a.a)(Object(a.a)({},x),{},{promo_code:"",use_wallet:_.wallet_amount>0});c(""),m("submit"),w(n,!1,!0)}()},promoButtonHandler:u,calculatePriceLoading:b,calculatePriceData:_}))),o.a.createElement(On,null),o.a.createElement(gn,null,o.a.createElement(Ln,null),o.a.createElement(hn.a,{btn:"primary",onClick:function(){var n=Object(a.a)(Object(a.a)({},x),{},{promo_code:"reset"===u?i:"",use_wallet:_.wallet_amount>0});y(n)},loading:g},"\u062a\u0627\u06cc\u06cc\u062f \u0648 \u067e\u0631\u062f\u0627\u062e\u062a \u0646\u0647\u0627\u06cc\u06cc"),o.a.createElement(hn.a,{btn:"outline",borderless:!0,onClick:function(){return v()},disabled:g},"\u062a\u063a\u06cc\u06cc\u0631 \u0646\u0648\u0639 \u0637\u0631\u062d \u0648 \u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc"))),f&&o.a.createElement(J.a,null),o.a.createElement(Z.a,{message:p,request:E}))}))),Dn=t(1005);e.default=Object(i.connect)((function(n){return{data:n.Premium.data,loading:n.Premium.initLoading,error:n.Premium.initError,user:n.User.data,calculatePriceLoading:n.Premium.calculatePriceLoading,buyGiftLoading:n.Premium.buyGiftLoading}}),(function(n){return{getPremiumInit:function(e){n(c.X.get(e))},calculatePrice:function(e,t){n(c.X.calculatePrice(e,t))},buyGift:function(e){n(c.X.buyGift(e))},useWallet:function(e){n(c.X.useWallet(e))},usePromoCode:function(e){n(c.X.usePromoCode(e))}}}))(Object(l.g)((function(n){var e=n.loading,t=n.error,r=n.data,i=n.calculatePriceLoading,c=n.buyGiftLoading,l=n.user,s=n.history,u=function(n){return Object(Dn.a)(s,n)},m=function(){return u(z.f.PURCHASE_ACTION)},d=function(){return u(z.f.OWNER_ID)},f=function(e){var t=u(z.f.FORM_STEP),a=d(),r=u(z.f.APPLIED_LIMITS);if((e===z.c.CHOOSE_PLAN||!e)&&t===z.c.CHOOSE_PLAN){var o=m();n.getPremiumInit({type:o,owner_id:a,applied_limits:r})}if((e===z.c.CONFIRM_PLAN||!e)&&t===z.c.CONFIRM_PLAN){var i={plan_id:u(z.f.PLAN_ID),type:m(),duration_id:u(z.f.DURATION_ID),owner_id:a};n.calculatePrice(i)}},x=function(e,t,r,o,i){var c=Object(a.a)({type:m(),owner_id:d(),promo_code:"",use_wallet:!1},e);o?n.useWallet(c):i?n.usePromoCode(c):r?n.buyGift(c):n.calculatePrice(c,t)},_=u(z.f.PURCHASE_ACTION),h=u(z.f.FORM_STEP),b=u(z.f.PLAN_ID),y=u(z.f.DURATION_ID);return o.a.createElement(p,{fullPageHeight:h===z.c.CHOOSE_PLAN},o.a.createElement(w,{title:z.b[_]}),o.a.createElement(O,{formStep:h}),o.a.createElement(g,null,o.a.createElement($,{data:r,calculatePrice:function(n){return x(n,!0,!1)},buyGift:function(n){return x(n,!1,!0)}
1,loading:i,mainLoading:e,buyGiftLoading:c,error:t,fetchNecessaryRequest:function(){return f()},formStep:h,purchaseAction:_}),h===z.c.CONFIRM_PLAN&&o.a.createElement(In,{showPlanOwnerBox:function(){var n=d();return parseInt(l.id)!==parseInt(n)}(),walletAmount:l&&l.wallet,calculatePrice:function(n,e,t){return x(n,!1,!1,e,t)},goToChoosePlanStep:function(){s.goBack()},fetchNecessaryRequest:function(){return f()},userPlanData:{type:m(),owner_id:d(),plan_id:b,duration_id:y},mainLoading:e})))})))}}]);
2//# sourceMappingURL=91.3aeef9fe.chunk.js.map

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.