"use strict";(self.webpackChunkhws_app_collections_studio=self.webpackChunkhws_app_collections_studio||[]).push([[782],{7782:(e,i,s)=>{s.r(i),s.d(i,{default:()=>m});var n=s(4848),t=s(1629),a=s(5932),l=s(4196),o=s(2943),c=s(8361),r=s(7364),d=s(7219);const m=function(){var e;const i=null!==(e=new URLSearchParams(location.search).get("collection"))&&void 0!==e?e:"",{collectionsStudioInfo:s}=(0,r.A)(),m=e=>{var i,s,n;return null!==(n=null===(s=null===(i=null===window||void 0===window?void 0:window.HWS)||void 0===i?void 0:i.I18n)||void 0===s?void 0:s.t(e))&&void 0!==n?n:e},x=(0,d.oH)(i,s);return(0,n.jsxs)("div",Object.assign({className:"flex space-y-12 sm:space-y-0 flex-1 w-full items-center justify-between py-8 sm:py-16 px-16 md:px-24"},{children:[(0,n.jsxs)("div",Object.assign({className:"flex flex-col items-start space-y-8 sm:space-y-0 w-full sm:max-w-full min-w-0"},{children:[(0,n.jsx)(l.motion.div,Object.assign({initial:{x:20,opacity:0},animate:{x:0,opacity:1,transition:{delay:.3}}},{children:(0,n.jsxs)(a.A,Object.assign({className:"flex items-center sm:mb-12",component:o.Link,role:"button",to:`/app/collections-studio/modifyCollection?collection=${i}`,color:"inherit"},{children:[(0,n.jsx)(c.ri,Object.assign({size:20},{children:"heroicons-outline:arrow-sm-left"})),(0,n.jsx)("span",Object.assign({className:"flex mx-4 font-medium"},{children:m("HWS_APP_COLLECTIONS_STUDIO_MODIFY_COLLECTION")}))]}))})),(0,n.jsx)(l.motion.span,Object.assign({initial:{x:-20},animate:{x:0,transition:{delay:.2}}},{children:(0,n.jsx)(a.A,Object.assign({className:"text-24 md:text-32 font-extrabold tracking-tight"},{children:x}))}))]})),(0,n.jsx)(l.motion.div,Object.assign({className:"flex flex-grow-0",initial:{opacity:0,x:20},animate:{opacity:1,x:0,transition:{delay:.2}}},{children:(0,n.jsxs)(t.A,Object.assign({className:"whitespace-nowrap mx-4 flex items-center justify-center",variant:"contained",color:"secondary",component:c.jZ,to:`/app/collections-studio/addattribute?collection=${i}`},{children:[(0,n.jsx)(c.ri,Object.assign({size:20},{children:"heroicons-outline:plus"})),(0,n.jsx)("span",Object.assign({className:"mx-4 sm:mx-8"},{children:m("HWS_APP_COLLECTIONS_STUDIO_ADD_ATTRIBUTE")}))]}))}))]}))}}}]);