PageSourceSearch

https://data-is-better-together-fineweb-c.hf.space/_nuxt/6720637.js

js data-is-better-together-fineweb-c.hf.space collected 2026-10-03 10:23:43 UTC 9,976 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[185,34,45,139],{1001:function(t,e,n){"use strict";n.r(e);n(11),n(60),n(4),n(767);var o={props:{options:{type:Array,required:!0},selectedOption:{type:String}},data:function data(){return{dropdownIsVisible:!1}},model:{prop:"selectedOption",event:"change"},computed:{currentOption:function currentOption(){var t=this;return this.options.find((function(e){return e.id===t.selectedOption}))},currentOptionId:function currentOptionId(){var t;return null===(t=this.currentOption)||void 0===t?void 0:t.id},currentOptionName:function currentOptionName(){var t;return null===(t=this.currentOption)||void 0===t?void 0:t.name}},methods:{onVisibility:function onVisibility(t){this.dropdownIsVisible=t},changeOption:function changeOption(t){this.$emit("change",t),this.dropdownIsVisible=!1}}},i=(n(982),n(47)),r=Object(i.a)(o,(function render(){var t=this,e=t._self._c;return t.options.length?e("div",[e("BaseDropdown",{attrs:{visible:t.dropdownIsVisible},on:{visibility:t.onVisibility}},[e("span",{attrs:{slot:"dropdown-header"},slot:"dropdown-header"},[e("BaseButton",{staticClass:"selected-option",class:t.currentOptionId,attrs:{"data-title":t.$t("status")}},[t._v("\n        "+t._s(t.currentOptionName)+"\n        "),e("svgicon",{attrs:{name:"chevron-down",width:"8",height:"8","aria-hidden":"true"}})],1)],1),t._v(" "),e("span",{attrs:{slot:"dropdown-content"},slot:"dropdown-content"},[e("ul",{staticClass:"options",attrs:{role:"radiogroup"}},t._l(t.options,(function(n){var o=n.id,i=n.name,r=n.color;return e("li",{key:o,staticClass:"option",class:o,attrs:{tabindex:"0","aria-checked":o,role:"radio"},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.changeOption(o)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.changeOption(o)}]}},[e("BaseRadioButton",{staticClass:"option__radio",attrs:{color:r,id:o,model:o,value:t.selectedOption,tabindex:"-1","aria-hidden":"true"},on:{change:function change(e){return t.changeOption(o)}}},[t._v(t._s(i))])],1)})),0)])])],1):t._e()}),[],!1,null,"4247875a",null);e.default=r.exports;installComponents(r,{BaseButton:n(259).default,BaseRadioButton:n(791).default,BaseDropdown:n(764).default})},1017:function(t,e,n){"use strict";n(885)},1057:function(t,e,n){"use strict";n.r(e);n(11);var o=n(827),i={props:{selectedOption:{type:String}},model:{prop:"selectedOption",event:"change"},data:function data(){return{options:[{id:o.a.pending.name,name:this.$tc("recordStatus.".concat(o.a.pending.name),1),color:o.a.pending.color},{id:o.a.draft.name,name:this.$tc("recordStatus.".concat(o.a.draft.name),1),color:o.a.draft.color},{id:o.a.discarded.name,name:this.$tc("recordStatus.".concat(o.a.discarded.name),1),color:o.a.discarded.color},{id:o.a.submitted.name,name:this.$tc("recordStatus.".concat(o.a.submitted.name),1),color:o.a.submitted.color}]}},methods:{onChangeOption:function onChangeOption(t){this.$emit("change",t)}}},r=(n(1017),n(47)),s=Object(r.a)(i,(function render(){var t=this,e=t._self._c;return t.options.length?e("RadioButtonsSelectBase",{staticClass:"filter-status",attrs:{options:t.options,"selected-option":t.selectedOption,"aria-label":"Filter Records by Status","aria-controls":"dropdown-menu"},on:{change:t.onChangeOption}}):t._e()}),[],!1,null,"f366dbfc",null);e.default=s.exports;installComponents(s,{RadioButtonsSelectBase:n(1001).default})},764:function(t,e,n){"use strict";n.r(e);n(48),n(118),n(4);var o=n(260),i={directives:{clickOutside:n.n(o).a.directive},props:{visible:{type:Boolean,default:!1},boundary:{type:String,default:"parent",validator:function validator(t){return["parent","viewport"].includes(t)}},freezingPage:{type:Boolean,default:!1},gap:{type:Number,default:8}},data:function data(){return{dropdownTop:0,dropdownLeft:0,inViewport:!0,frozenScrollParent:null}},computed:{isViewportBoundary:function isViewportBoundary(){return"viewport"===this.boundary}},watch:{visible:function visible(){var t=this;this.$nextTick((function(){t.setViewportPosition()}))},freezingPage:function freezingPage(t){t?(this.frozenScrollParent=this.getScrollableParent(this.$refs.dropdown),this.frozenScrollParent.style.overflow="hidden"):this.frozenScrollParent.style.overflow="auto"}},methods:{onClose:function onClose(){this.$emit("visibility",!1)}
1,onToggle:function onToggle(){this.$emit("visibility",!this.visible)},onClick:function onClick(){this.onToggle()},setViewportPosition:function setViewportPosition(){if(this.isViewportBoundary&&this.visible&&(this.inViewport=this.isInViewport(this.$refs.dropdown),this.inViewport)){var t=this.$refs.dropdown.getBoundingClientRect(),e=t.top,n=t.left,o=t.height;this.dropdownTop=e+o+this.gap,this.dropdownLeft=n}},getScrollableParent:function getScrollableParent(t){if(t){for(var e=t.parentElement;e;){if(window.getComputedStyle(e).overflow.split(" ").every((function(t){return"auto"===t||"scroll"===t})))return e;e=e.parentElement}return document.documentElement}},isInViewport:function isInViewport(t){var e=t.getBoundingClientRect(),n=t.offsetHeight,o=document.documentElement;return e.top>=n&&e.left>=0&&e.bottom<=(window.innerHeight||o.clientHeight)&&e.right<=(window.innerWidth||o.clientWidth)}},mounted:function mounted(){this.isViewportBoundary&&(window.addEventListener("resize",this.setViewportPosition),this.getScrollableParent(this.$refs.dropdown).addEventListener("scroll",this.setViewportPosition),this.setViewportPosition())},beforeDestroy:function beforeDestroy(){this.isViewportBoundary&&(window.removeEventListener("resize",this.setViewportPosition),this.get
1ScrollableParent(this.$refs.dropdown).removeEventListener("scroll",this.setViewportPosition))}},r=(n(766),n(47)),s=Object(r.a)(i,(function render(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:{events:["mousedown"],handler:t.onClose},expression:"{\n    events: ['mousedown'],\n    handler: onClose,\n  }"}],ref:"dropdown",staticClass:"dropdown",attrs:{role:"button","aria-haspopup":"menu"}},[e("div",{staticClass:"dropdown__header",on:{click:t.onClick}},[t._t("dropdown-header")],2),t._v(" "),e("transition",{attrs:{appear:"",name:"fade"}},[t.visible&&t.inViewport?e("div",{staticClass:"dropdown__content",style:t.isViewportBoundary&&{top:"".concat(t.dropdownTop,"px"),left:"".concat(t.dropdownLeft,"px"),position:"fixed"}},[t._t("dropdown-content")],2):t._e()]),t._v(" "),t.visible&&t.freezingPage?e("div",{staticClass:"dropdown--frozen-page",on:{click:t.onClose}}):t._e()],1)}),[],!1,null,"01548482",null);e.default=s.exports},765:function(t,e,n){t.exports={}},766:function(t,e,n){"use strict";n(765)},767:function(t,e,n){n(144).register({"chevron-down":{width:41,height:40,viewBox:"0 0 41 40",data:'<path pid="0" d="M8.5 11l-3 3 15 15 15-15-3-3-12 12-12-12z" _fill="#000"/>'}})},776:function(t,e,n){t.exports={}},791:function(t,e,n){"use strict";n.r(e);n(11),n(118);var o=n(216),i={name:"BaseRadioButton",props:{id:{type:String},name:{type:String},model:{type:[String,Number,Boolean,Object]},value:{type:[String,Number,Boolean,Object]},disabled:Boolean,color:{type:String,default:"var(--fg-status-submitted)"}},model:{prop:"model",event:"change"},computed:{isSelected:function isSelected(){return Object(o.isEqual)(this.model,this.value)},radioClasses:function radioClasses(){return{"--checked":this.isSelected,"--disabled":this.disabled}},cssVars:function cssVars(){return{"--radio-color":this.color}}},methods:{toggleCheck:function toggleCheck(){this.disabled||this.$emit("change",this.value)}}},r=(n(796),n(47)),s=Object(r.a)(i,(function render(){var t=this,e=t._self._c;return e("div",{staticClass:"radio-button",class:[t.radioClasses],on:{click:function click(e){return e.stopPropagation(),t.toggleCheck.apply(null,arguments)}}},[e("div",{staticClass:"radio-button__container",style:t.cssVars},[e("input",t._b({attrs:{type:"radio"}},"input",{id:t.id,name:t.name,disabled:t.disabled,value:t.value,checked:t.isSelected},!1))]),t._v(" "),e("label",{staticClass:"radio-button__label",attrs:{for:t.id},on:{click:function click(e){return e.preventDefault(),t.toggleCheck.apply(null,arguments)}}},[t._t("default")],2)])}),[],!1,null,null,null);e.default=s.exports},796:function(t,e,n){"use strict";n(776)},827:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));n(76);var o=n(1),i=n(2),r=n(42),s=n(21),a=n(29),c=n(69),d=(n(38),n(11),n(119),n(93),n(95));function _callSuper(t,e,n){return e=Object(s.a)(e),Object(r.a)(t,_isNativeReflectConstruct()?Reflect.construct(e,n||[],Object(s.a)(t).constructor):e.apply(t,n))}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}var l={pending:"var(--fg-status-pending)",discarded:"var(--fg-status-discarded)",submitted:"var(--fg-status-submitted)",draft:"var(--fg-status-draft)"},u=function(t){function RecordStatus(t,e){var n;Object(o.a)(this,RecordStatus),(n=_callSuper(this,RecordStatus,[t])).name=t;var i=e.startsWith("var(")?n.resolveCssVariable(e.slice(4,-1).trim()):e;return n.color=d.a.from(i),n}return Object(a.a)(RecordStatus,t),Object(i.a)(RecordStatus,[{key:"resolveCssVariable",value:function resolveCssVariable(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}}],[{key:"from",value:function from(t){var e=l[t];if(!e)throw new Error("Invalid RecordStatus value: ".concat(t));return new RecordStatus(t,e)}},{key:"pending",get:function get(){return RecordStatus.from("pending")}},{key:"discarded",get:function get(){return RecordStatus.from("discarded")}},{key:"submitted",get:function get(){return RecordStatus.from("submitted")}},{key:"draft",get:function get(){return RecordStatus.from("draft")}}])}(Object(c.a)(String))},856:function(t,e,n){t.exports={}},885:function(t,e,n){t.exports={}},982:function(t,e,n){"use strict";n(856)}}]);

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.