PageSourceSearch

https://jventures.co.th/_next/static/chunks/5220-650ba6e78eafd299.js

js jventures.co.th collected 2026-10-01 23:54:27 UTC 11,059 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5220],{63:(t,e,i)=>{"use strict";var n=i(7260);i.o(n,"useParams")&&i.d(e,{useParams:function(){return n.useParams}}),i.o(n,"usePathname")&&i.d(e,{usePathname:function(){return n.usePathname}}),i.o(n,"useRouter")&&i.d(e,{useRouter:function(){return n.useRouter}}),i.o(n,"useSearchParams")&&i.d(e,{useSearchParams:function(){return n.useSearchParams}})},750:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RenderPropSticky=void 0,e.RenderPropSticky=n(i(6108)).default,e.default=n(i(6765)).default},2297:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unlisten=e.listen=void 0;let i=[],n=[];e.listen=function(t,e,o){for(let s=0,l=e.length;s<l;s+=1)!function(t,e,o){let s=i.indexOf(t);-1===s&&(s=i.length,i.push(t),n.push({el:t,callbacks:{},realCallbacks:{},realListenersCnt:0})),!function(t,e,i){if(t.callbacks[e]){-1===t.callbacks[e].indexOf(i)&&t.callbacks[e].push(i);return}t.callbacks[e]=[i],t.realCallbacks[e]=i=>{for(let n=0,o=t.callbacks[e].length;n<o;n+=1)t.callbacks[e][n](i)},t.el.addEventListener(e,t.realCallbacks[e]),t.realListenersCnt+=1}(n[s],e,o)}(t,e[s],o)},e.unlisten=function(t,e,o){for(let s=0,l=e.length;s<l;s+=1)!function(t,e,o){let s=i.indexOf(t);if(-1===s)return;let l=n[s];!function(t,e,i){if(!t.callbacks[e])return;let n=t.callbacks[e].indexOf(i);-1!==n&&(t.callbacks[e].splice(n,1),t.callbacks[e].length>0||(t.el.removeEventListener(e,t.realCallbacks[e]),delete t.callbacks[e],delete t.realCallbacks[e],t.realListenersCnt-=1))}(l,e,o),l.realListenersCnt>0||(i.splice(s,1),n.splice(s,1))}(t,e[s],o)}},2758:(t,e,i)=>{t.exports=i(9298)()},3341:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3640:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){do{let e=window.getComputedStyle(t);if("none"!==e.transform||"none"!==e.webkitTransform)return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}},5899:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});let i={};"undefined"!=typeof document&&(i.body=document.body,i.window=window,i.document=document);let n=(()=>{if("undefined"!=typeof document&&document.body){let t=document.body;return"function"==typeof t.matches?"matches":"function"==typeof t.webkitMatchesSelector?"webkitMatchesSelector":"function"==typeof t.mozMatchesSelector?"mozMatchesSelector":"function"==typeof t.msMatchesSelector?"msMatchesSelector":"function"==typeof t.oMatchesSelector?"oMatchesSelector":null}return null})();e.default=function(t,e){if(!t)return null;if(i.hasOwnProperty(t))return i[t];if("#"===t[0])return document.getElementById(t.slice(1));if(null===n)return null;let o=e;for(;o=o.parentElement;)if(o[n](t))return o||null;return null}},6108:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});let o=i(2115),s=i(2297),l=n(i(5899)),r=n(i(3640)),a=i(6954);class c extends o.Component{constructor(){super(...arguments),this.holderEl=null,this.wrapperEl=null,this.el=null,this.scrollEl=null,this.boundaryEl=null,this.disabled=!1,this.checkPositionIntervalId=null,this.lastMinHeight=null,this.state={isFixed:!1,wrapperStyles:void 0,holderStyles:void 0,height:0},this.holderRef=t=>{t!==this.holderEl&&(this.holderEl=t)},this.wrapperRef=t=>{t!==this.wrapperEl&&(this.wrapperEl=t,this.updateScrollEl(),this.updateBoundaryEl())},this.checkPosition=()=>{let t,{holderEl:e,wrapperEl:i,boundaryEl:n,scrollEl:o,disabled:s}=this;if(!o||!e||!i)return void console.error("Missing required elements:",{scrollEl:o,holderEl:e,wrapperEl:i});let{mode:l,onFixedToggle:c,offsetTransforms:u,isIOSFixEnabled:d,dontUpdateHolderHeightWhenSticky:h}=this.props;if(s){this.state.isFixed&&this.setState({isFixed:!1,wrapperStyles:{}});return}if(!e.getBoundingClientRect||!i.getBoundingClientRect)return;let p=e.getBoundingClientRect(),f=i.getBoundingClientRect(),b=n?(0,a.getRect)(n):a.infiniteRect,m=(0,a.getRect)(o),y=this.isFixed(p,f,b,m),g=null;if(u&&y&&o instanceof HTMLElement){let t=(0,r.default)(o);t&&(g=(0,a.getRect)(t))}let w=this.state.isFixed&&h&&this.lastMinHeight?this.lastMinHeight:f.height;this.lastMinHeight=w;let E=d?{transform:"translateZ(0)",WebkitTransform:"translateZ(0)"}:void 0,k={isFixed:y,height:f.height,holderStyles:{minHeight:`${w}px`},wrapperStyles:y?Object.assign(Object.assign({},E),(t=this.props,("top"===l?(t,e)=>{let{bottomOffset:i,hideOnBoundaryHit:n}=e,{top:o,height:s,width:l,boundaryBottom:r}=t;return n||o+s+i<r?{top:`${o}px`,width:`${l}px`,position:"fixed"}:!n&&r>0?{top:`${r-s-i}px`,width:`${l}px`,position:"fixed"}:{width:`${l}px`,bottom:`${i}px`,position:"absolute"}}:(t,e)=>{let{bottomOffset:i,hideOnBoundaryHit:n}=e,{bottom:o,height:s,width:l,boundaryTop:r}=t;return n||o-s-i>r?{width:`${l}px`,top:`${o-s}px`,position:"fixed"}:{width:`${l}px`,top:`${i}px`,position:"absolute"}})({boundaryTop:"bottom"===l?b.top:0,boundaryBottom:"top"===l?b.bottom:0,top:"top"===l?m.top-(g?g.top:0):0,bottom:"bottom"===l?m.bottom-(g?g.bottom:0):0,width:p.width,height:f.height},t))):E};y!==this.state.isFixed&&c&&"function"==typeof c&&c(y),((t,e)=>{let i=t.wrapperStyles,n=e.wrapperStyles;
1if(t.isFixed!==e.isFixed||t.height!==e.height||!i&&n||i&&!n)return!1;if(!n)return!0;for(let t in i)if(i.hasOwnProperty(t)&&i[t]!==n[t])return!1;return!0})(this.state,k)||this.setState(k)}}isFixed(t,e,i,n){let{hideOnBoundaryHit:o,bottomOffset:s,topOffset:l,mode:r}=this.props;if(this.disabled||o&&i&&!(0,a.isIntersecting)(i,n,l,s))return!1;let c=o?e.height+s:0;return"top"===r?t.top+l<n.top&&n.top+c<=i.bottom:t.bottom-l>n.bottom&&n.bottom-c>=i.top}updateScrollEl(){if(!this.wrapperEl)return;this.scrollEl&&((0,s.unlisten)(this.scrollEl,["scroll"],this.checkPosition),this.scrollEl=null);let{scrollElement:t}=this.props;"string"==typeof t?this.scrollEl=(0,l.default)(t,this.wrapperEl):this.scrollEl=t,this.scrollEl?(0,s.listen)(this.scrollEl,["scroll"],this.checkPosition):console.error("Cannot find scrollElement "+("string"==typeof t?t:"unknown"))}updateBoundaryEl(){if(!this.wrapperEl)return;let{boundaryElement:t}=this.props;this.boundaryEl=(0,l.default)(t,this.wrapperEl),(this.boundaryEl===window||this.boundaryEl===document)&&(this.boundaryEl=null)}initialize(){let{positionRecheckInterval:t,disabled:e}=this.props;this.disabled=e,(0,s.listen)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.checkPosition(),t&&(this.checkPositionIntervalId=setInterval(this.checkPosition,t))}componentDidUpdate({scrollElement:t,boundaryElement:e,disabled:i}){(t!==this.props.scrollElement||null===this.scrollEl)&&this.updateScrollEl(),(e!==this.props.boundaryElement||null===this.boundaryEl)&&this.updateBoundaryEl(),i!==this.props.disabled&&(this.disabled=this.props.disabled,this.checkPosition())}componentDidMount(){this.initialize(),null===this.wrapperEl&&console.error("Wrapper element is missing, please make sure that you have assigned refs correctly")}componentWillUnmount(){this.scrollEl&&(0,s.unlisten)(this.scrollEl,["scroll"],this.checkPosition),(0,s.unlisten)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.boundaryEl=null,this.scrollEl=null,this.checkPositionIntervalId&&clearInterval(this.checkPositionIntervalId)}render(){let{holderRef:t,wrapperRef:e}=this,{isFixed:i,wrapperStyles:n,holderStyles:o}=this.state;return this.props.children({holderRef:t,wrapperRef:e,isFixed:i,wrapperStyles:n,holderStyles:o})}}c.defaultProps={mode:"top",topOffset:0,bottomOffset:0,isIOSFixEnabled:!0,offsetTransforms:!0,disabled:!1,onFixedToggle:void 0,boundaryElement:void 0,hideOnBoundaryHit:!0,scrollElement:"window",dontUpdateHolderHeightWhenSticky:!1},e.default=c},6765:function(t,e,i){"use strict";var n=this&&this.__rest||function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.defaultProps=void 0;let s=o(i(2115)),l=o(i(6108));e.defaultProps=Object.assign(Object.assign({},l.default.defaultProps),{stickyClassName:"sticky",wrapperClassName:"",stickyStyle:{}}),e.default=function(t){let i=Object.assign(Object.assign({},e.defaultProps),t),{mode:o,onFixedToggle:r,hideOnBoundaryHit:a,offsetTransforms:c,disabled:u,boundaryElement:d,scrollElement:h,bottomOffset:p,topOffset:f,positionRecheckInterval:b,children:m,isIOSFixEnabled:y,dontUpdateHolderHeightWhenSticky:g,wrapperClassName:w,stickyClassName:E,stickyStyle:k}=i,O=n(i,["mode","onFixedToggle","hideOnBoundaryHit","offsetTransforms","disabled","boundaryElement","scrollElement","bottomOffset","topOffset","positionRecheckInterval","children","isIOSFixEnabled","dontUpdateHolderHeightWhenSticky","wrapperClassName","stickyClassName","stickyStyle"]);return s.default.createElement(l.default,{mode:o,onFixedToggle:r,hideOnBoundaryHit:a,offsetTransforms:c,disabled:u,boundaryElement:d,scrollElement:h,bottomOffset:p,topOffset:f,positionRecheckInterval:b,isIOSFixEnabled:y,dontUpdateHolderHeightWhenSticky:g},({isFixed:t,wrapperStyles:e,wrapperRef:i,holderStyles:n,holderRef:o})=>s.default.createElement("div",Object.assign({},O,{ref:o,style:n}),s.default.createElement("div",Object.assign({},O,{className:`${w} ${t?E:""}`,style:t?Object.assign(Object.assign({},e),k):e,ref:i}),m)))}},6954:(t,e)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.isIntersecting=e.getRect=e.infiniteRect=void 0,e.infiniteRect={top:-1/0,bottom:1/0,height:1/0,left:-1/0,right:1/0,width:1/0},e.getRect=function(t){return t&&"getBoundingClientRect"in t&&"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():t===window||t===document?{top:0,left:0,bottom:window.innerHeight,height:window.innerHeight,width:window.innerWidth,right:window.innerWidth}:{top:0,left:0,right:0,bottom:0,width:0,height:0}},e.isIntersecting=function(t,e,i,n){let o=t.top+i,s=t.bottom+n;return o>=e.top&&o<=e.bottom||s>=e.top&&s<=e.bottom||s>=e.bottom&&o<=e.top}},9298:(t,e,i)=>{"use strict";var n=i(3341);function o(){}function s(){}s.resetWarningCache=o,t.exports=function(){function t(t,e,i,o,s,l){if(l!==n){var r=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function e(){return t}t.isRequired=t;var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:s,resetWarningCache:o};return i.PropTypes=i,i}}}]);

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.