PageSourceSearch

https://e-qanun.az/_next/static/chunks/pages/index-3110c520678852fd.js

js e-qanun.az collected 2026-09-24 09:07:04 UTC 7,828 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return e(3795)}])},3795:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return z}});var i=e(5893),a=e(7568),o=e(4051),r=e.n(o),l=e(7294),c=e(4230),s=e(6154),u=e(790),d=e(6656),f=e(1435),p=e(484),h=e(9473),_=e(479),g=e(3454),S=function(){var t=(0,h.v9)((function(t){return t.value})).value,n=(0,l.useState)(""),e=(n[0],n[1]),o=(0,l.useState)(!1),S=o[0],v=o[1],x=(0,l.useContext)(f.ZP).setShowSearch,m=(0,_.Z)().langApi,w={EN:g.env.NEXT_PUBLIC_BASE_URL_E,AZ:"https://api.e-qanun.az/"};return(0,l.useEffect)((function(){var n=localStorage.getItem("eqanun_token");if(n)e(n);else{var i=function(){var n=(0,a.Z)(r().mark((function n(){var i,a;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,s.Z.get("".concat(t?"https://napi.e-qanun.az/":w[m],"token"),{headers:{"Accept-Language":"AZ"}});case 3:i=n.sent,a=i.data,e(a),localStorage.setItem("eqanun_token",a),n.next=12;break;case 9:n.prev=9,n.t0=n.catch(0),console.error("Token",n.t0);case 12:case"end":return n.stop()}}),n,null,[[0,9]])})));return function(){return n.apply(this,arguments)}}();i()}}),[t]),(0,l.useEffect)((function(){"undefined"!=window&&window.innerWidth>992&&v(!0)}),[]),(0,i.jsxs)("div",{children:[(0,i.jsx)(p.Z,{condition:S,children:(0,i.jsx)(d.Z,{showModal:S,setShowModal:v})}),(0,i.jsx)(u.Z,{description:"E-QANUN",title:"E-QANUN"}),(0,i.jsx)(c.Z,{setShowSearch:x})]})},v=e(5847),x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:768,n=(0,l.useState)((function(){return window.innerWidth<t})),e=n[0],i=n[1];return(0,l.useEffect)((function(){var n=function(){i(window.innerWidth<t)};return n(),window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}),[t]),{isMobile:e,isDesktop:!e}},m=e(4924),w=e(5675),E=e.n(w),y={LEFT:"left",RIGHT:"right"},N=e(9815);var b=function t(){for(var n=arguments.length,e=new Array(n),i=0;i<n;i++)e[i]=arguments[i];var a=[],o=!0,r=!1,l=void 0;try{for(var c,s=e[Symbol.iterator]();!(o=(c=s.next()).done);o=!0){var u=c.value;if(u)if("string"===typeof u||"number"===typeof u)a.push(String(u));else if(Array.isArray(u))a.push(t.apply(void 0,(0,N.Z)(u)));else if("object"===typeof u)for(var d in u)u[d]&&a.push(d)}}catch(f){r=!0,l=f}finally{try{o||null==s.return||s.return()}finally{if(r)throw l}}return a.join(" ")},j=e(4823),A=e.n(j);function C(t){var n=t.data,e=t.type,a=t.onExpand,o=t.isExpanded,r=t.onExpandOther,c=t.hasAnyExpanded,s=t.onClickButton,u=x().isMobile,d=null!=u,f=(0,l.useState)(!1),p=f[0],h=f[1],_=(0,l.useRef)(null),g=(0,l.useRef)(!1),S=function(){"video"===n.media.type&&_.current&&_.current.play()},v=function(){"video"===n.media.type&&_.current&&_.current.pause()};return(0,l.useEffect)((function(){o?(h(!0),e===y.LEFT&&"video"===n.media.type&&S()):e===y.LEFT&&"video"===n.media.type&&v()}),[o]),(0,i.jsxs)("section",{onClick:function(t){if(!u&&!o){var n=t.target;"BUTTON"===n.tagName||n.closest("button")||"IMG"===n.tagName||(h(!0),a())}},className:function(){var t;return b(e===y.LEFT?A().leftSection:A().rightSection,(t={},(0,m.Z)(t,A().expanded,o&&!u),(0,m.Z)(t,A().wasExpanded,p&&!u),t))}(),onMouseEnter:function(){u||g.current||c&&!o||S()},onMouseLeave:function(){u||o||v()},children:[(0,i.jsxs)("div",{className:A().content,children:[(0,i.jsxs)("div",{className:A().textContent,children:[(0,i.jsx)("img",{src:n.logo,alt:n.logoAlt}),(0,i.jsx)("h2",{className:A().title,children:n.title}),(0,i.jsx)("p",{className:A().description,children:n.description}),(0,i.jsx)("button",{className:function(){var t=e===y.LEFT;return b(A().button,t?A().leftButton:A().rightButton)}(),onClick:function(t){if(s)return s();!function(t,n){t.stopPropagation(),window.location.href=n}(t,n.buttonUrl)},children:n.buttonText})]}),(0,i.jsx)("div",{className:function(){var t,i=e===y.LEFT;return b(A().imageContainer,(t={},(0,m.Z)(t,A().leftImageContainer,i),(0,m.Z)(t,A().rightImageContainer,!i),(0,m.Z)(t,A().videoContainer,"video"===n.media.type&&i),t))}(),children:"video"!==n.media.type||u?(0,i.jsx)("img",{alt:n.media.alt,src:d&&u&&n.media.mobileSrc?n.media.mobileSrc:n.media.src,className:A().image}
1):(0,i.jsx)("video",{loop:!0,playsInline:!0,ref:_,preload:"auto",autoPlay:!0,src:n.media.src,className:A().image,children:"Brauzeriniz video format\u0131n\u0131 d\u0259st\u0259kl\u0259mir."})})]}),o&&(0,i.jsx)("button",{type:"button","aria-label":"Ba\u011fla",onClick:function(t){t.stopPropagation(),t.preventDefault(),r()},className:function(){var t=e===y.LEFT;return b(A().arrowButton,t?A().leftArrow:A().rightArrow)}(),children:(0,i.jsx)(E(),{src:"/arrow.svg",alt:"collapse",width:12,height:12})})]})}var k=e(3607),L=e.n(k);function T(t){var n=t.leftData,e=t.rightData,a=x().isMobile,o=(0,l.useRef)(null),r=(0,l.useState)(null),c=r[0],s=r[1],u=(0,v.t)().onSetShowLanding,d=function(t){a||s(t)},f=function(){a||("left"===c?s("right"):"right"===c&&s("left"))},p=function(t){a||s("left"===t?"right":"left")},h=!!c&&!a;return(0,i.jsxs)("div",{ref:o,className:L().container,children:[(0,i.jsx)(C,{type:"left",data:n,onCollapse:f,hasAnyExpanded:h,onExpand:function(){return d("left")},isExpanded:"left"===c,onExpandOther:function(){return p("left")}}),(0,i.jsx)(C,{type:"right",data:e,onCollapse:f,hasAnyExpanded:h,onExpand:function(){return d("right")},isExpanded:"right"===c,onExpandOther:function(){return p("right")},onClickButton:function(){return u(!1)}})]})}var B={logo:"/logo-ai.svg",logoAlt:"E-QANUN AI Logo",buttonUrl:"https://e-qanun.ai/",title:"S\xfcni intellekt \u0259sasl\u0131 axtar\u0131\u015f",description:"Qanunvericilik bazas\u0131na \u0259saslanan s\xfcni intellekt d\u0259st\u0259kli innovativ h\xfcquqi axtar\u0131\u015f platformas\u0131",buttonText:"Axtar\u0131\u015fa ba\u015fla",media:{type:"video",src:"/e-qanun-ai.mp4",mobileSrc:"/e-qanun-ai-mobile.png"}},q={logo:"/logo.svg",logoAlt:"E-QANUN Logo",buttonUrl:"https://e-qanun.az/",title:"Standart v\u0259 mexaniki axtar\u0131\u015f",description:"Qanunvericilik bazas\u0131na \u0259saslanan \u0259n\u0259n\u0259vi h\xfcquqi axtar\u0131\u015f platformas\u0131",buttonText:"Axtar\u0131\u015fa ba\u015fla",media:{type:"image",src:"/e-qanun.png",alt:"E-QANUN logo",mobileSrc:"/e-qanun-mobile.png"}},I=e(1972),Z=e.n(I),U=function(){return(0,i.jsx)("div",{className:Z().container,children:(0,i.jsx)(T,{leftData:B,rightData:q})})},z=function(){var t=(0,v.t)(),n=t.showLanding;return t.isReady?n?(0,i.jsx)(U,{}):(0,i.jsx)(f.PO,{children:(0,i.jsx)(S,{})}):null}},1972:function(t){t.exports={container:"Landing_container__PGBKG"}},4823:function(t){t.exports={container:"SplittedSection_container__lrafz",leftSection:"SplittedSection_leftSection__GGfRt",rightSection:"SplittedSection_rightSection__OpoNk",expanded:"SplittedSection_expanded__6LuS8",leftImageContainer:"SplittedSection_leftImageContainer__zTpMy",rightImageContainer:"SplittedSection_rightImageContainer__CmCOq",content:"SplittedSection_content__eGdI_",textContent:"SplittedSection_textContent__xuj0e",title:"SplittedSection_title__GwfMO",highlight:"SplittedSection_highlight__ceaRI",description:"SplittedSection_description__eUatK",button:"SplittedSection_button__czIy0",rightButton:"SplittedSection_rightButton__B4Dni",leftButton:"SplittedSection_leftButton__uGJFC",imageContainer:"SplittedSection_imageContainer__kcppo",image:"SplittedSection_image__cGyaf",arrowButton:"SplittedSection_arrowButton__2WrOg",leftArrow:"SplittedSection_leftArrow__6sUqX",rightArrow:"SplittedSection_rightArrow__lELDN",wasExpanded:"SplittedSection_wasExpanded__vUxMq"}},3607:function(t){t.exports={container:"SplittedSectionContainer_container__TjIiP"}}},function(t){t.O(0,[644,325,562,34,774,888,179],(function(){return n=5557,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.