code: function create_if_block_1(component, ctx) {
  	var p, text_1, div;
  
  	var scrim_initial_data = {
  	 	opacity: ctx.scrim.opacity,
  	 	background: ctx.scrim.background
  	 };
  	var scrim = new Scrim({
  		root: component.root,
  		store: component.store,
  		data: scrim_initial_data
  	});
  
  	function click_handler(event) {
  		component.set({ scrimVisible: false });
  	}
  
  	return {
  		c() {
  			p = createElement("p");
  			p.textContent = "Press the scrim to dismiss it.";
  			text_1 = createText("\n\n  ");
  			div = createElement("div");
  			scrim._fragment.c();
  			addListener(div, "click", click_handler);
  		},
  
  		m(target, anchor) {
  			insert(target, p, anchor);
  			insert(target, text_1, anchor);
  			insert(target, div, anchor);
  			scrim._mount(div, null);
  		},
  
  		p(changed, ctx) {
  			var scrim_changes = {};
  			if (changed.scrim) scrim_changes.opacity = ctx.scrim.opacity;
  			if (changed.scrim) scrim_changes.background = ctx.scrim.background;
  			scrim._set(scrim_changes);
  		},
  
  		d(detach) {
  			if (detach) {
  				detachNode(p);
  				detachNode(text_1);
  				detachNode(div);
  			}
  
  			scrim.destroy();
  			removeListener(div, "click", click_handler);
  		}
  	};
  }
docs: (15:0) {:else}