PageSourceSearch

https://www.siniat.pl/etex/js/assets/js/58.39096d3dc2d0c3278061.mjs

js siniat.pl collected 2026-10-07 23:22:58 UTC 2,164 bytes, 20 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[58],{40058:function(t,e,a){a.r(e),a.d(e,{Pagination:function(){return l}});var i=a(68687),s=a(13857),n=a(47359),r=a(41181),o=a(43322);class l extends i.oi{static get properties(){return{current:{type:Number,reflect:!0},amount:{type:Number},labels:{type:Object},firstDisable:{type:Boolean},lastDisable:{type:Boolean},isLoading:{type:Boolean,reflect:!0,attribute:"is-loading"}}}constructor(){super(),(0,o.mI)()}createRenderRoot(){return this}render(){return this._SetDisableState(this.current),!this.amount||this.amount<=1?i.Ld:i.dy`
2            <div class="wc-pagination__info u-label-small">
3                ${this.getStringTemplate(this.labels?.pageInfo,[this.current||1,this.amount||1])}
4            </div>
5
6            <div class="wc-pagination__paging">
7                ${this._GetButton(1,this.labels.firstPage||"Go to first page",this.firstDisable,r.aX.DoubleArrowLeft)}
8                ${this._GetButton(this.current-1,this.labels.previousPage||"Go to previous page",this.firstDisable,r.aX.ArrowLeft)}
9                ${this._GetButton(this.current+1,this.labels.nextPage||"Go to next page",this.lastDisable,r.aX.ArrowRight)}
10                ${this._GetButton(this.amount,this.labels.lastPage||"Go to last page",this.lastDisable,r.aX.DoubleArrowRight)}
11            </div>
12        `}getStringTemplate(t,e){if(t||t.match(/{(\d+)}/g))return(0,s.A)(`<span class="wc-pagination__current">${t.replace("{0}","{0}</span>").replace(/{(\d+)}/g,((t,a)=>e[a]))}`)}_GetButton(t,e,a,s){return i.dy` <button
13            class="a-btn a-btn--secondary a-btn--icon"
14            @click=${()=>this._TogglePage(t)}
15            type="button"
16            aria-label="${e}"
17            disabled="${a||i.Ld}"
18        >
19            ${(0,o.aT)(s,"u-icon-tiny")}
20        </button>`}_SetDisableState(t){this.lastDisable=t>=this.amount||this.isLoading,this.firstDisable=t<=1||this.isLoading}_TogglePage(t){this.current=t,(0,n.r)(this,"PagingChanged",{current:this.current,amount:this.amount})}}customElements.define("wc-pagination",l)},13857:function(t,e,a){a.d(e,{A:function(){return i.A}});var i=a(71727)}}]);

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.