PageSourceSearch

https://app.videocreatorcourse.com/packs/js/EmojiPickerV4_EmojiPicker-8ac6aa64da12cd88.chunk.js

js videocreatorcourse.com collected 2026-09-29 14:09:49 UTC 6,379 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[21763],{795661(r,e,n){n.r(e),n.d(e,{default:()=>k});var t=n(391426),i=n(570310),o=n(202090),a=n(914829),p=n(55973),c=n(927139),u=n.n(c),l=n(933578),s=n(417980),m=n(244405),d=n(272304),f=n(223604),v=function(r,e){var n=(0,l.useRef)(null);(0,l.useEffect)(function(){var e=r.current;if(e){var t=function(){n.current=e.querySelector('input[aria-controls="epr-search-id"]')};if(t(),!n.current){var i=new MutationObserver(function(){t(),n.current&&i.disconnect()});return i.observe(e,{childList:!0,subtree:!0}),function(){return i.disconnect()}}}},[r]),(0,l.useEffect)(function(){var r,t=n.current;if(t){var i=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"),o=null==i||null==(r=i.set)?void 0:r.bind(t);null==o||o(e),t.dispatchEvent(new Event("input",{bubbles:!0}))}},[e])};function g(r,e){(null==e||e>r.length)&&(e=r.length);for(var n=0,t=Array(e);n<e;n++)t[n]=r[n];return t}function b(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var n,t,i=null==r?null:"u">typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=i){var o=[],a=!0,p=!1;try{for(i=i.call(r);!(a=(n=i.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(r){p=!0,t=r}finally{try{a||null==i.return||i.return()}finally{if(p)throw t}}return o}}(r,e)||function(r,e){if(r){if("string"==typeof r)return g(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);if("Object"===n&&r.constructor&&(n=r.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(r,e)}}(r,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=function(r){return(void 0===r?"undefined":r&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"&&null!==r&&"unified"in r&&"original"in r&&"string"==typeof r.unified&&"string"==typeof r.original},y=function(){if("u">typeof window)try{var r,e=JSON.parse(null!=(r=m.H.getItem(d.K))?r:"[]");if(!Array.isArray(e))return;var n=e.filter(function(r){return!h(r)||r.unified===r.original});m.H.setItem(d.K,JSON.stringify(n))}catch(r){return}};let k=function(r){var e=r.dismiss,n=(0,f.b)(),c=n.onEmojiSelect,m=n.name,d=n.shouldCloseOnSelect,g=n.shouldShowSkinTonePicker,h=n.enabledTabs,k=n.onRemoveEmoji,j=n.skinTonesDisabled,w=b((0,l.useState)(""),2),x=w[0],S=w[1],E=b((0,l.useState)(!j),2),R=E[0],A=E[1],C=(0,l.useRef)(null),T=(0,l.useRef)(null),O=(0,l.useRef)(null),P=h.length>=2||u()(k),I=(0,o.wR)().currentAppearance;return(0,l.useEffect)(function(){j&&y(),A(!0)},[j]),(0,l.useEffect)(function(){var r;null==(r=T.current)||r.focus()},[]),(0,l.useEffect)(function(){if(g){var r=C.current;if(r){var e=new MutationObserver(function(){var n=r.querySelector(".epr-header"),t=O.current;n&&t&&n.parentElement!==t&&(t.appendChild(n),e.disconnect())});e.observe(r,{childList:!0,subtree:!0});var n=r.querySelector(".epr-header"),t=O.current;return n&&t&&n.parentElement!==t&&(t.appendChild(n),e.disconnect()),function(){return e.disconnect()}}}},[g]),v(C,x),(0,t.jsxs)("div",{ref:C,className:(0,i.x)("emoji-picker-v4-wrapper flex flex-col gap-3",P&&"pt-3"),children:[(0,t.jsx)("style",{children:"\n  .emoji-picker-v4-wrapper .EmojiPickerReact {\n    --epr-emoji-size: 24px !important;\n    --epr-emoji-padding: 5px !important;\n    --epr-emoji-gap: 0 !important;\n    --epr-category-padding: 0 !important;\n    --epr-category-label-height: 24px !important;\n    --epr-header-padding: 0 !important;\n    --epr-bg-color: transparent !important;\n    --epr-category-label-bg-color: transparent !important;\n    --epr-picker-border-color: transparent !important;\n    --epr-hover-bg-color: var(--color-background-tertiary) !important;\n    --epr-focus-bg-color: var(--color-background-tertiary) !important;\n    --epr-emoji-variation-picker-bg-color: var(--color-background-primary) !important;\n  }\n  .emoji-picker-v4-wrapper .epr-emoji-variation-picker {\n    width: 280px !important;\n    border: 1px solid var(--color-border-primary) !important;\n    border-radius: 8px !important;\n    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;\n  }\n  .emoji-picker-v4-wrapper .EmojiPickerReact,\n  .emoji-picker-v4-wrapper .EmojiPickerReact .epr-main,\n  .emoji-picker-v4-wrapper .EmojiPickerReact .epr-body {\n    border: none !important;\n    box-shadow: none !important;\n    background: transparent !important;\n  }\n  .emoji-picker-v4-wrapper .epr-category-nav,\n  .emoji-picker-v4-wrapper .epr-preview {\n    display: none !important;\n  }\n  .emoji-picker-v4-wrapper .epr-search-container {\n    position: absolute !important;\n    width: 1px !important;\n    height: 1px !important;\n    padding: 0 !important;\n    margin: -1px !important;\n    overflow: hidden !important;\n    clip: rect(0, 0, 0, 0) !important;\n    white-space: nowrap !important;\n    border: 0 !important;\n  }\n  .emoji-picker-v4-wrapper .epr-header {\n    padding: 0 !important;\n    margin: 0 !important;\n    border: none !important;\n    background: transparent !important;\n  }\n  .emoji-picker-v4-wrapper .epr-skin-tones {\n    padding: 0 !important;\n    margin: 0 !important;\n  }\n  .emoji-picker-v4-wrapper li.epr-emoji-category > .epr-emoji-category-label {\n    background: var(--color-background-primary) !important;\n    backdrop-filter: none !important;\n    color: var(--color-text-light) !important;\n    font-size: 11px !important;\n    font-weight: 600 !important;\n    letter-spacing: 0.35px !important;\n    text-transform: uppercase !important;\n    padding: 8px 4px 4px !important;\n  }\n"}),(0,t.jsx)(a.k,{ref:T,icon:"magnifying-glass",placeholder:(0,s.t)("emoji_picker_v4.search_emoji_placeholder"),value:x,onChange:function(r){return S(r.target.value)},endContent:(0,t.jsx)("span",{ref:O,className:"inline-flex"})}),R&&(0,t.jsx)(p.Ay,{onEmojiClick:function(r){null==c||c({emoji:r.emoji,emoji_type:"emoji",unified:r.unified,unifiedWithoutSkinTone:r.unifiedWithoutSkinTone},m),d&&e()}
1,skinTonesDisabled:j,skinTonePickerLocation:g?p.vX.SEARCH:p.vX.PREVIEW,theme:I===o.xz.DARK?p.Sx.DARK:p.Sx.LIGHT,previewConfig:{showPreview:!1},width:"100%",height:340})]})}}}]);
2//# sourceMappingURL=/packs/js/EmojiPickerV4_EmojiPicker-8ac6aa64da12cd88.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.