PageSourceSearch

https://www.e-butterfly.org/ebapp/_next/static/chunks/509-34aa76851333c223.js

js e-butterfly.org collected 2026-10-02 06:45:10 UTC 12,290 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[509],{80115:function(e,t,n){n.d(t,{sD:function(){return m}});var r=n(21271),o=n(25113),l=n(87880),i=n(2265),s=n(85549);let a=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];var u=n(57437);let c=["component"],d=i.forwardRef((e,t)=>{let{component:n}=e,o=function(e){let{onEnter:t,onEntering:n,onEntered:o,onExit:l,onExiting:s,onExited:u,addEndListener:c,children:d}=e,f=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,a),m=(0,i.useRef)(null),h=(0,r.Z)(m,"function"==typeof d?null:d.ref),g=e=>t=>{e&&m.current&&e(m.current,t)},p=(0,i.useCallback)(g(t),[t]),E=(0,i.useCallback)(g(n),[n]),v=(0,i.useCallback)(g(o),[o]),Z=(0,i.useCallback)(g(l),[l]),b=(0,i.useCallback)(g(s),[s]),C=(0,i.useCallback)(g(u),[u]),x=(0,i.useCallback)(g(c),[c]);return Object.assign({},f,{nodeRef:m},t&&{onEnter:p},n&&{onEntering:E},o&&{onEntered:v},l&&{onExit:Z},s&&{onExiting:b},u&&{onExited:C},c&&{addEndListener:x},{children:"function"==typeof d?(e,t)=>d(e,Object.assign({},t,{ref:h})):(0,i.cloneElement)(d,{ref:h})})}(function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,c));return(0,u.jsx)(n,Object.assign({ref:t},o))});function f({children:e,in:t,onExited:n,onEntered:s,transition:a}){let[u,c]=(0,i.useState)(!t);t&&u&&c(!1);let d=function({in:e,onTransition:t}){let n=(0,i.useRef)(null),r=(0,i.useRef)(!0),s=(0,o.Z)(t);return(0,l.Z)(()=>{if(!n.current)return;let t=!1;return s({in:e,element:n.current,initial:r.current,isStale:()=>t}),()=>{t=!0}},[e,s]),(0,l.Z)(()=>(r.current=!1,()=>{r.current=!0}),[]),n}({in:!!t,onTransition:e=>{Promise.resolve(a(e)).then(()=>{e.isStale()||(e.in?null==s||s(e.element,e.initial):(c(!0),null==n||n(e.element)))},t=>{throw e.in||c(!0),t})}}),f=(0,r.Z)(d,e.ref);return u&&!t?null:(0,i.cloneElement)(e,{ref:f})}function m(e,t,n){return e?(0,u.jsx)(d,Object.assign({},n,{component:e})):t?(0,u.jsx)(f,Object.assign({},n,{transition:t})):(0,u.jsx)(s.Z,Object.assign({},n))}},90281:function(e,t,n){let r;n.d(t,{Z:function(){return y}});var o=n(93931);function l(e){void 0===e&&(e=(0,o.Z)());try{var t=e.activeElement;if(!t||!t.nodeName)return null;return t}catch(t){return e.body}}var i=n(41535),s=n(26857),a=n(67966),u=n(2265),c=n(54887),d=n(31823),f=n(78203),m=n(85856),h=n(25113),g=n(48112),p=n(49792),E=n(34462),v=n(80115),Z=n(5120),b=n(57437);let C=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"],x=(0,u.forwardRef)((e,t)=>{let{show:n=!1,role:o="dialog",className:x,style:y,children:O,backdrop:N=!0,keyboard:R=!0,onBackdropClick:k,onEscapeKeyDown:T,transition:j,runTransition:w,backdropTransition:S,runBackdropTransition:L,autoFocus:A=!0,enforceFocus:B=!0,restoreFocus:D=!0,restoreFocusOptions:F,renderDialog:_,renderBackdrop:M=e=>(0,b.jsx)("div",Object.assign({},e)),manager:W,container:I,onShow:P,onHide:V=()=>{},onExit:G,onExited:$,onExiting:H,onEnter:K,onEntering:X,onEntered:Y}=e,q=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,C),z=(0,E.Z)(),J=(0,p.Z)(I),Q=function(e){let t=(0,E.Z)(),n=e||(r||(r=new g.Z({ownerDocument:null==t?void 0:t.document})),r),o=(0,u.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>n.add(o.current),remove:()=>n.remove(o.current),isTopModal:()=>n.isTopModal(o.current),setDialogRef:(0,u.useCallback)(e=>{o.current.dialog=e},[]),setBackdropRef:(0,u.useCallback)(e=>{o.current.backdrop=e},[])})}(W),U=(0,d.Z)(),ee=(0,m.Z)(n),[et,en]=(0,u.useState)(!n),er=(0,u.useRef)(null);(0,u.useImperativeHandle)(t,()=>Q,[Q]),s.Z&&!ee&&n&&(er.current=l(null==z?void 0:z.document)),n&&et&&en(!1);let eo=(0,h.Z)(()=>
1{if(Q.add(),ec.current=(0,a.Z)(document,"keydown",ea),eu.current=(0,a.Z)(document,"focus",()=>setTimeout(ei),!0),P&&P(),A){var e,t;let n=l(null!=(e=null==(t=Q.dialog)?void 0:t.ownerDocument)?e:null==z?void 0:z.document);Q.dialog&&n&&!(0,i.Z)(Q.dialog,n)&&(er.current=n,Q.dialog.focus())}}),el=(0,h.Z)(()=>{if(Q.remove(),null==ec.current||ec.current(),null==eu.current||eu.current(),D){var e;null==(e=er.current)||null==e.focus||e.focus(F),er.current=null}});(0,u.useEffect)(()=>{n&&J&&eo()},[n,J,eo]),(0,u.useEffect)(()=>{et&&el()},[et,el]),(0,f.Z)(()=>{el()});let ei=(0,h.Z)(()=>{if(!B||!U()||!Q.isTopModal())return;let e=l(null==z?void 0:z.document);Q.dialog&&e&&!(0,i.Z)(Q.dialog,e)&&Q.dialog.focus()}),es=(0,h.Z)(e=>{e.target===e.currentTarget&&(null==k||k(e),!0===N&&V())}),ea=(0,h.Z)(e=>{R&&(0,Z.k)(e)&&Q.isTopModal()&&(null==T||T(e),e.defaultPrevented||V())}),eu=(0,u.useRef)(),ec=(0,u.useRef)();if(!J)return null;let ed=Object.assign({role:o,ref:Q.setDialogRef,"aria-modal":"dialog"===o||void 0},q,{style:y,className:x,tabIndex:-1}),ef=_?_(ed):(0,b.jsx)("div",Object.assign({},ed,{children:u.cloneElement(O,{role:"document"})}));ef=(0,v.sD)(j,w,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:G,onExiting:H,onExited:(...e)=>{en(!0),null==$||$(...e)},onEnter:K,onEntering:X,onEntered:Y,children:ef});let em=null;return N&&(em=M({ref:Q.setBackdropRef,onClick:es}),em=(0,v.sD)(S,L,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:em})),(0,b.jsx)(b.Fragment,{children:c.createPortal((0,b.jsxs)(b.Fragment,{children:[em,ef]}),J)})});x.displayName="Modal";var y=Object.assign(x,{Manager:g.Z})},48112:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(78413);let o=(0,n(79861).PB)("modal-open");class l{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){return Math.abs(e.defaultView.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",l=this.getElement();e.style={overflow:l.style.overflow,[n]:l.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt((0,r.Z)(l,n)||"0",10)+e.scrollBarWidth}px`),l.setAttribute(o,""),(0,r.Z)(l,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}
1removeContainerStyle(e){let t=this.getElement();t.removeAttribute(o),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return -1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){let t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}var i=l},85549:function(e,t,n){var r=n(25113),o=n(21271),l=n(2265);t.Z=function({children:e,in:t,onExited:n,mountOnEnter:i,unmountOnExit:s}){let a=(0,l.useRef)(null),u=(0,l.useRef)(t),c=(0,r.Z)(n);(0,l.useEffect)(()=>{t?u.current=!0:c(a.current)},[t,c]);let d=(0,o.Z)(a,e.ref),f=(0,l.cloneElement)(e,{ref:d});return t?f:s||!u.current&&i?null:f}},49792:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(93931),o=n(26857),l=n(2265),i=n(34462);let s=(e,t)=>o.Z?null==e?(t||(0,r.Z)()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect))?e:null:null;function a(e,t){let n=(0,i.Z)(),[r,o]=(0,l.useState)(()=>s(e,null==n?void 0:n.document));if(!r){let t=s(e);t&&o(t)}return(0,l.useEffect)(()=>{t&&r&&t(r)},[t,r]),(0,l.useEffect)(()=>{let t=s(e);t!==r&&o(t)},[e,r]),r}},34462:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(2265),o=n(26857);let l=(0,r.createContext)(o.Z?window:void 0);function i(){return(0,r.useContext)(l)}l.Provider},5120:function(e,t,n){n.d(t,{k:function(){return r}});function r(e){return"Escape"===e.code||27===e.keyCode}},41535:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}},80654:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}},51829:function(e,t,n){n.d(t,{Z:function(){return o}});var r=Function.prototype.bind.call(Function.prototype.call,[].slice);function o(e,t){return r(e.querySelectorAll(t))}},46818:function(e,t,n){var r=n(2265),o=n(25113),l=n(85754),i=n(67327),s=n(57437);let a=r.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:a,children:u,...c},d)=>{let f=(0,r.useContext)(i.Z),m=(0,o.Z)(()=>{null==f||f.onHide(),null==a||a()});return(0,s.jsxs)("div",{ref:d,...c,children:[u,n&&(0,s.jsx)(l.Z,{"aria-label":e,variant:t,onClick:m})]})});t.Z=a},8354:function(e,t,n){let r;n.d(t,{Z:function(){return f},t:function(){return d}});var o=n(80654),l=n(78413),i=n(51829);
1function s(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var a=n(48112);let u={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class c extends a.Z{adjustAndStore(e,t,n){let r=t.style[e];t.dataset[e]=r,(0,l.Z)(t,{[e]:`${parseFloat((0,l.Z)(t,e))+n}px`})}restore(e,t){let n=t.dataset[e];void 0!==n&&(delete t.dataset[e],(0,l.Z)(t,{[e]:n}))}setContainerStyle(e){var t;super.setContainerStyle(e);let n=this.getElement();if(t="modal-open",n.classList?n.classList.add(t):(0,o.Z)(n,t)||("string"==typeof n.className?n.className=n.className+" "+t:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+t)),!e.scrollBarWidth)return;let r=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";(0,i.Z)(n,u.FIXED_CONTENT).forEach(t=>this.adjustAndStore(r,t,e.scrollBarWidth)),(0,i.Z)(n,u.STICKY_CONTENT).forEach(t=>this.adjustAndStore(l,t,-e.scrollBarWidth)),(0,i.Z)(n,u.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(l,t,e.scrollBarWidth))}removeContainerStyle(e){var t;super.removeContainerStyle(e);let n=this.getElement();t="modal-open",n.classList?n.classList.remove(t):"string"==typeof n.className?n.className=s(n.className,t):n.setAttribute("class",s(n.className&&n.className.baseVal||"",t));let r=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";(0,i.Z)(n,u.FIXED_CONTENT).forEach(e=>this.restore(r,e)),(0,i.Z)(n,u.STICKY_CONTENT).forEach(e=>this.restore(o,e)),(0,i.Z)(n,u.NAVBAR_TOGGLER).forEach(e=>this.restore(o,e))}}function d(e){return r||(r=new c(e)),r}var f=c},85754:function(e,t,n){var r=n(74275),o=n.n(r),l=n(2265),i=n(42744),s=n.n(i),a=n(57437);let u={"aria-label":o().string,onClick:o().func,variant:o().oneOf(["white"])},c=l.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},o)=>(0,a.jsx)("button",{ref:o,type:"button",className:s()("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));c.displayName="CloseButton",c.propTypes=u,t.Z=c},82525:function(e,t,n){var r=n(42744),o=n.n(r),l=n(2265),i=n(18338),s=n(83290),a=n(58335),u=n(79915),c=n(57437);let d={[i.d0]:"show",[i.cn]:"show"},f=l.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},f)=>{let m={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},h=(0,l.useCallback)((e,t)=>{(0,a.Z)(e),null==r||r(e,t)},[r]);return(0,c.jsx)(u.Z,{ref:f,addEndListener:s.Z,...m,onEnter:h,childRef:t.ref,children:(r,i)=>l.cloneElement(t,{...i,className:o()("fade",e,t.props.className,d[r],n[r])})})});f.displayName="Fade",t.Z=f},67327:function(e,t,n){let r=n(2265).createContext({onHide(){}});t.Z=r},24617:function(e,t,n){var r=n(2265),o=n(42744),l=n.n(o),i=n(57437);t.Z=e=>r.forwardRef((t,n)=>(0,i.jsx)("div",{...t,ref:n,className:l()(t.className,e)}))}}]);

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.