PageSourceSearch

https://capchem.com/p__console__produce__holiday.b3eec75c.async.js

js capchem.com collected 2026-10-04 02:13:34 UTC 5,716 bytes, 1 lines download raw bytes

1(self["webpackChunkapplication"]=self["webpackChunkapplication"]||[]).push([[11099],{45179:function(e,t,n){"use strict";n.r(t);n(89032);var r=n(15746),o=(n(57663),n(71577)),i=(n(13062),n(71230)),u=(n(34792),n(48086)),c=(n(9715),n(92080)),s=n(2824),a=(n(47673),n(4107)),l=n(67294),f=n(83647),h=n(10279),d=n(72709),v=n(85893);const p=a.Z.TextArea,g=e=>{const t=(0,l.useState)(""),n=(0,s.Z)(t,2),a=(n[0],n[1],c.Z.useForm()),g=(0,s.Z)(a,1),m=g[0],Z=(0,l.useState)(""),x=(0,s.Z)(Z,2),y=x[0],b=x[1],w=(0,h.ZP)(d.YKQ,{manual:!0,onSuccess:({data:e})=>{for(var t=[],n=0;n<e.rows.length;n++)t.push(e.rows[n].day);var r=t.join(",");console.log(r),b(r)},onError:e=>{console.log(e),u.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}}),E=(0,h.ZP)(d.O15,{manual:!0,onSuccess:()=>{u.ZP.success("\u4fee\u6539\u6210\u529f").then()},onError:e=>{u.ZP.error(null===e||void 0===e?void 0:e.errorMessage).then()}});return(0,l.useEffect)((()=>{w.run({}).then()}),[]),(0,v.jsx)("div",{children:(0,v.jsx)(i.Z,{children:(0,v.jsx)(r.Z,{span:24,children:(0,v.jsxs)(c.Z,{layout:"inline",form:m,initialValues:{days:y},onFinish:e=>{w.run({}).then()},children:[(0,v.jsxs)(c.Z.Item,{label:"\u975e\u5de5\u4f5c\u65e5",style:{marginTop:"10px"},children:[(0,v.jsx)(p,{placeholder:"\u8bf7\u8f93\u5165\u63cf\u8ff0",style:{width:"600px"},autoSize:{minRows:20,maxRows:20},value:y,onChange:e=>{b(e.target.value)}}),(0,v.jsxs)(i.Z,{style:{color:"#ccc"},children:[(0,v.jsx)("a",{href:"https://www.gov.cn/zhengce/content/202310/content_6911527.htm",target:"_blank",children:"\u53c2\u8003\u6570\u636e1"}),(0,v.jsx)("span",{style:{marginLeft:"10px"},children:" "}),(0,v.jsx)("a",{href:"https://github.com/lufei222/san-holiday/blob/master/src/main/resources/2024.sql",target:"_blank",children:"\u53c2\u8003\u6570\u636e2"})]})]}),(0,v.jsxs)(c.Z.Item,{style:{marginTop:"10px",display:"flex"},children:[(0,v.jsx)(o.Z,{type:"primary",onClick:()=>{let e="";e=E;let t={days:y};var n=confirm("\u786e\u5b9a\u4fee\u6539\u8282\u5047\u65e5\uff08\u975e\u5de5\u4f5c\u65e5\uff09\u6570\u636e");0!=n&&e&&(0,f.sA)(e,t)},children:"\u4fdd\u5b58"}),(0,v.jsx)("br",{}),(0,v.jsx)("br",{}),(0,v.jsx)(o.Z,{type:"default",htmlType:"submit",children:"\u5237\u65b0"})]})]})})})})};t["default"]=g},33603:function(e,t,n){"use strict";n.d(t,{mL:function(){return l},q0:function(){return a}});var r=n(93355),o=function(){return{height:0,opacity:0}},i=function(e){var t=e.scrollHeight;return{height:t,opacity:1}},u=function(e){return{height:e?e.offsetHeight:0}},c=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},s={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:u,onLeaveActive:o,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500},a=((0,r.b)("bottomLeft","bottomRight","topLeft","topRight"),function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"}),l=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t["ZP"]=s},15746:function(e,t,n){"use strict";var r=n(21584);t["Z"]=r.Z},89032:function(e,t,n){"use strict";n(38663),n(6999)},71230:function(e,t,n){"use strict";var r=n(92820);t["Z"]=r.Z},13062:function(e,t,n){"use strict";n(38663),n(6999)},48717:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(22122),o=n(67294),i=n(50344),u=(n(80334),n(28991)),c=n(42550),s=n(34203),a=n(91033),l=new Map;function f(e){e.forEach((function(e){var t,n=e.target;null===(t=l.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}var h=new a.Z(f);function d(e,t){l.has(e)||(l.set(e,new Set),h.observe(e)),l.get(e).add(t)}function v(e,t){l.has(e)&&(l.get(e).delete(t),l.get(e).size||(h.unobserve(e),l.delete(e)))}var p=n(6610),g=n(5991),m=n(10379),Z=n(54070),x=function(e){(0,m.Z)(n,e);var t=(0,Z.Z)(n);function n(){return(0,p.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),y=o.createContext(null);function b(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),u=o.useContext(y),c=o.useCallback((function(e,t,o){r.current+=1;var c=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===r.current&&(null===n||void 0===n||n(i.current),i.current=[])})),null===u||void 0===u||u(e,t,o)}),[n,u]);return o.createElement(y.Provider,{value:c},t)}function w(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),a=o.useContext(y),l="function"===typeof t,f=l?t(r):t,h=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),p=!l&&o.isValidElement(f)&&(0,c.Yr)(f),g=p?f.ref:null,m=o.useMemo((function(){return(0,c.sQ)(g,r)}),[g,r]),Z=o.useRef(e);Z.current=e;var b=o.useCallback((function(e){var t=Z.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,c=o.height,s=e.offsetWidth,l=e.offsetHeight,f=Math.floor(i),d=Math.floor(c);if(h.current.width!==f||h.current.height!==d||h.current.offsetWidth!==s||h.current.offsetHeight!==l){var v={width:f,height:d,offsetWidth:s,offsetHeight:l};h.current=v;var p=s===Math.round(i)?i:s,g=l===Math.round(c)?c:l,m=(0,u.Z)((0,u.Z)({},v),{},{offsetWidth:p,offsetHeight:g});null===a||void 0===a||a(m,e,r),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return o.useEffect((function(){var e=(0,s.Z)(r.current)||(0,s.Z)(i.current);return e&&!n&&d(e,b),function(){return v(e,b)}}),[r.current,n]),o.createElement(x,{ref:i},p?o.cloneElement(f,{ref:m}):f)}var E="rc-observer-key";function j(e){var t=e.children,n="function"===typeof t?[t]:(0,i.Z)(t);return n.map((function(t,n){var i=(null===t||void 0===t?void 0:t.key)||"".concat(E,"-").concat(n);return o.createElement(w,(0,r.Z)({},e,{key:i}),t)}))}j.Collection=b;var R=j}}]);

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.