PageSourceSearch

https://www.freemansd.com/build/733.59a2e420.js

js freemansd.com collected 2026-09-26 14:49:29 UTC 13,575 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[733],{733:(function(S,h,a){var y=a(52675),F=a.n(y),E=a(89463),H=a.n(E),g=a(2259),X=a.n(g),A=a(45700),V=a.n(A),v=a(50113),G=a.n(v),x=a(23792),J=a.n(x),D=a(89572),Q=a.n(D),C=a(2892),Y=a.n(C),P=a(84185),Z=a.n(P),b=a(26099),$=a.n(b),j=a(78459),q=a.n(j),M=a(58940),tt=a.n(M),O=a(27495),et=a.n(O),w=a(47764),st=a.n(w),T=a(90744),ot=a.n(T),W=a(42762),nt=a.n(W),R=a(62953),at=a.n(R),k=a(74692),e=a.n(k);function _(u){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_(u)}function U(u,n){if(!(u instanceof n))throw new TypeError("Cannot call a class as a function")}function f(u,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,L(o.key),o)}}function I(u,n,t){return n&&f(u.prototype,n),t&&f(u,t),Object.defineProperty(u,"prototype",{writable:!1}),u}function L(u){var n=B(u,"string");return _(n)=="symbol"?n:n+""}function B(u,n){if(_(u)!="object"||!u)return u;var t=u[Symbol.toPrimitive];if(t!==void 0){var o=t.call(u,n||"default");if(_(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(u)}var K=(function(){function u(){U(this,u),this.categoryAmount=0,this.emissionAmount=0,this.addonsAmount=0,this.newspaperEmissionCount=0,this.newspaperEmissionAmount=0,this.newspaperAddonsAmount=0,this.newspaperWordsCount=0,this.newspaperCharactersCount=0,this.newspaperEmissionDiscount,this.listeners()}return I(u,[{key:"listeners",value:function(){var t=this;e()(document).on("change","select.emission-select",function(o){var d=e()(this),r=d.children("option:selected"),i=r.data(),s=d.data();typeof i.amount<"u"&&i.amount?t.setEmissionAmount(i.amount):t.setEmissionAmount(0),typeof s.url<"u"&&s.url&&(typeof i.id<"u"&&typeof i.module<"u"&&i.id&&i.module?e().ajax({url:s.url,data:{id:i.id,module:i.module},dataType:"json",method:"POST"}).done(function(m,c,rt){if(m.length)for(var p in m){var l=e()(".row-addons > .col-addon").find('input[data-addon="'+m[p].aid+'"]'),it=l.parent();if(l.length){var z=l.parents(".col-addon:first"),N=l.data("amount");l.attr("data-amount",m[p].amount),l.data("amount",m[p].amount),l.hasClass("excluded")||(l.removeAttr("disabled"),l.parent().removeClass("disabled")),z.find(".addon-price:first").text(m[p].formatted_amount),l.prop("checked")&&(t.getAddonsAmount()>0&&t.setAddonsAmount(t.getAddonsAmount()-N),l.trigger("change"))}}else e()(".row-addons > .col-addon").find('input[data-by-emission="1"]').attr("data-amount",""),e()(".row-addons > .col-addon").find('input[data-by-emission="1"]').data("addon",""),e()(".row-addons > .col-addon").find(".addon-price:first").html("&nbsp;"),e()(".addon-checkbox > input").prop("checked",!1),e()(".addon-checkbox > input").removeAttr("disabled"),e()(".addon-checkbox > input").parent().removeClass("disabled"),e()('.addon-checkbox > input[data-by-emission="1"]').attr("disabled","disabled"),e()('.addon-checkbox > input[data-by-emission="1"]').parent().addClass("disabled"),e()(".addon-checkbox > input").removeClass("excluded"),t.setAddonsAmount(0)}):(e()(".row-addons > .col-addon").find('input[data-by-emission="1"]').attr("data-amount",""),e()(".row-addons > .col-addon").find('input[data-by-emission="1"]').data("addon",""),e()(".row-addons > .col-addon").find(".addon-price:first").html("&nbsp;"),e()(".addon-checkbox > input").prop("checked",!1),e()(".addon-checkbox > input").removeAttr("disabled"),e()(".addon-checkbox > input").parent().removeClass("disabled"),e()('.addon-checkbox > input[data-by-emission="1"]').attr("disabled","disabled"),e()('.addon-checkbox > input[data-by-emission="1"]').parent().addClass("disabled"),e()(".addon-checkbox > input").removeClass("excluded"),t.setAddonsAmount(0)))}),e()(document).on("change",".addon-checkbox > input",function(o){var d=e()(this),r=d.data();if(typeof r.amount<"u"&&r.amount){var i=parseFloat(r.amount),s=t.getAddonsAmount();d.prop("checked")?t.setAddonsAmount(s+i):s>0&&t.setAddonsAmount(s-i)}if(typeof r.exclude<"u"&&r.exclude.length)if(d.prop("checked"))for(var m=0;m<r.exclude.length;m++)e()('.addon-checkbox > input[value="'+r.exclude[m]+'"]:checkbox').prop("checked")&&(e()('.addon-checkbox > input[value="'+r.exclude[m]+'"]:checkbox').prop("checked",!1),e()('.addon-checkbox > input[value="'+r.exclude[m]+'"]:checkbox').trigger("change")),e()('.addon-checkbox > input[value="'+r.exclude[m]+'"]:checkbox').attr("disabled","disabled"),e()('.addon-checkbox > input[value="'+r.exclude[m]+'"]:checkbox').parent().addClass("disabled"),e()('.addon-checkbox > input[value="'+r.exclude[m]+'"]:checkbox').addClass("excluded");else for(var c=0;c<r.exclude.length;c++)e()('.addon-checkbox > input[value="'+r.exclude[c]+'"]:checkbox').removeAttr("disabled"),e()('.addon-checkbox > input[value="'+r.exclude[c]+'"]:checkbox').parent().removeClass("disabled"),e()('.addon-checkbox > input[value="'+r.exclude[c]+'"]:checkbox').removeClass("excluded")}),e()(document).on("change",".invoice-selector",function(){e()(this).prop("checked")?(e()(".invoice-data").slideDown(),e()(".invoice-data").find(".form-control").attr("required","required"),e()(".invoice-data").find(".form-control").siblings("label").addClass("required")):e()(".invoice-data").slide
1Up(function(){e()(this).find(".form-control").removeAttr("required"),e()(this).find(".form-control").siblings("label").removeClass("required"),e()(this).find(".form-control").val("")})}),e()(document).on("change",".newspaper-addon-checkbox > input",function(o){var d=e()(this),r=d.data();if(typeof r.amount<"u"&&r.amount){var i=parseFloat(r.amount),s=t.getNewspaperAddonsAmount();d.prop("checked")?t.setNewspaperAddonsAmount(s+i):t.setNewspaperAddonsAmount(s-i)}}),e()("textarea[data-price-type]").length&&e()(document).on("blur","textarea[data-price-type]",function(){var o=e()(this),d=o.data(),r={};d.priceType==="word"?(t.newspaperWordsCount=t.countWords(o.val()),r.words=t.newspaperWordsCount):d.priceType==="character"&&(t.newspaperCharactersCount=o.val().length,r.characters=t.newspaperCharactersCount),typeof d.url<"u"&&d.url&&e().ajax({url:d.url,data:r,dataType:"json",method:"POST"}).done(function(i,s,m){i.type==="success"&&t.setNewspaperEmissionAmount(i.response)})}),e()(document).on("change","select.newspaper-releases-count",function(){var o=e()(this),d=o.data();t.setNewspaperEmissionCount(o.val()?parseInt(o.val().length):0),typeof d.url<"u"&&d.url&&e().ajax({url:d.url,data:{emissions:o.val().length},dataType:"json",method:"POST"}).done(function(r,i,s){r.type==="success"&&t.setNewspaperEmissionDiscount(r.response)})})}},{key:"getCategoryAmount",value:function(){return this.categoryAmount}},{key:"setCategoryAmount",value:function(t){return this.categoryAmount=t?parseFloat(t):0,this.summary(),this}},{key:"getEmissionAmount",value:function(){return this.emissionAmount}},{key:"setEmissionAmount",value:function(t){return this.emissionAmount=t?parseFloat(t):0,this.summary(),this}},{key:"getAddonsAmount",value:function(){return this.addonsAmount}},{key:"setAddonsAmount",value:function(t){return this.addonsAmount=t?parseFloat(t):0,this.summary(),this}},{key:"getNewspaperEmissionCount",value:function(){return this.newspaperEmissionCount}},{key:"setNewspaperEmissionCount",value:function(t){return this.newspaperEmissionCount=t?parseInt(t):0,this.summary(),this}},{key:"getNewspaperEmissionAmount",value:function(){return this.newspaperEmissionAmount}},{key:"setNewspaperEmissionAmount",value:function(t){return this.newspaperEmissionAmount=t?parseFloat(t):0,this.summary(),this}},{key:"getNewspaperAddonsAmount",value:function(){return this.newspaperAddonsAmount}},{key:"setNewspaperAddonsAmount",value:function(t){return this.newspaperAddonsAmount=t?parseFloat(t):0,this.summary(),this}},{key:"getNewspaperEmissionDiscount",value:function(){return this.newspaperEmissionDiscount}},{key:"setNewspaperEmissionDiscount",value:function(t){return this.newspaperEmissionDiscount=t,this.summary(),this}},{key:"setData",value:function(t){typeof t.category<"u"&&t.category&&this.setCategoryAmount(t.category),typeof t.emission<"u"&&t.emission&&this.setEmissionAmount(t.emission),typeof t.addons<"u"&&t.addons&&this.setAddonsAmount(t.addons)}},{key:"getTotalAmount",value:function(){var t=this.getNewspaperEmissionDiscount(),o=this.newspaperEmissionCount*this.newspaperEmissionAmount;return t&&t.value&&t.value>0&&(o=o-o*t.value),parseFloat(this.categoryAmount+this.emissionAmount+this.addonsAmount+o+this.newspaperAddonsAmount)}},{key:"togglePaymentOperators",value:function(){e()(".payment-operators").length&&(this.getTotalAmount()>0?(e()(".payment-operators").slideDown(),e()(".summary-card").length&&e()(".summary-card").slideDown(),e()(".form-invoice").length&&e()(".form-invoice").slideDown()):(e()(".summary-card").length&&e()(".summary-card").slideUp(),e()(".payment-operators").slideUp(function(){e()(this).find("input:radio").prop("checked",!1)}),e()(".form-invoice").length&&e()(".form-invoice").slideUp(function(){e()(this).find(".invoice-selector").prop("checked",!1),e()(this).find(".invoice-selector").trigger("change")})))}},{key:"categoryAmountForm",value:function(t,o){typeof o.options<"u"&&typeof o.options.front<"u"&&o.options.front&&typeof o.options.amount<"u"&&o.options.amount&&typeof o.options.amount_formatted<"u"&&o.options.amount_formatted&&(t.append('<div class="form-group text-first-color m-0"><strong>'+i18next.t("default.category_surcharge","Dop\u0142ata za kategori\u0119")+": "+o.options.amount_formatted+"</strong></div>"),this.setCategoryAmount(o.options.amount))}},{key:"summary",value:function(){this.togglePaymentOperators();var t=e()(".amount-summary"),o=e()("button.form-submit:submit"),d=o.data(),r=this.getTotalAmount();if(t.length){if(typeof d.text<"u"&&d.payText!=="undefined"&&(r>0?o.text(d.payText):o.text(d.text)),e()(".form-summary").length)this.summaryData();else if(t.data("currency")&&r>
10){var i=this.formatAmount(r,t.data("currency"));t.addClass("mt-4"),t.html('<h4 class="text-first-color">'+i18next.t("default.pay_summary","Razem do zap\u0142aty")+": "+i+"</h4>")}}}},{key:"summaryData",value:function(){var t=e()(".amount-summary"),o=e()("button.form-submit:submit"),d=o.data(),r=this.formatAmount(this.getTotalAmount(),t.data("currency")),i=this.getNewspaperEmissionDiscount(),s='<table class="table">';s+="<tbody>",this.categoryAmount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("default.category_surcharge","Dop\u0142ata za kategori\u0119")+"</td>",s+='<td class="px-0 text-right"><strong>'+this.formatAmount(this.categoryAmount,t.data("currency"))+"</strong></td>",s+="</tr>"),this.emissionAmount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("default.portal_surcharge","Dop\u0142ata za czas emisji na portalu")+"</td>",s+='<td class="px-0 text-right"><strong>'+this.formatAmount(this.emissionAmount,t.data("currency"))+"</strong></td>",s+="</tr>"),this.addonsAmount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("default.portal_addons_surcharge","Dop\u0142ata za opcje promowania na portalu")+"</td>",s+='<td class="px-0 text-right"><strong>
1'+this.formatAmount(this.addonsAmount,t.data("currency"))+"</strong></td>",s+="</tr>"),this.newspaperWordsCount>0&&this.newspaperEmissionCount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("newspaper.words_count","Liczba s\u0142\xF3w w og\u0142oszeniu gazetowym")+"</td>",s+='<td class="px-0 text-right"><strong>'+this.newspaperWordsCount+"</strong></td>",s+="</tr>"),this.newspaperCharactersCount>0&&this.newspaperEmissionCount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("newspaper.characters_count","Liczba znak\xF3w w og\u0142oszeniu gazetowym")+"</td>",s+='<td class="px-0 text-right"><strong>'+this.newspaperCharactersCount+"</strong></td>",s+="</tr>"),this.newspaperEmissionAmount>0&&this.newspaperEmissionCount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("newspaper.cost","Cena podstawowa og\u0142oszenia gazetowego")+"</td>",s+='<td class="px-0 text-right"><strong>'+this.formatAmount(this.newspaperEmissionAmount,t.data("currency"))+"</strong></td>",s+="</tr>"),this.newspaperEmissionCount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("newspaper.emissions_count","Liczba emisji w gazecie")+"</td>",s+='<td class="px-0 text-right"><strong>'+this.newspaperEmissionCount+"</strong></td>",s+="</tr>"),i&&i.value&&i.value>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("newspaper.emissions_discount","Rabat za wybran\u0105 liczb\u0119 emisji")+"</td>",s+='<td class="px-0 text-right"><strong>'+i.formattedValue+"</strong></td>",s+="</tr>"),this.newspaperAddonsAmount>0&&(s+="<tr>",s+='<td class="px-0">'+i18next.t("newspaper.addons_surcharge","Dop\u0142ata za wyr\xF3\u017Cnienie og\u0142oszenia w gazecie")+"</td>",s+='<td class="px-0 text-right"><strong>
1'+this.formatAmount(this.newspaperAddonsAmount,t.data("currency"))+"</strong></td>",s+="</tr>"),s+='<td class="px-0 text-first-color"><strong>'+i18next.t("default.pay_summary","Razem do zap\u0142aty")+"</strong></td>",s+='<td class="px-0 text-first-color text-right"><strong>'+r+" brutto</strong></td>",s+="</tr>",s+="</tbody>",s+="</table>",e()(".form-summary").html(s)}},{key:"formatAmount",value:function(t,o){return new Intl.NumberFormat(app_locale,{style:"currency",currency:o}).format(t)}},{key:"countWords",value:function(t){return t.length>0?t.trim().split(/\s+/).length:0}}])})();h.default=K})}]);

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.