PageSourceSearch

https://www.chulabook.com/_next/static/chunks/pages/help-3f35527c4e19e3057e19.js

js chulabook.com collected 2026-09-24 09:36:48 UTC 5,940 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[116],{BRRx:function(t,e,n){"use strict";function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return a}))},GO4E:function(t,e,n){"use strict";n.r(e);var a=n("TSYQ"),i=n.n(a),s=n("q1tI"),o=n.n(s),r=n("nsn4"),c=n("CafY"),l=n("yzAy"),p=n("4JyM"),u=o.a.createElement;e.default=Object(p.withTranslation)("mobile_help")((function(t){var e=Object(s.useState)(!1),n=e[0],a=e[1],h=Object(s.useState)(),f=h[0],m=h[1],d=Object(s.useState)(),b=d[0],g=d[1],E=t.t;return Object(s.useEffect)((function(){l.a.getAllContent({key:"help",subkey:"faq"}).then((function(t){var e=t.data;m(e)})).catch((function(t){console.log(t)})),l.a.getCustompage("help").then((function(t){var e=t.data;g(e)})).catch((function(t){console.log(t.response)}))}),[]),u(c.a,{className:"mb-5"},u("div",{className:"bg-light-less-gray min-vh-100"},u("div",{className:"help-nav "},u("div",{className:"container px-0"},u(p.Link,{href:"/user/dashboard"},u("a",{className:"btn-back help-nav-back"},u("img",{className:"img-fluid",src:"/mobile/image/icon/icon-back.svg"}))),u("h2",{className:"h20 text-course mt-auto mb-3"},E("need_help")," ",u("br",null),E("which"),"?"))),u("div",{className:"container mt-3"},u("div",{className:"help-list"},u("h4",{className:"text-black my-auto"},E("faq"))),f?f.map((function(t,e){return u(o.a.Fragment,null,u("div",{className:"help-list",key:e,onClick:function(){return e=t.id,void a(e!=n&&e);var e}},u("p",{className:"text-black my-auto two-line mr-2"},t.title_th),u("i",{className:i()("text-pink my-auto fas ",{"fa-chevron-up":n==t.id,"fa-chevron-down":n!=t.id})})),u(r.a,{isOpen:n==t.id},u("div",{className:"p-12 py-3 bg-light-less-gray img-fix"},u("div",{dangerouslySetInnerHTML:{__html:t.description_th}}))))})):""),u("div",{className:"container mt-3"},u("div",{className:"help-list"},u("h4",{className:"text-black my-auto"},E("topic"))),b?b.map((function(t,e){return"faq"!=t.path&&u(p.Link,{href:"/help/[subkey]?key=help&subkey=".concat(t.path),as:"/help/".concat(t.path)},u("a",{key:e},u("div",{className:"help-list"},u("div",{className:"d-flex w-100"},u("img",{className:"img-fluid mr-3 w-24px",src:t.image?t.image:"/mobile/image/icon/icon-cart-pink.svg"}),u("p",{className:"text-black my-auto two-line mr-2"},t.title_th)),u("i",{className:"text-pink my-auto fas fa-chevron-right"}))))})):""),u("div",{className:"container bg-white mt-3  py-5"},u("div",{className:"d-flex"},u("h2",{className:"text-black h20 text-center m-auto"},E("need_more_help"),"?")),u("div",{className:"d-flex justify-content-center mt-3"},u(p.Link,{href:"/contact"},u("a",{className:"btn bg-pink text-white shadow-likecard"},E("translations:contact_us"))))),u("div",{className:"footer-space"})))}))},JxaS:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/help",function(){return n("GO4E")}])},nsn4:function(t,e,n){"use strict";var a,i=n("ELrk"),s=n("sDqW"),o=n("BRRx"),r=n("tEjU"),c=n("mAUT"),l=n("q1tI"),p=n.n(l),u=n("17x9"),h=n.n(u),f=n("TSYQ"),m=n.n(f),d=n("1jjB"),b=n("33Jr"),g=["tag","isOpen","className","navbar","cssModule","children","innerRef"];function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y=v(v({},d.Transition.propTypes),{},{isOpen:h.a.bool,children:h.a.oneOfType([h.a.arrayOf(h.a.node),h.a.node]),tag:b.h,className:h.a.node,navbar:h.a.bool,cssModule:h.a.object,innerRef:h.a.oneOfType([h.a.func,h.a.string,h.a.object])}),O=v(v({},d.Transition.defaultProps),{},{isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:b.c.Collapse}),N=((a={})[b.b.ENTERING]="collapsing",a[b.b.ENTERED]="collapse show",a[b.b.EXITING]="collapsing",a[b.b.EXITED]="collapse",a);function x(t){return t.scrollHeight}var j=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={height:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(t){n[t]=n[t].bind(Object(o.a)(n))})),n}Object(r.a)(e,t);var n=e.prototype;return n.onEntering=function(t,e){this.setState({height:x(t)}),this.props.onEntering(t,e)},n.onEntered=function(t,e){this.setState({height:null}),this.props.onEntered(t,e)},n.onExit=function(t){this.setState({height:x(t)}),this.props.onExit(t)},n.onExiting=function(t){t.offsetHeight;this.setState({height:0}),this.props.onExiting(t)},n.onExited=function(t){this.setState({height:null}),this.props.onExited(t)},n.render=function(){var t=this,e=this.props,n=e.tag,a=e.isOpen,o=e.className,r=e.navbar,c=e.cssModule,l=e.children,u=(e.innerRef,Object(s.a)(e,g)),h=this.state.height,f=Object(b.g)(u,b.a),E=Object(b.f)(u,b.a);return p.a.createElement(d.Transition,Object(i.a)({},f,{in:a,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(e){var a=function(t){return N[t]||"collapse"}(e),s=Object(b.e)(m()(o,a,r&&"navbar-collapse"),c),u=null===h?null:{height:h};return p.a.createElement(n,Object(i.a)({},E,{style:v(v({},E.style),u),className:s,ref:t.props.innerRef}),l)}))},e}(l.Component);j.propTypes=y,j.defaultProps=O,e.a=j},tEjU:function(t,e,n){"use strict";
1function a(t,e){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e)}n.d(e,"a",(function(){return i}))}},[["JxaS",0,2,1,3,5,4,6,7,8,9,10,12]]]);

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.