You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
varthat=this;function__skpm_run(e,t){that.context=t;varr=function(e){vart={};functionr(n){if(t[n])returnt[n].exports;vara=t[n]={i:n,l:!1,exports:{}};returne[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}returnr.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(t,"a",t),t},r.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){Object.defineProperty(t,"__esModule",{value:!0});varr="-",n="∩",a=function(e,t,r,n){if(!((c=e)&&c.isKindOfClass(NSNull)||!c)){e.setStyle(t.style());for(vara=e.splitPathsIntoShapes(),o=a.count(),u=newArray(o),s=o-1;s>=0;s--){vari=a[s];i.setName(t.name()+" "+n+" "+r.name()+(s>0?" "+s:"")),u[s]=i}returnu}varc},o=function(e,t,o){varu=e.bezierPathWithTransforms(),s=t.bezierPathWithTransforms(),i=null;switch(o){caser:i=u.booleanSubtractWith(s);break;casen:i=u.booleanIntersectWith(s)}if(i){varc=MSShapeGroup.shapeWithBezierPath(i);switch(o){caser:returna(c,e,t,o);casen:returna(c,t,e,o)}}returnnull};t.default=function(e){vart=e.selection,u=t.count();if(u>=2){vars=[],i=function(e){for(vart=e[0],n="",a=e.count()-1;a>0;a--)t=MSShapeGroup.shapeWithBezierPath(t.bezierPathWithTransforms().booleanSubtractWith(e[a].bezierPathWithTransforms())),n+=(""!=n?" "+r+" ":"")+e[a].name();returnt.setName(n),t.setStyle(e[0].style()),t}(t);s.push(a(i,t[0],i,r));for(varc=1;c<u;c++)s.push(o(t[c],t[0],r)),s.push(o(t[0],t[c],n)),t[c].removeFromParent();s=[].concat.apply([],s.filter(function(e){returne})),t[0].parentGroup().insertLayers_afterLayer(s,t[0]),e.document.currentPage().changeSelectionBySelectingLayers(s),t[0].removeFromParent()}elsee.document.showMessage("Select more than one shape")}}]);"default"===e&&"function"==typeofr?r(t):r[e](t)}that.onRun=__skpm_run.bind(this,"default");
1
+
varthat=this;
2
+
function__skpm_run(key,context){
3
+
that.context=context;
4
+
5
+
varexports=
6
+
/******/(function(modules){// webpackBootstrap
7
+
/******/// The module cache
8
+
/******/varinstalledModules={};
9
+
/******/
10
+
/******/// The require function
11
+
/******/function__webpack_require__(moduleId){
12
+
/******/
13
+
/******/// Check if module is in cache
14
+
/******/if(installedModules[moduleId]){
15
+
/******/returninstalledModules[moduleId].exports;
16
+
/******/}
17
+
/******/// Create a new module (and put it into the cache)
0 commit comments