import{__require as r}from"./function-uncurry-this.mjs";import{__require as e}from"./to-indexed-object.mjs";import{__require as t}from"./to-string.mjs";import{__require as i}from"./length-of-array-like.mjs";var o,n;function u(){if(n)return o;n=1;var u=r(),a=e(),f=t(),m=i(),s=TypeError,_=u([].push),p=u([].join);return o=function(r){var e=a(r),t=m(e);if(!t)return"";for(var i=arguments.length,o=[],n=0;;){var u=e[n++];if(void 0===u)throw new s("Incorrect template");if(_(o,f(u)),n===t)return p(o,"");n<i&&_(o,f(arguments[n]))}},o}export{u as __require};