Mini Kabibi Habibi

Current Path : C:/Program Files/Adobe/Adobe Creative Cloud/Components/Container/resources/chunks/
Upload File :
Current File : C:/Program Files/Adobe/Adobe Creative Cloud/Components/Container/resources/chunks/EmojiPicker.js

(self.webpackChunkCCD=self.webpackChunkCCD||[]).push([[7325],{756648:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var o=n(123469),i=n.n(o),r=n(3074),c=n.n(r),s=n(475715),l=(n(760032),n(431395)),a=n(176604),m=n(82146),u=n(411519),d=n(871984),f=n.n(d),k=(0,o.forwardRef)((function(e,t){var n=e.intl,r=e.onEmojiSelect,c=e.onEmojiPickerClose,d=e.openerRef,k=e.theme,p=e.width,b=null==t?void 0:t.current,j=(0,u.Z)(),v=n.formatMessage,w=n.locale,y={search:v({id:"comments.emojiPicker.search.placeholder"}),clear:v({id:"comments.emojiPicker.accessible.clear.label"}),notfound:v({id:"comments.emojiPicker.error.notfound.label"}),skintext:v({id:"comments.emojiPicker.skinText.label"}),categories:{search:v({id:"comments.emojiPicker.categories.label.search"}),recent:v({id:"comments.emojiPicker.categories.label.recent"}),smileys:v({id:"comments.emojiPicker.categories.label.smileys"}),people:v({id:"comments.emojiPicker.categories.label.people"}),nature:v({id:"comments.emojiPicker.categories.label.nature"}),foods:v({id:"comments.emojiPicker.categories.label.foods"}),activity:v({id:"comments.emojiPicker.categories.label.activity"}),places:v({id:"comments.emojiPicker.categories.label.places"}),objects:v({id:"comments.emojiPicker.categories.label.objects"}),symbols:v({id:"comments.emojiPicker.categories.label.symbols"}),flags:v({id:"comments.emojiPicker.categories.label.flags"})},categorieslabel:v({id:"comments.emojiPicker.accessible.categories.label"}),skintones:{1:v({id:"comments.emojiPicker.skinTones.label.default"}),2:v({id:"comments.emojiPicker.skinTones.label.light"}),3:v({id:"comments.emojiPicker.skinTones.label.mediumLight"}),4:v({id:"comments.emojiPicker.skinTones.label.medium"}),5:v({id:"comments.emojiPicker.skinTones.label.mediumDark"}),6:v({id:"comments.emojiPicker.skinTones.label.dark"})}};(0,l.Z)(t,d,c),(0,a.Z)(m.nx.ESCAPE)&&c();var h=(0,o.useCallback)((function(e){j.fireEvent(j.events.emojiSelectFromPicker(e)),r(e)}),[j,r]);return(0,o.useEffect)((function(){var e=function(e){return e.stopPropagation()};return null==b||b.addEventListener("keydown",e),function(){null==b||b.removeEventListener("keydown",e)}}),[b]),i().createElement("div",{id:"emoji-picker-container",ref:t,className:f().component},i().createElement(s.cW,{autoFocus:!0,emoji:"",emojiTooltip:"en"===w,i18n:y,native:!0,onSelect:h,showPreview:"en"===w,style:{width:p},theme:"light"===k||"lightest"===k?"light":"dark",title:""}))}));k.displayName="EmojiPicker",k.propTypes={intl:c().shape({formatMessage:c().func,locale:c().string}).isRequired,onEmojiSelect:c().func,onEmojiPickerClose:c().func,openerRef:c().object,theme:c().string,width:c().number},k.defaultProps={onEmojiSelect:function(){},onEmojiPickerClose:function(){},theme:"light"};const p=k},431395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(123469);const i=function(e,t,n){(0,o.useEffect)((function(){var o=function(o){e.current&&e.current.contains(o.composedPath()[0])||t.current&&t.current.contains(o.composedPath()[0])||n(o)};return window.addEventListener("mousedown",o),window.addEventListener("touchstart",o),function(){window.removeEventListener("mousedown",o),window.removeEventListener("touchstart",o)}}),[e,t,n])}},176604:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(123469);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const r=function(e){var t,n,r=(t=(0,o.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,r=[],c=!0,s=!1;try{for(n=n.call(e);!(c=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{c||null==n.return||n.return()}finally{if(s)throw i}}return r}}(t,n)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=r[0],s=r[1],l=(0,o.useCallback)((function(t){t.keyCode===e&&s(!0)}),[e]),a=(0,o.useCallback)((function(t){t.keyCode===e&&s(!1)}),[e]);return(0,o.useEffect)((function(){return window.addEventListener("keydown",l),window.addEventListener("keyup",a),function(){window.removeEventListener("keydown",l),window.removeEventListener("keyup",a)}}),[l,a]),c}},871984:e=>{e.exports={cywoneup:"cywoneup",component:"EmojiPicker__component","ccx-comments-full":"ccx-comments-full","edit-wrapper":"edit-wrapper","reply-box-wrap":"reply-box-wrap"}},170462:()=>{},760032:(e,t,n)=>{"use strict";var o=n(893379),i=n.n(o),r=n(907795),c=n.n(r),s=n(490569),l=n.n(s),a=n(603565),m=n.n(a),u=n(219216),d=n.n(u),f=n(44589),k=n.n(f),p=n(170462),b=n.n(p),j={};j.styleTagTransform=k(),j.setAttributes=m(),j.insert=l().bind(null,"head"),j.domAPI=c(),j.insertStyleElement=d(),i()(b(),j),b()&&b().locals&&b().locals}}]);