'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("@gem-sdk/core"),t=require("@gem-sdk/system"),r=require("./common/classes.js"),l=require("./common/styles.js");exports.default=({setting:c,styles:a})=>{let i=s.useUniqProductID(),{name:o,handleChangeOption:u,childItem:n}=c??{},m=t.createClass({...r.getSelectClasses(a)}),y=t.createStyle({...l.getSelectStyles(a)}),d=t.createStyle({...l.getOptionStyles(a)});return e.jsx("select",{name:o,id:`${i}-${o}`,className:m,style:y,onChange:u,children:n?.map((s,t)=>e.jsx("option",{value:s,style:d,children:s},t))})};
