PageSourceSearch

https://www.assemblea.emr.it/static/js/react-select-creatable.f346d55e.chunk.js

js assemblea.emr.it collected 2026-09-24 09:04:07 UTC 2,455 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[39495],{49153:(t,e,n)=>{n.r(e),n.d(e,{default:()=>L,defaultProps:()=>v,makeCreatableSelect:()=>O});var o=n(2717),i=n(28162),a=n(84311),r=n(51144),l=n(83943),s=n(51760),u=n(67294),c=n(11374),p=n(43138),f=(n(35639),n(73935),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=String(t).toLowerCase(),i=String(n.getOptionValue(e)).toLowerCase(),a=String(n.getOptionLabel(e)).toLowerCase();return i===o||a===o}),g={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n,o){return!(!t||e.some((function(e){return f(t,e,o)}))||n.some((function(e){return f(t,e,o)})))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}},getOptionValue:c.g,getOptionLabel:c.a},v=(0,s.a)({allowCreateWhileLoading:!1,createOptionPosition:"last"},g),O=function(t){var e,n;return n=e=function(e){(0,l.Z)(c,e);var n=(0,s._)(c);function c(t){var e;(0,a.Z)(this,c),(e=n.call(this,t)).select=void 0,e.onChange=function(t,n){var o=e.props,a=o.getNewOptionData,r=o.inputValue,l=o.isMulti,u=o.onChange,c=o.onCreateOption,p=o.value,f=o.name;if("select-option"!==n.action)return u(t,n);var g=e.state.newOption,v=Array.isArray(t)?t:[t];if(v[v.length-1]!==g)u(t,n);else if(c)c(r);else{var O=a(r,r),h={action:"create-option",name:f,option:O};u(l?[].concat((0,i.Z)((0,s.E)(p)),[O]):O,h)}};var o=t.options||[];return e.state={newOption:void 0,options:o},e}return(0,r.Z)(c,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,n=this.state.options;return u.createElement(t,(0,o.Z)({},this.props,{ref:function(t){e.select=t},options:n,onChange:this.onChange}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.allowCreateWhileLoading,o=t.createOptionPosition,a=t.formatCreateLabel,r=t.getNewOptionData,l=t.inputValue,u=t.isLoading,c=t.isValidNewOption,p=t.value,f=t.getOptionValue,g=t.getOptionLabel,v=t.options||[],O=e.newOption;return{newOption:O=c(l,(0,s.E)(p),v,{getOptionValue:f,getOptionLabel:g})?r(l,a(l)):void 0,options:!n&&u||!O?v:"first"===o?[O].concat((0,i.Z)(v)):[].concat((0,i.Z)(v),[O])}}}]),c}(u.Component),e.defaultProps=v,n},h=O(c.S);const L=(0,p.m)(h)}}]);
2//# sourceMappingURL=react-select-creatable.f346d55e.chunk.js.map

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.