PageSourceSearch

https://www.koc.com.tr/_next/static/chunks/1533-f8eeacda67a9efce.js

js koc.com.tr collected 2026-10-02 04:59:55 UTC 11,421 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1533],{64625:(t,e,a)=>{a.d(e,{A:()=>s});var n=a(82914),o=a(38988);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}var r={run:function(){var t=this,e=t.slides.eq(t.activeIndex),a=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=(0,o.dY)(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),t.params.cssMode&&t.autoplay.running?t.autoplay.run():!1===e&&t.autoplay.run()},a)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(t){var e=this;e.autoplay.running&&(e.autoplay.paused||(e.autoplay.timeout&&clearTimeout(e.autoplay.timeout),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(function(t){e.$wrapperEl[0].addEventListener(t,e.autoplay.onTransitionEnd)}):(e.autoplay.paused=!1,e.autoplay.run())))},onVisibilityChange:function(){var t=(0,n.YE)();"hidden"===t.visibilityState&&this.autoplay.running&&this.autoplay.pause(),"visible"===t.visibilityState&&this.autoplay.paused&&(this.autoplay.run(),this.autoplay.paused=!1)},onTransitionEnd:function(t){var e=this;e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)}),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())},onMouseEnter:function(){var t=this;t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach(function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})},onMouseLeave:function(){this.params.autoplay.disableOnInteraction||(this.autoplay.paused=!1,this.autoplay.run())},attachMouseEvents:function(){this.params.autoplay.pauseOnMouseEnter&&(this.$el.on("mouseenter",this.autoplay.onMouseEnter),this.$el.on("mouseleave",this.autoplay.onMouseLeave))},detachMouseEvents:function(){this.$el.off("mouseenter",this.autoplay.onMouseEnter),this.$el.off("mouseleave",this.autoplay.onMouseLeave)}};let s={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){(0,o.wD)(this,{autoplay:i({},r,{running:!1,paused:!1})})},on:{init:function(t){t.params.autoplay.enabled&&(t.autoplay.start(),(0,n.YE)().addEventListener("visibilitychange",t.autoplay.onVisibilityChange),t.autoplay.attachMouseEvents())},beforeTransitionStart:function(t,e,a){t.autoplay.running&&(a||!t.params.autoplay.disableOnInteraction?t.autoplay.pause(e):t.autoplay.stop())},sliderFirstMove:function(t){t.autoplay.running&&(t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause())},touchEnd:function(t){t.params.cssMode&&t.autoplay.paused&&!t.params.autoplay.disableOnInteraction&&t.autoplay.run()},destroy:function(t){t.autoplay.detachMouseEvents(),t.autoplay.running&&t.autoplay.stop(),(0,n.YE)().removeEventListener("visibilitychange",t.autoplay.onVisibilityChange)}}}},78229:(t,e,a)=>{a.d(e,{A:()=>f});var n=a(14232),o=a(95062),i=a.n(o);function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}function s(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var p=function(t){function e(){var e;return(e=t.call(this)||this).handleExpired=e.handleExpired.bind(s(e)),e.handleErrored=e.handleErrored.bind(s(e)),e.handleChange=e.handleChange.bind(s(e)),e.handleRecaptchaRef=e.handleRecaptchaRef.bind(s(e)),e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var a=e.prototype;return a.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var t=this.props.grecaptcha;if(t&&void 0!==this._widgetId)return t.execute(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var t=this;return new Promise(function(e,a){t.executionResolve=e,t.executionReject=a,t.execute()})},a.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(t){this.props.onChange&&this.props.onChange(t),this.executionResolve&&(this.executionResolve(t),delete this.executionReject,delete this.executionResolve)},a.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=this.props.grecaptcha.render(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},a.delayOfCaptchaIframeRemoving=function(){var t=document.createElement("div");for(document.body.appendChild(t),t.style.display="none";this.captcha.firstChild;)t.appendChild(this.captcha.firstChild);setTimeout(function(){document.body.removeChild(t)},5e3)},a.handleRecaptchaRef=function(t){this.captcha=t},a.render=function(){var t=this.props,e=(t.sitekey,t.onChange,t.theme,t.type,t.tabindex,t.onExpired,t.onErrored,t.size,t.stoken,t.grecaptcha,t.badge,t.hl,function(t,e){if(null==t)return{};var a,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(a=i[n])>=0||(o[a]=t[a]);return o}(t,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return n.createElement("div",r({},e,{ref:this.handleRecaptchaRef}))},e}(n.Component);p.displayName="ReCAPTCHA",p.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"])}
1,p.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var u=a(23520),d=a.n(u);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}var l={},h=0,y="onloadcallback";let f=(function(t,e){return e=e||{},function(a){var o=a.displayName||a.name||"Component",r=function(o){function i(t,e){var a;return(a=o.call(this,t,e)||this).state={},a.__scriptURL="",a}i.prototype=Object.create(o.prototype),i.prototype.constructor=i,i.__proto__=o;var r=i.prototype;return r.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),this.__scriptLoaderID},r.setupScriptURL=function(){return this.__scriptURL="function"==typeof t?t():t,this.__scriptURL},r.asyncScriptLoaderHandleLoad=function(t){var e=this;this.setState(t,function(){return e.props.asyncScriptOnLoad&&e.props.asyncScriptOnLoad(e.state)})},r.asyncScriptLoaderTriggerOnScriptLoaded=function(){var t=l[this.__scriptURL];if(!t||!t.loaded)throw Error("Script is not loaded.");for(var a in t.observers)t.observers[a](t);delete window[e.callbackName]},r.componentDidMount=function(){var t=this,a=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=e,i=o.globalName,r=o.callbackName,s=o.scriptId;if(i&&void 0!==window[i]&&(l[a]={loaded:!0,observers:{}}),l[a]){var p=l[a];return p&&(p.loaded||p.errored)?void this.asyncScriptLoaderHandleLoad(p):void(p.observers[n]=function(e){return t.asyncScriptLoaderHandleLoad(e)})}var u={};u[n]=function(e){return t.asyncScriptLoaderHandleLoad(e)},l[a]={loaded:!1,observers:u};var d=document.createElement("script");for(var c in d.src=a,d.async=!0,e.attributes)d.setAttribute(c,e.attributes[c]);s&&(d.id=s);var h=function(t){if(l[a]){var e=l[a].observers;for(var n in e)t(e[n])&&delete e[n]}};r&&"undefined"!=typeof window&&(window[r]=function(){return t.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var t=l[a];t&&(t.loaded=!0,h(function(e){return!r&&(e(t),!0)}))},d.onerror=function(){var t=l[a];t&&(t.errored=!0,h(function(e){return e(t),!0}))},document.body.appendChild(d)},r.componentWillUnmount=function(){var t=this.__scriptURL;if(!0===e.removeOnUnmount)for(var a=document.getElementsByTagName("script"),n=0;n<a.length;n+=1)a[n].src.indexOf(t)>-1&&a[n].parentNode&&a[n].parentNode.removeChild(a[n]);var o=l[t];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===e.removeOnUnmount&&delete l[t])},r.render=function(){var t=e.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),r=function(t,e){if(null==t)return{};var a,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(a=i[n])>=0||(o[a]=t[a]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(r[t]=void 0!==window[t]?window[t]:void 0),r.ref=i,(0,n.createElement)(a,r)},i}(n.Component),s=(0,n.forwardRef)(function(t,e){return(0,n.createElement)(r,c({},t,{forwardedRef:e}))});return s.displayName="AsyncScriptLoader("+o+")",s.propTypes={asyncScriptOnLoad:i().func},d()(s,a)}})(function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+y+"&render=explicit"},{callbackName:y,globalName:"grecaptcha"})(p)}}]);

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.